arduino Q

I have question about IFM Electronic sensor sm6004
I ordered and received it and I want to use it for arduino only
I went to connected this senor to arduino
see figure
sm 6004 is sensor analog output

"data sheet for sm60004"

You can read the 4 to 20 mA signal by passing it through a 250 Ohm resistor (that will give 1 to 5V) but you MUST protect the 5V Arduino input pins from the 20 to 30V sensor power supply with at least a 33k Ohm resistor in series with the pin or a zener diode (5.1V) to ground.

Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks.. Tom.. :slight_smile:

edgemoron. Can I use wall outlet as power supply for the sensor alone ? Or I need to power it from arduino that is powered by power adapter?

Can you tell us your electronics, programming, Arduino, hardware experience?

The manual tells you it needs 20 to 30Vdc, ideally 24Vdc as this is an industry standard.

If you google arduino 4-20mA input

You will be surprised the amount of examples and info available.

Tom... :slight_smile: