PDA

View Full Version : Porting/Converting LIRC database for use with PICs



sumkrnboy
- 7th May 2008, 07:24
The site at http://lirc.sourceforge.net/remotes/ lists some of the popular infrared and radio control encoding specifications. I saw that my ceiling fan remote controller is listed (http://lirc.sourceforge.net/remotes/hampton_bay/UC7078T). I am currently trying to write a PIC Basic code for a custom ceiling fan RF controller with extra features like a timer, automatic temperature regulation, etc. The encoder chip used in the RF remote is M1E (http://www.mosdesign.com.tw/datasheet/Encode_Decoder/dM1E.PDF) and I am trying to replicate the encoder output of the chip. The problem I am having is that the encoder used in the original transmitter outputs 12-bits of serial data into the transmitter module and when I use SEROUT, I am only able to output 8-bits at a time. There's also the issue of timing which doesn't exactly fit any of the standard baud rates.

skimask
- 8th May 2008, 00:52
I am currently trying to write a PIC Basic code
Let us see what you've got...


I am trying to replicate the encoder output of the chip
See your other thread...


The problem I am having is that the encoder used in the original transmitter outputs 12-bits of serial data into the transmitter module and when I use SEROUT, I am only able to output 8-bits at a time.
Yes that is a problem, which can be creatively overcome with a little bit of thought.


There's also the issue of timing which doesn't exactly fit any of the standard baud rates.
Which is not usually a problem for PBP. It's right in the manual.