RoboGeeks

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

  1. 0:04This lesson introduces the principle of infrared remote control and demonstrates the usage of
  2. 0:10infrared remote control through an example program. Required components, robotic arm control
  3. 0:18board, infrared remote, OLED screen, USB cable, battery. An infrared remote control system
  4. 0:27generally consists of a transmitter and a receiver. The ADEPT robotic arm control board
  5. 0:33integrates an infrared receiver, which is connected to pin D2 of the microcontroller.
  6. 0:39When you press a key on the infrared remote controller, a set of modulated signals will be
  7. 0:44sent. The infrared receiver outputs demodulated digital pulses. Each key corresponds to a unique
  8. 0:51pulse code, and the system identifies different keys by these codes. In addition, different remote
  9. 0:58controllers have different encoding schemes. It is normal that the same signal code maps to
  10. 1:03different keys on different remotes. Let's start the demonstration. First, plug the OLED into the
  11. 1:18controller board, then connect the controller board to your computer with a USB cable. Connect the
  12. 1:24battery and turn on the power switch. Next, open the example code. Select the board type and serial
  13. 1:43port, then upload the program to the control board. After successful upload, open the serial monitor.
  14. 2:03Point the remote controller at the infrared receiver on the control board and press any key. Both the
  15. 2:09serial monitor and OLED screen will display the corresponding key code. Code principle, initialize the
  16. 2:16infrared receiver instance. Continuously capture and decode infrared remote signals inside the loop, then output the
  17. 2:24decoded key value to the serial monitor and OLED screen.
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Discussion

Vous choisirez un pseudo à l'étape suivante. Déjà membre ? Connectez-vous.

Un e-mail quand quelqu'un laisse un commentaire. Aucun compte nécessaire.

La lettre d'information

Recevez gratuitement notre lettre d’information : nouveaux robots, prix et actualités de la robotique.