Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Melcin Powell on February 15, 2010, 05:32:00 PM
-
http://search.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&site=us&keywords=ATMEGA8-16PU (http://search.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&site=us&keywords=ATMEGA8-16PU)
How do i get that in my computer to program the servos??? please help
-
You made two topics because?
To answer your question, read the $50 robot tutorial, it explains everything.
-
I can't fine were it explains how to do this?
-
In step 2
First you must modify your servos (http://www.societyofrobots.com/actuators_modifyservo.shtml)so that they can rotate continuously. The factory default will only allow the servo to rotate 180 degrees.
http://www.societyofrobots.com/actuators_modifyservo.shtml (http://www.societyofrobots.com/actuators_modifyservo.shtml)
-
it does not explain how to connect the microcontoller to the computer
-
it does not explain how to connect the microcontoller to the computer
You build the $50 robot board. It has a programming header. You buy (or possibly build) a "programmer" that connects the $50 robot board to your PC via USB, serial port, or parallel port.
http://www.societyofrobots.com/step_by_step_robot_step4.shtml (http://www.societyofrobots.com/step_by_step_robot_step4.shtml)
http://www.societyofrobots.com/images/sbs_plug_programmer.JPG (http://www.societyofrobots.com/images/sbs_plug_programmer.JPG)
-
Or perhaps you mean 'how does my robot talk and listen to my computer once its all programmed"? In which case you use the UART - which is sort of like a modem. You then have lots of choices:-
1. Use a level shifter board + a cable to plug it into an RS232 port on your PC; or
2. Use a TTL to USB board + a cable to plug it into a USB port on your PC; or
3. Use a wireless transmitter of some kind (bluetooth etc) + NO cable to talk to your PC
Of course all those options just give you a 'pipe' between the two. You will then have to program the robot as to what info to send to the PC and how to react based on info received back from the PC.