Digital Dash Project based on STM32 MCU and TOUCHGFX

Hardware inside and outside of the ECU
Post Reply
opelpanfan
Posts: 25
Joined: Thu Oct 07, 2021 1:38 pm
Github Username: opelpanfan
Slack: Ben

Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by opelpanfan »

Hi everyone

After some discussions with rusefi team, I'm making this post about my digital dashboard project.

From the beginning:

Aftermarket Digital Dashboards are very expensive and in general limited to high-end manufacturers. In the past, I used AIM MXS STRADA 5-inch dash and ECU master ADU 5-inch units. Found them pretty good but very expensive for the hardware used inside. About 2 years ago started tinkling about with STM32F469NI 4.3inch Evaluation board with Touch GFX interface and found it pretty powerful and easy to use.
images.jpg
images.jpg (13.96 KiB) Viewed 27385 times
After finding that the evaluation board has only CAN 2 available and did not really like to transmit CAN frames started designing my own PCB.
After many unsuccessful trials found a couple of displays on Aliexpress that worked with my PCB design.

The current project status is that I have 3 working prototypes with different screen sizes.

PART 1

1. This 6.86inch with a 480x1280 high-resolution IPS screen and Parallel RGB interface
image.png
image.png (187.25 KiB) Viewed 27385 times

You can get one here for about 50$:

https://www.aliexpress.com/item/1005004740847099.html?spm=a2g0o.cart.0.0.2a2438dapnRlM9&mp=1
Spec sheets:
SRG0686A.pdf
(1.92 MiB) Downloaded 328 times
Screen dimensions:
S1af3b5e822c3414c8dfa9511a9d78017A.jpg
S1af3b5e822c3414c8dfa9511a9d78017A.jpg (147.11 KiB) Viewed 27385 times

Controller PCB:
20230228_181624.jpg
20230228_181624.jpg (2.29 MiB) Viewed 27385 times
Spec:
STM32f429II
SDRAM W9825G6KH-6I
2 CANBUS
GPS ATGM336H-5N31
ESP32-S3
SDCARD
4 user buttons
W2812 RGB LED connector

PCB plugs into the screen through ribbon cable 40p 24bit RGB interface + I2C Touch interface
20230228_181654.jpg
20230228_181654.jpg (2.24 MiB) Viewed 27385 times
Loaded FW on screen
20230228_181852.jpg
20230228_181852.jpg (2.4 MiB) Viewed 27385 times
PCD Schematic:
SCH_6.86 DASH SCH_2023-02-28.pdf
(1.46 MiB) Downloaded 396 times
GitHub repo for Firmware and Hardware:

https://github.com/opelpanfan/car-dash-wide
Last edited by opelpanfan on Tue Feb 28, 2023 8:37 pm, edited 2 times in total.
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

opelpanfan wrote:
Tue Feb 28, 2023 7:57 pm
I'll upload it to GitHub in next couple of days and post details about other two screen sizes and responding PCB's
I am very very interested to touch this stuff! Maybe I can help with fabrication and case :)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
MoeAlpha
Posts: 14
Joined: Thu May 12, 2022 8:01 pm

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by MoeAlpha »

Amazing ! Would make a 3D printed case for this !!!
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

opelpanfan wrote:
Tue Feb 28, 2023 7:57 pm
STM32f429II
Well, here's a funny reality - LQFP-208 is way more accessible and WAY CHEAPER at the moment?! Would be funny if we would have to come up with a combined 176 AND 208 footprint to have options
image.png
image.png (43.58 KiB) Viewed 27319 times
image.png
image.png (18.26 KiB) Viewed 27319 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

Now leveraging interactive pinout!

https://opelpanfan.github.io/car-dash-wide/pinout/
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

Trying to help...
WhatsApp Image 2023-03-09 at 17.53.09.jpg
WhatsApp Image 2023-03-09 at 17.53.09.jpg (39.52 KiB) Viewed 27047 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Neobob22
Posts: 8
Joined: Mon May 06, 2019 8:52 am

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Neobob22 »

Hi, just discovered the thread thanks to Andre, that look pretty an awesome way to build a user interface through CANbus !!

I've played a bit with touchgfx and that can match my goals with my low programmer skills (but able to manage with pictures then lay objects according), what about the "boot" speed etc, is that near a duino ? no shutdown procedure required ?

as a car integration, I was looking on https://www.st.com/en/partner-products-and-services/riverdi-stm32-displays.html for brightness and power supply integration, but this one is still pretty big for my goal (above the head unit in a miata, about 180mm x 69mm high visible, a little margin above and on the side), the 6.86" you mentionned can fit with a huge active area but not especially bright, damn !

in for following, and will be happy to share what I've found, if we can just fit any screen through I2C interface also ?

edit : pic for illustration, instead of the 3 round gauges :
Image
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

Снимок экрана (378).png
Снимок экрана (378).png (280.5 KiB) Viewed 24436 times
Снимок экрана (379).png
Снимок экрана (379).png (229.33 KiB) Viewed 24436 times
Снимок экрана (380).png
Снимок экрана (380).png (304.84 KiB) Viewed 24436 times
Снимок экрана (381).png
Снимок экрана (381).png (258.82 KiB) Viewed 24436 times
Снимок экрана (382).png
Снимок экрана (382).png (168.31 KiB) Viewed 24436 times
Hi
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

HI
IMG_1063.jpg
IMG_1063.jpg (996.01 KiB) Viewed 24436 times
IMG_1060.jpg
IMG_1060.jpg (731.67 KiB) Viewed 24436 times
IMG_1059.jpg
IMG_1059.jpg (759.6 KiB) Viewed 24436 times
IMG_1056.jpg
IMG_1056.jpg (427.62 KiB) Viewed 24436 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

can be useful to anyone
Korpus_DASCH_6.89.zip
(97.86 KiB) Downloaded 345 times
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

this is now 404 for me, is this still available anywhere?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Dron_Gus
contributor
contributor
Posts: 463
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Dron_Gus »

AndreyB wrote:
Thu Mar 14, 2024 6:55 pm
this is now 404 for me, is this still available anywhere?
https://github.com/rusefi/car-dash-wide lol
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

image.jpg
image.jpg (2.55 MiB) Viewed 5167 times
image.jpg
image.jpg (2.43 MiB) Viewed 5167 times
image.jpg
image.jpg (2.48 MiB) Viewed 5167 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

IMG_2443.jpeg
IMG_2443.jpeg (199.04 KiB) Viewed 5156 times
IMG_2444.jpeg
IMG_2444.jpeg (1.62 MiB) Viewed 5156 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I can't upload the video.
User avatar
AndreyB
Site Admin
Posts: 14471
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by AndreyB »

Omen234 wrote:
Sun Aug 04, 2024 11:29 pm
I can't upload the video.
Please use youtube
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

целеком спереди.png
целеком спереди.png (450.34 KiB) Viewed 5132 times
сзади.png
сзади.png (645.57 KiB) Viewed 5132 times
сбоку.png
сбоку.png (416.5 KiB) Viewed 5132 times
разнесено спереди.png
разнесено спереди.png (631.39 KiB) Viewed 5132 times
разнесено с зади.png
разнесено с зади.png (859.11 KiB) Viewed 5132 times
без задней крышки.png
без задней крышки.png (980.56 KiB) Viewed 5132 times
без дисплея.png
без дисплея.png (496.03 KiB) Viewed 5132 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I removed these resistors and everything worked. I turned on the lift to 5 volts and connected the oil pressure sensor. The rest are free.
12в.png
12в.png (168.35 KiB) Viewed 5125 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

IMG_2445.jpeg
IMG_2445.jpeg (89.47 KiB) Viewed 5124 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I really liked the idea of multiplexers, but they could not be applied to my projects, so I simplified the scheme a little and transferred it to kicad
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

IMG_2176.jpeg
IMG_2176.jpeg (3.11 MiB) Viewed 5119 times
IMG_2173.jpeg
IMG_2173.jpeg (3.05 MiB) Viewed 5119 times
CEF21315-23DA-45F1-A58E-78EC4EE25675.jpeg
CEF21315-23DA-45F1-A58E-78EC4EE25675.jpeg (1.83 MiB) Viewed 5119 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

IMG_2382.jpeg
IMG_2382.jpeg (1.81 MiB) Viewed 5117 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I am currently working on the case
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I'll share it when it's ready
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

I took a ride with the panel on an airboat
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

IMG_1697.jpeg
IMG_1697.jpeg (2.92 MiB) Viewed 5109 times
Omen234
Posts: 61
Joined: Tue Sep 12, 2023 7:03 pm
Github Username: romioRN

Re: Digital Dash Project based on STM32 MCU and TOUCHGFX

Post by Omen234 »

as for the firmware, since I am not far from "hello world ", therefore, I only threw in the GPS parser and made the screen for myself
Post Reply