Program and chips, What am I to look for?
February 27, 2009
ok, I know c++ reasonably well
I know some electronics....
that said, I want to build a robot that is controled by a computer. right now a desktp pc, later a laptop or somthing smaller.
I can (or rather my program can) read the S pins on LPT1 and output to the D pins. I would rather use USB or wireless AP but I have no clue how to do that at this point.the basic starting skeliton of the robot is a slaughtered RC hummer. all the electronic guts are gone as is the shell. just motors drivegears and frame is all there is right now.
I built some bump/turn circuits but I don't like the way they (don't) work.
what I want to do with all this is, using a DIY opto relay with DIY solid state relays, read sensor I/O states and send I/O comands to activate forward reverse and turn ciruits. simple enough so far.
but, I want to do it by sending pulses through a wire (until I go wireless) if pulse 1 is long go forward if 2 is long reverse 3 left 4 right 5 gadget does this thing 6 gadget does that.... so on.
I know people do that. RC is a wireless version of it. but what is it called?
I want a send wire, a recieve wire and a ground. maybe a forth for power. no more than 4 wires. on the PC end it is prety simple. but I don't even know what to look for for the other end. maybe something similar to a decade counter or a PIC?
PIC programing is not something i know.
How to make a short pulse = 0 and a long pulse = 1 and cycle through a cycle of at least 4 pulses and send the sensor data as pulses to the computer, thats what I need to know. 10 pulses would be realy nice for the robot receiver. plus as many outputs back to the pc. the more the better.