Whenever a key is pressed on TV Remote Controller, TSOP1738 decodes it 38KHz burst and then micro-controller decodes this signal coming from the remote. And if signal is decoded properly then Address and Command is displayed on the 16x2 LCD of the development board. If there is some problem in the command then 0xFF is displayed which means data not decoded properly and there is some problem.
TSOP1738 is connected to RB0 pin and my board has 8-LED's connected to PORTB of micro-controller, so i can't use LED connected to RB0 pin and can use LED's connected to RB1 to RB7 pin. So if someone presses key-1 on remote LED connected to RB1 pin glows, similarly on pressing key-2 on remote, LED connected to RB2 pin glows and so on, if someone press key-0 on remote, all LED's connected to PORTB will turn off.
NOTE: There is some problem with my board LED connected to RB5 that's why it doesn't glow when pressing Key-5 on remote, but if you see the video, data is displayed properly on 16x2 LCD.
Features
- Extended NEC Decoding Library
- 16x2 LCD Library