Three button IR remote control to be put into mass production - what protocol to use?

Thread Starter

Vedu2611

Joined Aug 3, 2017
26
Hey,

so my product if lowest in cost among other prototypes could be up for mass production.

I need three buttons on my IR remote -
1) Power On/Off
2) Fan speed increase
3) Fan speed decrease

At the receiver end I will be using a 8051 micro-controller to decode the code.

Kindly note that the output will be received by TSOP1736/38 pin and given as interrupt to MCU.

Question is what protocol to use?

RC5 will be kind of too much eh? Does RC5 have some reserved configurable buttons not kept aside for commonly used functions (such as that of the TV remote)?

Thanks in advance.

Regards,
Vedant Gala
+91 9619063321
 

DickCappels

Joined Aug 21, 2008
10,661
Personally I would go with RC5 since there would be little mystery in getting it working, and the IR receiver was almost certainly designed with RC5 in mind.
 

Thread Starter

Vedu2611

Joined Aug 3, 2017
26
Personally I would go with RC5 since there would be little mystery in getting it working, and the IR receiver was almost certainly designed with RC5 in mind.
Umm, But RC5 has like... so many buttons for so many devices... i only need three and i want them to do my own personal job of sending say "011011" for the 6 command bits.
 

Thread Starter

Vedu2611

Joined Aug 3, 2017
26
Is Ir a good idea for fan control I no it's not good with ceiling fans cause of the lights
Well. that's taken care of since the item under consideration is not a ceiling fan but the fan motor of a desert cooler/swamp cooler/air cooler. Very common here in India where the temperatures go upto 45 degrees :)
 

Thread Starter

Vedu2611

Joined Aug 3, 2017
26
Personally I would go with RC5 since there would be little mystery in getting it working, and the IR receiver was almost certainly designed with RC5 in mind.
Could I kind of design my own protocol? a simpler one maybe... still operating at 36Khz?
 

LesJones

Joined Jan 8, 2017
4,511
Using a micropeoccesor at each end of the link would allow you to design a protocol as simple or as complex as you would like. The simplest I can think of would be a start bit, two data bits and a stop bit. Like a UART but with only two bits instead of eight. As many microprocessors have a built in USART just using two bits of the eight data bits would be the simplest to implement in the code.

Les
 

DickCappels

Joined Aug 21, 2008
10,661
Umm, But RC5 has like... so many buttons for so many devices... i only need three and i want them to do my own personal job of sending say "011011" for the 6 command bits.
You only implement codes you want and you can invent your own codes if you want-nothing to stop you from doing that. Just use the standard data format and of course proper timing for your receiver.
 

Thread Starter

Vedu2611

Joined Aug 3, 2017
26
Thank you everyone! I've been asking quite a few questions regarding my entire project haha... If it does indeed get into mass production I'll be sure to inform you all ;)
 
Top