Motorcycle HUD #9
Replies: 7 comments 13 replies
-
Great work! Nice and compact hardware.
P.S. Note that if you look through polarized sunglasses, the TTGO screen looks as black in horizontal orientation. So I use TTGO vertically on my bicycle: |
Beta Was this translation helpful? Give feedback.
-
I am actually using the non-modified version of the TFT_eSPI. The same as you but a newer version that is listed in the Arduino library manager(which your program also compiles under and runs fine with). The newer versions allow you to use nicer fonts and have a lot more functionality I'll take your advice and see what I can do to massage it. Thank you for your help. I'll let you know how it comes out. |
Beta Was this translation helpful? Give feedback.
-
I got the layout complete. I am struggling to get the 4bpp to show up properly using the tft.pushImage command for use with the sprites. But it works and i'll get it sorted at some point. Thank you for your help |
Beta Was this translation helpful? Give feedback.
-
I've completed the basic version but still have more to do. All of the bitmap files have to be loaded to SPIFFS. It works very well... Need to add a menu system and a few other features (speed digits changing colors if speeding) but the general operation is there |
Beta Was this translation helpful? Give feedback.
-
I want larger fonts for the speed area but again was out of room. Going to add that in along with potentially a background image to place the sprites over
Also, you can see how I used the actual fonts and all from the latest tft_espi library. It simplifies your program some since no need for the glyph shifter
… On 16 Aug 2021, at 20:22, alexanderlavrushko ***@***.***> wrote:
This really makes sense, I didn't know about this approach, thanks for the info.
Uncompressed 64x64 image 16-bit per pixel takes 8KB, in JPG you have 1.7KB in average. With 30 JPG images you saved more than 180KB of space.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
It is. And I must keep it that way at the moment
… On 19 Aug 2021, at 15:04, greymda ***@***.***> wrote:
@ Jemmicat69 is your code private? can't access it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
It is private and must remain that way at the moment
… On 27 Aug 2021, at 13:34, b3ksi ***@***.***> wrote:
Hi @Jemmicat69 seems like you have deleted your repo, is it possible to share?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
I have been working on a motorcycle HUD that attaches to a visor. I have had it working using the TTGO display, added IMU, battery and GPS all in a compact package (55mm x 30mm x 25) to give speed, lean angle, time, temperature, etc. I had been working to implement turn by turn directions from the phone to show on the screen as well using another package connecting by Wifi but was struggling to adapt the graphics to the screen. I had first stumbled on your project about a year ago but was having trouble making a reliable BLE connection.
Anyway, I had gotten away from the project for a year with a move from the US to the UK and am finally working on it again. I found you had updated your project to include support for the TTGO screen and was thrilled. I have adjusted some things to get it to display horizontally instead of vertically and it is working perfectly. Now I am trying to add my code in for the GPS data to be displayed on half the screen with the directions shown on the other half. I have a few questions, though.
First off, I am a mechanical engineer and know mostly Arduino and some C so I am struggling with the C++ type callouts.
The picture attached is my test piece. It has the IMU,GPS, Battery and TTGO all packed in the small area. A housing then goes over this that then snaps onto the visor. It is free floating and not complete while I've been developing it
Beta Was this translation helpful? Give feedback.
All reactions