7 segment and LCD counter
ผมสร้างโปรเจกต์นี้สำหรับงานที่ได้รับมอบหมายในชั้นเรียนหุ่นยนต์ของผม
ลิงก์ Tinkercad:
https://www.tinkercad.com/things/glT7bYwplnC
รูปภาพ:
โปรเจกต์สุดท้าย
รายละเอียดทางเทคนิคเพิ่มเติม
การรวมตัวเลขแบบหลายเอาต์พุต
โปรเจกต์นี้สาธิตวิธีการซิงโครไนซ์ข้อมูลบนสถาปัตยกรรมจอแสดงผลสองแบบที่แตกต่างกัน ได้แก่ จอ 16x2 LCD มาตรฐาน และโมดูล 7-segment LED แบบดิบ
- การถอดรหัส BCD-to-7-Segment: แทนที่จะใช้ 7 Arduino pin สำหรับ LED ตัว firmware จะใช้ 74HC595 Shift Register หรือ CD4511 decoder ซึ่งช่วยลดจำนวน pin ที่ใช้และทำให้ง่ายต่อการขยายไปยังหลายหลัก
- Parallel Data Bus: Arduino จะอัปเดต LCD ผ่าน I2C และ 7-segment display ผ่านการเลื่อนแบบ serial/parallel เพื่อให้แน่ใจว่าค่าที่นับได้บนจอแสดงผลทั้งสองตรงกันอย่างสมบูรณ์ใน loop เสมอ
ตรรกะเชิงการศึกษา
- Shared Integer Variable: firmware หลักใช้ตัวแปร
count เดียวที่ถูกจัดรูปแบบและส่งไปยัง display driver สองตัวที่แตกต่างกัน เพื่อสอนนักเรียนเกี่ยวกับ data abstraction และ multi-modal UIs
ข้อมูล Frontmatter ดั้งเดิม
title: "7 segment and LCD counter"
description: "This project counts up to 20 seconds."
author: "roshan-baig"
category: ""
tags:
- "counter"
- "lcd"
- "seven segment"
views: 1344
likes: 0
price: 1120
difficulty: "Intermediate"
components:
- "1x Alphanumeric LCD, 16 x 2"
- "1x Rotary potentiometer (generic)"
- "1x Arduino UNO"
- "1x Jumper wires (generic)"
- "1x Perma-Proto Breadboard Half Size"
- "1x Solderless Breadboard Half Size"
- "2x 7 Segment LED Display, InfoVue"
- "1x Helping Hand Tool, with Magnifying Glass"
- "1x Solder Wire, 0.022\" Diameter"
- "1x Soldering iron (generic)"
tools: []
apps:
- "1x Arduino IDE"
- "1x TinkerCad"
downloadableFiles: []
documentationLinks: []
passwordHash: "d42380db001735a425c6e7986eb043c4247668b79cb15a26fa53348dc9b3552d"
encryptedPayload: "U2FsdGVkX1/Ommr+yVl1ihPVfpy3Gcs8RG5a5zP/MSl5saWek0W5Mqm9ekO3rZTsHYEQm97voGjw1bRWkGd4aqQ7iqOG0HezEx/auEOroZML8Uzxx2wXnVSYpI0HPRQo"
seoDescription: "Build a 20-second counter using 7 segment and LCD displays. Learn basic hardware interfacing and programming."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/7-segment-and-lcd-counter-17a379_cover.jpg"
lang: "th"