From c082625cdf02e6a292138b8eacde043a6b5069ba Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 14 Sep 2024 22:03:52 +0000 Subject: [PATCH] Embed the example wiring image into README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a95e28..1717db8 100644 --- a/README.md +++ b/README.md @@ -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 [2] 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