sending multiple codes

Everything related to protocols and IR codes
Post Reply
Ganeshbandi
Posts: 1
Joined: Sun Apr 29, 2018 3:09 pm

sending multiple codes

Post by Ganeshbandi »

I am doing a final year project about ir transmission .i controlled my AC using analysir source code and ir remote lib . i don't have knowledge on programming so any one post a sketch for sending codes like case'a' ,case 'b' (switch and case statement) .if any one help me i will finish my project.
thank you.
User avatar
AnalysIR
Site Admin
Posts: 793
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: sending multiple codes

Post by AnalysIR »

HI
It is unlikely, you will get someone to do the work for your final year project for you, as the purpose is for you to learn this yourself. I suggest you seek assistance from the teaching staff, fellow students or similar.

To send 'a' , 'b', 'c', etc.....you can use any IR signal/protocol and just map one value to 'a' and another value to 'b' etc...

NEC is a good protocol to use, but you can use any IR remote control and just record the HEX value for the buttons. Then you can use the HEX values to represent 'a', 'b', etc

e.g.

Code: Select all

case 0xAA550001 // 'a'
 .....put code for 'a' here
break;

case 0xAA550002 // b'
 .....put code for 'b' here
break;

case 0xAA550003 // 'c'
 .....put code for 'c' here
break;
Best of luck with the project :)
Post Reply