You might remember the old one, which was just a prototype, this one is much better.


The new really big difference is the vehicle (you can see the name of it on the truck every where). I am pleased with the truck, a lot better than my $20 Rc hummer i was using before. This one has plenty of power to drive up inclines and through grass even though i still would only like to drive it on concrete or asphalt.


Also i made some custom PCBs for this purpose



If your interested in a PCB, i have extras i want to get rid of for $6 and free postage in the USA. If you want one then send me a message.


Here are the parts that go on the board:


I will be working on the code for the next few days. I have ran test code and rough AGV code and my custom board is working fine.

I bought a 3"x 2" x 1" plastic project box from Radio Shack and cut a few different holes for cables to go through. My custom AGV PCB goes inside.

The ESC, servo, and UBEC wires go through a hole in the top of the truck that was meant for the antenna.

The box is attached to the bed of the truck using velcro and the GPS is attached to the box using velcro

Here it is all finished. Just like before, the compass is mounted high in the air away from any magnetic interference from the electronics and motor.



I will post some video hopefully next week.


Views: 245

Comment by bigkahuna on July 3, 2010 at 1:10pm
Hey Patrick,

I wonder if I might be able to use this for my autonomous boat project? If so, sign me up for a board! ;)

BigK
Comment by Patrick Mccabe on July 3, 2010 at 1:15pm
I might add that the board is built to use the newsoftserial library, this leaves the serial port open for things like communication. I might add that the ESC and servo pins are wired to pins 9 and 10, the only servo pins that work with the newsoftserial library when using the old servo library. The GPS rx is wired to pin 8 and the tx is on pin 11.
Comment by Patrick Mccabe on July 3, 2010 at 1:20pm
@bigkahuna, i do not see why not. I have 8 PCBs, if you are interested send me a PM.
Comment by bigkahuna on July 3, 2010 at 1:29pm
Yeah, you use one servo to steer, right? I might need to reverse the direction of the servo to steer with a rudder instead of two front wheels, but in theory it should work. What do you figure the components cost you? I'm interested, PM sent.
Comment by Patrick Mccabe on July 3, 2010 at 1:40pm
Yes it is steered with one servo. If you have a lot of the things needed (headers, a spare arduino chip, etc.) like i did lying around then you can make it for a few dollars. If you do not then it would cost about $11 ordering from different places. Its that Arduino chip that is most of that price. You can get all of that stuff, but the chip, at digikey.
Comment by Bill Porter on July 3, 2010 at 5:13pm
Nice Patrick, good work.

Have you run it yet? How fast can it go?
Comment by Patrick Mccabe on July 3, 2010 at 5:23pm
I ran it with some rough code and under RC. It was very fast. The first time i ran it autonomous, i had my speed setting to high, and turned it on and off it shot, i ran after it the whole way but luckily it was only one waypoint so it stopped when it got there like it is suppose to. I need to make the code better to handle at high speed.
Comment by Patrick Mccabe on July 3, 2010 at 5:27pm
Updated my guide with my new setup and the little but of rough code that i have.
Comment by viky on July 3, 2010 at 8:07pm
great patrick , u r doing great job, carry on .
Comment by Bob Hern on July 4, 2010 at 3:58pm
as a total noob, why do you use the compass along w/ the gps? is it for redundancy? i am sure this is a very basic question, but i am just getting into this arena and haven't coded in any language in quite some years, so an explanation would be nice to hear.

bob

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service