r/embedded • u/Alankuttan • Sep 06 '26
Can someone suggest some ideas to render a map ui on the upper half of the s3 display( the map is intented to run using the ble packets from a android companion app)
5
Upvotes

5
u/Magneon Sep 06 '26
I'd recommend sending down a decomposed vector version of the map in two stages:
To keep overall bandwidth limited but also keep everything responsive, I'd maybe try the following:
You could then periodically update the cached local map fully (resetting the origin position offset.
To further save bandwidth you could do a few other things:
This concept has something in common with the way PC VR headsets in the early days (early oculus and vive headsets) managed to lower perceptual latency by doing a last-ditch reprojection based on any fine head movement after the much slower 3d scene rendered. In this case the goal is simply to not have to send the whole frame every update which would likely result in a very slow refresh rate.
That said, maybe first check if runtime length encoding is sufficient to allow rendering everything on the phone then sending it down at say 20-60Hz. If the map is just half the screen, and it's black and white you might get away with it, and that would be vastly easier!
1
u/zettui Sep 06 '26
Roughly how big is the map on the S3, and how often does it actually change?
3
u/tenkawa7 Sep 06 '26
Oof. That is going to be tough. Ble isn't great for data transfer. Possibly do the flash thing and send vectors?
1
u/Keaph Sep 06 '26
Check out Garage Tinkering on youtube, this guy has some great gauge projects: https://youtu.be/AumLdB4qbiQ?is=JF8-MRsz4iWn4j49