Trouble initializing UART communication

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
0_djek
Posts: 11
Joined: Mon Dec 28, 2020 2:40 pm

Re: Trouble initializing UART communication

Post by 0_djek » Tue Dec 29, 2020 7:33 pm

I tested the microcontroller, if it sends and receives any data, and it does. I tested it with seperate computer, which was kinda wired to the wires, going from my rs485, which is connected to my sensor, but I can't figure a way to read the data from my meter.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Trouble initializing UART communication

Post by Roberthh » Tue Dec 29, 2020 7:47 pm

With the RS485 interface, there is a /RE and DE pin. The /RE has to be low for receive, and the DE high for send. So you can tie them together and set them low for receiving, and high for sending, RO would be connected to RX and DI to TX.

Post Reply