Skip to content

jjhorton/RP2040_Countdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Countdown Clock

This repository contains the code for creating a countdown clock, which runs on a custom RP2040 PMod Board, and uses a seven segment display.

Building Pico Software

Assuming that the Pico SDK is in the path (for example export PICO_SDK_PATH=../pico-sdk ) and then run the standard build commands:

cd Pico
mkdir build
cd build
cmake ..
make

Then use the Bootsel button, to put the RP2040 board in upload mode, and then copy the .u2f file from the build directory to the RP2040 Board.

Running PC Software

The Python software on the PC is contained in the Python Directory, and send the current time remaining until Christmas day to the clock using the serial link over USB. This is currently run on a Raspberry Pi Zero, but could be run on any Python capable PC.

Hardware

The PCB's that are used as part of this project are as follows:

RP2040 PMod Microcontroller Board KiCad CI/CD for RP2040 PMod Board

Severn Segment PMod Display PMod 7 Segment Display

These PCB's are secured to a 3D printable mount with magnets in the back to mount on a white board. The Mount is in the Mount folder in the OpenSCAD file format, which can then be used to generate STL files and be 3D printed. The Github workflow also generates the STL file from the OpenSCAD file, which can be downloaded from the workflow by navigating to the workflow.

About

A countdown clock using RP2040 and 7 Segment Display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published