PDA

View Full Version : Arduino powered MFD- Battery and temp display



adventurepaul
8th August 2012, 10:32 PM
I was looking at dual battery monitors and after not finding much looked further. Also finding out my Patrol hasn’t got real OBDII so are unable to use the cheap link programs went looking at building my own MFD (Multi-function display). I wanted to see some temps, dual battery volts and maybe the MAF output. I came across these Arduino (http://arduino.cc/en/Main/ArduinoBoardUno) Microprocessor’s and with some searching found other people had done something similar. Idea #1..... (http://arduino.cc/blog/2012/05/11/inexpensive-6-channels-temperature-scanner/)
So after a spending about $20 on eBay got a board and some temp sensors and LCD and started to write the code to run it. It’s not that hard it’s all open source and lots of info out there. Here (http://arduinoprojects101.com/arduino-temperature-sensor/) is a basic start to single temp only.
Here are some pics of the installed unit. The controller sits in a small box 2” square x4’ long under the glove box area and has a 5v power supply in it and some relays to dim the screen LCD at night. It runs the screen on the steering wheel and is connected to the sensors. These figures are not accurate as still adjusting code to get the calibration right. Was correct for my computer 5volt output but in car is different.
The startup says ‘NISSAN’ for 5 sec then rolls thru each page ‘Batt volts’, ‘inside and intake temps’ ‘Tranny and engine temps’ then back to batt volts again with a 4 sec delay between screens.
I’ve already started on m second one as this board has limited inputs (6 analogue). I’ve got a new one coming with 16 as I want to display a bar graph type display or MAF output, Altitude and a DTE (distance to empty)setup using both fuel tank capacities. Will keep you updated with the setup when the new one goes in.
Paul

Silver
9th August 2012, 12:58 AM
Clever!

Saw stuff promoting arduino and a couple of books about it, and some bits and pieces at Jaycar. Looked too hard for me, and I didn't see the applications you have, so I left it all in the shop :-)

teno45
9th August 2012, 09:56 AM
Looks great! Have had a little bit to do with the arduino myself. Made a steering wheel control system for iPod in my old commodore. Was contemplating doing something similar to what you've got there.

Sent from my GT-I9100 using Tapatalk 2

adventurepaul
9th August 2012, 10:24 AM
Yes Jaycar have started selling freetronics brand stuff. Bit pricey like everything they sell, but if you cant wait for eBay, I guess its Ok.

ripper
22nd September 2012, 02:38 AM
Wow. I'd love to do this, but I'm not sure if I'm up to it.

What's the display screen that you used?

Is a Raspberry Pi (http://www.raspberrypi.org/quick-start-guide) similar, better, worse, or totally different?

Can an average dummy (I've learnt a little html) learn how to code this?

adventurepaul
27th September 2012, 05:53 PM
The Pi is similar just not that common. Arduino stuff is everywhere and all open source code so easy to mod. I used the 16x2 (16 caracters with 2 lines) Ebay or Jaycar for all parts. Still under construction version 2 with Altitude more temps and fuel distance to empty. Just got to finish all my other projects first.
http://www.ebay.com.au/itm/Mega-1280-ATMEGA1280-54-I-O-Pin-USB-Cable-Arduino-Compatible-Board-00916-/261100661432?pt=LH_DefaultDomain_15&hash=item3ccacfeab8#ht_979wt_1397
http://www.ebay.com.au/itm/New-5v-1602-LCD-Display-Module-Blue-Arduino-2560-UNO-R3-ARV-STM32-ARM-/251111967510?pt=AU_Toys_Hobbies_Radio_Controlled_V ehicles&hash=item3a77708b16#ht_1973wt_1163
http://www.ebay.com.au/itm/5-pcs-LM35-LM35DZ-CENTIGRADE-TEMPERATURE-SENSORS-/300553702091?pt=AU_B_I_Electrical_Test_Equipment&hash=item45fa658acb#ht_956wt_1163

ripper
27th September 2012, 07:01 PM
Awesome. Thanks heaps for that.
Can you please share pics and details of your new set up when it's done?
I want to start with a temp gauge for our auto trans, plus a low coolant alarm, and a engine temp alarm.
For the low coolant alarm I think I need to use an AC circuit rather than a DC one, to avoid the risk of electrolysis. Hopefully an Arduino can do that for me.

adventurepaul
27th September 2012, 10:03 PM
This would be easy to do. I wouldnt bother with the AC. The input to the Arduino to trigger the alarm will be a 1-5v dv signal. Either converted from the engine coolant temp sensor or a LM35 type sensor. Code will be ..when 100deg reached sensor puts out say 5v and triggers a piezo buzzer. thought about this myself for the 550 deg EGT point.

ripper
27th September 2012, 11:10 PM
This is the sensor I had in mind for the low coolant level (blown hose, punctured radiator, etc), www.ebay.com.au Coolant Level Sensor (http://www.ebay.com.au/itm/120984326253?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649).
I don't see how a LM35, or the factory temp sensor can do the same job as this can?

Opinions seem a bit mixed on weather there's an electrolysis risk. Some say a really low current eliminates the danger, others say you shouldn't use DC at all.

MudRunnerTD
27th September 2012, 11:19 PM
Hey bud once you have this sorted with all the extras your talking about you really should consider putting a few together and sell them as i reckon if you can make them a relatively simple plug and play job your on a winner for sure and a few hunderd bux each you would fetch easy. No idea what it has cost you but you'd make it back i reckon and then some. Nissan sold a heap of that engine.

Looks great

adventurepaul
28th September 2012, 11:58 PM
This is the sensor I had in mind for the low coolant level (blown hose, punctured radiator, etc), www.ebay.com.au Coolant Level Sensor (http://www.ebay.com.au/itm/120984326253?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649).
I don't see how a LM35, or the factory temp sensor can do the same job as this can?

Opinions seem a bit mixed on weather there's an electrolysis risk. Some say a really low current eliminates the danger, others say you shouldn't use DC at all.

I was thinking temp alarm not no water alarm. The sensor would work but this can easy be done with a relay led and peizo buzzer. If you want to use with the arduino a ultrasonic sensor would work and no electrolysis worry.

ripper
18th October 2012, 12:19 PM
Sorry for not getting back sooner. Got the flu and it really floored me.


If you want to use with the arduino a ultrasonic sensor would work and no electrolysis worry.

I really like the ultrasonic idea, but couldn't find an affordable sensor which could handle the temperatures.

That brings me back to the electrodes version. I found an integrated circuit that is perfect for running an ac current to the probes, so now I'm wondering if an Arduino can do the same as this IC?
http://www.nissanpatrol.com.au/forums/images/imported/2012/10/1.png

If the Arduino can't do that, I'll set up the low coolant alarm as a stand alone system, and use the Arduino for my trans temp gauge, engine temp gauge, and I'm also thinking of using it to replace the LPG and petrol gauges which are hopeless.

So here's my shopping list

Arduino (http://www.ebay.com.au/itm/Mega-1280-ATMEGA1280-54-I-O-Pin-USB-Cable-Arduino-Compatible-Board-00916-/251165102481?pt=LH_DefaultDomain_15&hash=item3a7a9b5191)
Screen (4 lines for more detail) (http://www.ebay.com.au/itm/170802633404?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649)
Plate to mount the screen in (http://www.ebay.com.au/itm/180768003293?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649)
Temp sensor to glue onto the engine (http://www.ebay.com.au/itm/5-pcs-LM35-LM35DZ-CENTIGRADE-TEMPERATURE-SENSORS-/300553702091?pt=AU_B_I_Electrical_Test_Equipment&h ash=item45fa658acb#ht_956wt_1163&clk_rvr_id=399640486057)
Probe for low coolant alarm (http://www.ebay.com.au/itm/110965483857?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649)
Mounting to put the probe into the radiator hose (http://www.ebay.com.au/itm/300703212026?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649)

A box for the Arduino and some wires to connect everything will be easy to work out, but I still need to find a suitable temp sender for the auto trans fluid, and to find out if I need to buy a separate IC, or if the Arduino can do the whole job.
Then I have the fun of learning to program it.

harro959
4th November 2012, 02:57 PM
Nice job. i was also thinking of doing something similar.. i even started but then got bored with writing code :(

An idea for you, you can get arduinos to talk to android devices, plus there are now android based double din car stereos... you see where im gong?

Fast and the furious type computer display with whaterever type of input and graphical display your heart could dream of. Plus then you could run ozie explorer off the double din stereo too as its android.

Tux
17th November 2012, 02:58 PM
Paul,
Nice work indeed are you prepared to share the source code, and what sensors you uesd and which 16x 2 display.

I have been developing a digital speedo using two arduino's one to represent speedo drive output and then one as digital speedo.
with program selectable over speed thresholds.

Longer term would also use it to supply pules to cruise control unit.

adventurepaul
25th December 2012, 03:54 PM
An idea for you, you can get arduinos to talk to android devices, plus there are now android based double din car stereos... you see where im gong?

Fast and the furious type computer display with whaterever type of input and graphical display your heart could dream of. Plus then you could run ozie explorer off the double din stereo too as its android."
Yes you can get android/ bluetooth shields for Arduino's. Buddy of mine is doing a remote start on his nav with one. I run Ozi on my WindowsCE chinease 7"DVD GPS so u dont need an android version. However i find that program runs real slow unless u have bulk RAM, like +2 gigs.

"Nice work indeed are you prepared to share the source code, and what sensors you uesd and which 16x 2 display"
I guess i can, i found most on forums anyway. Im still in Canada till next year. Was planning on it when i get the DTE Version and altitude going. Its all on my home pc so will have to wait.
The temp sensors i used are LM 35, the Arduino site has code for these and battery is easy, just drop the volts to <5v max input and convert the output to read to 12.

Sorry for the late replys havent visited here for a while now, having too much fun:-):-):-):-)

GQ TANK
26th January 2013, 12:42 AM
Im doing the sane - using the arduino from jaycar (freetronics model 11) and the Jaycar lcd screen.

The software is very simalr to C++, and easy to drive

I used this code http://www.clarenceho.net:8123/blog/articles/2009/05/17/arduino-test-voltmeter to make a simple volt meter. As most sensor are based on a volt meter type rady it should be easy to change the setting as required.

Note change the lcd setting to this if you use the jaycar lcd

LiquidCrystal lcd(8, 9, 4, 5, 6,7);

Flex
22nd February 2015, 01:59 PM
adventurepaul,

Is this project still on the go?

Fox7
21st April 2015, 06:47 PM
Arduino has numerous applications, various inputs, various display methods using one PCB. Good thread mate!

GQ TANK
10th June 2015, 12:31 AM
My latest running arduino project is a gps based speedo using a 2 line LCD with custom graphics for the speedo numbers (2 * 3) blocks - making it easier to read.

Additonaly I use the GPS based time to dim the back light between 7 Pm - 7 Am

The parts list is a GPS receiver, arduino nano board and a 2 * 14 seerial display.

Agronaught
10th June 2015, 07:47 AM
Nicely done. I've been thinking of doing something similar using one of the displays from 4d systems which would almost fit a normal instrument cluster.

http://www.4dsystems.com.au/product/uLCD_220RD/

GQ TANK
10th June 2015, 10:11 PM
The 4d displays are smart with a number of inputs etc - you dont need a arduino to run the display

We have been playing with a uLCD-43DCT at work to make a smart control panel to switch a number of receivers

http://www.4dsystems.com.au/products