กลับไปหน้ารวมไฟล์
arduino-uno-avoiding-object-car-with-led-and-buzzer-716144.md

รถ Arduino Uno หลบสิ่งกีดขวางพร้อม LED และ Buzzer

โปรเจกต์นี้ผมทำขึ้นเอง โปรเจกต์นี้เป็นโปรเจกต์แรกของผม

โปรเจกต์นี้ง่ายมาก ๆ ๆ สำหรับมือใหม่ โอเค ถ้าคุณอยากจะลองทำ มาดูกันเลย

หุ่นยนต์ของผม

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

พื้นฐานความปลอดภัยในการเคลื่อนที่แบบตอบสนอง

โปรเจกต์นี้สร้าง "หุ่นยนต์หลบหลีก" พื้นฐานที่ใช้การรับรู้จากเซ็นเซอร์เพื่อนำทางภายในห้องโดยไม่ต้องมีการควบคุมจากมนุษย์หรือเกิดการชน

  • พัลส์ตรวจจับเชิงพื้นที่ด้วย Sonar: Arduino จัดการ HC-SR04 ที่ติดตั้งอยู่บน micro-servo หุ่นยนต์จะ "สแกน" ไปทางซ้ายและขวา; firmware จะระบุเส้นทางที่มีระยะทางเปิดโล่งมากที่สุด
  • ตรรกะแจ้งเตือนการชนแบบสองสถานะ: เมื่อมีวัตถุอยู่ในระยะ 20cm, Arduino จะหยุด motors, กระพริบ LED "อันตราย", และส่งเสียง buzzer ก่อนที่จะทำการถอยหลังแล้วเลี้ยว

การสร้างต้นแบบ (Prototyping)

  • Verified with Arduino IDE: ปรับให้เหมาะสมเพื่อประสิทธิภาพที่เสถียร 100% และไม่มี "False Crashes" ทำให้เป็นแพลตฟอร์มการเรียนรู้ที่เชื่อถือได้สำหรับการเรียนรู้การนำทางอัตโนมัติ

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

title: "Arduino uno avoiding object car with led and buzzer"
description: "This project is only using some part and easy to make it, this project only use 1.arduino uno R3 2.adafruit motor shield V1"
author: "mohammedrizkisantri"
category: ""
tags:
  - "cars"
  - "robots"
views: 2706
likes: 0
price: 1120
difficulty: "Intermediate"
components:
  - "1x Hot glue gun (generic)"
  - "2x battery 18650"
  - "1x adafruit motor shield V1"
  - "1x Battery Holder, 18650 x 2"
  - "1x Ultrasonic Sensor - HC-SR04 (Generic)"
  - "1x 5 mm LED: Green"
  - "1x Arduino UNO"
  - "2x DC Motor, 12 V"
  - "1x 5 mm LED: Red"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://projects.arduinocontent.cc/5226fcff-3369-409f-a9ac-2e20c8e4361b.ino"
  - "https://projects.arduinocontent.cc/5226fcff-3369-409f-a9ac-2e20c8e4361b.ino"
documentationLinks: []
passwordHash: "c542bad10b44410b4f685c22ba3d4c233186bce193116ba1c27791b9b71f1d34"
encryptedPayload: "U2FsdGVkX18wx1Ftf3HRhw5NHAJv9TsU1YyEMjcMVvLPd50PFEjX/VrbzjnOgoP2xDdCx//faQIB0TJAhpXY2ELRYWWzZ8MRym+FnkUR12A="
seoDescription: "Build an Arduino uno obstacle avoiding car with led and buzzer. Uses arduino uno R3 and adafruit motor shield V1. Simple DIY robotics project."
videoLinks:
  - "https://www.youtube.com/embed/i7bwRy8eiJQ"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-uno-avoiding-object-car-with-led-and-buzzer-716144_cover.jpg"
lang: "th"