DSTV A6 Remote - Send Codes via Arduino

280 views
Skip to first unread message

Tobie

unread,
Feb 28, 2017, 3:53:10 AM2/28/17
to house4hack
HI,

I have read Skullkeys post on muting a PVR with Arduino. (
I want to send IR codes to the DSTV Explora via Arduino/esp8266. The idea is to build a permanent transmitter and control via Node-Red or Openhab as I have 4 tv's and the remotes are always lost, batteryless or just always in the other room.

I have been able to track down the HEX codes here 

The NEC code for #1 is given as 
#1 
0000 006D 0000 0022 012F 0098 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0039 0013 0039 0013 0039 0013 0039 0013 0013 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0039 0013 0039 0013 0039 0013 0039 0013 0039 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 05DF

I am busy researching what this all means. Seems that the second code is the frequency and then the rest needs to be turned into on and off times,

My question is if someone knows of an easy way to take the code above, either send it as is or translate into raw codes (how?) and then send it.

I have been able to install the IR lib and receive the raw codes, but it does not make a lot of sense, and I can't seem to play it back.

Some advice would be welcomed!

regards
Tobie

Tobie

unread,
Feb 28, 2017, 3:54:42 AM2/28/17
to house4hack
PS - There is a converter here - http://irdb.tk/encode/

but I cant seem to get it to turn the HEX (As shown below) into Raw

Org Jansen van Rensburg

unread,
Feb 28, 2017, 5:40:23 AM2/28/17
to house...@googlegroups.com
Hi Tobie,

This is also something I have meant to do for a long time. Or similar. My mother-in-law has a TV in her room, but her decoder is in my TV room where the dish cables are. So everytime she want to change channels, she needs to go to the TV room. This decoder does not work with the remote extender via the RF cable. The fact hat it will "help" my mother-in-law, did not allocat a high priority to this :)

Have you looked at this instructable for decoding:
http://www.instructables.com/id/Arduino-Infrared-Remote-tutorial/?ALLSTEPS

I had a nice example somewhere for when I have time to get to this project, but cant find it now. Will let you know if I find it.

Org

--
--
You received this message because you are subscribed to the Google
Groups "house4hack" group.
To post to this group, send email to house...@googlegroups.com
To unsubscribe from this group, send email to
house4hack+unsubscribe@googlegroups.com
---------------------------------------------------------------------------------------------
www.house4hack.co.za | Centurion Tue 18-21 & Sat 9-14 | Randburg Wed 18-21
---------------------------------------------------------------------------------------------
---
You received this message because you are subscribed to the Google Groups "house4hack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to house4hack+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tom Van den Bon

unread,
Feb 28, 2017, 5:45:55 AM2/28/17
to house...@googlegroups.com
Same here, not a lot of experience with this, but something I have wanted to play with. Will also investigate from my side :)

T
--
Tom Van den Bon 

Org Jansen van Rensburg

unread,
Feb 28, 2017, 5:55:24 AM2/28/17
to house...@googlegroups.com

Tobie

unread,
Mar 1, 2017, 4:31:39 AM3/1/17
to house4hack
Update,

OK - So I have recorded the Raw code and the Decoded HEx with a 'receiver sketch' when sent from the A6 remote.

I then send via Arduino the HEx to an Arduino Receiver to see what comes out.

Now I can compare the 'Raw' data from what I recorded from the remote, and the raw as received when I issue the command with the Arduino.

It seems to be very close to each other. I read in Skullkeys post that he had to meddle with the timing so it seems that there will be fine tuning needed in the timing of the outgoing signals.

The weird thing is that in both instances when I send the HEx via Arduino or Via the remote it encodes it to the same HEX value - the raw codes however differs slightly.





Tobie


On Tuesday, 28 February 2017 10:53:10 UTC+2, Tobie wrote:

Tobie

unread,
Mar 7, 2017, 5:49:21 AM3/7/17
to house4hack
Sorry for the cross post - Just wanted to finalise this discussion.

Reply all
Reply to author
Forward
0 new messages