Redmote

3d renderings by Dominick Bizzarri

Current Status of Redmote

The application is undergoing a complete overhaul as it hasn’t been touched in a couple years. I will be targeting the latest version of Android, Lollipop, and updating the graphics throughout the screens. SlateDroid features the Redmote project in their wiki, so we will be taking this feedback into consideration:

Redmote Beta is confirmed to run successfully on my tablet, and produce signal.

However, it’s important to note that this is merely a program that links on-screen buttons to the playing of WAV files. No real magic is going on here (It’s similar to the thousands of “soundboard” programs that are in the Market).

What needs to be changed/added to Redmote (or a code project started from scratch) to make this practical:

  • GUI remote buttons need to be adjusted for the proper display resolution
  • Ability to parse the LIRC code text file format (also, CCF and Pronto files would be really nice)
  • Ability to generate the audio signal in real-time from the parsed info

If this functionality was added, you would just need to load the LIRC code text file for the IR device you want to control. Several hundreds of these files could be stored in very little space. The application would parse the file when needed and then generate the audio signal in real-time when you press the corresponding button (essentially a port of LEDRem to the Android platform). This would eliminate the need to store hundreds of WAV files. With the amount of sound makers / waveform generators in the android market, this can’t be that large of a task for someone familiar with android programming.

 

Getting Started

There are a couple components you will need. I picked up mine from Radio Shack, so I included the links to the part numbers I ordered. It should be less than $10 to build an emitter, and you will have leftover parts to make more. The module itself is simply 2 infrared LED’s from Radio Shack, (940nm wavelength), a 10-ohm resistor, and a 3.5mm stereo jack. A mono jack will not work for this application. An amplifier module is in the works, and photos of it can be viewed on the emitter page. Buttons in the application trigger each command for the remote by playing the correct 36kHz square wave (.wav file) for each remote function. Each function, (power, volume, channel, etc.) have different waves, as the infrared beam is slightly different for each function.

Hardware
  • LED emitter / detector package (Buy Here)
  • 1x 10Ω Resistor (Buy Here)
  • 1x 3.5mm Stereo Headphone Jack (Buy Here)
  • Wire (16-22 gauge is fine)
Software
  • The remote wavs package can be downloaded here.
  • The last version of the .apk file I have is here. It needs to be updated, and I am in the process of doing that.
  • Download Audacity here. You will need it to modify the remote wavs.

 

Building the Infrared Emitter

This is the easy part. Follow the schematic below to build your emitter using the 2 infrared LEDs, 10 ohm resistor, and 3.5mm stereo headphone jack.

schematic

 

Building the Infrared Receiver

The receiver is needed to record your remote wavs. Essentially we will be pointing the remote into this receiver and getting the wav for each button, mapping them appropriately in the application. This is even easier to make than the emitter.

receiver_schematic

Recording the Remote Wavs From Your Remote

Download and install Audacity if you haven’t already. Here is the link again. Plug the receiver you built into the audio-in jack in your computer. At the date of this project, I used the Audio in/optical digital audio in port on my 2009 iMac. Open Audacity, hit record, and start pressing buttons on the remote. You should see audio wavs being recorded. You will get something like this:

begin-wave

The final wav you end up with should look like the Apple Play command below. This process is slightly involved, but here is how to do it.

apple_play

The Finished wav

Using a raw audio to LIRC converter, you should end up with something like this:

Screenshot2010-04-15at121103AM

Screenshots

These are the last screenshots from the app circa 2010. I will be updating the button images, and various other graphics throughout the app, and committing to the github repository periodically.

Questions?

Feel free to email me if you have any questions about Redmote or if you would like to contribute to development. I would love to work with an experienced Android developer on the implementation side of things. I will be updating this page very frequently as there are constantly new developments in this project. Stay tuned for updates.