boylesg
Advanced Member level 4
- Joined
- Jul 15, 2012
- Messages
- 1,023
- Helped
- 5
- Reputation
- 10
- Reaction score
- 6
- Trophy points
- 1,318
- Location
- Epping, Victoria, Australia
- Activity points
- 11,697
I am following this design to create my own LC meter that can measure small values of capacitance and inductance (pF and nH).
https://electronoobs.com/eng_arduino_tut10_3.php
For starters the tank circuit part of the schematic has got to be wrong - one end of the tank circuit cannot be connected to ground.
I tried a tank circuit on my bread board (100nF and 100uH) and connected to 5V through 150R and 1N4007 and with one end of the tank connected to GND.
However upon removing the connection to 5V, I cannot detect any frequency with my multimeter.
If I break the connection of the tank circuit to GND them my multimeter detects a frequency just fine.
Also I simulated in multisim and in here the oscillation only occurs if I leave the 150R + 1N4007 connection to 5V floating. Connecting it to GND, equivalent to Arduino digitalWrite(nPin, LOW), kills the oscillation.
So in Arduino code I would need to do pinMode(nPin, INPUT) in order to initiate the oscillation.
Am I correct or am I missing something else?
Anyway soldered as specified by this author my device cannot measure capacitiance - pulseIn(....) simply times out.
Also I want to be able to measure very small values of capacitance - down to a few pF.
According to the formula F=1/2PiSRT(RC), I need a very large inductor in order to get the oscillation period up to 1us or more that an Arduino can measure.
So I have wound my own at 130mH, which is going to create quite a kick back.
Is this likely to be a problem for the LM393 or the Arduino? Are there any other suggested modifications to the schematic I should make as a precaution?
https://electronoobs.com/eng_arduino_tut10_3.php
For starters the tank circuit part of the schematic has got to be wrong - one end of the tank circuit cannot be connected to ground.
I tried a tank circuit on my bread board (100nF and 100uH) and connected to 5V through 150R and 1N4007 and with one end of the tank connected to GND.
However upon removing the connection to 5V, I cannot detect any frequency with my multimeter.
If I break the connection of the tank circuit to GND them my multimeter detects a frequency just fine.
Also I simulated in multisim and in here the oscillation only occurs if I leave the 150R + 1N4007 connection to 5V floating. Connecting it to GND, equivalent to Arduino digitalWrite(nPin, LOW), kills the oscillation.
So in Arduino code I would need to do pinMode(nPin, INPUT) in order to initiate the oscillation.
Am I correct or am I missing something else?
Anyway soldered as specified by this author my device cannot measure capacitiance - pulseIn(....) simply times out.
Also I want to be able to measure very small values of capacitance - down to a few pF.
According to the formula F=1/2PiSRT(RC), I need a very large inductor in order to get the oscillation period up to 1us or more that an Arduino can measure.
So I have wound my own at 130mH, which is going to create quite a kick back.
Is this likely to be a problem for the LM393 or the Arduino? Are there any other suggested modifications to the schematic I should make as a precaution?