Digital Dash Project based on STM32 MCU and TOUCHGFX
-
- Posts: 25
- Joined: Thu Oct 07, 2021 1:38 pm
- Github Username: opelpanfan
- Slack: Ben
Digital Dash Project based on STM32 MCU and TOUCHGFX
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. 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
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: Screen dimensions:
Controller PCB: 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
Loaded FW on screen
PCD Schematic:
GitHub repo for Firmware and Hardware:
https://github.com/opelpanfan/car-dash-wide
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. 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
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: Screen dimensions:
Controller PCB: 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
Loaded FW on screen
PCD Schematic:
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.
- 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
I am very very interested to touch this stuff! Maybe I can help with fabrication and caseopelpanfan wrote: ↑Tue Feb 28, 2023 7:57 pmI'll upload it to GitHub in next couple of days and post details about other two screen sizes and responding PCB's
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
Amazing ! Would make a 3D printed case for this !!!
- 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
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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- 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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- 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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- 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
Trying to help...
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
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 :
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 :
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
can be useful to anyone
- 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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
I can't upload the video.
- 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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
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.
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
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
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
I am currently working on the case
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
I'll share it when it's ready
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
I took a ride with the panel on an airboat
Re: Digital Dash Project based on STM32 MCU and TOUCHGFX
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