avr-doomclock

Public

stecman/avr-doomclock

Loading…

Description

Imported from GitHub: stecman/avr-doomclock · commit 2bd72ae · license MIT

Description

GPS clock on an ATTiny with MAX7219 7-segment driver

README

Tiny GPS Clock

This is a hh:mm:ss clock that runs from the time contained in NMEA RMC sentences. The code is targeted at an Atmel ATTiny13A.

Notes:

  • As the target microcontroller doesn't have enough RAM to store a full NMEA sentence, this project uses a custom parser that only reads RMC ("Recommended Minimum") sentences from a UART and extracts the time from that (seenmea.c).

  • The ATTiny13A lacks SPI and UART peripherals, so these are implemented in software.

Schematic and construction details can be found on this project's hackaday.io page.

Building and flashing

The avr-gcc toolchain is required to build, but there are no other external dependencies.

# Build
make

# Flash with programmer configured in Makefile
make flash

Testing

The simple test suite for NMEA RMC sentence decoding can be run manually with:

make test
Comments

No comments yet. Be the first to ask about this board.

Askabout this board