Tag Archives: IR Remote

Robotics Training LESSON 13: Program Speed of the Elegoo Smart Car with Infrared (IR) Remote

In this lesson we show you how to program the speed of the Elegoo Smart Car version 3 using the infrared (IR) remote control. We show how this is similar to inputing desired distance, taught in Lesson 12. If you want to play along at home, you can pick up your gear HERE. For your convenience, we include the code developed in the video below.

 

Arduino Tutorial 66: Controlling DC Motor, Speed and Direction with a Remote

IR Control DC Motor
Circuit for IR Remote Control of DC Motor

In this lesson we develop a project that allow Remote Control of the speed and direction of a DC Motor. We use an Arduino Nano, and components from the Elegoo Kit. Also, to facilitate a clean build, we use Straight Jumper Wires.

The motor is connected according to this schematic:

DC Motor Controller
Connection Diagram for a DC Motor Controller using the L293 Control Chip

Also, the remote control receiver is connected as follows: R on Remote to 5V, G on Remote to Ground, and Y on the Remote to Arduino Digital Pin 9. Go back and check out Tutorial 65 if you need more details on the Remote Module Connections.

In this video we will take you step by step through the build and coding for the project.

The code below is the software we developed in the video.