Building a Rover project day 1

Continuing yesterday’s work Árpi moved out to do some shopping for heat-sensors and a wifi-stick for the BeagleBone.
I did some the code for the Arduino which is basically a command interpreter based on the code of the OpenROV project.

http://openrov.com/

We successfully mounted the servo motor that does the steering and experimented with drilling an extra hole into one of those metal builder parts to shorten the steering axis – no good yet.

Drilling screw hole
Drilling screw hole


From the bottom
From the bottom

From the top
From the top
Close-up
Close-up

Aaand action:

The code running on the Arduino which is a modified version of the Arduino sweep example:

#include <Servo.h> 

Servo myservo;  
int pos = 0;   

void setup() 
{ 
  myservo.attach(5);
} 

void loop() 
{ 
  for(pos = 45; pos < 80; ++pos)    
  {
    myservo.write(pos);
    delay(15);                          
  }    
  for(pos = 80; pos>=45; --pos)     
  {                                
    myservo.write(pos);              
    delay(15);                       
  } 
}
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s