Trouble initializing UART communication
Re: Trouble initializing UART communication
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.
Re: Trouble initializing UART communication
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.