Status update: The instrument is looking REALLY good, with only one exception (details to follow). Here's the completed box while it is making a measurement:
The really high frequency I will explain in a moment. And here is the sample cell:
And here are the innards:
I'm using a fixed inductor. I have separate batteries powering the oscillator circuit and the frequency counter, each with a switch. I have a BNC to go to the sample cell, and a BNC to give me an output through which to look at the signal on the oscilloscope should I need to do debugging.
Amusingly, the frequency counter has the signal in backwards from standard; the black wire goes to signal and the red wire to ground, so I have jammed the connected in backwards. It works, but I will probably resolder once I am confident everything is working right. I don't want to mention how long it took me to find that error...
Stability is quite good. I did a run using toluene as a test solvent (literature dielectric constant of 2.39). Here were the frequencies I got:
Air open: 1.6454 +/- 0.0002 MHz
Air closed: 1.5370 +/- 0.0002 MHz
Toluene open: 1.6291 +/- 0.0002 MHz
Toluene closed: 1.4057 +/- 0.002 MHz (yes, the uncertainty on that one is higher. For some reason that reading wasn't particularly stable compared to the others)
When I run through the calculation on those frequencies, I get an experimental dielectric constant for toluene of 2.40 +/- 0.03. Just over 1% uncertainty, and bang-on the literature value! I call that a magnificent success!
Ok, now about the ridiculously high frequency shown above. That was what I got with water in the cell (dielectric constant around 80). Looking at it on the oscilloscope, the frequency counter's answer is bang-on what the waveform looks like. And it is nicely sinusoidal and quite stable. That is on the high end of what the frequency counter seems to be able to measure, and I had to futz with the modes on it to find settings that would reliably give me that frequency. Notice that the frequency is HIGHER than it is in air, acting like water has a dielectric constant that is much less than 1.
So what is going on here? I have an idea, but wanted to run it by the group to see if it makes sense. Water, depending on the level of ionic solutes in it, is conductive. This would short the circuit across the capacitor. Would that cause an increase in frequency from the oscillator? The water I used is "NanoPure" water, which has been rigorously deionized to a resistivity of 18 MOhms x cm. But the water WAS exposed to the air before putting it into the sample cell, and thus undoubtedly had gotten some CO2 dissolved in it from the air, which forms carbonic acid (which is ionic upon dissociation), and so the resistivity drops to below 8 MOhms x cm in about a minute. From an electronics perspective, could this be what is causing these strange results?
Thanks again for all of the help.