Robot for teaching children programming in Arduino

Robotics circles are definitely a success these days. Lego, arduino, scratches and much more is available to modern children (I'm sure many, like me, are jealous of the current kid in this regard). As a teacher of robotics, I decided to share some material that I have accumulated over a couple of years of work, namely a fairly simple robot and several activities with it.

I use these units in the classroom in order to explain to children the principles of operation of the engine driver, line sensor and range finder. Children who are overtaken by the study of this robot have already unlearned as a rule for a year and have minimal ideas about Arduino, motors and electrical engineering in general. There are many projects on the Internet with these components, but two things motivated me to develop my machine - I wanted to use a compartment for 4 AA batteries and be able to securely attach almost any sensor to the robot (there are several additional mounting holes for this in the design).

The robot is controlled by an Arduino Uno board with motor shield l293d, from the sensors I installed the HC-SR04 range finder and two tcrt5000 line sensors (it has both digital and analog output).

The robot body consists of 3 parts (not counting the optional mounts for the sensors), which are printed on a 3D printer. For assembly, you need M3 fasteners, I described all the necessary elements in a document that contains files for a 3D printer.

The robot is programmed, both in the standard Arduino IDE environment (older children) and in the miniBloq program (for younger groups). For the standard environment, the AFMotor library is used, which is necessary for working with the shield of engine drivers. In miniBloq, to ​​work, you need to select the “ta-bot v1” robot equipment using the same driver in the section.

Having a rangefinder and line sensors on board, the robot is suitable for participating in competitions in many disciplines, but it was created just for training, it won’t work to win prizes.

Classes that can be held with him:

  • Work with the engine driver. Wheel rotation in different directions and at different speeds.
  • Simple maneuvers. Riding in a circle, riding in a figure eight (in these classes, as a rule, you have to choose the necessary time and speed many times to get a given figure).
  • Line sensor. Principle of operation. Transmission of sensor readings to a computer (port monitor).
  • Riding in a line with one line sensor.
  • Riding a line with two line sensors.
  • Rangefinder. The principle of the rangefinder. Transfer of the rangefinder to the computer.
  • Riding around the room with a rangefinder. The robot goes forward to meet an obstacle, as soon as it drives up to the wall, it turns.
  • Search for the enemy (as in robosumo). Two robots are placed in a circle and begin to spin in place, looking for the enemy with a range finder.

In the folder with the details you can also find several ready-made classes from the above list.