กลับไปหน้ารวมไฟล์
irremote-617caf-en.md

The project is about how to use a IR receiver with a remote. By the end you will be able to print out the figures you press on the remote on the Serial monitor. I made this project so people can learn how to use a IR receiver and a remote. This work because as you press a button on a remote the receiver will read it and you can also just convert it to a hexadecimal so it is easier to read the values you get then makes two LEDs turn on or off

.

EXPANDED TECHNICAL DETAILS

Universal Protocol Decoding

This foundational project explores the world of Infrared (IR) communication used by millions of consumer electronics devices.

  • NEC/Sony/RC5 Protocol Support: Uses the IRremote library to capture 38kHz pulses. The Arduino decodes the specific 32-bit hexadecimal codes.
  • Learning Mode Logic: Includes a "Raw Data" mode where the user can point ANY remote (TV, AC, DVD) at the sensor and see the raw timing of the pulses in the Serial Monitor, providing a deep dive into pulse-coded modulation.

Control Implementation

  • Hardware Trigger Mapping: Includes a switch-case logic where specific codes trigger local hardware events, such as toggling a relay or changing the color of an RGB LED strip.

ข้อมูล Frontmatter ดั้งเดิม

title: "IR remote"
description: "This project will show us how to use a IR sensor with a Arduino."
author: "arduino_nerd2050"
category: ""
tags:
  - "communication"
views: 1203
likes: 0
price: 870
difficulty: "Intermediate"
components:
  - "1x IR Receiver"
  - "1x JustBoom IR Remote"
  - "20x Jumper wires (generic)"
  - "1x Solderless Breadboard Full Size"
  - "1x 5 mm LED: Yellow"
  - "1x Arduino UNO"
  - "3x Resistor 220 ohm"
  - "1x 5 mm LED: Green"
  - "1x 5 mm LED: Red"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "df2648aab268554f23782708797034313e9d852ff41f1b75f40a576a4de98bf3"
encryptedPayload: "U2FsdGVkX1+0X02RNY6kKYCYqkFmnv6m6KRu+e5I7XHd8Ft6RnKl/Q3LGkHhTrGMB+Mv/Zu7QUCLmGxg2BsxDGRzX9gT1MyWAX8+fGvXMnY="
seoDescription: "Learn how to interface an IR sensor with Arduino to receive signals from an IR remote in this simple step-by-step tutorial."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/ir-remote-15098b_cover.jpg"
lang: "en"