Thursday, January 22, 2009

IR Update




Using some new code we found on the internet, we were able to convert what the IR receivers took and and output in the serial monitor as a series of 1's and 0's. When we used our universal remote, we pressed button 1 and the following appeared


The header for our remote was 1110, address was 0011, command was 0001, and the complement was 0001 1100 1110




We did the same for button 2 and this is what we got




The only thing that changed in the numbers were the last four(0000 for zero and 1111 for nine).


When we tested the Channel Up command, it gave us this:


The header changed just slightly for this.
Anyways, the point of all this? Well, since the payload for the balloon wasn't sufficient enough to lift both the motor and the RC transmitter, I've been able to program it to follow the commands of a Remote control! Now we have room for the camera! (Prof Mason, don't forget the circuit pins!)
Video of IR control in action. (A copy of the code will be up tomorrow).

No comments:

Post a Comment