RcTime Voltage Measurement
alnajjar1
Posts: 110
I am using a BS2 to measure DC voltage. My reference was an article EME System (http://www.emesystems.com/BS2rct.htm) to design the circuit. I had to amplify incoming voltage from 0-21 mV to 0 - 3.7V using an LM359 Op Amp, and this works perfectly. The circuit diagram and code are attached.
When I read the RC value, I am getting wild numbers that eventually stabilize to 1 and then nothing happens. I tried changing the delay time in the loop but that didn't do anything.
Can anyone spot what I am doing wrongly? The amplification works and the RcTime circuit and code are very simple. Not sure what is going on! Thanks in advance for any help..
Al
When I read the RC value, I am getting wild numbers that eventually stabilize to 1 and then nothing happens. I tried changing the delay time in the loop but that didn't do anything.
Can anyone spot what I am doing wrongly? The amplification works and the RcTime circuit and code are very simple. Not sure what is going on! Thanks in advance for any help..
Al
bs2
265B
Comments
1) Analog Digital Converters(ADC) which uses SHIFTIN command (From Stamp Works PDF)
2) Using a 555 Timer IC which uses PULSIN command (From Stamp Works PDF)
Al
Still, The ADC0831 is the best way to go, and you have success with that. Stick with it!