Getting temperature value from L201 Optical fiber senor module usint RS485 MODBUS protocol

I on project to get the value through arduino rs485 MODBUS protocol and having some problem with connecting the wire, serial communication coding . Can i get some advice with this

HI,
Can you please draw your circuit with pen(cil) and paper so we can see your circuit?
The Fritzy picture is of little use.

Please label components, pinouts and power supply.

Please post your code.

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

RS485 is a balanced transmission system using 2 wires for the signal plus a ground. The Arduino products do not directly support RS485. In order to connect an RS485 device to any Arduino you need a converter / interface to convert RS485 to TTL level serial. I leave you to search for such a thing.

Hi,

Thankfully @leeseunghyuk is using them, but needs a better schematic to see if it is connected correctly.

Tom... :smiley: :+1: :coffee: :australia:

Are you sure Tom? Is that what those things are to the right of the image? Like you say, decent schematic needed.

Hi,
Yes, I have two of them on my bench now ready to go... :laughing:

Tom... :smiley: :+1: :coffee: :australia:

1 Like

Hi, @leeseunghyuk
This your thread?

Tom... :smiley: :+1: :coffee: :australia:

Sorry for the late reply here is the circuit image i made really appreciate for your help.

The wiring should be as per Pylon’s instruction in the other thread. You have many unwanted/unnecessary connections. Adapted from that thread:

On the upper adapter connect RE/DE directly to GND and only RO to pin 3. DI is not connected.

On the lower adapter connect RE/DE directly to 5V and only DI to pin 4. RO is not connected.

If the boards survived your short circuit you may be successful given you use a SoftwareSerial on pins 3 and 4.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.