Arduino
Code for Arduino and Android Bluetooth LEGO(R) control.
Parts
- 1x Arduino Uno, I bought part 68 (the starter kit).
- 2x Adafruit MotorShield v2.3, part 1438.
- 1x Adafruit Bluefruit EZ-link Shield, part 1628.
- 5x LEGO(R) power functions extension cords.
- 2x Adafruit stacking header, part 85.
Assembly Notes
- Power functions extension cords are cut to make the connectors.
- Input from the power functions 9V battery pack goes to Vin of the bottom board.
- Both boards have the Vin jumper installed.
- The top board has had it's address jumper soldered for address 0x61.
- The Bluefruit is operating in direct mode.
Directory Layout
- BtC - Android control app.
- BtMotorControl - Arduino sketch that pairs with BtC.
- CAD - OpenSCAD drawings.
- images - Pictures of the project.
Issues
The combination of 4 Arduino boards is on the large side. The assembled and boxed controller is 13L x 8W x 7H bricks.
Disclaimer
LEGO(R) is a trademark of The LEGO Group of companies which does not sponsor, authorize or endorse this repository.