Electronics > Electronics

Robot Ramble: New Project for the New Guy

(1/1)

robotramble_uhs:
Hey all,

I am trying to build a robot, and have another thread in the mechanical part of this site (http://www.societyofrobots.com/robotforum/index.php?topic=301.0) , but I started this to address my other concerns. Hopefully, this thread will continue and be updated.

My first question: How does the micro-controller receive signals from the H-bridge, and how it would send signals to the servos? I understand that it is connected through a mounted port, but I'm wondering what what it actually sends. I am trying to understand my project as much as possible. Thanks!

Admin:

--- Quote ---How does the micro-controller receive signals from the H-bridge?
--- End quote ---

The H-bridge does not send out signals - the microcontroller sends signals to the H-bridge by making the digital output pins high or low.
http://www.societyofrobots.com/schematics_h-bridgedes.shtml

The digital output pins are also used for sending out signals to servos, but instead the signal is a special frequency.
http://www.societyofrobots.com/actuators_servos.shtml#control

If you are using remote control, then you probably dont need a microcontroller or an H-bridge. Read this tutorial:
http://www.societyofrobots.com/remote_control_robot.shtml
Basically you buy a remote and a reciever, attach a battery and your servos to the reciever, and you're done!

robotramble_uhs:
I see now.

My second question: if I were to use a Play Station 2 controller to control my robot through my microcontroller, how would I program my micro-controller. What I mean is, how do I synchronize buttons on the controller to preform certain tasks on the robot?

Admin:
hmmmm looks hard:
http://www.technick.net/public/code/cp_dpage.php?aiocp_dp=pinconjoy_psx

but ive never tried . . .

i recommend just making your own switch box, or going remote controlled

JonHylands:
The other option, if you are a PC programmer, is to use a Logitech gaming pad, which can be wireless or not. DirectInput makes it fairly easy to interface to a device like that from any MS language like VB...

- Jon

Navigation

[0] Message Index

Go to full version