Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,557 Members 53,304 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Apache14
Old
(Last edited by Apache14; 14th July 2013 at 08:06 PM.)
#1  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
Default [TABLET Z COMPETITION ENTRY] Open Source IR Blaster + Robots

[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)
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

The Following 12 Users Say Thank You to Apache14 For This Useful Post: [ Click to Expand ]
 
Apache14
Old
(Last edited by Apache14; 14th July 2013 at 08:09 PM.)
#2  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
Default 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
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

The Following User Says Thank You to Apache14 For This Useful Post: [ Click to Expand ]
 
Apache14
Old
#3  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
Default Reserved

Reserved #2
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

 
parapaul
Old
#4  
parapaul's Avatar
Senior Member
Thanks Meter 16
Posts: 138
Join Date: Apr 2008
Location: Stoke on Trent
Subscribed - I would love to see an open source IR feature.


Nexus 5 - Paranoid Android 4 Beta
Sony Xperia Tablet Z [SGP312] - OmniROM

Brought into the light by my old HTC Desire S with Flinny's CM10
 
Apache14
Old
#5  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
The tablet Z has arrived, im now starting to examine the data passed to the IR device
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

The Following 2 Users Say Thank You to Apache14 For This Useful Post: [ Click to Expand ]
 
pulser_g2
Old
#6  
pulser_g2's Avatar
Developer Admin / Senior Recognized Developer
Thanks Meter 10712
Posts: 19,248
Join Date: Nov 2009
Looks a nice project, would be keen to see what can be done with the IR remote if there was an open API


Having trouble getting an answer? | What is XDA about? | How to ask for help?

if [ $PM.incoming.type = $type.question.ROM.how_to_use ] || [ $PM.incoming.type = $type.question.ROM.silly_question ]; then mv $PM.incoming /.trash; PM.response($responsetype.ignore); $PM.sender.ignore_in_future=true; init.sequence($boy_who_cried_wolf); fi;

BTC: 1K2fpDsRHkirWmk3PKiqtzhVHKUJCWPWnN
PGP: 0x260F4FDEF258E3C4
 
Apache14
Old
#7  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
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
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

The Following 2 Users Say Thank You to Apache14 For This Useful Post: [ Click to Expand ]
 
Apache14
Old
#8  
Apache14's Avatar
Recognized Developer - OP
Thanks Meter 551
Posts: 875
Join Date: Feb 2009

 
DONATE TO ME
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
Phone :- Sony Xperia Z (CM10.1)

Tablet :- Asus Transformer Prime (TF201) & Asus Transformer TF101


IRC :- freenode #asus-transformer #G2Root come join us
I am Bumble-Bee

Twitter :- BumbleDroid Follow Me

If I Have Helped You Buy Me A Beer

The Following User Says Thank You to Apache14 For This Useful Post: [ Click to Expand ]
 
pangiotis24
Old
#9  
Senior Member
Thanks Meter 135
Posts: 501
Join Date: Dec 2011
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...
If you want one reliable cloud storage service press here.If you register from this link we will both get extrat 500mb free storage
 
bluefa1con
Old
#10  
bluefa1con's Avatar
Recognized Developer
Thanks Meter 9197
Posts: 3,129
Join Date: Aug 2011

 
DONATE TO ME
this project + halo in pac rom can act like the hover remote in sony firmware
looking forward to it

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

Advanced Search
Display Modes