StartHere robot - Arduino

Posted on 21/11/2010 by hardmouse
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.

I thought it was one of the rule to join the great community, so I spend this weekend to make this "Start Here" robot by using Arduino with motor shield from AdaFruit. Basically it just detect the object and turn right. There's whole lots of room could expand its ability. The code is simple but I probably make it way too long and I alway confuse about one thing. Should I keep sending the forward command to have motor keep going or I should stop sending when there's no need to tell motor to keep ...


StartHere robot - Arduino

I thought it was one of the rule to join the great community, so I spend this weekend to make this "Start Here" robot by using Arduino with motor shield from AdaFruit. Basically it just detect the object and turn right. There's whole lots of room could expand its ability.

The code is simple but I probably make it way too long and I alway confuse about one thing. Should I keep sending the forward command to have motor keep going or I should stop sending when there's no need to tell motor to keep going? That's why I have add "if(excute == true)" in order to have FORWARD send only once. or there's better way to do this? Thanks for any input!


  • Actuators / output devices: motors
  • Control method: autonomous
  • Power source: 9v battery
  • Sensors / input devices: 1 Sharp Distance Sensors
  • Target environment: indoor ground
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