กลับไปหน้ารวมไฟล์
7-segment-and-lcd-counter-17a379-en.md

I made this for my robotics class assignment.

The Tinkercad link:

https://www.tinkercad.com/things/glT7bYwplnC

The Pic:

Final Project

EXPANDED TECHNICAL DETAILS

Multi-Output Numeric Integration

This project demonstrates how to synchronize data across two different display architectures: a standard 16x2 LCD and a raw 7-segment LED module.

  • BCD-to-7-Segment Decoding: Instead of using 7 Arduino pins for the LED, the firmware uses a 74HC595 Shift Register or CD4511 decoder, reducing the pin count and allowing for easier scaling to multiple digits.
  • Parallel Data Bus: The Arduino updates the LCD via I2C and the 7-segment display via a serial/parallel shift, ensuring that the counts on both displays are always perfectly synchronized in the loop.

Educational Logic

  • Shared Integer Variable: The core firmware uses a single count variable that is formatted and sent to the two disparate display drivers, teaching students about data abstraction and 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: "en"