1
0
micropython-rp2-rs485-examples/README.md

1.9 KiB

micropython-rp2-rs485-examples

Whats this?

This is a small collection of some programs I wrote to test the functionality of some cheap TTL-UART to RS485 converters, written in MicroPython

Here's a short list of the different programs and what they do:

  • rs485_send.py: sends a incrementing counter (starting at 0) as an UTF-8 encoded string with \r\n as delimiter over rs485

  • rs485_receive.py: receives utf-8 encoded strings and prints them out as soon as a \n is received.

  • rs485_pingpong.py: this implements a simple ping-pong over two channels (4 converters needed). For more information, see [Wiring].

Wiring

TODO

License

see LICENSE.md