mirror of
https://github.com/workinghard/Cube4Fun_v2.git
synced 2025-12-13 19:42:09 +00:00
abff08f1cc30f2fb67e6ece6777a4aca78fc59f6
Cube4Fun_v2
Version 2 with ESP8266 instead of Arduino/Network
Index
Overview
- Create your own cool 3D animations and tag them
- Upload to your Cube4Fun
- Use the animation-tag from any internet service/device by sending GET/ request to activate animations
- Share your animations with everybody on this site:
Requirements
Software
Cube
The communication is working through I2C protocoll. The basic logic is very simple:
- Display programmed smooth animations
- If a frame (full 64 led values) received, display it
- 5 seconds timeout for the default state. (Currently displaying programmed animations)
Protocoll
- Only listen, no call backs
- valid format for a frame:
| Key | Position:"Value" |
|---|---|
| Start key | 0:"/" 1:"/" 2:"?" 3:"?" |
| Payload | 4-68:"0...255" |
| End key | 69:"," 70:"," 71:" " 72:" " |
Hardware
Because most of the esp8266 boards are working with 3.3V and our Cube board is a regular ATMEGA328 with 5V, we need a voltage shifter. This is a basic schematic realized with a BSS138 MOSFET. Breakout boards are available on most popular sites.
Languages
C++
100%


