Introduction: 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.

Step 1: Collect All Component

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

Step 2: Mechanical Parts

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

Tape the servo to the bottom of the castle.

Step 3: Electrical Connections

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.:)

Comments

About This Instructable

423views

9favorites

License:

More by Rundhall:Arduino + LEGO Rotating CastleDIY Workout Player and Editor Crochet for Gadget
Add instructable to: