Hi all,
I'm designing a RS485 microcontroller system for an industrial application. I have a PIC 16F88 microcontroller and need it to
A. listen on a RS485 network for a "#" symbol and then an address defined by a DIP switch connected to the PIC
B. After the # and address, listen to the next byte
and C. turn on LEDs on PORTB corresponding to the bits set in the RS485 byte.
I understand I need a MAX485 or similar to do this.
Can I just drive it with the 16F88's UART?
What code would I need to do this?
Thanks in advance,
Matt
I'm designing a RS485 microcontroller system for an industrial application. I have a PIC 16F88 microcontroller and need it to
A. listen on a RS485 network for a "#" symbol and then an address defined by a DIP switch connected to the PIC
B. After the # and address, listen to the next byte
and C. turn on LEDs on PORTB corresponding to the bits set in the RS485 byte.
I understand I need a MAX485 or similar to do this.
Can I just drive it with the 16F88's UART?
What code would I need to do this?
Thanks in advance,
Matt