Giter VIP home page Giter VIP logo

divoomclients3's Introduction

DivoomClient for ESP32

Decrypt Divoom's animations so they could be displayed on LCD screen, LED matrix...

Python implementation: redphx/apixoo

Preface

I'm really really new to Arduino/C++, so if you see I wrote something stupid, feel free to correct. I really appreciate it.
The library is still in early phase.

Demo

Demo
DivoomClient on M5StickC Plus (ESP32)

How does it work?

  1. Download encrypted animation from Divoom server.
  2. Decrypt using AES & LZO, then translate it to understandable frames data.
  3. Render frames.

How to run the example

This example I made for M5StickC Plus. May or may not work on another ESP32 devices.

  1. Add DivoomClient library to Arduino.
  2. Download Divoom app on Android/iOS and create an account.
  3. Get MD5 hash of your password. You could use JavaScript-MD5.
  4. Update values in configs.h.
  5. Update renderFrames() if you don't use LCD screen. It should be easy to modify it for LED matrix.
  6. Compile.

TODO

  1. Add comments. Sorry for the lack of comments in the code. I'll update soon.
  2. Don't include AES & MiniLZO libs inside the library. Maybe switching to a better AES library, if possible.
  3. Fix random crashing/memory problem. I'm not good at managing memory yet, so please help me on this if you can.
  4. Add support for 32x32 and 64x64 animations. Actually I already had the working code for this, but I need to make sure the library work properly on 16x16 animations first.

Acknowledgements

divoomclients3's People

Contributors

redphx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.