No description
  • C++ 77.3%
  • C 20.2%
  • Makefile 2.5%
Find a file
2020-10-30 15:27:43 +01:00
hd44780@af9778faf7 Initial commit 2020-10-07 19:48:13 +02:00
img Update README 2020-10-30 14:01:03 +01:00
.gitignore Initial commit 2020-10-07 19:48:13 +02:00
.gitmodules Initial commit 2020-10-07 19:48:13 +02:00
bom.csv Include example BOM 2020-10-30 14:03:19 +01:00
config.h Config from DIP, code splitting 2020-10-30 11:19:04 +01:00
font.h Make display fancier 2020-10-30 11:53:52 +01:00
LICENSE Create LICENSE 2020-10-30 14:14:18 +01:00
locale.h Misc updates 2020-10-30 15:25:04 +01:00
Makefile Initial commit 2020-10-07 19:48:13 +02:00
music.h Move music to constants 2020-10-30 13:50:55 +01:00
pomidor.ino Explain floaty lines 2020-10-30 15:27:43 +01:00
README.md Clarify README 2020-10-30 14:11:35 +01:00

pomidor v2.0

Software for a hardware Pomodoro timer, built on ATmega328p and assorted cruft I amassed over the years.

The joke is "pomidor" means "tomato" in Polish.

Features

  • Variable pomodoro length (25/50min)
  • Variable short break length (5/10min)
  • Variable long break length (15/30min)
  • Audible cue on pomodoro end/break end
  • Visual cue on pomodoro end (LCD backlight sleeps after 5s of inactivity, wakes up for break)
  • Customization as easy as modifying config.h

Usage

Assuming:

  • you have an ATmega328p with an Arduino bootloader
  • you're using and AVRispMkII programmer

it's as easy as:

git submodule init
git submodule sync
make ispload

Otherwise please refer to manufacturer/search engine of choice for using it with Arduino and update Makefile as required.

I haven't verified this with any other Atmel chips. I don't see a reason it wouldn't work if you can compile and upload the sketch, and that your chip has enough pins.

ATmega328 is an absolute chonker in terms of I/O, so many things in this design are taking advantage of it - it can probably be simplified for a smaller footprint chip with enough shift registers and other assorted stuff.

Please also note that while I'm happy to help if you want to try it, for legal reasons this repository is presented as-is.

Board schematic

Board schematic

Board features

  • USB-B power plug
  • Power stabilization (5v)
  • Physical sound and power switches - no software trickery, as it should be
  • DIP switches for end-user configuration (well, not really end user, but it's better than having to reprogram the chip for it every time)

Possible board outline

Board outline

The schematic is verified now and I have manufactured a board from this circuit which audited correctly.

Idea for this outline is to expose the USB plug and switches off the side, where they can be incorporated into a case neatly.

An example Bill of Materials is available in bom.csv.

Credits