Build a robotic device

Build a simple wheeled robotic device using motors, batteries, cardboard, and sensors; test movement, learn wiring, and program basic controls.

Electronics1 hr 30 min13 materials
Get instructionsMore activities
Build a robotic device
Build a robotic device
1 hr 30 minHands-on fun
15 steps →

About this activity

Build a simple wheeled robotic device using motors, batteries, cardboard, and sensors; test movement, learn wiring, and program basic controls.

What you need

🧰DC motors with wheels🔋battery pack and batteries📄cardboard sheet🧴tape🧴glue stick🧰jumper wires or alligator clips🧰motor driver board such as L298N🧰microcontroller such as microbit or Arduino🧰ultrasonic distance sensor or bumper switch✂️scissors🖍️marker📏ruler🧰adult supervision required

Step by step

  1. 1

    Step 1

    Gather all your materials and bring them to a clear table or floor space where you can work.

  2. 2

    Step 2

    Cut a rectangle from the cardboard about 20 cm by 12 cm to make your robot chassis.

  3. 3

    Step 3

    Tape the two DC motors to the back left and back right edges of the cardboard so their shafts point out over the edge.

  4. 4

    Step 4

    Push the wheels onto the motor shafts until they fit snugly.

  5. 5

    Step 5

    Attach a bottle cap or small caster wheel to the front center of the chassis as a third support wheel using tape.

  6. 6

    Step 6

    Tape the battery pack in the middle of the chassis so it stays put while the robot moves.

  7. 7

    Step 7

    Use jumper wires or alligator clips to connect each motor wire to the motor driver output terminals.

  8. 8

    Step 8

    Clip the battery pack leads to the motor driver power terminals making sure the positive wire goes to VCC and the negative wire goes to GND.

  9. 9

    Step 9

    Connect the motor driver input pins to the microcontroller output pins with jumper wires and also connect the motor driver GND to the microcontroller GND.

  10. 10

    Step 10

    Plug the ultrasonic distance sensor or bumper switch wires into the microcontroller pins for power ground and signal.

  11. 11

    Step 11

    Plug the microcontroller into your computer using USB so you can program it.

  12. 12

    Step 12

    Create or load a simple program that turns both motors on to drive forward and that reads the sensor to stop or reverse when an obstacle is detected.

  13. 13

    Step 13

    Upload the program to the microcontroller so it will run from your code.

  14. 14

    Step 14

    Place the robot on the floor and press run to test its movement while watching for any problems.

  15. 15

    Step 15

    Take a photo or video of your finished robot and share your creation on DIY.org

Fun facts

🤖Differential drive (two wheels) lets a robot spin in place by turning the wheels at different speeds—no steering wheel needed!
⚡Two standard AA batteries give about 3 volts together, enough to run many small DC motors used in kid robotics kits.
🧠An Arduino Uno microcontroller is open-source and has 14 digital I/O pins and 6 analog inputs for sensors and motors.
🔊Ultrasonic distance sensors like the HC-SR04 work by timing sound echoes and can measure roughly from 2 cm up to several meters.
📦Corrugated cardboard is lightweight, easy to cut and glue, and is a favorite prototyping material for robot chassis and shields.
🤖Differential drive (two wheels) lets a robot spin in place by turning the wheels at different speeds—no steering wheel needed!
⚡Two standard AA batteries give about 3 volts together, enough to run many small DC motors used in kid robotics kits.
🧠An Arduino Uno microcontroller is open-source and has 14 digital I/O pins and 6 analog inputs for sensors and motors.
🔊Ultrasonic distance sensors like the HC-SR04 work by timing sound echoes and can measure roughly from 2 cm up to several meters.
📦Corrugated cardboard is lightweight, easy to cut and glue, and is a favorite prototyping material for robot chassis and shields.

How do I build a simple wheeled robot from cardboard and motors?

Start by sketching a simple chassis and cutting cardboard to size. Mount two DC motors with wheels on the rear and a caster or third wheel up front. Attach motors to a motor driver connected to a microcontroller (Arduino, micro:bit) or a simple battery switch. Wire batteries, motors, and sensors (ultrasonic or IR) using jumper wires, secure parts with tape or hot glue, program basic forward/turn/reverse commands, then test movement and iterate, teaching wiring and debugging along the way.

Go deeper

What materials do I need to build a basic wheeled robot with sensors?

You'll need cardboard or foam board for the chassis; two DC motors with wheels; a motor driver (H-bridge like L298N) or a motor shield; a microcontroller (Arduino, micro:bit, or simple board); batteries and holders (AA pack or rechargeable Li-ion with proper protection); jumper wires, a small switch, tape, glue or hot glue, a screwdriver; sensors such as an ultrasonic rangefinder or IR modules; and safety gear like adult supervision and goggles.

Go deeper

What ages is building a cardboard wheeled robot suitable for?

This activity suits children in stages: ages 6–8 can participate with heavy adult help for cutting, gluing, and handling batteries; ages 9–12 can learn wiring basics, assemble components, and do block-based programming with supervision; ages 13+ can work more independently on soldering, complex wiring, and text-based coding (Arduino/C++ or Python). Always supervise younger kids, restrict tool use accordingly, and adapt tasks to each child's experience and attention span.

Go deeper

What safety tips and learning benefits come from building a simple wheeled robot?

Safety first: use low-voltage batteries, secure all wires, and avoid exposed metal contacts. Adults should handle soldering, sharp tools, and hot glue. Teach children to power down before changing wiring and to check connections to prevent shorts. Learning benefits include hands-on STEM skills, basic electronics, logical thinking, creativity, and persistence. For variations try adding line-following sensors, remote control via Bluetooth, or a simple autonomous obstacle-avoidance program to exten

Go deeper

Watch & Learn

Need help?

If I can't find DC motors, a motor driver, or an ultrasonic sensor, what can I substitute so I can still build the robot?

You can use hobby servos with wheel adapters instead of the DC motors, swap the motor driver for a dual H-bridge breakout or two transistor switches, and use a simple bumper switch or IR proximity sensor in place of the ultrasonic sensor while keeping the same wiring and programming steps.

My robot doesn't move when I press run—what steps from the build should I check to troubleshoot this?

Check that the battery pack leads are clipped to the motor driver power terminals with positive to VCC and negative to GND, confirm the motor driver GND is connected to the microcontroller GND, ensure each motor wire is firmly attached to the motor driver outputs, and verify the wheels are pushed snugly onto the motor shafts and the motors are taped securely to the cardboard chassis.

How can I adapt the activity for different ages so it's safe and engaging for younger kids and challenging for older ones?

For a 5-year-old pre-cut the 20×12 cm cardboard chassis, pre-tape the motors and wheels, and use a simple on/off switch instead of programming; for a 10-year-old let them assemble the motors, battery pack, and sensor and upload a basic forward-and-stop program; for a teen have them solder connections, wire the motor driver and ultrasonic sensor themselves, and write more advanced obstacle-avoidance code on the microcontroller.

What are some ways to extend or personalize the robot after the first successful run?

Decorate or paint the cardboard chassis, swap the bottle cap support for a small caster wheel, add LEDs or a buzzer connected to microcontroller pins, install an extra IR sensor for line-following, or add a Bluetooth/Wi‑Fi module to remotely control and update the uploaded program.

Your first game is on us.

Describe a game below - no sign-up needed to try.

KidsGPT has moved to ChatDino — powered by AstroSafe

Make me

DIY.org

Kid-safe AI for discovery and learning. Ask anything, explore everything, learn with confidence.

Product

  • Pricing
  • App
  • All Apps

Resources

  • Blog
  • Kids Wikipedia
  • Worksheets
  • Activities for Kids
  • Build a Hacker Simulator
  • SafeTube

Company

  • About
  • Terms & Conditions
  • Privacy Policy
  • AstroSafe
TwitterInstagramYouTube

© 2026 DIY.org. All rights reserved. · Powered by AstroSafe