FORUMS

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week’s feature has been written by forum … more

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

[TABLET Z COMPETITION ENTRY] Open Source IR Blaster + Robots

876 posts
Thanks Meter: 551
 
By Apache14, Recognized Developer on 22nd June 2013, 04:09 PM
Post Reply Subscribe to Thread Email Thread
[About]

What This Project Is About ?

There are some really cool android devices that are out that include an IR (infra red) "blaster" transmitter, however there is yet no open method of making use of this within apps. This project intends to create an open method for developers to create apps that make use of this device type.

Where does robotics come in to it ?

I thought it would be fun to bring this project together in a way that isnt just zapping TV's on and off so i will construct some sort of robotic platform that will be controled by the Z and its IR transever (however i presume there will be some TV zapping involved as well)

[Progress]


[29/06/2013] Tablet Z has arrived and I have started to examine the data passed to and from the IR device /dev/ttyHSL2

[01/07/2013] Refined the control procedure for the IR blaster & found some of the important commands (get version & send key code)

[08/07/2013] Pushed current code to github (ability to learn and send learnt commands)

[14/07/2013] Updated app to enable in tree building for cm10.1 (see links section)
Last edited by Apache14; 14th July 2013 at 08:06 PM.
The Following 12 Users Say Thank You to Apache14 For This Useful Post: [ View ]
 
 
22nd June 2013, 04:09 PM |#2  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
Reserved
[Links]

Github :- https://github.com/BuzzBumbleBee/lib_sony_ir (LGPL)

Current test APK :- https://dl.dropboxusercontent.com/u/15005030/OpenIR.apk


[Building For CM10.1]

As of 14/07/2013 you will need the following patches from the CM review site

1) http://review.cyanogenmod.org/#/c/45560/

2) http://review.cyanogenmod.org/#/c/45562/

And the following git repo (branch cm-10.1) synced under packages/apps/SonyOpenIR/

https://github.com/BuzzBumbleBee/and...R/tree/cm-10.1
Last edited by Apache14; 14th July 2013 at 08:09 PM.
The Following User Says Thank You to Apache14 For This Useful Post: [ View ]
22nd June 2013, 04:10 PM |#3  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
Reserved
Reserved #2
25th June 2013, 06:01 AM |#4  
parapaul's Avatar
Senior Member
Flag West Midlands
Thanks Meter: 19
 
More
Subscribed - I would love to see an open source IR feature.
29th June 2013, 07:27 PM |#5  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
The tablet Z has arrived, im now starting to examine the data passed to the IR device
The Following 2 Users Say Thank You to Apache14 For This Useful Post: [ View ]
29th June 2013, 08:39 PM |#6  
pulser_g2's Avatar
Developer Admin / Senior Recognized Developer
Thanks Meter: 11,363
 
More
Looks a nice project, would be keen to see what can be done with the IR remote if there was an open API
30th June 2013, 03:27 AM |#7  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
Iv had a quick mess around with monitoring the data ...... here is the result (soon to be) totally open powering on/off of a TV



Not bad for the first day
The Following 2 Users Say Thank You to Apache14 For This Useful Post: [ View ]
3rd July 2013, 01:47 PM |#8  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
As I haven't got ability to see all the device keys that the IR controller supports I have started work on the IR learn and send features. I hope to publish a test binary (not APK) tonight

PS turning a TV on and off via recovery ...... gets old fast
The Following User Says Thank You to Apache14 For This Useful Post: [ View ]
3rd July 2013, 04:47 PM |#9  
Senior Member
Thanks Meter: 139
 
More
when this project is finished will be absolutely perfect.ir is the only serious thing missing from cm(and every other derivative like p.a.c.) and it is extremely useful so some open source binaries and an open source app would be awesome.it could also control other devices like a/c.infrared has million uses...
3rd July 2013, 05:38 PM |#10  
bluefa1con's Avatar
Recognized Developer
Thanks Meter: 9,248
 
Donate to Me
More
this project + halo in pac rom can act like the hover remote in sony firmware
looking forward to it
4th July 2013, 10:54 PM |#11  
Apache14's Avatar
OP Recognized Developer
Thanks Meter: 551
 
Donate to Me
More
Another quick video of my progress (sorry for the low volume)

The Following 3 Users Say Thank You to Apache14 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Tags
xda tablet z competition
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes