In this document I will explain the process on creating a Parallax Propeller controlled IR remote controller. This Instructable will explain one of several different ways this could be achieved  The device will be connected to a PC via the USB to serial connection.
The controller then can be controlled via an application on the PC that can connect and send information via serial connection. This instructable will also describe how the board can be controlled by a speech recognition application that is located on an Android phone. 

I am writing this Instructable in such a way to keep the complexity down, so beginners can easily understand and follow the process. This project can be expanded in several ways that will make the project more feasible to be used in everyday life. One possibly way is to replace the serial connection with a bluetooth module or a network interface card. This will remove the need to a PC, which in turn reduces the power requirements for the project.  

Equipment required:
P8X32A QuickStart (Parallax.com Item number: 40000)
A self made board using the Parallax Propeller chip.

38kHz Infrared (IR) Receiver Module (RadioShack Catalog #: 276-640)
High Output Infrared LED(RadioShack Catalog #: 276-143)

You can find my code for the project at the following link. https://github.com/michaelh123/IRRemote

If you want to build the board from individual parts, you can download the propeller software and follow the Propeller Education Kid Lasts-Fundamentals v1.2pdf on building the board. 

This Instrucatble is not meant to do in depth of how Infrared works, nor any of the protocols that are used, such as SIRC. This document is not a in depth programming Instructable as well. 

Step 1: IR Receiver Circuit

The IR Receiver will allow us to read the IR codes. Once we have read and stored the codes we can transmit them at a later time.

We want to use an infrared receiver that looks for only a certain frequency and filters out the rest, such as  RadioShack Catalog #: 276-640. This particular Infrared receiver filters out any frequency that is not 38khz. This allows the micro controller to only worry about the time that the signal is on or off.

 We could use an phototransistor, that can sense the presence of IR light, but we would need a circuit that can filter any frequency out that we are not looking for. 

When an Infrared remote transmits a code the Infrared LED is turning on and off at a quick pace. For example the common frequency is 38khz, which results in the LED turning of and off at a 26 microsecond cycle time. 

The following circuit will be connected to pin 0 on the Propeller board. 

Best example of using magicir propeller object I've seen. Helped a lot with the universal remote control feature of my robot.

About This Instructable


21 favorites


More by mharrison6: Speech Controlled IR Remote
Add instructable to: