The infrared (IR) remote controls devices with infrared pulses of light.
When you want to control a device or Arduino that is in your line-of-sight.
When a button is pressed, a sequence of infrared light pulses is emitted from the infrared LED on the front of the remote. A different sequence is emitted for each button. These pulses of light are invisible to the human eye. This remote is no different from a TV remote.
The infrared remote itself does not require any setup or configuration. As long as a battery is installed, its buttons will send infrared commands when pressed.
To receive the commands and learn more about how the commands work, please see the Infrared Receiver page.
Please see the Infrared Receiver page for starter code and connections.