The goal of this project is to receive infra-red signals from a remote control, decode them a meaningful fashion, and display them on an LCD.
This project builds upon two toy examples:
The final project will look something like this, but neater:
We need two pieces of hardware, the IR-receiver, and the I2C LCD display.
These will be connected like so:
The complete code looks like this:
Can you program your remote? Chances are the buttons you have will send different signals to the one I'm using.
Hint: You'll need to adjust the area of code in the
case
statement.A more interesting challenge would be to configure the LCD to turn-off after five-ten seconds of inactivtity.