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 บอร์ดไมโครคอนโทรเลอร์