Arduino CAN-BUS OBD Gas Gauge

by winneymj on Wed Nov 23, 2011 8:26 pm

Image
My inspiration for developing this gas gauge was after purchasing a new car (Scion Xa) and wondering what MPG I was getting. After much research on ODBII protocols (Scions support CAN-BUS), and looking into open source software that already existed (OBDuino32K) I delved into my first Arduino project. This project has taken me over a year to put together from building my own CAN-BUS shield, learning to design a circuit board, soldering SMD parts and then building my own enclosure so I could mount it in my car.
Sorry about the limited details on how to build it. Next project I will document fully. Click here for details.
winneymj
 
Posts: 14
Joined: Mon Apr 25, 2011 6:51 pm

Re: Arduino CAN-BUS OBD Gas Gauge

by cstratton on Wed Nov 23, 2011 8:53 pm

Cool project! And creative idea with the kerfed wood to make the curved housing walls.
User avatar
cstratton
 
Posts: 253
Joined: Wed Sep 29, 2010 2:52 pm

Re: Arduino CAN-BUS OBD Gas Gauge

by adafruit_support_bill on Thu Nov 24, 2011 6:11 am

Very nice work! Thanks for posting :D
User avatar
adafruit_support_bill
 
Posts: 25363
Joined: Sat Feb 07, 2009 9:11 am

Re: Arduino CAN-BUS OBD Gas Gauge

by cruzer on Thu Feb 23, 2012 2:54 pm

A lot of us like building small gadgets and a lot of us like driving. Why not combine both by providing an adafruit-OBD2 open source adapter which can communicate with any smartphone via bluetooth? Add a little software skeleton for android and maybe iOS to access the devide and let the people write their own software (for me, I have some GPS-based fuel-recorder in mind which after a little time learned your daily route and can suggest the most fuel-efficient driving). I'm especially asking, because I don't have the time to develop the whole electronics from ground-up, but like soldering and tweaking electronics as well as writing software.
cruzer
 
Posts: 9
Joined: Mon Jul 04, 2011 4:58 am

Re: Arduino CAN-BUS OBD Gas Gauge

by jorloujr on Tue Apr 17, 2012 11:25 am

winneymj, I simply loved it !

I have it up and running in debug mode waiting for my MCP2515 + MCP2551 to arrive, eager to plug it in my car ... ( Arduino Uno + LCD keypad shield )

There are a couple of things I´d like to see modified to suit my needs and many other users I guess:

First and very important one: display fuel consumption in kilometers per liter [ km/l ] instead of liters per 100 km [ l/100 km ]. That´s the way people understand it in many countries around the world, it will be utterly useful. We must have this option, otherwise one of the most important OBDuino functions is useless to many people ...

Second: I´ve got a LCD keypad shield like this one:

www.dfrobot.com/index.php?rout...]LCD Shield For Arduino

I tweaked the code to suit the display pinout and it works fine but the keypad is of the analog kind and adapting the code is not so easy for an Arduino noobie ... that shield is very popular among 'duino entusiasts, this mod would make life a lot easier by a great deal and would benefit many.

Thank you so much, buddy ;-)
jorloujr
 
Posts: 2
Joined: Tue Apr 17, 2012 11:21 am

Re: Arduino CAN-BUS OBD Gas Gauge

by cruzer on Tue Apr 17, 2012 11:54 am

My interest decreased significantly after I've purchased an ELM327 compatible bluetooth OBD adapter (cheaper than an Arduino board) which easily can be accessed from an Android smartphone.
cruzer
 
Posts: 9
Joined: Mon Jul 04, 2011 4:58 am

Re: Arduino CAN-BUS OBD Gas Gauge

by l5o5g5a5n5 on Fri Oct 18, 2013 4:09 pm

@winneymj unfortunately the page you linked to is down. is there any way you could post the source code?
l5o5g5a5n5
 
Posts: 3
Joined: Thu Sep 20, 2012 8:46 pm