augisbud / m365_dashboard Goto Github PK
View Code? Open in Web Editor NEWXiaomi M365 Display V0.2
Xiaomi M365 Display V0.2
When you turn on the light, blink the LEDs on the circuit Board of the scooter. What could be the problem?
Rus: Когда включаю свет, мигают светодиоды на плате скутера. В чем может быть проблема?
Good morning, a question, could I change the pro mini for a nano?
would it be igd? greetings and thanks.
Hi,
I would like to ask you what is difference between Bracket-edited vs Bracket vs newCase?
Hi. I would like to know in what percent of battery the warning begins to appear.
How can you change it so that the warning comes out when you have less than 20% left? With 35% the warning comes out and it's a bit annoying.
Thank you
Well, if I understand correctly, the Pro Mini only reads the commands that the other microcontrollers send.
Is it possible for the Pro Mini to send commands also, for example, to lock the scooter, or control the lights? Is there any problem with that approach?
Many thanks!
I unconnected the EN language from the language.h and Russian can’t be changed .
The Arduino freezes once in awhile it only seems to be happening with my hard driving so right now I think it's trying to open the menu because there is no speed check for that but that doesn't always seem to be the case. Anyone else experienced something similar?
After connecting and assembling, the display is working fine BUT power button :
Hi when trying to compile and uplode your code I get the following errors:
Arduino: 1.6.6 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
C:\Users\svillalobos\Documents\Arduino\sketch_oct29a\M365.ino: In function 'void setup()':
M365:20: error: redefinition of 'void setup()'
void setup() {
^
sketch_oct29a:10: error: 'void setup()' previously defined here
void setup() {
^
C:\Users\svillalobos\Documents\Arduino\sketch_oct29a\M365.ino: In function 'void loop()':
M365:76: error: redefinition of 'void loop()'
void loop() { //cycle time w\o data exchange ~8 us :)
^
sketch_oct29a:15: error: 'void loop()' previously defined here
void loop() {
^
exit status 1
redefinition of 'void setup()'
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Could you point me where can be the error
Thanks
Simon
Hi,
I'm using an Adafruit Pro Trinket and i've got a problem :
Connection to the M365 is OK beacause using https://github.com/fogbox/m365_display in PASSIVE_MODE I can view throttle and brake status.
But I don't have any data from the S25C31 (current, voltage, etc...). All is 0.
You are testing these values on line 61
if ((S25C31.current == 0) && (S25C31.voltage == 0) && (S25C31.remainPercent == 0))
Do you have infos about this problem ?
Regards,
Hi Augisbud,
Is there any way to emulate some random data from computer to dashboard to check if dashboard is ok without connecting it to M365? :)
Hi.
I installed it and all done! :)
The problem, when I power on M365: LCD shows this message: "Hello Kate - no Bus -"
Any idea?
I was wondering if you knew of a way to display satnav on the display.
Like a BLE module, an interface with your phone and stuff like that?
How do I use uno instead of pro mini?
Do I have to change resistors or diodes?
Hi,
which color do you recommend white or blue for OLED?
I have read somewhere blue has better visibility than white..
Do you have any experience on that?
It´s only me ? Maybe create a new option in menus for close comunication temporally with m365?
Hey,
I finally got the answer for my last issue with the Arduino Nano. Turns out that the baud rate of the M365 is 115200, and only the mini pro has the same. This means that nano won’t work
I have another issue now : this screen keeps showing every seconds, and I have no idea what it means, and why it’s there for
Can you help me ?
Any way for locking or hang the Arduino from the menu or at startup? I need to unpower the Arduino or disconnect the BUS wire for updating the firmware due the Arduino has the BUS bussy polling continuously data. I think a system for doing that would be very welcome without any need to add phisical switch or similar.
Hello again,
I downloaded the last code and installed the arduino today, and the speedometer doesn't update, per instance, it shows 6.0Km/h and it keeps frozen until I break and run again, showing another number that it doesn't corresponds with my current speed.
Also, and the worst, the scooter breaks using the motor, every 3-4 seconds, maybe more, but it's doing driving impossible...
Any suggestions?
When I try to verify the code in Arduino I get that message on this line:
https://github.com/augisbud/m365_dashboard/blob/master/M365/M365.ino#L419
Not really an issue as we can live with that :)
Does yours show temp higher than on android apps like tools for ex.? 10ºC difference.
Today it was displaying 40ºC connected tools and it was 28/30
Hello !
Thanks for that cool project !
Pro dashboard only has speed indicator. It would be great to have all these additional informations on the Pro.
However Pro bluetooth board runs on ble90 firmware. And classic on ble72 firmware.
Apparently the one-wire protocole is different on these two firmwares.
How hard would it be to make this project compatible with ble90 (i.e. Pro scooters) ?
Thank you !
Hello,
I have a strange problem. I power the arduino uno directly from the battery with a dc-dc converter with 12v, common the grounds , and using 120r and 1n4148 to connect to arduinos rx and tx with databus. When I power on the scooter while the ardunio is already on, I get a green led indicator with blinking taillight. ( I assume the connection between the esc and ble is borken) , as soon as I remove the connection from rx and tx, everything is ok with the scooter.
I need to power the arduino from the main battery not from the ble.
What is wrong with my setup ?
Thanks
Hi.
Mine dashboard keeps restarting (or turns of after a few restarts) when front light is turn on: https://youtu.be/BllbipDUYU8
My display is 4 wire SPI - this is only diffrence to your recomendations (i only changed defines and display initalization method).
What may case such behavior ?
Im trying to change cruise control to ON,default is off.Change to ON then update cruise.
It stays ON but after next boot it goes to OFF again.
Im on an october release is this ok on recent updates? I didnt uploaded new code yet because Im not sure if its solved now and its a pain to get to arduino :)
Thanks for your work pretty simple to build this dash and awesome features
I did everything like is wrote and screen is black,
Hello,
I want to ask you if it is possible to switch on the scooter via arduino. In your project you have used arduino to get information about scooter. I want to learn if you have figured out a way to push some commands to scooter via arduino?
Thanks in advance
I´m currently analysing this project.
In your defines.h I can find this:
const unsigned char _hc[] PROGMEM = {0x04, 0x20, 0x03};
This probably should be the wrapper for writing. BUT you don’t use it once in your ino file?
How can you even Change KERS,… this should not be possible or am I missing something
Is it possible to indicate ECO mode on the display?
I tried looking in the code but without success.
Hello
I have the dual colour screen "Yellow/Blue" and I noticed it would look much better if I had the yellow bar on the bottom rather than on the top. I can't see in the code any configuration for this.
Kind regards,
Sergio
Hi! I'm always getting "Bus not connected! No data to display!".
I've read through the closed issues and found one named "Hello Kate - no Bus-" where the problem seemed to be the resistor that was used, so I tried using different resistor values, first 120 ohm, then 150, then 100, but I always get that message. I also tried multiple 1N4148 diods, but no luck.
I know that the signal coming from the BLE module reaches the RX pad, so I don't know what might be the problem.
Any suggestions would be much appreciated. Thanks!
Hello,
I have a ninebot ES1 that I have been playing with. I have tools available to reverse engineer the dashboard on the ES1 as well such as a scope with serial decoding and numerous Arduino Nanos and Minis.
Since both the M365 and the ES1 have the same connector to the dashboard and very similar design, does anyone know if its possible to use the same code to mod the ES1 or if it would be worth snooping the databus on the ES1 to see what is comming across? I'm actually very interested in taking it further and fully controlling the scooter with an arduino including throttle and brake commands and lighting as well as power and the alarm.
The dashboard is labeled G(black) T(yellow) P(green) 5(red) and I am assuming that G and 5 are ground and +5v. Not sure about the T and the P but I assume one is data bus and the other is the 36v power from the batter for the fuel gauge.
Any input is appreciated before I attempt anything further.
Hello, ive been trying to get this working for a while now but it's not going too well.
I'm getting this on my I2C screen after starting Image. And according to my russian friend its nothing but gibberish
I've imported all the LIB's and put em in the documents folder and followed all other instructions.
What can I do?
Hi guys,
Wanted to add hibernate option to my dashboard. The dashboard must be unpluged from the scooter when changing or updating scooter's firmware, so hibernate option would be perfect for that.
Since I am new to programming, I need your help with this.
What lines of code should I put and where to get this feature?
Regards,
Bartek
I choose the language == ENG in the source code M365.ino/defines.h. However, the RU language is still displayed when it is turned on. What is wrong?
Do you have any examples on how to use an SPI OLED that has 7 pins (mostly RST)
The language file han been duplicated into root folder (probably for a mistake in previous commit)
Hello,
I buld it and it says no data, and the screen flashing.
When I press the button on the arduino, rebooting continuously.
What could be the problem?
Hey ! I can provide you my language.h file in French if you want to add it to the files ;)
Maybe you could do a video showing how to plug and solder the wires
Thanks for the sharing, and nice work dude !
Hi,
I made a custom battery pack with 13s, but I can only see cells from 0 to 9, the last 3 voltages are hidden. Is it possible to add a scroll function so that it shows the other cells, lets say, every 3-4 seconds?
Regards
Hi,
thank you for your project. Which firmware(Scooter) did you use for this project ?
Can someone explain me the purpose of the resistor? Does the resistor not also block the data that is coming for the TX0 pin.
Thank your four your help guys.
Please, how to change language? When I edit language.h to something like that:
//#define Language ENG //English
#define Language FRA //French
//#define Language RU //Russian, use together with the russian font in libraries folder
//#define Language ES //Spanish
language is still ENG.
Hi guys,
I know this is not an issue, but I don't know where to write it, so, feel free to move it or whatever if you want.
I saw that there is a "connector" 3D model on 3D folder, but... What kind of connectors goes in?
I mean, what should we do with this 3D piece? I would like to implement this in my scooter but it would be nice if I didn't have to solder nothing directly on the board.
Any help would be appreciated!
Happen to have a US Version with MPH and Degrees F?
I tried to connect an oled SSH1106 panel, but its operation is not 100%.
The first column of pixels is not displayed while at the end of the screen an incorrect one is displayed.
As if the image were shifted one pixel to the left.
Can you help me?
Hi,
I have problem with size centimeter vs millimeter..
Could you upload cm version from bracket.stl?
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.