Thanks man! I have added you to the ever growing list of beta testers I would love some help with the graphics, I have been drawing everything on paper (and manually created the bit strings) until I found that GIMP can export the right bit-string (called XBM) from a black/white image.
The âconnection/wifiâ icon has three stages: No connection, connected and transmitting. It has to be within 24x32 px (width x height). Would love to see what you could come up with
Either works. I know this to be correct, as I use this formula for my app, VESC Status, and I have used them recently for calculating kv. (kv = max rpm/batt voltage, and in this case, your working with erpm, so it has to be converted). Everything is accurate with these formulas.
Since your doing speed, youâll need users to be able to input their wheel diameter and the number of pole pairs in their motor. Most are 7, but some of 14 or 12. Just a thought to keep in mind. The last photo looks great!
@solidgeek can you tell me whats the total screen size of the display ?? pixels x pixels size ? I want to try some different graphics. Also what format ? GIF ? PNG ? JPG ?
Okay thank you :-)! I have already added the option to enter wheel diameter and number of motor poles (magnets). The calculation of speed and distance is now working.
I am calculating the distance based on the tachometer value, would you mind checking if my calculation are correct? (poles are equal to the number of magnets).
ratio = motor-pulley / wheel-pulley
distance = ((tachometer / (3 * poles)) * ratio * d * 3,14159) / 1000000
Or simplified to a constant multiplied with the changing tacho-value
Also graphics need to be in 8bit mode up to 128x32 size or smaller like icons for example - black and white only and saved as .bmp file which he can later convert to hex/C array.
If you need help designing the graphics hit me up because Iâve done it before. Hopefully youâre using Windows, or if you want to convert it to a hex array youâll have to run the program on wine or a VM.
Canât get my screen to work, maybe itâs defective. Voltage is on vcin pin ( 5V) and I think i connected it correctly - a5 and a4 pins on Nano. Got the libraries, everything compiles and uploads. Nothing on the screeen. Iâll wait for more screens to arrive and try again