Tutorial 10 - Infrared Remote Control - ADA031-V5.0
Adeept · Uploaded · 2:30 · Watch on YouTube
Adeept explains the principle of infrared remote control for its robotic arm control board, where an integrated receiver decodes the pulse codes sent by a remote. It then demonstrates an example program that shows each pressed key's code on the serial monitor and OLED screen.
Transcript
Captions as a .vtt fileEmbed with the transcript
- 0:04This lesson introduces the principle of infrared remote control and demonstrates the usage of
- 0:10infrared remote control through an example program. Required components, robotic arm control
- 0:18board, infrared remote, OLED screen, USB cable, battery. An infrared remote control system
- 0:27generally consists of a transmitter and a receiver. The ADEPT robotic arm control board
- 0:33integrates an infrared receiver, which is connected to pin D2 of the microcontroller.
- 0:39When you press a key on the infrared remote controller, a set of modulated signals will be
- 0:44sent. The infrared receiver outputs demodulated digital pulses. Each key corresponds to a unique
- 0:51pulse code, and the system identifies different keys by these codes. In addition, different remote
- 0:58controllers have different encoding schemes. It is normal that the same signal code maps to
- 1:03different keys on different remotes. Let's start the demonstration. First, plug the OLED into the
- 1:18controller board, then connect the controller board to your computer with a USB cable. Connect the
- 1:24battery and turn on the power switch. Next, open the example code. Select the board type and serial
- 1:43port, then upload the program to the control board. After successful upload, open the serial monitor.
- 2:03Point the remote controller at the infrared receiver on the control board and press any key. Both the
- 2:09serial monitor and OLED screen will display the corresponding key code. Code principle, initialize the
- 2:16infrared receiver instance. Continuously capture and decode infrared remote signals inside the loop, then output the
- 2:24decoded key value to the serial monitor and OLED screen.
Diskussion
Eine E-Mail, wenn jemand kommentiert. Kein Konto nötig.
Der Newsletter
Hol dir unseren kostenlosen Newsletter mit neuen Robotern, Preisen und Robotik-Nachrichten.