andrew-andrushchenko / Lumos

Android part of the Lumos LED strip project, a unique and beautiful DIY wireless garland based on the WS2812B addressable LED strip and HC-06 UART Bluetooth module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lumos

Collage 1 Collage 2

Android part of the Lumos LED strip project, a unique and beautiful DIY Bluethooth-controlled garland based on the WS2812B addressable LED strip and HC-06 UART Bluetooth module.

Goals for this project

  • Explore the capabilities of communication between Android and Arduino platforms using Bluetooth;
  • Build a unique DIY garland with various interesting effects;
  • Practice controlling hardware components on the Android platform;
  • Practice programming microcontrollers (currently the ATMega328P), data exchange and parsing, and creating state machines.

TODO

  • Implement app permission handling;
  • Add effects;
  • Add more controls to different garland effects;
  • Improve communication protocol:
    • define a fixed command size;
    • calculate the command checksum and attach it to the data frame;
    • obtain transmission status information (feedback from the Arduino after each transmitted command).

Known issues (Android app)

  • The saturation and value selection from the dedicated color panel is laggy for now. To be fixed in future versions.

Special thanks

Abhilash for the idea of the color picker implementation in Jetpack Compose.

Alex Samokhvalov for the disabled Bluetooth state animation.
Hamza Er for the empty pairing list animation.
Elias Larsson for the garland loading animation.

See also

The Arduino part of the project.

If you are interested in this project, I will appreciate any help or ideas. Feel free to ask or suggest something.

About

Android part of the Lumos LED strip project, a unique and beautiful DIY wireless garland based on the WS2812B addressable LED strip and HC-06 UART Bluetooth module.

License:MIT License


Languages

Language:Kotlin 100.0%