OSHWLab
check in
Completed

ATtiny Focus Timer

PROATtiny Focus Timer

tag

893
0
0
0
Mode:OSHWLab Stars
OSHWLab Stars 2026
Reproduction cost: $10

License

CC BY-NC-SA 4.0

Reproduction is prohibited without the author's authorization
Creation time:2026-04-19 07:00:17Update time:2026-04-20 02:21:44

Description

ATtiny Focus Timer

 

A minimal, distraction-free focus timer built around the ATtiny1614 microcontroller.

Press a button and get back to work - 10 WS2812B LEDs show your progress as a filling bar, then gently pulse and beep when time is up.

Created by @marius.builds

 

HOW IT WORKS

The timer cycles through four states:

Idle - All LEDs glow white at low brightness, no sound.

Running - Green progress bar fills one LED at a time, no sound.

Completed - All LEDs pulse green for a 20-second grace period, with a finish melody (bee-beep-bee-beep).

Alerting - All LEDs pulse red, with a short beep every 2 seconds.

 

BUTTONS:

  • In Idle: each of the 4 buttons starts a preset timer (10 / 20 / 30 / 60 min).
  • In Running: any button cancels and resets.
  • In Completed or Alerting: any button acknowledges and returns to Idle.

 

HARDWARE

  • ATtiny1614 (x1) - Programmed via megaTinyCore + UPDI
  • WS2812B / NeoPixel LEDs (x10) - Directly driven from PA3
  • Tactile push buttons (x4) - Connected to PB0-PB3, using internal pull-ups
  • Passive piezo buzzer (x1) - Driven from PA6 via tone()

 

 

SOFTWARE

Dependencies:

  • megaTinyCore - Arduino core for modern tinyAVR (ATtiny x04/x14/x24 series)
  • tinyNeoPixel_Static - included with megaTinyCore; lightweight NeoPixel driver for tinyAVR

 

 FLASHING:

  1. Install megaTinyCore via the Arduino IDE Boards Manager.
  2. Select ATtiny1614 as the target board.
  3. Set the programmer to CH340 UPDI (or whichever UPDI method you use).
  4. Open ATTiny-FocusTimer-V2.1.ino and upload. 

Sketch can be found here : https://github.com/mariusmym/ATtiny-Focus-Timer

 

ENCLOSURE

The project includes a 3D-printed case designed to house the PCB, LEDs, and buttons in a compact, desk-friendly form factor. STL files are in the case/ folder and were designed for FDM printing with no supports needed.

Two top case formats are available. The one-piece design requires printing in a bright color (ideally white) so the LED light can pass through. The second design has a cutout for the LEDs, with a separate LED cover you can print in transparent or any bright color, allowing the main case to be any color.

The original CAD is included in .f3z format. An external link for the case: https://www.printables.com/model/1689049-attiny-focus-timer-case


Design Drawing

The preview image was not generated, please save it again in the editor.

BOM

Bom empty

Attachments

OrderFile nameDownload times
No data
Clone
Add to Album
0
0
Share
Report

Project Members

Intellectual Property Statement & Reproduction Instructions

This is an open-source hardware project. All intellectual property rights belong to the creator. The project is shared on the platform for learning, communication, and research only; any commercial use is prohibited. If your intellectual property rights are infringed on EasyEDA, please notify us by submitting relevant materials in accordance with the Rules for Complaints and Appeals of IPR Infringement.

Users must independently verify the circuit design and suitability when replicating this project. All risks and consequences are borne by the user, and the platform assumes no liability.

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation