Sairamthummalacharla
Posts: 5
Joined: Sun Feb 11, 2018 7:01 pm

Need help!! How to read analog input from current sensor by using Raspberry pi3?

Thu Feb 22, 2018 10:16 am

Dear members,

I wanted to collect the analog voltage from the optical current sensor and give it as a input to pi 3 via ADC(12bit to 24 bit).

The optical current sensor can give
Analog output voltage ranges from ( 0 - 1V)
Analog ouput current ranges from (0- 20mA)

I am also attaching the sensor module outlet overview.
I am new to use the pi. There are lots of them in the forum. I am confused with this. Please anyone give me the detailed way.

Thank you
Sairam
Attachments
External connections.JPG
External connections.JPG (64.81 KiB) Viewed 653 times

habropoda
Posts: 10
Joined: Sun Apr 30, 2017 6:19 pm

Re: Need help!! How to read analog input from current sensor by using Raspberry pi3?

Thu Feb 22, 2018 9:52 pm

For the voltage side this should work:
https://learn.adafruit.com/adafruit-4-c ... s/overview

And this might work for current:
https://learn.adafruit.com/adafruit-ina ... r-breakout
Look for ina219 raspberry pi tutorials on the internet.

Sairamthummalacharla
Posts: 5
Joined: Sun Feb 11, 2018 7:01 pm

Re: Need help!! How to read analog input from current sensor by using Raspberry pi3?

Fri Feb 23, 2018 4:51 am

Thank you habropoda.

I have another doubt. Can I use any USB to serial RS-232/ RS-422/485 adapter. To access the data from the sensor to the raspberry pi through this.
Actually I have one RS485(D suB9 ) analog output ports on the sensor outlet.

If yes . do they have library and any example program codes.

Thank you
Sairam

habropoda
Posts: 10
Joined: Sun Apr 30, 2017 6:19 pm

Re: Need help!! How to read analog input from current sensor by using Raspberry pi3?

Fri Feb 23, 2018 5:58 am

Ah, it must be part of some industrial control system. Sorry, I know nothing about those. Maybe something like this will work?
https://widgetlords.com/products/raspbe ... -interface

If no one here chimes in you might try on the eevblog forums. I can help you no further.

Sairamthummalacharla
Posts: 5
Joined: Sun Feb 11, 2018 7:01 pm

Re: Need help!! How to read analog input from current sensor by using Raspberry pi3?

Fri Feb 23, 2018 8:55 am

No, problem habropoda. Your suggestions are valuable.

Thanks for your help

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 4 guests