My First Robot

Posted on 29/11/2011 by giedow
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

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 ...


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
Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post