This shows you the differences between two versions of the page.
pm:prj2025:eradu:andra.belceanu [2025/05/21 18:37] andra.belceanu [Software Design] |
pm:prj2025:eradu:andra.belceanu [2025/05/29 23:35] (current) andra.belceanu [Software Design] |
||
---|---|---|---|
Line 177: | Line 177: | ||
* **Animations** | * **Animations** | ||
- | * 7 visual effects switch every 10 seconds after feeding (effectCycles) | + | * 11 visual effects switch every 10 seconds after feeding (effectCycles) |
* game variable cycles through effects | * game variable cycles through effects | ||
* fade_color() mode allows full color transition via potentiometer | * fade_color() mode allows full color transition via potentiometer | ||
Line 191: | Line 191: | ||
* Noise filter: Brief readings under 300 ms are ignored | * Noise filter: Brief readings under 300 ms are ignored | ||
- | **Optimizations Performed** | ||
- | |||
- | * Brightness capped at 10/255 → limits power draw to ~200 mA | ||
- | * Animation auto-stop after 22 seconds to conserve energy | ||
- | * Removed unused light games (e.g., arrow()) to reduce flash size | ||
**Sources and Implemented Functions** | **Sources and Implemented Functions** | ||
Line 212: | Line 207: | ||
**Demo Video** | **Demo Video** | ||
+ | Video link: https://youtube.com/shorts/k56aoU-vjDw?feature=share | ||
The video shows: | The video shows: | ||
Line 220: | Line 216: | ||
* Color/speed tuning with potentiometer | * Color/speed tuning with potentiometer | ||
- | Codul sursa: https://github.com/AndraBel/PurrGlow-Feeder/blob/main/purrGlow_feeder.ino | + | Source code: https://github.com/AndraBel/PurrGlow-Feeder/tree/main |