Infrared with PICAXE (tested with 28x1 and 40x1)
I realize this looks really basic but it cant be added to so that your robot does a certain action when a certain button is pushed. For example channel up makes it go forward, channel down makes it go backward, the volume buttons make it go left, or right, and other buttons make your robot do whatever. This is a simple how to set up the IR sensor so all it does is make it blink.
From a 5 volt power source tie a 4k7 ohm resisor to pin 1 and from the resistor to an input pin on your microcontroller.
Take pin 2 and connect it to ground.
Take pin 3 and connect it to a 330ohm resistor and to a 4.7 uF capacitor. Connect the other end of the capacitor to ground.
I used a $5 universal remote, but you could also make your own remote using another IR sensor and some buttons. Notice at the end of the video the button pushes are stored in a variable and sent to the debug window. To determine which button was pushed just have your code look at the variable and do whatever action was pushed. If you want your bot to stop when a button isnt pushed just put the IRIN in a for loop. Have it kick out of the loop after 50 miliseconds if nothing was pushed. Then clear the variable and go back to the irin loop.
The code I used:
SYMBOL IR_PIN = pin0
SYMBOL LED_PIN = 0
symbol infra = b14
irin 0, infra
I'll add more to this once I am done with my next bot. I want to eventually make my own remotes as well.