BreadboardBot

Basic line follower

Alternative wiring

If you want to avoid feeding 5V to the input pin of a microcontroller you can consider a different wiring. For example, something like that would work:

This wiring requires the microcontroller to be plugged in as follows:

You will also need to update breadboardbot/platform_rp2040.py to use different pins:

Finally, the follow-up line-follower examples (those using the sonar or the OLED) will not work with this wiring (and are probably rather difficult to adapt).