Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1answer
202 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 ...
-1
votes
2answers
116 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
14k views

Arduino ModBus RTU master communication with Power Meter problem

i have an arduino UNO with RS485 module. I have made this connection: And i have an problem with communication of this module with power meter "InePro PRO-1Mod" (datasheet) over ModBus protocol. I ...
0
votes
1answer
4k 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
1answer
63 views

Serial Module Echoing a `0x00`

I am having a problem with a MAXIM Serial module (Config A) with a simple repeating code from COM port. When sending a character (k:0x6b) I receive a (0x00) echo. Without the module and just ...
2
votes
2answers
270 views

Arduino UNO and RS485 Communication Problem

I am learning Arduino, a beginner in programming. I want to use Arduino UNO to connect a wind direction sensor RS485. The problem is the output in the serial monitor, the return data from the wind ...
0
votes
1answer
888 views

Using Modbus-RTU with Arduino and temperature controller

I'm trying to connect with a 4 channel temperature controller using Arduino Modbus Library. This is a part of my temperature controller datasheet. It has register for read PV of each channel. I have ...
1
vote
1answer
804 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
1answer
101 views

NodeMCU: Wiegand not working for one device, while working for another

I'm using a NodeMCU, and a working code for reading Wiegand data, with this library. I managed to successfully read the Wiegand signal from this device. However, I also have this new AR-721H device, ...
0
votes
1answer
24 views

one Arduino with RS485 and Ethernet shields: does this work?

I'm planning to wire a few Arduinos together via RS485, and have one of them act as a hub that collects information from the others and presents it via http on an Ethernet connection. For instance ...
0
votes
0answers
32 views

Can I use an UART RS485 board with DMX simple library?

I want to use DMX512, and found a library DmxSimple, which uses a single (non UART) GPIO pin as output (see DmxSimple.wiki. I currently use a TTL RS485 board, which does not have any TVS/polyfused ...
0
votes
0answers
70 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
33 views

Serial Enable Maxim RS485 Pin

If I want to use a MAXIM 485 for a RS485 communication, is there any option to include the Control DE and RE' pin in a natural manner in the code, instead changing the control pin everytime I made a ...
0
votes
0answers
47 views

NodeMCU Modbus with Dotech DPX200

I've been trying to interface between a NodeMCU and a Dotech DPX200 Pressure Multi-Switch over Modbus RS485 using a MAX485 Module and after a few suggestions I managed to communicate with the Simply ...
1
vote
1answer
186 views

NodeMCU Modbus interfacing with Pressure Multi-Switch

I've been trying to interface between a NodeMCU and a Dotech DPX200 Pressure Multi-Switch over Modbus RS485 using a MAX485 Module for the past few weeks, going through nearly every Modbus post on this ...
0
votes
1answer
549 views

Connecting multiple RS485 together

I am trying to build communication across multiple Arduino using RS485. When i am trying to connect 3 Arudino nano together using breadboard my code doesn't reach slave where as if i just if i do ...
0
votes
1answer
95 views

Arduino Hardware serial pins with RS485

I tried asking a question in my earlier post - SerialEvent with RS485 communication it helped me understand Hardware serial and Software serial but i had few more questions for which i started this ...
0
votes
0answers
259 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 ...
1
vote
1answer
171 views

Cannot read modbus data repetitively

I try to communicate with 2 RS485 sensors (pH and EC), but I have some troubles with my code. First, I tried to get data from just one: The function in charge of request sending: String GET_probe(...
3
votes
1answer
14k views

Modbus RTU controller monitoring with arduino and RS485 module

I'm a medium user in Arduino. I baught a pHmeter controller with RS485 output (MODBUS RTU protocol). I want to get pH value read by the controller over RS485 module and Arduino. According the ...
0
votes
0answers
278 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
205 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 ...
1
vote
0answers
128 views

RS485 Serial Communication not working with Arduino

I am trying to control 2 devices with my arduino using RS485 communication. Basically switch on device 1 for 5 seconds when I send 'g' to the master. And switch on device 2 for e3 seconds when I send ...
0
votes
0answers
25 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
113 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
377 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
0answers
141 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
102 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
445 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
646 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,...
1
vote
0answers
185 views

Arduino Modbus slave error

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
2answers
535 views

Problem with modbus communication between two arduinos when writing more than 27 registers

I have the following problem: I want send 200 registers from a modbus master to a slave. Both are arduinos. I can't send more than 27 registers. When I send more i get the Errorcode 255 which means ...
0
votes
1answer
369 views

Trying to power 100 Arduino's from single power line [closed]

I'm trying to power up to 100 Arduinos that will be spread across a 25m wall using a single power line. The idea is each Arduino will have a few a few buttons, leds & an oled screen and will all ...
2
votes
2answers
324 views

Arduino network with minimum wiring

For a parking management system I am going to create an Arduino network. An Arduino with an ultrasonic sensor will be placed above each parking space. If car is parked at specific location Arduino ...
2
votes
3answers
215 views

DMX on the Arduino without additional driver chip

I recently saw this video where the creator controlled a DMX light via the Arduino. There he used the pins 3 and 4 for the data on the Arduino Duemilanove. As DMX library he used DmxSimple. Based on ...
0
votes
1answer
3k views

How to make I2C work on RS485?

I'm trying to optimize the communication (minimize wires) on a project where I can control a motor and toggle some 230V devices by using RS485 and I2C. On this project, I'm using an Arduino (Mega) ...
2
votes
1answer
708 views

Arduino Mega RS485

I am following the instructions from this page to set up RS485 communication between two Arduinos. https://arduino-info.wikispaces.com/SoftwareSerialRS485Example My wiring varies slightly from the ...
1
vote
4answers
11k views

RS485 Multimaster Communication with collision avoidance

I'd like to know if there is an easy way to implement communication between multiple arduinos that avoids collisions using the RS485 module. My setup would have multiple masters that send messages ...
7
votes
4answers
6k views

How to interconnect multiple Arduinos with a Rpi to control home-lights/switches

While planning the lightning infrastructure (wall-switches and lights) of my new home (it's still under-construction) I choosed to go through the "automated route" way and due to my background (I'm an ...
0
votes
2answers
409 views

Problem using ICSC (by majenkotech) in RS485 bus

I want to communicate with an RS485 Bus consisting of 5 Arduino Pro Minis as slaves and one Arduino Mega 2560 as Master. I found a great library for this. According to the documentation provided by ...
2
votes
2answers
547 views

What Ohm Termination Resistor is needed for this schema ? What, Where and How?

I'm building a Master-Slave system using some arduino pro mini as slaves and a Mega 2560 as Master to communicate over RS485 config via MAX485. Since i'm newbie in RS485 i know that i need to put some ...
-2
votes
2answers
451 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 ...
2
votes
1answer
361 views

Problem communicating between arduino UNO R3 and Mega 2560 via MAX485

I want to send data between Arduino Uno and Mega via MAX485. When I set the data Enable pin to HIGH on Mega (to transmit data) and set the same pin on UNO to LOW (to receive data) I can read data ...
0
votes
0answers
1k views

Problem in MODBUS RTU communication between two arduino's

I am doing a project to communicate between two Arduino's using MODBUS RTU protocol. I have set one Arduino as the master and the other as the slave. The slave Arduino reads the analog value from a ...
1
vote
1answer
57 views

Make Sure Digital pin is high before Serial.write()

I have the following code for a TTL to RS-485 Adapter Module [...code] digitalWrite(DE_PIN, HIGH); //directional control for adapter Serial2.write(Message, Size); Serial2.flush(); digitalWrite(...
-1
votes
1answer
558 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
vote
2answers
14k views

Arduino sending data over MAX485

I would like to introduce myself as a student from Czech Republic. I'm currently I'm working on a Meteostation project. I've got Arduino set up, with plenty of weather sensors, as well as WH1080 ...
5
votes
1answer
2k views

Modbus Communication protocol for Arduino as Slave

I have an Arduino Uno board, with these components: rs-485 Modbus module shield Multiprotocol radio shield board for Arduino In addition I have a level sensor which reads either 1 when it is above ...
0
votes
1answer
1k views

Why ModBus RTU Master-Slave Dont Work

I have two mega arduino and want to them communicate with modbus rtu together, i use below link circuit for this : http://www.microcontroller-project.com/rs485-communication-between-arduino-mega-and-...
0
votes
2answers
1k views

rs485 and serial ISP

I made a couple of arduino mini pro and esp8266 pcbs with an rs485 transceiver just to find out that I forgot to think about in-system-programming: Assuming that I don't need to disable the ...