LCD Module Control over IR Link

Status
Not open for further replies.

tpetar

Advanced Member level 7
Joined
Sep 27, 2010
Messages
6,417
Helped
1,713
Reputation
3,456
Reaction score
1,673
Trophy points
1,393
Location
Pancevo-Belgrade, Serbia
Activity points
37,363
LCD Module Control over IR Link
Link : https://avtanski.com/projects/lcd_serial/

Good idea to showup temp or other 1-wire data on distance without cable. Just for thinking for future circuits and design.



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.

Data is encoded as a sequence of short pulses. The beginning of a data packet is shown below:



The time between the first two pulses (T) is compared to the times between the following pulses. "0" is transmitted as time between pulses less than T; "1" - time between pulses greater than T.

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.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…