RS485 Serial communication not working.
I am refering to this example. https://industruino.com/blog/our-news-1/post/rs485-serial-communication-28
I have two industruino devices connected as per shown in above link the sender code is working fine. But at the reciever device no result.
At reciver end lcd.print(Serial.available()) = 0 and Serial.read() = -1;
Hi, are you using the exact code as in the link example? It does not print the Serial.available() and it only does Serial.read() when Serial.available() > 0
Make sure your wires are correct A to A, B to B and both INDIOs have to be powered with external 12/24V
USB cable only powers up the topboard, not the base, so RS485 will not work with USB power only
Hi Tom, is RS485 will work with 5v supply? I trying with 5V and 2Am adapter the base LEDs are lights up but not able to get result.
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
| Asked: 3/4/20, 8:40 AM |
| Seen: 2409 times |
| Last updated: 3/4/20, 9:50 AM |
In the example code I have just added print lines for available and read in loop. and connection is also A to A, B to B. As for power is concern I have used USB cable.