1
0

Embed the example wiring image into README.md

This commit is contained in:
BlueFox 2024-09-14 22:03:52 +00:00
parent fbdfd31900
commit c082625cdf

View File

@ -16,7 +16,7 @@ Here's a short list of the different programs and what they do:
## Prerequisites
To be able to run all the examples successfully, you need two MicroPython-enabled Microcontrollers (Raspberry Pi Pico 1 tested) and 4 TTL-UART to RS485 converters, with two of them connected to each μController (see [[Wiring]]).
To be able to run all the examples successfully, you need two MicroPython-enabled microcontrollers (Raspberry Pi Pico 1 tested) and 4 TTL-UART to RS485 converters, with two of them connected to each μController (see [[Wiring]]).
Also, both microcontrollers should have MicroPython running on them (at time of writing this the latest tested version was 1.23.0).
If you met all these requirements, let's start wiring the parts together!
@ -43,7 +43,11 @@ Just wire two MicroPython devices as shown below (obviously connect different co
[<sup>2</sup>] only needed for the ping pong example
Then, connecting the A+, B- and GND wires of the respective converters together (converter 1 of μC1 to converter 1 of μC2, converter 2 of μC1 to converter 2 of μC2), you've just created a simple RS485 bus! Now upload the scripts to both Microcontrollers and try what you want to try!
Then, connecting the A+, B- and GND wires of the respective converters together (converter 1 of μC1 to converter 1 of μC2, converter 2 of μC1 to converter 2 of μC2), you've just created a simple RS485 bus! Now upload the scripts to both microcontrollers and try what you want to try!
Example wiring on a breadboard, one Pico backed with WaveShares HAT, the other one connected to two MAX485 breakout boards:
![This is an example on how to wire two microcontrollers to the converters on a breadboard](wiring_breadboard_example.jpg)
## Useful links