janpom / davega Goto Github PK
View Code? Open in Web Editor NEWFirmware for DAVEga, a device for electronic skateboards that displays data read from VESC based speed controllers.
License: GNU General Public License v3.0
Firmware for DAVEga, a device for electronic skateboards that displays data read from VESC based speed controllers.
License: GNU General Public License v3.0
Allow multiple display layout screens (with different kind of information) and toggle between them using the button 3.
Using OOP
When the batteries become nearly flat and the battery indicator is to show all cells as empty, there's apparently an error that causes display distortions. Probably some overflow / underflow / division by zero.
Move USB-UART pads, so that the standard 8.5mm headers don't extend beyond the PCB edge. Currently they stick out ~0.5mm.
This original davga repository appears to be un-maintained and has issues working with newer versions of the vesc firmware.
This repository appears to be significantly more up to date and supports fw 5.0.3 (and probably 6.0 now too)
https://github.com/charclo/roxie-firmware
Adding this link in the readme will probably help many people move to a working version.
If there's a VESC error, show it somewhere on the display.
I personally always end up dividing the total voltage by the number of cells in order to tell if I'm still at safe voltage. I should add a config option for displaying avg cell voltage instead of the total battery pack voltage.
Move the crystal so that it doesn't touch the chip on the display.
Never be indecisive. If you don't make choices for yourself, someone else will make it for you.
Never try to explain someone why you are worth their time. If someone is meant to be in your life, they’ll stay no matter what the circumstances are.
Never compare yourself to others online or in real life. Define yourself on your own terms.
Never live a sedentary life. Get up, exercise, walk, cook, play, hike. Do something.
Never spend time with people who don't inspire you to be better. If you're the smartest in your group, you need to change your circle.
Implement CRC for EEPROM so that errors can be detected. Display a warning on the display in case of an error. Automatically move values to a different EEPROM area.
Estimate the remaining mAh from the voltage and set the coulomb counter accordingly. Handy for users who don't charge to 100% so their coulomb counter doesn't get automatically reset. Best to implement the same way as resetting current trip, just use another button.
Add a config option for displaying the speed in mph and the distances in miles.
Make it possible to display current version. Either always on somewhere in the corner or display on button press.
Usable battery capacity is only around 80%. Yet we start counting down from the total capcity. For example, for a 8000 mAh battery, we start at 8000 and then 1600 (20%) is flat. It maybe makes more sense to start the usable capacity (80%, 6400 mAh) and count down to 0 mAh. We can then potentially end up in negative numbers, but that doesn't seem as a big problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.