Introduction: Vehicle Digital Gauge Display
This is my digital gauge project that I'm planning on putting in my 73 Montego. Its powered by an Arduino Mega 2560 R3, Screw terminal shield, an ITDB02 TFT shield and topped of with a Sain Smart 4.3 TFT.
The purpose of this project is to monitor Oil Pressure, Engine Temp, Fuel Pressure and Battery/Alternator Volts. If any one of these being monitored falls within a certain range, the seven segment display on the touch screen will turn red indicating which one is out of range, and a buzzer will sound to get your attention. I soldered in a voltage divider to monitor battery voltage and added a safety relay. If battery volts reach a certain limit, relay will break circuit and ground input pin. Screen will show a warning page for you to check battery before resetting system. Other features I added are RGB Floor lights, a diagnostic page and a option to display pictures. You can adjust the RGB lights to any color and turn lights on and off from the touch screen. Also, it saves the last color used so you don't have to readjust every time you start the car up. The diagnostic page shows voltages coming from sensors into arduino to help with troubleshooting issues. The picture option is being used to display pictures of engine when I was rebuilding it and showing a before and after from the time I pulled motor to when it was put back in. Now when I go to a car show, I can have that showing so people can see the work that was put into it.
Update. Finally uploaded a video testing circuit. Now in the process of mounting in enclosure. Will update soon
Step 1: Arduino Mega 2560 R3
First, I bought this mega from my local Micro Center for roughly $20. I went to How to mechatronics and copied a code from there for touch screen tutorial. I took out things I did not want and kept some things I wanted. Then I programmed some other things I wanted in this project, but the code I copied is the foundation to how this ended up being what it is today. Comparing projects you can see some similarities.
See code below
Step 2: TFT Shield
I highly recommend buying one of these TFT shields if you have a touch screen that runs off of 3.3v. At first I wired mines directly from mega to screen and it worked but, it would leave unwanted pixels on screen because arduino has 5v outputs. This shield has a switch that gives you the option to run off of 5v or 3.3v. I ordered it from Itead.cc and it arrived in a few days. I put switch on 3.3v and the unwanted pixels went away. Now that I have bought this shield, I don't have access to any of the unused pins that I need for external inputs and outputs. I browsed the internet and found a solution.
Step 3: Terminal Shield
I bought this terminal shield from Amazon. It arrived in a few days. Some soldering is required. this allowed me to have access to open pins for other inputs and outputs.
Step 4: 4.3 TFT 480x272
Finally the touch screen. I bought this from Micro Center also. Getting everything to work was a little tricky at first. I emailed sainsmart for them to send me the documents for this screen and none of the information or drivers worked. So back to the internet I go. I went to Rinkydinkelectronics and downloaded libraries from there. I downloaded URTouch, and UFTF. Then add it to current libraries in arduino software. There is a couple of other things to do too but long story short it works now.
Step 5: Oil Pressure Sensor
Oil PSI sensor from Amazon. .5v - 4.5v
Step 6: Fuel Pressure Sensor
Fuel PSI sensor from Amazon. .5v - 4.5v. I have a mechanical pump and carb on my car. Pressure on carb only needs to be 5.5psi. A 30 psi sensor that has a 5v signal was the smallest I could find, but it will work.
Step 7: Car Battery Sensor
To monitor car battery, I created a voltage divider out of a 1k ohm resistor and a 390 ohm resistor. I also added a relay to remove voltage from Arduino when battery voltage is at or above 15.5v which would be like 4.3v to adruino. Its just a safety so that arduino do not receive more than 5v to analog pin. If voltage does reach that point the tft will show a warning screen indicating voltage is above or at 15.5v and to check battery/alternator before resetting system or processor could be damage.
I will up date this as soon as I get it in car and operating. Also when I get a chance to do a video I will add it to this.
Thanks for looking
Step 8: Enclosure
Finally have the components mounted in an enclosure. Not sure how this box is going to look mounted in car. I may have to make a center console for it. We will see
Update 8/31
The enclosure looked terrible in the car so I had to think of something else. I bought a center console from Walmart and cut the height and length of it to fit in car. Then I removed all the components from the enclosure and mounted in the console. Check out the video in step 1.
49 Comments
1 year ago
Доброго времени суток. скажите на arduino uno r3 можно собрать такой девайс для дизельного двигателя с обычным ТНВД?
Reply 1 year ago
Sorry for the late response. This setup will work on any engine using sensors that’s rated for 0-5vdc
Reply 3 months ago
если вас не затруднит отправить мне на почту код программы.
bashir72@yandex.ru
Reply 3 months ago
доброго времени суток.
как бы с вами договориться, чтобы вы поделились со мной скетчем.
самому писать если честно наверное не потяну, да и времени не хватает.
заранее спасибо.
Reply 3 months ago
И еще один момент, имеется дисплей не сенсорный, который работает по CAN шине от ЭБУ ДВС, показывает параметры ДВС, можете ли вы написать скетч чтобы я мог подключить свой дисплей, и он бы работал также.
1 year ago
When you said '73 Mercury Montego, I had a huge flashback! I had a '73 Montego MX. Gold with white top. 351 Cleveland. Bored, stroked, balanced and blueprinted. Loved that car and BOY DID SHE MOVE! They don't make them like that anymore.
Reply 1 year ago
Cool. Mines green with white top. Same engine and bored. Had it for 20 years now. Glad it took you down memory lane
Question 1 year ago
Hi, i am very impressed by your work and would like to build one on my own as well for my 1977 F150 Pickup. Do you see any chance to share your code? I am good in hardware, but software is like rocket science. But i have a friend who could help to adapt it to my needs. That would be great. Of course i would be willing to TIP you for your work. maybe you could contact me?
Question 1 year ago
Hello Can You share the code with me, Thanks
2 years ago
Could you send me the code plz
dnsrider-67vw@yahoo.com
2 years ago
Could you send me the code plz
drabbadkassouha@gmail.com
3 years ago
hi I need the how-to or the piece of code to read the ECT sencor directly, can you help?
Reply 3 years ago
I will look to see if I still have that part of code
Reply 3 years ago
You need to know the characteristics of the sensor. For instance what’s the range of resistance In relation to temp. Then I can come up with a formula to display temp. This project does not have a temp readout. I deleted it and replace it with something else
3 years ago
nice project brother. pls can you share me your code on
ismail4sure@gmail.com
Reply 3 years ago
Thanks. I don’t have the complete code anymore. I have part of it. I thought I had it backed up but I didn’t I can send you what I have
3 years ago
Can you the Code Sharing
Jwan.bbs@gmail.com
Thx
3 years ago
hey great project! could i grab the code also? slickprintne@gmail.com
3 years ago
Could you send me the code plz chucky832011@gmail.com
Question 4 years ago on Step 1
nice job!!!!
is your code still available ?
gabriel.comaduran@gmail.com, Thanks