1
0
A collection of my MicroPython tests for cheap TTL-UART to RS485 converters, the ping-pong program requiring 4 converters at all.
Go to file
2024-09-14 23:09:27 +02:00
README.md First commit! Added README.md 2024-09-14 23:08:45 +02:00
rs485_pingpong.py Added the programs described in README.md 2024-09-14 23:09:27 +02:00
rs485_receive.py Added the programs described in README.md 2024-09-14 23:09:27 +02:00
rs485_send.py Added the programs described in README.md 2024-09-14 23:09:27 +02:00

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