Arduino + LEGO Rotating Castle

by Rundhall in Circuits > Arduino

908 Views, 10 Favorites, 0 Comments

Arduino + LEGO Rotating Castle

20161228_104345.jpg
Arduino + LEGO rotating castle

In this project a LEGO castle is rotating, the direction and speed of rotation are controlled by a touch sensor. The sensor and the servo are handled by an Arduino board. Perfect project for girls.

Collect All Component

20141221_130534.jpg

1 pcs. TTP224 4- Channel Digital Touch Sensor Module Capacitive Touch Switch Button

http://www.ebay.com/itm/TTP224-4-Channel-Digital-T...

1 pcs. Improved Funduino Mega 2560 R3 Module (Compatible w/ Official Arduino Mega 2560 R3)

http://www.dx.com/p/improved-funduino-mega-2560-r3...

1 pcs. TowerPro SG90 9G Mini Servo

http://www.dx.com/p/towerpro-sg90-9g-mini-servo-wi...

1 pcs Breadboard Jumper Cable Wires for Electronic

https://www.amazon.com/Breadboard-Jumper-Wire-75pc...

1 pc Breadboard

https://www.amazon.com/BB400-Solderless-Plug-Bread...

1 pc 5V Power bank

http://www.dx.com/p/cwxuan-7800mah-li-ion-external...

general LEGO bricks and figures

Double Sided Tape

Mechanical Parts

20161228_110713.jpg
20161228_110717.jpg
20161228_110720.jpg

Build the castle, and a holder for the servo using LEGO bricks

Tape the servo to the bottom of the castle.

Electrical Connections

LEGO_ARDUINO Sketch 3_bb.png

p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: left; }a:link { }

Make all the connection according to attached schematic.

Upload the attached software to the Arduino board.

Play and enjoy.:)

Downloads