I’m in college right now for programming. Been doing it myself for 4+ years now. I know a variety of languages (C++, Java, Html, ect) and I’m used to learning new ones. What I’d like to do is use my computer, and in the future one of those <9’ laptops as a brain, connected to my robot through usb.
Right now I’m not worried about moving a laptop around, it’s just going to be a usb cord from my computer to the robot. Using code I write on my computer that runs in real time while the robot is connected with usb is my main goal here.
My goal is to have a robot that can move around, and when it senses an object to try and go around it. Here is a sketch I did in paint.
http://i238.photobucket.com/albums/ff17/JavaMava/simplerobot.jpg
From this design it’s clear I need:
2 servos motors
2 DC motors
3 wheels
a sonar sensor
a container to mount/hold everything.
and then the parts I need some help on.
In order to control the servo motors this.
*
**EDIT - *can’t post links yet, forum rules. However it is a Pololu USB 16-servo controller EDIT(2) - I bought the SSC-32 instead.
Will allow me to use usb and control my two servo motors. It also will be reused for my second, and probably 3rd robot so I do need its ability to control up to 16. Now for a few questions.
- This can’t be used to control my dc motors can it? If not what do you suggest that can. I need to be able to connect it to my computer through usb, or connect it to something else that connects to my computer through usb.
- for more than 1 servo, it needs it’s own power supply. Rechargeable batteries seem to be the way to go. Whats the equation/info I need to figure out what I need? (also, what do you suggest?)
- besides batteries, servos, ad a usb cable to computer, is there anything else I need to be able to use this device?
This is about as much as I’ve been able to figure out on my own. I know there are probably some things I’m missing. What? Also do you have any alternative/superior suggestions that still allow me to control a robot in **real time **with my pc?
Thanks for reading all of this
***EDIT - *aww man, bad first post. Full of unfulfilled promises, and in the wrong board to boot. Meant to put it in general discussion, not general programming. Could a mod move my topic for me? I don’t think you guys would want me to make a duplicate topic in the other board