My wife gifted me this super cute mini miffy diorama from a gachapon. It uses two 1,5V cells and has a tiny led in it. I would really love to to add a 24h timer. ( it should stay on for 4 hours after turning it on then go to “standby” for 20h before turning back on) Do you guys think an attiny85 is the right thing for the job? Sorry of the question is dumb in any way. I am absolutely not an electronics guy.

  • elmicha
    link
    fedilink
    English
    21 year ago

    If it doesn’t matter if it’s a few seconds too late or too soon an ATtiny 85 is good. If you need more accuracy you probably need an additional RTC.

    • @[email protected]
      link
      fedilink
      English
      41 year ago

      You could also use a crystal for the ATtiny and get the same accuracy as the RTC. It should be accurate to about 20-30 seconds per month with a good crystal.

      The internal oscillator only has an accuracy of around 1% after you calibrate it. It would be off by over 7 hours after a month. It’s also quite sensitive to voltage and temperature changes.