4-20ma signal
geneshults
Posts: 22
Hello to all.
I was wondering if there maybe a way, the BS2 can process a 4-20 ma signal from a device that is powered from a 24vdc source? I have a few devices that are powered from a 24vdc source and want to use with my BS2.
Thanks
Gene
I was wondering if there maybe a way, the BS2 can process a 4-20 ma signal from a device that is powered from a 24vdc source? I have a few devices that are powered from a 24vdc source and want to use with my BS2.
Thanks
Gene
Comments
The 4-20 mA goes through the optocoupler's LED and the transistor output changes the effective resistance of the pot in the RCTIME circuit.
The response is not linear but is very repeatable.
Cheers,
If you put a 250 ohm resistor in series with the 4-20ma loop, Then read the voltage across the 250 ohm resistor you will read this.
'
4ma = 1 volts
8ma = 2 volts
12ma = 3 volts
16ma = 4 volts
20ma = 5 volts
'
This can be read through an ADC0831 or eq. analog to digital converter.
'
Take a look in StampWorks pg. 156 for some circuit info and code (replace the pot. with the 250resistor NO Vdd connection)
http://www.parallax.com/Portals/0/Downloads/docs/books/sw/Web-SW-v2.1.pdf
'
'~~~~~~~~~~~~~~~~~~~~~~250ohm~~~~~~~~~~~~~~~~~~~~
++++24volts
x---/\/\/\/\/\--x
load/transmitter/inputcard/etc.
4 to20ma Loop
neg24volts
' read voltage here > ______^_1 to 5 v _^