Subrat Posted March 6, 2023 Share Posted March 6, 2023 Hi, I need a way to communicate between a PIC microcontroller (UART) and another device(RS485). I am using PMod rs485 to convert between UART and RS485. Does the attached hardware connection and wiring look correct ? RS485 to UART converter.pdf Link to comment Share on other sites More sharing options...
0 JColvin Posted March 31, 2023 Share Posted March 31, 2023 Hi @Subrat, The setup you attached will not work if you are expecting to operate in full-duplex mode. The reason for this is due to how the Receive Enable and Driver Enable pins on the embedded ADM2582E work. Your setup may work for half duplex RS485, at least based on Figure 41 of the ADM2852E datasheet (link). As noted in the Pmod RS485 Reference Manual (link), the Driver Enable must be pulled to a logic high state in order to transmit data, whereas the Receive Enable must be driven to a logic low state in order to receive data. Because your setup ties both RE and DE together to the same pin on the host system, you would only be able to do either sending or receiving, not both simultaneously. I'm also presuming that your diagram would configure the host TX pin as an output rather than as an input as indicated by the arrow on your diagram. Thanks, JColvin Link to comment Share on other sites More sharing options...
Question
Subrat
Hi,
I need a way to communicate between a PIC microcontroller (UART) and another device(RS485). I am using PMod rs485 to convert between UART and RS485.
Does the attached hardware connection and wiring look correct ?
RS485 to UART converter.pdf
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now