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

https://github.com/werediver/clock

Electronic desktop clock based on Pico/RP2040.
https://github.com/werediver/clock

hardware

Last synced: 3 months ago
JSON representation

Electronic desktop clock based on Pico/RP2040.

Awesome Lists containing this project

README

          

# Clock

This [Pico](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html)-based clock uses a dedicated oscillator for the built-in RP2040 [RTC](https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf#section_rtc), displays time using seven-segment indicators, features capacitive touch-sensing buttons, and a custom built-in NiMH charging circuit.

The estimated run-time on a single charge is _one week_ (yes, _just_ one week).


PCB 3D view, top
PCB 3D view, bottom
Photo, combined

When assembling, refer to the [interactive BOM](https://htmlpreview.github.io/?https://github.com/werediver/clock/blob/main/KiCad/bom/ibom.html) page.

## NiMH battery charger

```mermaid
---
title: Charger state machine
---
stateDiagram-v2
[*] --> Hold
Hold --> Charge: ext_power && v < HIGH
Charge --> Charged: d(v) ≤ NDV || is_adc_saturated() || is_timed_out()
Charged --> Charge: v < HIGH
Charge --> Hold: !ext_power
Charged --> Hold: !ext_power
```

- [ ] Add a time-out for `v ≥ NiMH_HIGH` (1–2h?)