follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Speed By Design
Register Garage Members List Calendar Search Today's Posts Mark Forums Read

Go Back   Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB > Technical Topics > Electronics | Audio | NAV | Infotainment

Electronics | Audio | NAV | Infotainment Anything related to in-car electronics, navigation, and infotainment.


User Tag List

Reply
 
Thread Tools Search this Thread
Old 10-01-2014, 03:31 AM   #1
robot
There are now 2 carseats!
 
Join Date: Nov 2012
Drives: 2013 DGM BRZ
Location: The Emerald City
Posts: 434
Thanks: 21
Thanked 166 Times in 75 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
I built a gauge...it replaces the clock...

Instructables link with a lot of extra info: http://www.instructables.com/id/Cust...With-OEM-Look/

[ame="https://www.youtube.com/watch?v=JxrBOSxr0Ic&"]BRZ clock replaced by obd ii gauge - YouTube[/ame]

This is the closest to a "finished product" I've come with one of my gauge projects. It takes the place of the OEM clock and shows oil temp, coolant temp, battery voltage, a/f ratio and intake temp. I'll post all the info as an FAQ sort of thing:

1) What did you use to make this?
An arduino, specifically the "Pro Trinket" sold by adafruit (https://www.adafruit.com/products/2000), a UART OBD II board sold by sparkfun (https://www.sparkfun.com/products/9555), wires, and a 128x32 SPI monochrome OLED display. Oh and some solder and more wires, and a couple resistors, and electrical tape.

2) How long did it take?
Less than 9 months for this iteration (The wife is pregnant, I wanted to "finish" before the birth of our next child). My wife would tell you it took longer. I had another gauge project (non-OBDII) that used off the shelf senders and was started and quasi finished about 6 years ago (https://code.google.com/p/robotmeter/).

3) Why OLED?
Because it fit in the space, it is viewable from a lot of angles, an easy to use API for the display was available, I can see it easily with polarized sunglasses (visibility is better than the headunit), low power, etc. Also, I tried to screw with the clock and figure out the multiplexing scheme it uses, but failed...got close...but failed.

4) Why is it ricer blueish/white?
Because that is the only color the display came in. I do want to experiment with placing a tint in front of it to get an amber/red color that matches the other interior lighting. Ideas in this area would be helpful.

5) Will it eat battery with the car off?
It shouldn't. The OBD II board's chip has a cool "sleep" feature that goes to ultra low power draw if it isn't being queried for anything. The board that drives it (the arduino) only powers on when the car is powered on (it's plugged into a usb cig lighter adapter right now).

6) What are your future plans for it?
-Leave it in the car and drive with it for a while.
-Make the warning function work (blink or something when a threshold is met).
-Write a function that is called periodically and checks the non-visible readings for warning thresholds being met and then warning the user.

7) What else could it do?
It can read any CAN or OBD II reading that the BRZ supports. I am probably not going to get into the business of CANbus sniffing (the aforementioned newborn will steal time from such projects), but if people share their CAN sniffing results (like people have for the oil temp) I could possibly include them in this. I also have code from the previously mentioned old project that will let me do accelerometer, oil pressure, oil temperature, boost pressure, air temperatures, etc.

8) Cool, I want one, sell it to me, make me one (NOWNOW MEMEME!). Will you commercialize it?
Maybe. A lot of things would have to be solved.
-Hacking up the stock clock is messy. I'm sure I could get better at it and do it in a reliable way, but it would still be sort of a hack.
-My current solution for getting the buttons to work is at best a temporary hack and would need to be better.
-Packaging the OBD II board and the arduino together would need to be done.
-I'd love to make some mod/beer money on the side with this, I'm just not sure how. All of the code used is open source, all of the hardware used is open source, even my code is open source. So, there is nothing stopping anyone from doing this as a service. There is no real secret sauce here.

Thanks and other links:
-Sparkfun WIG ELM327 library from David Irvine (released under the GNU license). I forked it and added a little too it (https://www.clusterfsck.io/blog/2014...lm327-library/).
-Whoever found the CAN PID for oil temperature, you are a prince among men.
-The adafruit libraries for SPI graphics that make the little icons possible.
-I used the Stino Sublime Text 2 editor to write all of the code. It blows the regular arduino one out of the water.
-The robot head graphic is modified from something given to me (Creative Commons licensed) a while ago for another project. I've lost touch with the guy, but his screen name was "Hands Down" and I met him on iwsti.com .
-My code is here: https://github.com/stirobot/arduinoModularTFTgauges, specifically this file: https://github.com/stirobot/arduinoM...IrvinedLib.ino

Last edited by robot; 10-19-2014 at 12:40 PM.
robot is offline   Reply With Quote
The Following 37 Users Say Thank You to robot For This Useful Post:
Ametatsu (10-16-2014), ATL BRZ (10-01-2014), continuecrushing (10-16-2014), Creole (11-05-2014), DAEMANO (10-01-2014), Deslock (10-14-2014), Drakiv (10-29-2018), ElijahF (11-23-2019), enouf (12-08-2014), Flat Black VW (10-11-2014), Foobar (10-01-2014), fstlane (10-01-2014), garfull (12-09-2014), ivan001100 (12-16-2019), JoeC (10-01-2014), Kiske (10-28-2014), Koa (12-06-2014), Lonewolf (10-26-2014), mike_ekim1024 (12-20-2015), Monkey_Boy (01-19-2015), NWFRS (11-11-2014), Pat (10-02-2014), Pwolf (12-30-2015), Racecomp Engineering (10-24-2014), sato (09-27-2020), SkAsphalt (01-26-2015), SPCorBUST (06-28-2018), Sportsguy83 (10-29-2014), thatfilipinoguy (10-01-2014), Timmy_Jones (09-09-2015), Trap63 (01-16-2015), Turbowned (10-01-2014), Ultramaroon (10-11-2014), unsurety (10-27-2014), vgi (01-01-2015), wheelhaus (10-02-2014), woode (10-02-2014)
Old 10-01-2014, 03:37 AM   #2
powerj2
Senior Member
 
powerj2's Avatar
 
Join Date: Jun 2012
Drives: 2013 Scion FRS
Location: St.Johns Newfoundland
Posts: 213
Thanks: 142
Thanked 104 Times in 47 Posts
Mentioned: 3 Post(s)
Tagged: 1 Thread(s)
Do this for me? Ill pay.
__________________

Pew
powerj2 is offline   Reply With Quote
The Following 2 Users Say Thank You to powerj2 For This Useful Post:
kiichiro (12-08-2014), robot (10-01-2014)
Old 10-01-2014, 04:27 AM   #3
Guff
Now w/ over 400 womprats!
 
Guff's Avatar
 
Join Date: Nov 2011
Drives: BRZ LZR
Location: Texas/Illinois
Posts: 4,785
Thanks: 10,452
Thanked 3,420 Times in 1,424 Posts
Mentioned: 301 Post(s)
Tagged: 4 Thread(s)
Garage
:O
__________________
"Sweet Subaru, sweet Subaru, send your BRZ unto me, for the roads of the unworthy must be baptized in speed and glory."
- The Ancient BRZ Sacrament
by Zaku
Guff is offline   Reply With Quote
Old 10-01-2014, 08:55 AM   #4
s0sl0w
Proud of Boxer
 
Join Date: May 2013
Drives: 2013 BRZ
Location: Maryland
Posts: 501
Thanks: 176
Thanked 273 Times in 136 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Very impressive. This should be commercialized. I'd guess a 3d printer and some spare clock faces could go a long way towards prototyping this?
s0sl0w is offline   Reply With Quote
Old 10-01-2014, 08:58 AM   #5
Foobar
SLO NO MO
 
Foobar's Avatar
 
Join Date: Jul 2012
Drives: '19 Tesla Model 3 Performance
Location: NY, USA
Posts: 2,961
Thanks: 224
Thanked 1,062 Times in 738 Posts
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Garage
Nice job! I'd swap my P3Cars vent gauge for this.

Sent from my Nexus 5 using Tapatalk
Foobar is offline   Reply With Quote
The Following 2 Users Say Thank You to Foobar For This Useful Post:
robot (10-01-2014), Stomachbuzz (11-24-2019)
Old 10-01-2014, 10:04 AM   #6
Gopherboy6956
Senior Member
 
Gopherboy6956's Avatar
 
Join Date: Feb 2013
Drives: 13 BRZ Limited WRB
Location: Fargo, ND
Posts: 723
Thanks: 17
Thanked 296 Times in 195 Posts
Mentioned: 12 Post(s)
Tagged: 0 Thread(s)
Definitely cool as hell. Put me on the list if you decide to make more and sell them.

100% serious.
__________________
I plan to live forever. So far, so good.
My Build - http://www.ft86club.com/forums/showthread.php?t=31925
Gopherboy6956 is offline   Reply With Quote
The Following 2 Users Say Thank You to Gopherboy6956 For This Useful Post:
DAEMANO (10-02-2014), robot (10-01-2014)
Old 10-01-2014, 10:06 AM   #7
post_break
Professional Smartass
 
post_break's Avatar
 
Join Date: Jul 2012
Drives: White Out FRS
Location: Houston TX
Posts: 1,126
Thanks: 114
Thanked 610 Times in 308 Posts
Mentioned: 51 Post(s)
Tagged: 0 Thread(s)
Garage
It's kinda small.
post_break is offline   Reply With Quote
The Following User Says Thank You to post_break For This Useful Post:
OICU812 (10-16-2014)
Old 10-01-2014, 10:11 AM   #8
Turbowned
Senior Member
 
Turbowned's Avatar
 
Join Date: Mar 2012
Drives: 2017 Subaru BRZ Perf Pack 6MT
Location: Colorado Springs
Posts: 5,048
Thanks: 1,949
Thanked 1,945 Times in 1,150 Posts
Mentioned: 27 Post(s)
Tagged: 0 Thread(s)
Garage
Very cool man!
__________________

Current: 2005 Porsche 911 Carrera S 6MT
Previous: 2 BRZ's, 997 C2S, C5 RS6, C4 S6, B8 S4, GDB STi, S30 240Z, FC3S RX-7 TII, AW11/SW20 MR2, E30 318is/325i, etc.
Turbowned is offline   Reply With Quote
The Following User Says Thank You to Turbowned For This Useful Post:
robot (10-01-2014)
Old 10-02-2014, 08:26 AM   #9
Foobar
SLO NO MO
 
Foobar's Avatar
 
Join Date: Jul 2012
Drives: '19 Tesla Model 3 Performance
Location: NY, USA
Posts: 2,961
Thanks: 224
Thanked 1,062 Times in 738 Posts
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Garage
In addition to the PID's you're monitoring, would it be possible to also capture and display Boost/Vacuum, Ignition Timing, EGT, Throttle Plate Position, Speed, and RPM? I believe these are all available through OBD2.
Foobar is offline   Reply With Quote
Old 10-02-2014, 09:15 AM   #10
yomny
Senior Member
 
yomny's Avatar
 
Join Date: Jul 2012
Drives: 2013 FRS Whiteout
Location: MIA
Posts: 1,545
Thanks: 557
Thanked 469 Times in 340 Posts
Mentioned: 33 Post(s)
Tagged: 5 Thread(s)
This is very useful, it is small but i don't think most will need a 3" gauge to quickly check a temp. Very nice, sell please.
__________________
GTX2867R, moto-tuned , tomei op , motiv fp , Invidia Q300 ti , Rota titan 17x9 +42 , nt555 255/40 , ST coilovers w/cascam , Hotchkis sways
yomny is offline   Reply With Quote
Old 10-02-2014, 09:38 AM   #11
robot
There are now 2 carseats!
 
Join Date: Nov 2012
Drives: 2013 DGM BRZ
Location: The Emerald City
Posts: 434
Thanks: 21
Thanked 166 Times in 75 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Foobar View Post
In addition to the PID's you're monitoring, would it be possible to also capture and display Boost/Vacuum, Ignition Timing, EGT, Throttle Plate Position, Speed, and RPM? I believe these are all available through OBD2.
boost vac - I think this works, but only shows vac for the brz.
Ignition timing - should work
EGT - not via obd2 and I haven't written code for an off the shelf sender.
Throttle position - works via obd2
Speed and rpm work via obd2,but I'm not sure why anyone would want another display that shows these. I always wonder why people have them on their torque app displays.
robot is offline   Reply With Quote
Old 10-02-2014, 11:41 AM   #12
shiro
Senior Member
 
shiro's Avatar
 
Join Date: Apr 2013
Drives: 2013 Scion FR-S, 2014 Lexus IS350
Location: Nebraska
Posts: 372
Thanks: 337
Thanked 122 Times in 91 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
Garage
I as well am very impressed. I love seeing all the different types of ideas and innovations people come up with. Great job!
__________________
shiro is offline   Reply With Quote
Old 10-02-2014, 11:50 AM   #13
Foobar
SLO NO MO
 
Foobar's Avatar
 
Join Date: Jul 2012
Drives: '19 Tesla Model 3 Performance
Location: NY, USA
Posts: 2,961
Thanks: 224
Thanked 1,062 Times in 738 Posts
Mentioned: 34 Post(s)
Tagged: 0 Thread(s)
Garage
Quote:
Originally Posted by robot View Post
boost vac - I think this works, but only shows vac for the brz.
Ignition timing - should work
EGT - not via obd2 and I haven't written code for an off the shelf sender.
Throttle position - works via obd2
Speed and rpm work via obd2,but I'm not sure why anyone would want another display that shows these. I always wonder why people have them on their torque app displays.
For those of us that are FI - the Vac reading should go positive in boost.

Speed would be a novelty thing to have - if you can pull in Speed, then it would be a simple logic exercise to create a 0-60 function, assuming you have a timer function.

RPM not really necessary, but might have some other novelty value as well - a user-defined shift light indicator or something, I dunno.
Foobar is offline   Reply With Quote
Old 10-02-2014, 12:57 PM   #14
yomny
Senior Member
 
yomny's Avatar
 
Join Date: Jul 2012
Drives: 2013 FRS Whiteout
Location: MIA
Posts: 1,545
Thanks: 557
Thanked 469 Times in 340 Posts
Mentioned: 33 Post(s)
Tagged: 5 Thread(s)
Quote:
Originally Posted by robot View Post


This is the closest to a "finished product" I've come with one of my gauge projects. It takes the place of the OEM clock and shows oil temp, coolant temp, battery voltage, a/f ratio and intake temp. I'll post all the info as an FAQ sort of thing:

1) What did you use to make this?
An arduino, specifically the "Pro Trinket" sold by adafruit (https://www.adafruit.com/products/2000), a UART OBD II board sold by sparkfun (https://www.sparkfun.com/products/9555), wires, and a 128x32 SPI monochrome OLED display. Oh and some solder and more wires, and a couple resistors, and electrical tape.

2) How long did it take?
Less than 9 months for this iteration (The wife is pregnant, I wanted to "finish" before the birth of our next child). My wife would tell you it took longer. I had another gauge project (non-OBDII) that used off the shelf senders and was started and quasi finished about 6 years ago (https://code.google.com/p/robotmeter/).

3) Why OLED?
Because it fit in the space, it is viewable from a lot of angles, an easy to use API for the display was available, I can see it easily with polarized sunglasses (visibility is better than the headunit), low power, etc. Also, I tried to screw with the clock and figure out the multiplexing scheme it uses, but failed...got close...but failed.

4) Why is it ricer blueish/white?
Because that is the only color the display came in. I do want to experiment with placing a tint in front of it to get an amber/red color that matches the other interior lighting. Ideas in this area would be helpful.

5) Will it eat battery with the car off?
It shouldn't. The OBD II board's chip has a cool "sleep" feature that goes to ultra low power draw if it isn't being queried for anything. The board that drives it (the arduino) only powers on when the car is powered on (it's plugged into a usb cig lighter adapter right now).

6) What are your future plans for it?
-Leave it in the car and drive with it for a while.
-Make the warning function work (blink or something when a threshold is met).
-Write a function that is called periodically and checks the non-visible readings for warning thresholds being met and then warning the user.

7) What else could it do?
It can read any CAN or OBD II reading that the BRZ supports. I am probably not going to get into the business of CANbus sniffing (the aforementioned newborn will steal time from such projects), but if people share their CAN sniffing results (like people have for the oil temp) I could possibly include them in this. I also have code from the previously mentioned old project that will let me do accelerometer, oil pressure, oil temperature, boost pressure, air temperatures, etc.

8) Cool, I want one, sell it to me, make me one (NOWNOW MEMEME!). Will you commercialize it?
Maybe. A lot of things would have to be solved.
-Hacking up the stock clock is messy. I'm sure I could get better at it and do it in a reliable way, but it would still be sort of a hack.
-My current solution for getting the buttons to work is at best a temporary hack and would need to be better.
-Packaging the OBD II board and the arduino together would need to be done.
-I'd love to make some mod/beer money on the side with this, I'm just not sure how. All of the code used is open source, all of the hardware used is open source, even my code is open source. So, there is nothing stopping anyone from doing this as a service. There is no real secret sauce here.

Thanks and other links:
-Sparkfun WIG ELM327 library from David Irvine (released under the GNU license). I forked it and added a little too it (https://www.clusterfsck.io/blog/2014...lm327-library/).
-Whoever found the CAN PID for oil temperature, you are a prince among men.
-The adafruit libraries for SPI graphics that make the little icons possible.
-I used the Stino Sublime Text 2 editor to write all of the code. It blows the regular arduino one out of the water.
-The robot head graphic is modified from something given to me (Creative Commons licensed) a while ago for another project. I've lost touch with the guy, but his screen name was "Hands Down" and I met him on iwsti.com .
-My code is here: https://github.com/stirobot/arduinoModularTFTgauges, specifically this file: https://github.com/stirobot/arduinoM...IrvinedLib.ino
I know the more the marrier but it may not be that simple. I'll take what you have if you're willing to make it. Its a simple very minimalist way of keeping an eye on temps specially oil and water for those who run their cars. I know all the other stuff is great but maybe a gauge would be better suited for those 0-60, boost vacuum...
yomny is offline   Reply With Quote
 
Reply

Tags
gauge, gauges, obd2

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Defi Oil Pressure Gauge and Cravenspeed Flexpod Gauge Mount Install and Review Tye300 Cosmetic Modification (Interior/Exterior/Lighting) 10 05-22-2015 01:48 PM
FS: 2013+ Subaru BRZ/Scion FR-S Nameless 2.5" Downpipe (Replaces Overpipe) bobsacamenoh Engine, Exhaust, Bolt-Ons 8 08-09-2014 02:19 AM
Nameless 2.5" Downpipe (Replaces Overpipe) - Don't know what you've got... bobsacamenoh Engine, Exhaust, Transmission 1 08-07-2014 08:40 PM
Clock module robot Want-To-Buy Requests 0 06-19-2014 07:52 PM
CLOCK QUESTION poudre BRZ First-Gen (2012+) -- General Topics 16 07-02-2012 03:20 PM


All times are GMT -4. The time now is 12:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

Garage vBulletin Plugins by Drive Thru Online, Inc.