Introduction

In this chapter, we will look at a couple of ways that we can control our Arduino project remotely. For the first project, we will use the Keyestudio IR (infrared) receiver, which uses the HX1838 infrared control module. The HX1838 infrared control module is used in numerous IR receivers that can be used by the Arduino. Therefore, you do not need to specifically get the Keyestudio one that we use here.

An infrared transmitter has an LED that emits infrared radiation, which is picked up by the infrared receiver. When a button is pressed on the remote control, the LED on the transmitter will blink very quickly for a fraction of a second and the receiver will read the pattern of blinks and interpret it.

The Keyestudio IR receiver ...

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.