Questions tagged [rs485]

also known as ANSI/TIA/EIA-485, TIA/EIA-485, EIA-485 or RS-485, is a standard defining the electrical characteristics of drivers and receivers for use in balanced digital multipoint systems. The standard is published by the Telecommunications Industry Association/Electronic Industries Alliance (TIA/EIA).

Filter by
Sorted by
Tagged with
0
votes
0answers
127 views

Synchronous Full-duplex RS485 Communication with Arduino Mega

Context I have a really niche device called a "BIU" I'd like to communicate with using my Arduino Mega, but I want to get a second opinion before attempt anything as I cannot get another BIU if I was ...
0
votes
0answers
38 views

Arduino RS485 communication protocol - minimising overheads and best practice

I'm building a single master multiple slave RS485 network for remote sensors on test equipment. I have the hardware built and working, and I can do a Serial.print on the master and have the slaves ...
0
votes
0answers
675 views

NodeMcu Communication to RS485 Device using TTL to RS485 converter

Good day everyone,        I am facing a problem when trying to use nodemcu (Nodemcu ESP8266 Lolin V3) to communicate with an RS485 device. I sent an enquiry ...
0
votes
0answers
272 views

can ModbusRtu.h library send data from slave to master using modbus(RS485) module?

i am using ModbusRtu.h library for modbus protocol. it works for sending data from master to slave but it can not send data from slave to master. master code: #include <ModbusRtu.h> #define ...
0
votes
1answer
53 views

Unreliable communication with low baudrate on Leonardo

I am using an Arduino Leonardo (more precisely this product), to communicate with servo-motors) using RS485. Everything works fine as long as I don't go below a baud rate or 115200bps. If I go below, ...
0
votes
0answers
37 views

I am interfacing Amonia Sensor RS485 output with Arduino Mega . not getting any response

I am interfacing Amonia Sensor RS485 output with Arduino Mega but not getting any response. i need to transmit {0x06, 0x03, 0x00, 0x00, 0x00, 0x04, 0x45, 0xBE}; frame to sensor then senor will send ...
0
votes
0answers
675 views

ESP32 Hardware Serial Flow control and full espressif/arduino-esp32 support

I have a similar issue. I want to use the ESP32 with RS485. I have used the Arduino and this works well assigning pins, but it seems not to allow full use of the UART. I see the new uarts in the ...
0
votes
0answers
203 views

Reading a simple sensor with Modbus RTU on Arduino Uno

I'm integrating a wind direction- and speed sensor with an Arduino. It communicates over RS485 Modbus RTU, which I don't have any experience with. The documentation is very short, and it just says: ...
0
votes
1answer
743 views

Arduino RS485 shield to RS485 temperature & humidity sensor

I’m try to get data from rs485 is not work please advise to me. 1. Try to connect PC usb485 to DY-MD02 is work. Send command “AUTO” or “READ” 2. Try to Arduino rs485 shield to DY-MD02 is not ...
0
votes
0answers
1k views

SerialEvent with RS485 communication

I am not expert in Arduino programming but i can understand lit bit, while doing review i came across two sets of programs one using serialEvent and one with RS485 library, Now my problem is with ...
0
votes
0answers
704 views

RS485 Slave doesn't receive any message

I am trying to follow below design to communicate with 2 Arduino Nano, using the example shared here https://github.com/RalphBacon/RS485-Serial-Data-Transmission. When i look at data my slave never ...
0
votes
0answers
441 views

Unable to read data more than once via Modbus RTU

I'm a newbie to this forum so kindly excuse me for any errors. I'm using an Arduino Uno and Max485 (RS-485 to TTL) to communicate with a Power meter, but I'm able to receive the data from the Power ...
0
votes
2answers
2k views

Arduino Uno & ESP32 communication using RS485

I am trying to establish a communication between Arduino Uno ( Master) and ESP32 (Slave) using RS485 protocol (using MAX485 module). I have successfully done this between two Arduino Unos. ...
0
votes
0answers
46 views

PLC with Arduino UNO [duplicate]

In my current project I have to communicate with 10 different devices with PLC. PLC is the master. When input comes from PLC to a device, the Arduino controller through RS485, I want to check the ...
0
votes
0answers
200 views

RS485 Arduino Communication Issue

Friends, I am trying to achieve half duplex communication between two Arduinos using RS485 Protocol. The hardware I am using is a MAX485 module and an Arduino Uno. I am using the SoftwareSerial ...
0
votes
1answer
674 views

Electric meter with Arduino and RS485 module

I'm a Arduino newbie. I have an Electric meter with an RS485 output. I want to get the MeterID value over the RS485 module and the Arduino. I just have document from manufacturer. Sent by computer : ...
0
votes
1answer
9k views

Arduino master/slave communication using RS485

I am using Arduino Uno as a Master Device and 3 Arduino Unos as slave devices. I am sending data from each slave to master after every 3 seconds continuously, and is going to execute further logic ...
0
votes
0answers
222 views

RS485 Wrong Results in Serial Monitor(Controllino) - Right Results with Logic Analyzer

After searching the internet and trying different examples, I always get the same wrong response in the serial monitor. Picture 1 shows the wrong results. At first i thought it was decimal and I just ...
0
votes
0answers
113 views

Arduino as Modbus RS485 slave using only 2 Digital pins

I want to use RX(0) and TX(1) Pins to make Arduino as an RS485 slave. To do this I am using MAX485 IC (Breakout board) https://datasheets.maximintegrated.com/en/ds/MAX1487-MAX491.pdf The problem here ...
0
votes
0answers
932 views

sending data with rs485

I need to read acceleration data with ADXL335 using ARDUINO MICRO (or NANO) and send this data with RS485 module to another RS485 module connected to an ARDUINO UNO (300m between RS485 modules). ...
0
votes
0answers
931 views

Arduino Modbus - Rtu slave with Raspberry pi using MAX-485

I am trying to use Arduino as Modbus- RTU slave and Raspberry Pi as a Modbus master I have interfaced Max485 (RS485 to TTL converter) with Arduino and Rs485 to USB converter in Raspberry Pi, Initially,...
0
votes
1answer
270 views

Interfacing Gammon's RS485 with computer

I'm using the non-blocking RS485 Gammon's library for Arduino (as shown at http://www.gammon.com.au/forum/?id=11428) to handle the communication between some arduinos. Now I'm having trouble to add a ...
0
votes
1answer
2k views

Problem in RS485 Communication between Arduino and PC

I'm trying to sending and receiving data via RS485 communication. Interfacing Arduino and PC(laptop) using SN75176 RS485. I wrote a program to send a string "Hello" from arduino via Tx pin. My ...
-1
votes
1answer
605 views

Communicate between NodeMCU ESP8266 gateway and multiple sensor nodes

What is the best wired way to communicate between multiple NodeMCU ESP8266 boards for home automation. Every room should get at least a light, temp, PIR and xx relay modules to switch things on and ...
-1
votes
2answers
420 views

RS485 communication problem

I'm trying to achieve RS485 communication between Arduino Mega and Arduino UNO as specified in following link: https://www.engineersgarage.com/arduino/rs485-communication-between-arduino-mega-and-...
-2
votes
2answers
543 views

Transmit data to long distance (120m)

I want to transmit data from multiple sensors to an Arduino and distance would be approximately 120 meters. What protocol or configuration should I use? Actually I am trying to read values from 5 ...

1
2