KeepItSimpleStupid
- Joined Mar 4, 2014
- 5,088
My envision of the the super simple version.
It's not likely that the "broth battery" can supply more than 10 mA, so we can call the device inherently protected. Let's assume a fixed 400 mV.
At the very minimum, you need a high value of resistance from the inputs to ground. This absorbs the input bias current. You might try values between 1 and 10 meg ohms. The one for the unused input could be lower.
Go for a LED rather than a buzzer for proof of concept.
A CR2032 battery and holder should work. That discharge cure is pretty flat. The 10 mA max sink current of the comparitor can drive it directly.
Get a version of the LT6700 that does > than and < than. You'll only use 1 comparitor. Get a few mounted on DIP boars at proto-advantage.
Instead of that resistance to ground, you might want to consider putting an IC socket to play around with and use a "header" so you can try out various input schemes.
One being a simple pull down to ground. e.g. 1 to 10 meg ohms.
For the time being make one main card that uses the < comparitor and one that uses the > comparitor, but the same header to change the input components.
The magic number for a filter is Fc=1/(2*π*R*C). This is the frequency (Fc is the corner frequency) where the output is down about 70%. RC is a time constant and 5*RC means the output is about 99% of the final value.
Find a LED. Color determines the forward voltage of the LED. So, use the discharge curve of the CR2032n to find a minimum voltage (<3V) and find a reasonable max Vf for the LED and calculate R. If you use the wrong input of the right selected comparitor, the light state would be wrong.
Thinking out loud, later you may be able to replace the LED with "something else", say an optocoupler and maybe use another power source for the buzzer, An A23 12 V battery comes to mind. 12 V buzzers are easy to find.
The 3V starting point paves the way of possibly using 5V type parts for a front end.
For now, we'll assume that the voltages you get will be positive. I think we are going with the idea of <400 mV turns on the LED or buzzer, so negative numbers would be interpreted as -0.3 V or so and turn on the buzzer.
What;s used for the output can potentially invert what you really want.
It's not likely that the "broth battery" can supply more than 10 mA, so we can call the device inherently protected. Let's assume a fixed 400 mV.
At the very minimum, you need a high value of resistance from the inputs to ground. This absorbs the input bias current. You might try values between 1 and 10 meg ohms. The one for the unused input could be lower.
Go for a LED rather than a buzzer for proof of concept.
A CR2032 battery and holder should work. That discharge cure is pretty flat. The 10 mA max sink current of the comparitor can drive it directly.
Get a version of the LT6700 that does > than and < than. You'll only use 1 comparitor. Get a few mounted on DIP boars at proto-advantage.
Instead of that resistance to ground, you might want to consider putting an IC socket to play around with and use a "header" so you can try out various input schemes.
One being a simple pull down to ground. e.g. 1 to 10 meg ohms.
For the time being make one main card that uses the < comparitor and one that uses the > comparitor, but the same header to change the input components.
The magic number for a filter is Fc=1/(2*π*R*C). This is the frequency (Fc is the corner frequency) where the output is down about 70%. RC is a time constant and 5*RC means the output is about 99% of the final value.
Find a LED. Color determines the forward voltage of the LED. So, use the discharge curve of the CR2032n to find a minimum voltage (<3V) and find a reasonable max Vf for the LED and calculate R. If you use the wrong input of the right selected comparitor, the light state would be wrong.
Thinking out loud, later you may be able to replace the LED with "something else", say an optocoupler and maybe use another power source for the buzzer, An A23 12 V battery comes to mind. 12 V buzzers are easy to find.
The 3V starting point paves the way of possibly using 5V type parts for a front end.
For now, we'll assume that the voltages you get will be positive. I think we are going with the idea of <400 mV turns on the LED or buzzer, so negative numbers would be interpreted as -0.3 V or so and turn on the buzzer.
What;s used for the output can potentially invert what you really want.
Last edited: