LCD Module Control over IR Link
[Schematics and source] [Other PIC projects] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Recently I got my hands on a couple of HSDL-1100 based IR transceivers and a KS070B LCD display module. This was a nice opportunity to experiment with three things: (1) controlling an LCD module, (2) serial communication between two PIC microcontrollers, and (3) making this work over an IR link. Serial protocol supports addressing of up to 32 devices over shared media (IR or direct connection) and have basic error detection (2 inverse parity bits). Packets consist of 16 bits, as given below:
The receiver code and the LCD constants include file can be used without any change. The transmitter generates a moving two line "Hello World!" message. Note that transmitter was written for use with IR modules that invert pulse polarity - for direct connection pulse polarity must be inverted in the transmitter code.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
[Other PIC projects] |