So, the Duplo train can be automated using coloured tiles, but the Lego train can’t… Until now. With a Raspberry Pi, a build Hat and the Lego train Motor 88011, Let's modify the Lego Hogwarts Express Train (Set 75955) to run autonomously using coloured Lego tiles!
Supplemental Content:
- Link to the Github: https://github.com/hifromkatie/LegoTrain
- Resources_560.zip
Bill of Material:
Product Name | Manufacturer | Quantity | Buy Kit |
---|---|---|---|
RPI4-MODBP-4GB - Raspberry Pi 4 Model B | RASPBERRY-PI | 1 | Buy Now |
16GB MicroSD Card with NOOBS for Raspberry Pi | TRANSCEND | 1 | Buy Now |
SC0622 RASPBERRY PI BUILD HAT | RASPBERRY-PI | 1 | Buy Now |
8459-0674 BATTERY STRAP, 9V, WIRE LEAD | MULTICOMP PRO | 1 | Buy Now |
BUD INDUSTRIES Battery Retainer Clip, PP3 (9V) x 1, Through Hole, Wire Leads | BUD INDUSTRIES | 1 | Buy Now |
CLIFF ELECTRONIC COMPONENTS DC Power Connector, Plug, 2 A, 2.1 mm, 9.5 mm, Cable Mount, Solder | CLIFF ELECTRONIC COMPONENTS | 1 | Buy Now |
MULTICOMP PRO Rechargeable Battery, 1.2 V, Nickel Metal Hydride, 2.6 Ah, AA, Raised Positive and Flat Negative | MULTICOMP PRO | 2 | Buy Now |
1356 Color Sensor, Flora, White Illumination LED | ADAFRUIT | 1 | Buy Now |
Additional Parts:
Lego HogwartsTM Express Train – 75955 |
Train Motor V46 – 88011 |