Arduino Uno : Keypad input (Smart Parking System)

Wishlist Share

About Course

Slide Lab2

Reference to Gencode Tutorials

  1. Keypad Project 
  2. Servo
  3. OLED screen

การสร้าง function เขียนไว้นอก setup , loop โดยจะสร้างฟังก์ชั่น วางไว้หลังจาก loop ก็ได้ และเรียกใช้ใน loop ได้

 

final code

Course Content

Part I : แสดงผลบนหน้าจอ OLED (1-5)

  • 1 connect dht11 sensor
    06:09
  • 2 connect OLED display
    04:12
  • 3 Test OLED
    12:09
  • 4 Print some text on OLED
    09:40
  • 5 Display temperature and humidity
    13:44

Part II : รับค่า input จาก Keypad (6-8)

Part III : ตรวจสอบรหัสผ่านกับ “1234” (9 – 11)

Part IV : Servo เปิดที่ 90 องศา 3 วินาที หากรหัสถูกต้อง

Part V : จำกัดการลองกรอกรหัสผิดแค่ 3 ครั้ง

Part VI : LED สีเขียว (เปิดประตู), LED สีแดง (รหัสผิด)

8. Final Code

Student Ratings & Reviews

No Review Yet
No Review Yet