Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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/...

0
votes
0answers
21 views

Unable to send serial data received over RS485 on ethernet

I have connected multiple Arduinos using Max485. I am trying to send data received over RS485 to ethernet using Ethernet Shield. I have modified rolling master solution provided by Nick Gammon. Now ...
0
votes
2answers
42 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
153 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 ...
0
votes
1answer
353 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
111 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 ...
0
votes
0answers
163 views

Using an Arduino with MAX485 as a DMX controller

I have some DMX(512) equipment I need to test/debug while I'm waiting for my controller to arrive. I've got access to a few Arduinos & MAX485 (boards, not ICs), and want to use the combination to ...
0
votes
0answers
120 views

Arduino and RS485 comminucation

I want my arduino to communicate with a rishabh delta energy meter - http://rishabh.co.in/uploads/product/Delta_Energy_Manual.pdf I used the Max485 module for arduino and connected it as follows: A(...
2
votes
3answers
84 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
628 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
183 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 ...
2
votes
1answer
5k 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 ...
2
votes
2answers
5k 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
0answers
4k views

Arduino mega to Arduino mega commuction with RS485

I trying to communicate two Arduino mega's using RS485. Am able transmit thought the serial channel but another end is not receiving.I have used the below diagram as reference to circuit The Code ...
0
votes
2answers
222 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
369 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
1answer
211 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 ...
-2
votes
2answers
204 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
vote
1answer
52 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
480 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 ...
0
votes
0answers
372 views

Arduino as RS485 Master and Slave at the same time

So, currently I have an idea of farming automation, my idea is there's arduino as the center of the command, and there's 2 more arduino as the sensor hub and integration with other device (like pump, ...
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 ...
0
votes
2answers
951 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 ...
0
votes
4answers
8k 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 ...
1
vote
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-...
1
vote
1answer
993 views

Arduino serial non-blocking

I'm writing an Arduino program to communicate with another module using RS485, so I need to control data flow with one pin. But when I set the pin to HIGH (line 88) it almost instantly falls (as you ...
1
vote
1answer
2k views

RS485: is “Y” multidrop allowed?

I imagine that the proper way to implement an RS485 multidrop bus is the following: What happens if, in order to save cables, I connect the same 5 nodes above using this other topology? Will it ...
1
vote
2answers
614 views

Hardware network-infrastructure for a fully-arduino-based home-automation project

As already mentioned in another question, I'm spending LOT of time planning the home-automation system for my new house (currently still in the "still building" phase). Even if started only as a "...
1
vote
2answers
9k 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 ...
3
votes
1answer
774 views

Arduino throwing error while using modbus RS485 code

I have been trying to make a communication with my industrial drive. All I want to do is read a few values of drive, like current, voltage etc. For that I am using a library: I don't understand why ...
1
vote
3answers
1k views

RS485 bus voltage?

Does anyone know the voltage situation regarding multi-drop nodes on an RS485 bus please? Nick Gammons RS485 article shows 2 different hardware configurations, one using 5v devices, and another using ...
1
vote
0answers
1k views

Pelco D Library for Arduino

Does anyone know of any Pelco D libraries available for Arduino? I already have a PTZ joystick controlling 3 PTZ cameras, but I would like to add an Arduino 'intelligent' controller capable of ...
4
votes
2answers
4k views

Long Distance Communication with Arduino

I am reading the value of six potentiometers with a TX Arduino and receiving that data and applying those numbers to a motor using serial. It is working fine through TTL but I am going to need to do ...
1
vote
1answer
326 views

Modbus master arduino code is throwing weird errors on upload

I am using the following https://code.google.com/p/simple-modbus/ arduino master library code. In order to communicate with my industrial drive. All seems right but I am getting some weird errors. I ...
1
vote
0answers
59 views

Multi-drop RS485 device control v1.0 - why is limit for “TIME_BETWEEN_MESSAGES ”?

I am going to use Nick's rolling-master system library (http://www.gammon.com.au/forum/?id=11428) in my home project. For first experiments and testing, I have: - BAUD_RATE = 9600 - max adress = 2 (...
0
votes
1answer
204 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
1k 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 ...
0
votes
2answers
1k views

Serial: What is different between Gammon's RS485 (blocking) and RS485 “non blocking” libraries?

The RS485 master-slave communication library on Nick Gammon's page http://www.gammon.com.au/Arduino/RS485_protocol.zip is working for me OK, but on the same hardware wiring is not working for the non-...
5
votes
1answer
1k 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
77 views

RS-232 is a protocol or a cable?

RS-485 and RS-232 are a type of communication protocol or a type and cable? I studying these serial communication protocols and each place refers to the RS-232 / RS-485 in different ways. Some ...
5
votes
4answers
5k 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 ...
1
vote
2answers
1k views

How can I get a unique address for all my Arduino boards while in RS485?

My attempt is to know how to identify the board I'll be sending parameters to in a serial connection like rs485. I'm asking because I will have about 11 or so mcu's as "Rx slaves" while my pc is the ...
1
vote
2answers
459 views

Standard Length Messages over RS-485

I am a bit confused. So I want to send messages between two arduinos over RS485, but these are not fixed length, naturally, I have to send the length of the message or add a delimiter to understand ...
5
votes
1answer
489 views

How to solve Atmega 16A Serial write (println) hang with Arduino Uno firmware?

For doing some experiments I bootloaded an Atmega16a with Arduino Uno. I am powering my Atmega16a from Arduino UNO. I am not using any external clock. Atmega16a is connected to a breadboard. For ...
1
vote
1answer
572 views

RS-485 with Arduino

I have two Arduinos on a RS-485 line, one acting as a Master and the other as a Slave. The Master simply transmits information to the Slave, which parses it. They work fine when the Master is ...