หน้าหลัก > สอนการใช้งาน บอร์ด Arduino UNO R3 > Project 1 : Button Switch Controlled 7-Segment (ปุ่มกดนับ ขึ้น-ลง แสดงผลบน 7-Segment)
Project 1 : Button Switch Controlled 7-Segment (ปุ่มกดนับ ขึ้น-ลง แสดงผลบน 7-Segment)
Images/Blog/mjyg53Cq-01 Button controlled 7-Segment_bb.jpg
เขียนโดย zerobikeshop เมื่อ Sat 14 Jan, 2023
Like

Project 1 : Button Switch Controlled 7-Segment (ปุ่มกดนับ ขึ้น-ลง แสดงผลบน 7-Segment)

การทำงาน

เมื่อกด Button ด้านขวา ตัวเลขที่แสดงบน 7 Segment จะเพิ่มขึ้นทีละ 1 (+1) ตามจำนวนครั้งที่กด เริ่มจาก 0-9 และเมื่อกด Button ด้านซ้าย ตัวเลขที่แสดงบน 7 Segment จะลดลงทีละ 1 (-1)

รายการอุปกรณ์

1. ZEROBIKE UNO R3 (Arduino UNO R3 board) x 1

2. 7 Segment 1 digit x 1

3. Resistor 220Ω x 7

4. Push Button Switch x 2

5. MB-102 Breadboard x1

6. สายต่อวงจร

วงจร

Upload โปรแกรม Button_Switch_Control_7-Segment เข้าบอร์ด Arduino

ชุดเรียนรู้ Arduino UNO R3 l  Arduino UNO R3 Projects Basic Learning Kit l Arduino UNO R3 บอร์ดไมโครคอนโทรเลอร์

ความคิดเห็น (0)
ก่อนหน้า 1 ถัดไป
ร้านค้าออนไลน์ และ ขายของออนไลน์ โดย © 2006-2024 Vevo Systems Co., Ltd.