Lesson 25 Infrared Receiver¶
An infrared-receiver is a component which receives infrared signals and can independently receive infrared ray and output signals compatible with TTL level. It’s similar with a normal plastic-packaged transistor in size and is suitable for all kinds of infrared remote control and infrared transmission.
1 * SunFounder Uno board
1 * USB data cable
1 * Infrared-receiver module
1 * Remote controller
1 * 3-Pin anti-reverse cable
Control a certain key (for example, Power key) via a remote controller by programming. When you press the key, infrared rays will be emitted from the remote controller and received by the infrared receiver, and the LED on the SunFounder Uno board will light up. Add an LED to connect with pin 13 of the Uno board, so you can see remotely whether the Power or another key is pressed down.
Step 1: Build the circuit
Step 2: Open the code file
Step 3: Select correct Board and Port
Step 4: Upload the sketch to the SunFounder Uno board
Now, press the Power key of a remote controller, and the LED attached to pin 13 on the SunFounder Uno board will light up. Then press any other key, and the LED will go out.