Code Monkey home page Code Monkey logo

zyddash's Introduction

ZydDash

Alternative dashboard display for Zydtech based electric scooters using BLE

ESP32 running ZydDash BLE client

Wanting to have a more permanent dashboard with more usable information while also collecting more detailed battery data and not sacrificing my phone, I went and decoded the data protocol of my ePowerFun ePF-1 which uses a Zydtech HW9027 or similar motor driver. The display has a built-in bluetooth module for communicating with an app supplied by the vendor. Decoding most of the Bluetooth telemetry and commands for the Display/Driver combo has been very straightforward, although there is more to discover in the Update mode.

So far, the interesting bits like current speed, voltage, total distance etc. can be read by using a BLE app and a bit of decoding.

To read up on my findings, go to BLE_Telemetry.md.

The display data bus is discussed in-depth in Display_Telemetry_Analyzing.md

More on the individual registers can be seen in decoding_memory.md

The scooter's data protocols, which are primarily based on MODBUS, are explained in commands.md

An example app is provided with ePF1_gatt.py. Find out your scooter's BLE MAC and characteristic UUIDs and look for the first byte in the telemetry packets. It typically starts with AF, AB or A5. The app will connect to your scooter and try to read and interpret the data received on the bluetooth interface.

All further development is continued in ePF1_gatt_gui.py which is an extended and GUIfied version of the core code. You will need to install pysimplegui and libscrc to run it.

zyddash's People

Contributors

ennar1991 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.