Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/obono/attiny85illusionframe
- Owner: obono
- License: mit
- Created: 2024-01-26T15:51:40.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-31T14:32:50.000Z (11 months ago)
- Last Synced: 2024-01-31T16:23:02.822Z (11 months ago)
- Language: C++
- Size: 10.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()|EnabledThis 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)