กลับไปหน้ารวมไฟล์
arduino-ir-remote-controlled-car-434a07.md

ชื่อโปรเจกต์: รถบังคับ IR remote controlled โดย Arduino

ผมมีเวลาว่าง เลยสร้างสิ่งนี้ขึ้นมาครับ

นี่คือลิงก์ของโปรเจกต์

https://www.tinkercad.com/things/5xdxIXiPG4Y

และเวอร์ชันเก่า

https://www.tinkercad.com/things/fWIB32WMlWW

รายละเอียดทางเทคนิคเพิ่มเติม

การนำทางแบบไร้สายด้วยแสง

โปรเจกต์นี้ใช้สัญญาณ Infrared (IR) เพื่อสร้างระบบควบคุมระยะไกลที่มีความหน่วงต่ำและระยะใกล้สำหรับหุ่นยนต์เคลื่อนที่

  • การถอดรหัส IR Protocol: ใช้ 38kHz IR receiver โดย Arduino จะถอดรหัสสตริงเลขฐานสิบหก 32-bit เฉพาะที่ส่งมาจากรีโมททีวีมาตรฐาน (เช่น รีโมท Sony หรือ NEC) และแมปพวกมันกับการเคลื่อนที่ "เดินหน้า", "ถอยหลัง", "เลี้ยวซ้าย" และ "เลี้ยวขวา"
  • การควบคุมแบบ Dual H-Bridge: Arduino จัดการ L298N driver เพื่อควบคุมมอเตอร์ DC สองตัว มันใช้สัญญาณ PWM เพื่อให้สามารถเร่งความเร็วได้อย่างราบรื่นและเลี้ยวได้อย่างค่อยเป็นค่อยไป

การเคลื่อนที่ที่ตอบสนองได้ดี

  • ตรรกะ Hold-to-Move: รถจะเคลื่อนที่ก็ต่อเมื่อกดปุ่มค้างไว้ เฟิร์มแวร์ใช้คุณสมบัติ "Repeat Code" ของ NEC protocol เพื่อตรวจจับว่าผู้ใช้ยังคงกดปุ่มอยู่หรือไม่ เพื่อให้มั่นใจในการควบคุมที่แม่นยำในพื้นที่จำกัด

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

title: "Arduino IR remote controlled Car"
description: "This car uses an ir sensor to control motors"
author: "roshan-baig"
category: ""
tags:
  - "ir"
  - "transportation"
  - "l293d"
views: 2825
likes: 0
price: 1120
difficulty: "Intermediate"
components:
  - "1x IR remote(generic)"
  - "1x Dual H-Bridge motor drivers L293D"
  - "1x Arduino UNO"
  - "2x Through Hole Resistor, 1 kohm"
  - "2x LED Light Bulb, Frosted GLS"
  - "2x 5 mm LED: Red"
  - "1x IR receiver (generic)"
  - "1x DC Motor, Miniature"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "796e78796e705a1d388152a548fecea2200df4fa6dde702ed37c240dd00a10b0"
encryptedPayload: "U2FsdGVkX1+/3kHXQQ8r3+IQ8sB+J2E1G5lH5CMViC2lGW1VzFKgjRPZKLKlnAdmOVER83ZPiVWdv2zgfZmTOW63+J89xti9kSQEvZfpRmE="
seoDescription: "Build an Arduino IR remote controlled Car using an ir sensor to control motors. Simple DIY project for beginners."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-ir-remote-controlled-car-434a07_cover.jpg"
lang: "th"