Tag Archive: UIFlow


First up a disclaimer.

This won’t be updated much or a regular series as not much is known about the graphics functions in UIFlow. However, the following steps is how I get images on to the M5Stack using UIFlow.

OK here is what worked for me.

Download and install G.I.M.P G.I.M.P.org

create a file 80x160px (for M5Stick) ,
Add graphics,
Goto Image>mode>Indexed,
Make sure ONLY “use web optimised palette” and “Remove unused and duplicate colours from palette”.
Goto File>Export As,
save the file as .jpg (filename must only have 7 letters),
Set “Quality” to 90% you may have to reduce this depending on image.
Click on ALL the boxes to remove the X
Click on advanced,
Unselect everything by clicking on the X to remove them,
Set smoothing to 0,
Set Subsampling to 4.2.0
Set DCT to integra and hit save.
Open UIFlow,
Click on the manager icon to upload the image to the M5Stick C,
Drag an image element to the screen and click on it to set the image to the one you uploaded, and then click the > “Play” icon to check the image.

If this helps you, please let me know.

Man has it been too long!

At the end of last year I picked up one of the M5Stack core units and have been busy working on learning how to use it. Part of the learning has resulted in a pdf that constantly get updated with hardware and examples of UIFlow code. I must have made a positive view on the staff of M5Stack when helping out on the forum as I am now the community manager their while also helping out testing UIFlow.

While I keep missing out on a lot of preorders and special offers, they recently held a competition and my entry was chosen as the winner. I will post more on this when the prize turns up but for now I will just post an update on things.

Project Sakura has been at a standstill due to lack of funding and part sourcing (mostly down to the motor being a single phase brushed DC instead of the 3 phase brushless found on most modern ebikes.

I finally managed to open the hub and remove to motor and discovered something, the reason the bike keeps blowing up the drivers is because the driver is underrated for the motor. The bike is supposed to be a 250W motor but after a quick test with a multimeter (and a rough bit of ohms law) it turns out that in normal use it has a 14A current use with a power rating closer to 500W!

I need to get a new speed controller for the bike now and may go for something closer to 1000W (just for paranoia sakes) but I will be adding some new sensors and a new central “Dash Board” based on the M5Stack to control it all.

Please come back and check on updates and don’t forget you can find me on youtube, Facebook, twitter and instagram.

I hope to post an update soon so goodbye for now.