You can also order your Pedro Robot 3D printed on Thingiverse:

Pedro Petit Robot 3D printing

Pedro Robot - Graphical User Interface

Pedro Robot - Demonstration

See below for the Arduino code used for this demonstration.


Pedro Robot is equipped with 4 mini SG90 servo motors.

  • The servo motor 1 placed at the base of Pedro Robot allows it to rotate 180 degrees on itself giving a very wide field of view of its environment.
  • The servo motor 2 placed shoulder level allows it to rotate 180 degrees vertically.
  • The actuator 3 the elbow makes it possible to lift objects gripped.
  • Servo 4 is Pedro Robot's gripper which allows it to catch any object in its field of view and move.

Pedro Robot is a programmable robot with the Arduino IDE thanks to an embedded card equipped with an Atmega328 microcontroller with a storage capacity of 1024 bytes enabling it to record a sequence of 255 positions on each axis and to replay them continuously. The Pedro board is powered by 5V 4A and has 2 pushbuttons each connected to a pilot led allowing different functions to be realized (example: button 1 to register or initialize the movements of the robot, button 2 to replay or stop robot movements, "You're only limited by your imagination" Pedro Robot can be controlled by 4 potentiometers, each connected to an axis, base, shoulder, elbow and gripper. The Pedro card has a USB TTL serial link to connect Pedro Robot with a computer.

Board components required

  • Atmega328P x1
  • 22pF capacitor x2
  • 10uF capacitor x1
  • 0.1uF capacitor x1
  • 220 ohm resistance x5
  • 16Mhz quartz x1
  • regulator 5V LM7805 x1
  • Led 5mm x2
  • push button x2
  • potentiometer 50k or 10M (have been tested) x4
  • pin header x16
  • dc power jack 2.1mm x1

Arduino mapping with Pedro board

  • [Pedro Robot]       <=>    [Arduino]
  • Button 1                 <=>    digital pin 12
  • Button 2                <=>    digital pin 13
  • Led 1                      <=>    digital pin 9
  • Led 2                     <=>    digital pin 10
  • Servo 1                  <=>    digital pin 3
  • Servo 2                 <=>    digital pin 5
  • Servo 3                 <=>    digital pin 6
  • Servo 4                 <=>    digital pin 11
  • Potentiometer...
Read more »