Hello all, looking for some answers regarding specific questions involving 4-20mA circuits as they apply to microprocessors such as Arduino and others. I have about an 8th grade level of knowledge in Electronics, although that's debatable...it might be as low as 1st grade level.
1) Converting 4-20mA to voltage (DC). I've got the concept, pass the current through a resistor and you get voltage. I already know that using a 250 ohm resistor gets me 1-5vdc which works great with an Arduino. However, in playing with the formula V=I*R it seems there is no limit to the voltage you can produce and I don't understand that. For example, .020 * 10000 ohms equals 200 volts. I can't wrap my mind around this. If I'm only feeding 12vdc to the sensor, where does the 200v come from?
2) I will be using an 8 channel multiplexer (74HC4051) to support up to eight 4-20mA analog sensors. My original thought was to feed the current from each sensor through it's own dedicated resistor (converting to voltage) prior to the multiplexer (20mA -> Resistor -> Multiplexer -> ADC). However, because the multiplexer can only provide access to one sensor at a time there would be 7 less parts and a simpler design if I could pass each sensor through the multiplexer first, then through a common resistor (20mA -> Multiplexer -> Resistor -> ADC). The multiplexer will be run with VCC of 5vdc but the sensors will have VCC of 12vdc. The 74HC4051 datasheet indicates it will handle a maximum of 20mA (must be more than coincidental) so seems like passing the current through the multiplexer and converting to voltage afterwards will work...but I'm skittish about this because of my voltage conversion confusion as stated in #1 above and not wanting to pass more than 5vdc through the multiplexer. Does this mean that the current is 4-20mA regardless of sensor VCC and so voltage is not relevant to the multiplexer in this context?
3) Using a 4-20mA current output with an RC filter. Someone with extensive electronic experience once told me that using a 10k/.1uf RC "noise" filter on a 0-5 voltage (DC) headed to an ADC on an Arduino type microprocessor was just good practice, cheap, and would provide more stable readings. I didn't question the advice and started implementing it without even testing to see if it was effective or not. In terms of a 4-20mA output sensor, I understand I need to use a 250 ohm resistor to convert to voltage for the ADC. But if I convert to voltage and then pass that through an RC filter, doesn't the resistor in the RC filter change the voltage again? Won't it be the same as having a 10,250 ohm resistor and bump up the voltage to 20?
1) Converting 4-20mA to voltage (DC). I've got the concept, pass the current through a resistor and you get voltage. I already know that using a 250 ohm resistor gets me 1-5vdc which works great with an Arduino. However, in playing with the formula V=I*R it seems there is no limit to the voltage you can produce and I don't understand that. For example, .020 * 10000 ohms equals 200 volts. I can't wrap my mind around this. If I'm only feeding 12vdc to the sensor, where does the 200v come from?
2) I will be using an 8 channel multiplexer (74HC4051) to support up to eight 4-20mA analog sensors. My original thought was to feed the current from each sensor through it's own dedicated resistor (converting to voltage) prior to the multiplexer (20mA -> Resistor -> Multiplexer -> ADC). However, because the multiplexer can only provide access to one sensor at a time there would be 7 less parts and a simpler design if I could pass each sensor through the multiplexer first, then through a common resistor (20mA -> Multiplexer -> Resistor -> ADC). The multiplexer will be run with VCC of 5vdc but the sensors will have VCC of 12vdc. The 74HC4051 datasheet indicates it will handle a maximum of 20mA (must be more than coincidental) so seems like passing the current through the multiplexer and converting to voltage afterwards will work...but I'm skittish about this because of my voltage conversion confusion as stated in #1 above and not wanting to pass more than 5vdc through the multiplexer. Does this mean that the current is 4-20mA regardless of sensor VCC and so voltage is not relevant to the multiplexer in this context?
3) Using a 4-20mA current output with an RC filter. Someone with extensive electronic experience once told me that using a 10k/.1uf RC "noise" filter on a 0-5 voltage (DC) headed to an ADC on an Arduino type microprocessor was just good practice, cheap, and would provide more stable readings. I didn't question the advice and started implementing it without even testing to see if it was effective or not. In terms of a 4-20mA output sensor, I understand I need to use a 250 ohm resistor to convert to voltage for the ADC. But if I convert to voltage and then pass that through an RC filter, doesn't the resistor in the RC filter change the voltage again? Won't it be the same as having a 10,250 ohm resistor and bump up the voltage to 20?