IR Decoding?

Hi, today i decided to try to control a rc chopper using arduino, i dont know if this is possible but i thought it was worth a try, i used the IRemote library to record full throttle signal from the remote.

i ended up with this

Received unknown code, saving as raw
m950 s700 m250 s650 m250 s700 m250 s700 m200 s700 m250 s700 m200 s700 m250 s350 m250 s400 m250 s350 m250 s350 m250 s400 m250 s700 m200 s400 m250 s350 m250 s350 m300 s350 m250 s350 m250 s700 m250 s700 m200 s750 m200 s700 m200 s700 m250 s650 m300 s650 m250 s400 m200 s700 m250 s400 m200 s650 m300 s700 m200 s700 m250 s350 m250

only problem is, i dont know what to do next with this, how to decode it, re send it?

The number that follows m is a time the signal was at mark or high. The number that followeds s is the space or low time.
These are pulse width modulation signals.
You draw it or write it out untill you see a pattern of repeating mark space patterns. Then isolate that pattern. That then is the pattern you are going to reproduce for the one key.
Repeat for other keys.

ok, il try, thx :slight_smile: