RC car with Universal remote ,help needed for code writing.

Ladies & Gents,

Wondering if someone can help me writing a code for my new project at the school. In fact, I'm trying to control a DC motor with a servo motor by Arduino UNO using my TV universal remote control.bottom line, I'm trying to create my own RC car.but still suffering in writing the code for the project , I've done some for servo & DC motor by using pots but I'm trying to move to the next level by using TV remote control to control the RC car.

I just recently started working on hooking up an infrared reciever . The sensor is responding and Arduino can read it, but I get the same measurement pattern for every button I push on a remote! . Does anyone have any ideas for this code overall.

Thanks,
Sam Nissan

See an excellent library for this purpose:

It supports a variety of protocols such as Sony, NEC, etc.

When you push a remote button a 38Khz square wave is generated. The information is encoded in the number and duration of the pulse streams. It gets complicated so use the library.

Joe