Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using 0-10V analog sensor output with rasbery pi

Status
Not open for further replies.

nayakajit87

Member level 5
Joined
Aug 13, 2018
Messages
84
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
1,065
Dear all.
I am new bie to rasberry coding and ckt design. I have 4 analog sensor which gives 0-10v DC output and 4-20mA current. I am looking for ckt that can read these range of Current and voltage parameter with 12bit/16bit resolution.

Some people using
http://ncd.io/raspberry-pi-0-10v-analog-output-module/**broken link removed**
**broken link removed**

**broken link removed**

Is there any schmatic avilable for it
 

Hi,

It depends on what your input is.
Most properly an ADC....with what decodable analog input voltage range?

For 0..10V just use a resistive voltage divider.
For 4..20mA use a resistor.

Klaus
 

using voltage divider network we can reduce the range , Is there any proven schematic with 12/16 bit resolution using MCP module
 

Hi,

What's wrong with just two resistors? Too simple?

Klaus
 

i need good resolution . my question is how can i do it.
 

10V/4095 = 0.00244V
3.3V/4095 = 805.86uV

If Pi is used for ADC reading then you need to scale the 10V to 3.3V.

10V - 3.3V = 6.7V

6.8k and 3.3k will do.

What resolution you want from scaled 3.3V? nano volt, pico volt?
 

Hi,

I think the information given about the sensor is not very clear. We have 0-10V and 4-20mA. Is there any relationship between the two? That is to say, does the voltage change with change in the current?

- - - Updated - - -

Please give more info.about the sensor.
 

Hi,

Resolution has nothing to do with resistors.
Just choose the correct resistor ratio.

Klaus
 

MCP3424.png

I have schematic for reference . If i wanted to use 0-10V dc reading of analog voltage

Channel-1+ & channel - should be given in range of 0-5V through voltage divider network

vout=(Vs*R2)(R1+R2) -> R1=R2=1K Vs=0-10V from DC output/sensor

If it is 0-30V dc
vout=(Vs*R2)(R1+R2) -> R1=5K R2=10K Vs=0-30V from DC output/sensor

Is it correct ??
 

Hi,

0..10V is correct

0...30V is wrong.
See it this way:
30V should become 5V.
This is 6:1 ratio.
Voltages behave like the resistance values.
Thus you need 6 "parts" in total where 1 "part" is the output.
--> So "one part" at the lower end and 5 parts at the upper end.

Klaus

Btw: there are more than enough descriptions for this in the internet, even online calculators and explaining videos. Just do an internet search.
 

Upper resistor 27k
Lower resistor 3.3k

ADC connected across 3.3k.
 

Isn't it just FUN trying to teach a newbie about ohm's law.. where he is already working with mircocontrollers and what not without a clue ?
Its just sickening.

you make a 'sketch' (copied of course), and "bootload it" .. no clue what that means. And a cute little led starts blinking.
brilliant. idiotic.
 

These "new kids on the block" should first learn the basics of electrotechnic, to understand what is Voltage, Current, Power, Resistance, Capacitance, Inductance, and to UNDERSTAND howa Transistor works.
Without transistors there would be no microcontrollers, microprocessors, ...

Unfortunately, arduino is for such kids that are not willing/able to switch the brain ON, just c/p some sketches.
 

The simple mention of 4-20mA sensors suggests the action of remote measurement, which by itself would be a strong argument for using galvanic isolation, such as analogue optical couplers. Unfortunately many questions here are posed not contextualized, and probably only throughout the replies is that needed information will arise, by increments.
 

0 - 10V and 0(4)-20mA is normal industrial interfaces.
One thing about 4 - 20mA is that many sensors transmit error levels in the 0-4mA range and some also above the 20mA level (22-23mA).

To make a proper interface you should take this into account, and check out the sensors you want to use in the application.
 

The OP needs to give more info than there is now.

If a sensor is giving 4-20mA then you can convert it to a 1-5V signal by passing it across a 250-ohm precision resistor. An ADC can then work on this.
 

I think we have to differentiate between sensor and transmitter here.
 

The OP needs to give more info than there is now.

If a sensor is giving 4-20mA then you can convert it to a 1-5V signal by passing it across a 250-ohm precision resistor. An ADC can then work on this.

I always thought a 4-20 loop was meant for digital signalling in noisy long (I.e. high impedance) loops. This would be converted to voltage of choice at receiver by use of a suitable R, which was not necessarily 'precise'.

What have I missed ??
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top