นี่คือไฟสแกนเนอร์รถยนต์ Knight rider โดย Arduino นี่เป็นโปรเจกต์ที่น่าสนุกยิ่งขึ้น ผมจะอัปโหลดโปรเจกต์ Arduino เพิ่มเติม ดังนั้น สร้างมัน อัปโหลดมัน และสนุกไปกับมัน!
รายละเอียดทางเทคนิคเพิ่มเติม
แสงไฟสไตล์ภาพยนตร์อันเป็นเอกลักษณ์
โปรเจกต์นี้จำลองเอฟเฟกต์ "Scanner" อันโด่งดังจากรายการทีวีคลาสสิก Knight Rider โดยใช้ตรรกะการเลื่อน (shifting logic) ความเร็วสูง
- Non-Blocking Sweep Animation: แทนที่จะใช้
delay() โค้ดจะใช้ millis() และ state machine เพื่อเลื่อน LED "Active" ไปมาบนแถวของ 8-10 pins ซึ่งช่วยให้ได้การเคลื่อนไหวที่ลื่นไหลและดูเป็นธรรมชาติ
- Persistence of Vision (POV): (เวอร์ชันขั้นสูง) ใช้ PWM เพื่อ "จาง" (Fade) LED ที่ตามมา สร้างเอฟเฟกต์ motion-blur ที่สมจริงซึ่งเลียนแบบหลอดไส้ดั้งเดิม
ความสามารถในการปรับขนาด
- Shift Register Support: สามารถขยายได้ง่ายถึง 24+ LEDs โดยใช้ 74HC595 shift register ซึ่งช่วยให้สามารถสร้างสแกนเนอร์ขนาดใหญ่เต็มความกว้างสำหรับอุปกรณ์ประกอบฉากขนาดใหญ่
ข้อมูล Frontmatter ดั้งเดิม
title: "Arduino knight rider light"
description: "This project is a cool project !, we can make the knight rider car scanner by using Arduino"
author: "binukadasunpriya"
category: ""
tags:
- "lights"
views: 4112
likes: 0
price: 450
difficulty: "Easy"
components:
- "1x Arduino UNO"
- "10x Through Hole Resistor, 180 ohm"
- "12x Jumper wires (generic)"
- "1x Solderless Breadboard Full Size"
- "10x 5 mm LED: Red"
tools: []
apps:
- "1x Arduino IDE"
downloadableFiles: []
documentationLinks: []
passwordHash: "72cb7ed85ae07e30c14db10719d70a421c27f5b968b55016912abfbdf1f5a7d4"
encryptedPayload: "U2FsdGVkX1+Ju2Pr9EOvdFltxfXwviqeDE3Sn1Ms6giclE0poFXnl/sNFOeRfPBV3au9OyLxtMTFDixy/MTMTsj+Q6KAm+sxBL1Xl2Vmrm0="
seoDescription: "Create a cool Arduino knight rider light. Learn how to build a car scanner for your DIY electronics projects."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-knight-rider-light-feb4e5_cover.jpg"
lang: "th"