My First Robot

This is my first robot. I build it in a few hours and it it most mechanic.

The bot is made using two servo's and a few pieces of wood and plastic.

 

If you look at the picture you see a piece of aluminium, this is to make sure the robot goes forward. It works, because the aluminium will slide in one direction and causes friction in the other direction. And I want to thank the people who helped me to get the servo's to work. the code: #include Servo myservo; // create servo object to control a servo Servo myserv1; void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object myserv1.attach(5); myservo.write(90); // sets the servo position according to the scaled value myserv1.write(90); delay(1000); } void loop() { myservo.write(70); myserv1.write(70); delay(750); myservo.write(110); myserv1.write(110); delay(750); }

walk

  • Actuators / output devices: 2 servos
  • Control method: Moves according to code
  • CPU: arduino uno
  • Operating system: Windows 7
  • Power source: external battery pack
  • Programming language: C++
  • Sensors / input devices: none
  • Target environment: Indoors - Carpet is best

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/my-first-robot-22