Skip to content

obono/ATtiny85IllusionFrame

Repository files navigation

ATtiny85IllusionFrame

Picture

A LED infinity illusion mirror with OLED display controlled by ATtiny85. Kitchen timer function is available.

MovieMovie

Instruction

You can toggle the mode by holding a button in 1 second.

  • Illumination mode
    • Left button: change pattern
    • Right button: change pattern
  • Timer mode
    • Left button: minute setting, reset
    • Right button: start/pause

Hardware

Components

  • A photo frame
  • A mirror and a one-way mirror
  • ATtiny85
  • 1.54 inch 128×64 pixels transparent OLED screen SSD1309 SPI
  • WS2812 × 32
  • Resistors
    • 22kΩ
    • 33kΩ
    • 82kΩ × 2
  • Ceramic capacitors
    • 0.1µF × 2
  • Wires, connectors, buttons, etc...

Schematic

Schemantic

Examples

Example

Example

Example

Software

Build environment

Install ATTinyCore boards to the Arduino IDE and configure the settings as follows.

Attribute Value
Board ATtiny25/45/85 (No bootloader)
Chip ATtiny85
Clock 8 MHz (Internal)
B.O.D. Level B.O.D. Disabled (saves power)
Save EEPROM EEPROM not retained
Timer 1 Clock CPU (CPU frequency)
LTO Enabled
millis()/micros() Enabled

This sketch depends on following library. (You can add this by library manager)

License

These codes are licensed under MIT License.

References

About

A LED infinity illusion mirror with OLED display controlled by ATtiny85

Topics

Resources

License

Stars

Watchers

Forks