Let's Make Robots!

Choosing an IR-Code

Hello,

this is my first work with robotics, since I come from a more software-heavy background.

I started by using the Philips RC5-Code, but am now looking to go into a different code.

However, since I already bought my receiver I would like to stay in the range of a 36khz Code.

I am currently looking into the 10bit-Grundig Code, which runs on 40kHz which is not

optimal for my use.

 

Later in this project I am looking to make a robot move(this robot exists, I will just

have to change the receive routine in the software) via a remote control. There are many

remotes available, I just need to find a useable code.

 

The thing I am looking for now is another code that runs with 36kHz, which is harder than I

originally imagined. Does anyone have an idea on a code that runs on 36kHz so I don't have

to switch receivers?

 

Thanks in advance,

Fr0zen

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

For now I am only looking for another IR-protocol, other than RC5, that runs on 36kHz since before actually going onto my robot I will need to test if I can send/receive my commands from the remote control.

OddBot's picture

Have a look at this site which explains a lot of the codes: http://www.sbprojects.com/knowledge/ir/index.php

Ken Shirriff used this information when he wrote his multi-protocol IR library here: http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html

If you are using an Arduino Mega compatible controller then you can download a modified version of Ken's library from my product support site here: https://sites.google.com/site/daguproducts/home/arduino-libraries

The IRremote5 library has been modified by Robot Freak to use timer 5 because many other libraries try to use timer 2. This helps avoid timer conflicts.

Your 36KHz receiver is not ideal but it should still work with 38KHz protocols but with a reduced range.  If it doesn't then get a 38KHz receiver. Considering the receiver cost only a dollar or two but trying to find 36KHz protocols to suit will waste a lot of time and cause frustration -  it's just not worth the trouble.

Maxhirez's picture
Most receivers have an IC built in to filter out anything but 38Khz, so you have your work cut out for you. One question I have is what is e brain you're using for your robot here? Even if it's not autonomous you'll need a microcontroller to decode the signals. No matter what system you go with, this is the gold standard tutorial for working with IR telemetry:

http://learn.adafruit.com/ir-sensor

You'll note that while Ada does assume that you'll be using a 38Khz receiver, it is not strictly necessary to make sense of the programming and transmission electronics.

basile's picture

As per the datasheet of the TSOP382.. the ICs do have a built-in filter, but it doesn't filter out everything but 38kHz.
It depends on what carrier frequency (30kHz, 33kHz, 36kHz, 38kHz, 40kHz and even 56kHz) each one is built to work.

basile

birdmun's picture

your project, or, are you planning on making your own transmitter?

I am planning to use an already existing TV remote control.