Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scoreboard for Schools

An Arduino Mega–based electronic scoreboard designed for school activities, classroom games, and local sporting events. The project drives multiplexed 7-segment displays for a countdown timer, period indicator, and two team scores.

This is a hardware prototype. Adapt the wiring, power supply, display type, and enclosure design to your own installation before using it at an event.

Features

  • Four-digit countdown timer showing minutes and seconds.
  • Two-digit home and away scores, each limited to 0099.
  • Single-digit period indicator.
  • Six auxiliary LED outputs and a buzzer output.
  • Serial control interface at 9600 baud.
  • Timer1 interrupt for one-second countdown updates.

Hardware

  • Arduino Mega 2560 or compatible board
  • Nine-digit multiplexed 7-segment display setup
  • Current-limiting resistors and suitable display-driver circuitry
  • Buzzer
  • Optional LEDs connected to the auxiliary outputs
  • Appropriate external power supply for the chosen displays and drivers

Pin map

Function Arduino Mega pins
7-segment lines 22, 23, 24, 25, 26, 27, 28
Digit select lines 412
Auxiliary LEDs 4651
Buzzer 52
Status output 53

The exact display wiring depends on whether your hardware uses common-anode or common-cathode displays and on the driver hardware you select. Verify the segment order and digit-select wiring before powering the circuit.

Getting started

  1. Open main.ino in the Arduino IDE.
  2. Select Arduino Mega 2560 as the board.
  3. Wire the displays and outputs according to the pin map above.
  4. Upload the sketch.
  5. Open the Serial Monitor at 9600 baud.

Serial commands

Commands are sent as plain text through the serial connection.

Command Action
basla Start the countdown workflow.
durdur Stop the countdown workflow.
sMM Set the countdown minutes; for example, s10 sets 10 minutes.
pN Set the period indicator using one digit; for example, p1.
eHOME-AWAY Set scores; for example, e12-9 sets home to 12 and away to 9.
1 Clear or initialize the display state.

The score parser also accepts score values without a separator when the intended digit grouping is unambiguous. The dashed form, such as e12-9, is recommended.

Notes

  • The sketch uses direct pin control and multiplexing; display brightness and stability depend on wiring and driver circuitry.
  • The timer state is held in memory and resets when the board resets.
  • Test every output with a low-power setup before connecting a full-size scoreboard.

License

This repository includes the existing project license. See LICENSE.txt.

About

Arduino-based electronic scoreboard for school activities and games.

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages