RPi1
Motion-triggered LEDs for the LEGO® Star Wars™ BD-1™ droid.
Overview #
Hardware #
This project uses the following hardware components:
- LEGO® Star Wars™ BD-1™ model (#75335)
- Raspberry Pi1 Pico
- 2 small blue LEDs
- 1 big white LED
- Motion sensor (HC-SR505)
- Connecting cables
- Resistors
- Micro-B USB cable
- USB power switch
Software #
For this project, I utilized the following tools:
- VisualStudio Code IDE
- MicroPico extension
- Remote - SSH extension
I connect Raspberry Pi1 Pico to Raspberry Pi1 4B+ that I remote into from my development computer. - mpremote CLI tool
I use mpremote to install packages through mip.
To implement the runtime logic, I employed the most recent MicroPython version at the time of development.