Introduction: Simple Arduino Robot - Block Programming for Kids

Picture of Simple Arduino Robot - Block Programming for Kids

Arduino Robot project aims to enable kids to program their own robot through simple drag and drop block programming

Step 1: Overview

Picture of Overview

In this project we will use mBlock, that is a Scratch variant with the same drag-and-dropping style. mBlock is an open source and enable write programs to control the robot or give it some intelligence.

If you didn't have mBlock, download it from http://www.mblock.cc/, also you need to add Arduino Rover extension to mBlock as following,

  1. From Extensions menu item
  2. Open Manage Extensions (short-cut Ctrl+shift+T)
  3. Click Available button and search for "Rover"
  4. Click Download

You can now write Arduino programs and build them direct from mBlock, from Edit menu switch to Arduino mode

Step 2: Part List

Picture of Part List

2 X DC Motors

2 X Wheels

1 X Caster (or old roll-on bottle)

1 X LED

1 X 220 Ohm Resistor

1 X 10 Ohm NTC Thermal Resistor (Optional to limit DC motors max current)

1 X 100uF Capacitor

1 X 1N4001 Diode

L293D Motor Driver (or other Arduino Motor driver extension)

IR Remote controller + IR receiver Diode

7.0volts Battery (or 4 x AA batteries)

Breadboard 400 Tie Point

Arduino Uno (or other supported Ardunio board)

Step 3: Building the Robot

Picture of Building the Robot

Download the attached RobotBase.pdf and use a cutter and cardboard paper to cut the robot base. Then mount the motors and caster using hot glue.

Step 4: Wiring Diagram

Picture of Wiring Diagram

Wire all components as the above diagram.

Step 5: Writing the Code

Picture of Writing the Code

Start mBlock IDE in Arduino mode, and select Arduino Uno board from Boards menu. check Arduino Rover Extension page for more information on how to use.

Attached below arduino_rover.sb2 a complete sample for Arduino Robot code.

Comments

ahmedf150 (author)2017-05-31

Thank you, Hopefully be useful. The project on https://github.com/Ahmedfcis/mBlock_Arduino_Rover is open for contribution, many features can be added.

Swansong (author)2017-05-30

That's neat, thanks for sharing :)

About This Instructable

607views

8favorites

Bio: https://github.com/Ahmedfcis/
More by ahmedf150:Simple Arduino Robot - Block Programming for Kids
Add instructable to: