Coder Social home page Coder Social logo

no-go / attiny85watch Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 857 KB

attiny85 with white LED and 128x32 i2c oled display - 2 buttons for set hours and minutes

License: The Unlicense

C 25.79% Shell 0.65% C++ 73.56%
attiny85 ssd1306 128x32 oled-display watch wdt watchdog sleep powerdown diy

attiny85watch's Introduction

ATtiny85 Watch

Use a ATtiny85 8pin AVR chip as watch with a alarm LED, a 128x32 i2c oled display and 2 buttons for set hours, minutes and count down (alarm).

Project page

Jochen Peters Krefeld

Features

  • optimized for 1MHz (8Mhz needs more power)
  • displays the Lipo power in mV (menu mode)
  • Button 1: Display on (clock mode) or set hour/minutes
  • Button 2: switch through clock, led on, menu mode (set hours), menu mode (set minutes)
  • 1/8th of a second: a hour glas
  • CPU power down between every cycle of 120ms (with 128Hz clock)
  • time accurency: about 2sec in 1hour
  • lifetime: above 46h (65mAh Lipo after charging it)
  • low battery symbol

Circuit

Circuit

Video menu branch

Vibration alarm

I use a BC108-C . Set Vibration motor + to RAW (3.7 till 4.1V) and V-motor - to the collector, GND to the emitter, LEDPIN to the basic.

...xx..
..x..xxxx
.x..E....x
.x.....B.x
.x..C....x
. xxxxxxx

future steps

  • nice circuit / more details
  • programming how-to

Images (old, development)

easy wired tiny size make your own writsband normal font futur font dots font bold dot font

Chassis build with 1:3 silicone (hardware store), food coloring and maize starch (supermarket).

Strange timing and flashing

I have to switch via sh 8MHz.sh skript from 1MHz back to 8MHz, because Arduino IDE can not flash ATtiny85 in 1MHz mode. After programming I have to switch ATtiny85 back with the sh 1MHz.sh script.

Thanks to ..

Thanks to Neven Boyanov and the Tinusaur/SSD1306xLED project. (MIT License) The Tinusaur Project. I modified it to use a 128x32 instead of 128x64 oled display.

attiny85watch's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.