Arduino + LEGO Rotating Castle



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

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

1 pcs. TowerPro SG90 9G Mini Servo

1 pcs Breadboard Jumper Cable Wires for Electronic

1 pc Breadboard

1 pc 5V Power bank

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

Robotics Contest 2017

Participated in the
Robotics Contest 2017

Be the First to Share


    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge