Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/obono/attiny85illusionframe

A LED infinity illusion mirror with OLED display controlled by ATtiny85
https://github.com/obono/attiny85illusionframe

Last synced: 13 days ago
JSON representation

A LED infinity illusion mirror with OLED display controlled by ATtiny85

Awesome Lists containing this project

README

        

# ATtiny85IllusionFrame

![Picture](doc/picture1.jpg)

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

![Movie](doc/movie1.gif)![Movie](doc/movie2.gif)

## 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](doc/schematic.png)

### Examples

![Example](doc/picture2.jpg)

![Example](doc/picture3.jpg)

![Example](doc/picture4.jpg)

## Software

### Build environment

[Install ATTinyCore boards to the Arduino IDE](https://github.com/SpenceKonde/ATTinyCore/blob/v2.0.0-devThis-is-the-head-submit-PRs-against-this/Installation.md) 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)

* [Adafruit NeoPixel](https://github.com/adafruit/Adafruit_NeoPixel)

### License

These codes are licensed under [MIT License](LICENSE).

## References

* [How to Make a Modern LED Infinity Illusion Mirror](https://www.youtube.com/watch?v=sAPGw0SD1DE)
* [OLEDリセット回路 - Crescent](http://meerstern.seesaa.net/article/456205002.html)