Hex to IR converter

getafix33

Expert Member
Joined
Nov 16, 2006
Messages
1,722
Hi

I need to created IR codes for the DSTV Explora2 decoder. I have the HEX codes, but need to convert them to IR to create the driver.

Any ideas would I could use?

Regards
 

Jake45

Expert Member
Joined
Dec 21, 2014
Messages
2,605
Are you trying to convert the HEX codes into WAV files that you can play via an audio output port using two IR diodes? You first need to know the type of HEX format being used - NEC etc.

If the remote is using NEC format, you can convert the hex codes to pronto format and then use the pronto2wav program to generate the wav files.
http://www.awe-europe.com/documents/Control Docs/irhex_converter.html
http://www.compendiumarcana.com/iraudio/pronto2wav.exe

Here are a few other ideas (pronto2wav python code in second last link) ...
http://www.instructables.com/id/DIY-Infrared-transmitter-for-iPhone-iPod/
https://www.youtube.com/watch?v=3JEvM7gvcNE
http://rtfms.com/episode-4-turn-your-iphoneandroid-mac-pc-player-etc-into-a-universal-remote.htm
https://play.google.com/store/apps/details?id=com.tiqiaa.remote&hl=en
 
Last edited:
Joined
Sep 1, 2016
Messages
2,196
Are you trying to convert the HEX codes into WAV files that you can play via an audio output port using two IR diodes? You first need to know the type of HEX format being used - NEC etc.

You can do this with hardware instead of the audio port, which would probably be more reliable.
Code is in my github, and I would simply use a USB-to-Serial adapter and toggle the IR LEDs from one of those pins.
 
Top