Show Posts
Pages: [1] 2 3 ... 5
1  Using Arduino / Programming Questions / Re: Need some help for a science project. on: February 09, 2013, 12:11:01 am
I'll make sure I do that. Also, I might be a potential winner for the science fair at my school, and if I get 1st or 2nd place, I get to go to a prestigious college to show my project off.  smiley-cool
2  Using Arduino / Programming Questions / Re: Need some help for a science project. on: February 09, 2013, 12:04:47 am
Here's the board and the hand too.
3  Using Arduino / Programming Questions / Re: Need some help for a science project. on: February 08, 2013, 11:57:02 pm
Here is a picture of the finished product.  smiley-mr-green
4  Using Arduino / Programming Questions / Re: Need some help for a science project. on: February 06, 2013, 09:48:49 pm
Guess who made TOP 10 in the science fair?  smiley-mr-green
5  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 29, 2013, 05:09:34 pm
That's amazing.
6  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 27, 2013, 12:41:22 am
I believe so. The guide said as long as the straw doesn't crack when you apply pressure to it, it should work.
7  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 27, 2013, 12:32:08 am
And I happily thank all of you guys for helping me with and teaching me more about robotics.  smiley-lol
8  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 27, 2013, 12:30:17 am
I'll give that a shot, but if I can't get it to work, then I'll just stick with one servo.
9  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 06:09:10 pm
This isn't going to work and I'm running out of time, so I think I'll just use one servo...
10  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 05:58:48 pm
Gee, thanks...
11  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 05:53:47 pm
I have no idea. I'm going to start over.
12  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 05:42:52 pm
I setup the 2nd servo just like in the picture, and the power is somehow routed to the first one... Why?
13  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 04:39:46 pm
And everything is plugged in correctly too.
14  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 04:04:35 pm
It doesn't move at all when I upload it.
15  Using Arduino / Programming Questions / Re: Need some help for a science project. on: January 26, 2013, 03:58:03 pm
#include <Servo.h>
 
Servo myservo;  // create servo object to control a servo
                // a maximum of eight servo objects can be created
 
int pos = 0;    // variable to store the servo position
 
void setup()
{
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}
 
 
void loop()
{
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  {                                  // in steps of 1 degree
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees
  {                               
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
}
Pages: [1] 2 3 ... 5