An open API service indexing awesome lists of open source software.

https://github.com/stecman/avr-doomclock

GPS clock on an ATTiny with MAX7219 7-segment driver
https://github.com/stecman/avr-doomclock

attiny13a avr avr-gcc digital-clock firmware microcontroller

Last synced: about 1 month ago
JSON representation

GPS clock on an ATTiny with MAX7219 7-segment driver

Awesome Lists containing this project

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 (see`nmea.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](https://hackaday.io/project/163826-gps-wall-clock).

## Building and flashing

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

```sh
# 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:

```sh
make test
```