Smartphone Accelerometer Controlled Cardboard Maze

4,157

61

10

Introduction: Smartphone Accelerometer Controlled Cardboard Maze

About: Hye, This is Hack Plague and It is all about Electronics and Programming.

In this Instructable, I made a cardboard maze that is controlled by using Smartphone Accelerometer Sensor.

Supplies:

Cardboard

Hot glue

Scissor & Cutters

wood nails

Servo Motor Sg90 like this

Arduino nano like this

HC-05 Bluetooth Module like this

Some wooden Block (for Stand making)

& a (Smartphone)

Step 1: Printing and Cutting Design

Print the design in A4 Sheet .as some sheet is greater than A3 Size sheet so print them in parts.

then cut out sheet according to marks, here dark line indicates cuts and the dotted line indicates paper folds.

Step 2: Cardboard Cutting and Pasting

Take some Cardboard sheet and paste the design sheet over it. you can use any paper pasting glue for this. cut out all dark lines and the resulting product looks like those images.

Step 3: Creating Structure for Both X and Y-axis Servo Motors

Next, fold the cardboard sheet according to the (------------) dotted line and the resulting product are these two cardboard structures. one for the X-axis servo and another Y-axis servo. I used wood nails for extra support.

Step 4: Creating Maze Tracks and Placing Servo Motors

Cutout 20cm x 1cm cardboard strips (here length does not matter it's up to you) paste them according to the maze track with paper pasting glue. Place servo motor by using hot glue gun and place screw at another end, both servo and screw are in the same line.

Step 5: Making Wooden Stand for Our Cardboard Maze

Cut out the plywood according to dimensions shown in the images and remove a square-shaped hole for servo placement.

Step 6: Now Come to Connection and Coding Part

Arduino BT module

GND ------- GND

VCC ------- 5V

TX-O ------ pin0

RX-I ------ pin1


Servo-1&2 Arduino

GND(1&2) ------------ GND

VCC (1&2)-------------5V

Signal (1)---------------pin3

signal (2)---------------pin5

I created the android app in MIT app Inventor but it was unstable so used roboramo app.

You can download it from play store

Cardboard Speed Challenge

Participated in the
Cardboard Speed Challenge

Be the First to Share

    Recommendations

    • Sew Warm Speed Challenge

      Sew Warm Speed Challenge
    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest

    10 Discussions

    0
    abhi41999
    abhi41999

    1 year ago

    the arduino nano, bluetooth module and servos motors you attached with project will work or not with it perfectly as i am going to use it for my project.

    0
    hackplague
    hackplague

    Reply 1 year ago

    When I used with my project it works perfectly project is very stable.

    0
    hackplague
    hackplague

    Answer 1 year ago

    I have already attached the arduino code in this instructable only

    0
    meruert.nurzhekeeva

    Please can you add the codes from Arduiono

    0
    hackplague
    hackplague

    Reply 1 year ago

    Already attached.. At the end

    0
    diato556
    diato556

    1 year ago on Step 6

    Bravo, I find this game great and I will surely build it.

    0
    hackplague
    hackplague

    Reply 1 year ago

    ❤️❤️