Will do! Just as a random question, have you ever watched Element14's The Ben Heck Show? It's a pretty cool Making/Hacking show where he (Ben Heck) creates projects and generally does awesome/geeky stuff.
- Viewing Profile: Posts: PatriotAce
About Me
I'm from Lowell MI, and I've been programming for about 7 years now. I started with HTML after I got to help my mom review a product for a Homeschool magazine (drawing a blank right now, will update as soon as I remember). I soon progressed on to XHTML and CSS, though never really got into JavaScript (probably should've.)
Then I wanted to try out application programming, so my dad got me a book on the Just Basic language, a spinoff on the LibertyBASIC language, which in turn is based on the old Beginners All Purpose Instruction Code (BASIC). I played with that for about two years, then moved on to Python, and that's where I am now.
I'm the co-author on the Excellince in Writing Rockets, Radar, and Robotics book, a writing book for Upper Elementary/Middle School age boys.
Community Stats
- Group Members
- Active Posts 47
- Profile Views 11,893
- Member Title Advanced Member
- Age 27 years old
- Birthday June 29, 1999
-
Gender
Not Telling
-
Location
Lowell, MI, USA
-
Interests
Computers, Robotics, Linux, Ubuntu, Christian Rock, Christian Hip Hop/Rap, Running (kinda, not really. Minor activity during the summer to stay in shape), Prototyping, Raspberry Pi, Python
User Tools
Latest Visitors
Posts I've Made
In Topic: Trouble with Robotics kit
07 July 2014 - 03:05 AM
In Topic: Trouble with Robotics kit
05 July 2014 - 05:06 PM
Yeah! I've been really busy and totally forgot about this thread until a couple of days ago. I won first place (really surprised I have to say) even though I fried the servo the day of the fair. ![]()
I had to change the design (again) because it was too big (changed it to your new design) and managed to short-circuit wire the servo
. My judge was actually a lawyer, so that was intense, but I think the reason I won was because I understood almost everything about my project/the technology behind it.
I'm going to be entering the project in the County Fair as one of my 4H projects and I've got to order a new servo. Thanks for all your help!
In Topic: Ultrasonic sensor not working
24 April 2014 - 05:55 PM
You might want to check that the sensor's pings aren't hitting the wheels and returning early. I had an issue similar to this and I removed the wheels and tested and it gave me good readings. Try taking off the wheels and testing the code. If you get good readings, you know that the servo wheels are your issue!
In Topic: Trouble with Robotics kit
11 April 2014 - 01:58 PM
Your welcome. I tend to get nutty when upset.
As for the println() statement, no, but I can try that. I think it is, because the robot does sort of try to drift toward the left, but then it corrects back.
Sigh ![]()

In Topic: Trouble with Robotics kit
11 April 2014 - 01:23 AM
Will do, except the le bugs have struck again. Servo issue this time. Don't worry, sensors are working just fine
but when I tell the servos to turn left, nuhuh.
Here's the code for it, that isn't working. It's an exact duplicate (aside from the servo values) of the turn right if statement, which works just dandy. But does turning left, no sir.
else if(state == TURN_RIGHT) // obstacle detected -- turn right
{
Serial.println("Turning Right");
unsigned long turnStartTime = millis(); // save the time that we started turning
while((millis()-turnStartTime) < timeToTurn90) // stay in this loop until timeToTurnRight (1.1 seconds) has elapsed
{
// turn left
rightMotor.write(0);
leftMotor.write(0);
}
state = DRIVE_FORWARD;
}
Data is coming through from the sensors right, timing's as good as it has been, comparison is going just fine. But ask the robot to turn left, and it decides to just go very slowly for the set time, and then keep going forward. I know it's not a power issue, as it turns right and drives forward just fine. Funny thing is, this just started, but like a minute before, it was fine.
I'm like ... 
Ugh, and it was all going so well.
<-- We need one of them to come in and ninja-scare the bot so it works right
- Viewing Profile: Posts: PatriotAce




Find content
