Learn LCD Module Control Over the IR Links
If you involve yourself in the HSDL-1100 based IR transceivers and a KS070B LCD display module, you’ll gains lots of experience in this niche.
Through the above project, you’ll learn:
- Controlling an LCD module
- Serial communication between two PIC microcontrollers
- Making this work over an IR link
The serial protocol can supports addressing of up to 32 devices over a shared media.
The packets consist of 16 bits, which shown below:
|
Byte 0 |
Byte 1 |
||||||||||||||
|
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
|
P0 |
P1 |
Device ID |
C/D |
Command/data bits |
|||||||||||
- P0 - inverse parity of all even numbered bits [2-14]
- P1 - inverse parity of all odd numbered bits [3-15]
- Device ID - ID of the target device.
- C/D - Code or Data; if “1″, following byte contains command; if “0″, following byte contains data.

As you refer to the above diagram, you’ll see:
“T” is used for compared the times between the following pulses.
“0″ - transmitted time between pulses less than T;
“1″ - time between pulses greater than T.
