Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   DIY (Do-It-Yourself) Guides (https://www.ft86club.com/forums/forumdisplay.php?f=43)
-   -   Arduino Gauge, Looking for Colab (https://www.ft86club.com/forums/showthread.php?t=98561)

Akya2120 12-07-2015 12:14 AM

Arduino Gauge, Looking for Colab
 
Hey,

Was wondering if there are any code gurus on here that could work with me on building an Arduino oil pressure and temp gauge. I would build and test the circuit you'd have to figure out how to interface with the OBD2 for the oil temp and the oil pressure would have to interface with a oil pressure sensor.

Together we will discuss where to mount the screen and what the design for the bracket is. I am a designer can 3D print the mounts/brackets/fascias for making it fit together.

I already have an arduino mega for testing, but I would imagine we would want to use one of the smaller boards for implementation. We could also allow for extra functionalities like logging, or exhaust temp gauges, intake temps, et cetera. But, I believe for now the base functionality should just be getting temp and pressure for oil.

I propose that once we complete the project we make the 3D model, and code publicly available. That way everyone can have a fairly reasonable access to a sleek looking oil pressure and temp gauge that doesn't cost an arm and a leg. My interest was driven by this unit primarily, and not wanting to spend ~$500 to have it in my car.

Hoping someone can help me make this happen. Thanks for the interest.

stugray 12-07-2015 12:30 AM

Reading and displaying the oil pressure from an off the shelf pressure gauge is trivial.


Pulling the oil temp from the OBD port would be more difficult than just reading it from a separate temp sensor.


I have an arduino datalogger in my racecar that logs all of the essential data and displays it on my phone like torque.
It just reads analog voltages from the oil temp & pressure gauges that are already in the car.


Check this out for arduino prototypes:


https://123d.circuits.io/

Akya2120 12-07-2015 12:34 AM

There may be a way to tap the oil temp sensor directly that is already in the engine but I am unsure. It would take someone with more technical knowledge of the engine and it's components to make that observation. That avoids having to interpret OBD2 data, although that kind of interface might be more advantageous.

stugray 12-07-2015 03:05 AM

If you just included a ELM327 OBD module, then the arduino could access the OBD data over Bluetooth.


Those modules are only about $10.
I have one and number of various Arduino boards.
Just none with a Bluetooth shield/adapter.


There is also a CAN Bus shield, but that is ~$20 right there.

Akya2120 12-08-2015 04:56 AM

The CAN Bus shield seems like a pretty good option. I think it is reasonable to spend ~$100 on an open source gauge which is expandable to other useful functionalities. It should definitely have a button or three. I like the idea of putting the gauge in the vent like the one I posted earlier, but at the same time I'd love to do something fancy (which doesn't reduce the functionality of another feature.) Like producing a replacement defroster vent that can house a screen for projecting the information on the windshield (kinda like this but not tacky as all hell.) Regardless I think making a replacement for that vent would be a good position to house a gauge. Opinions?

Is anyone familiar enough with the CAN Bus shield (or code) to tweak a script which has already be written to do what we want? I did a little reading, but from what I could find nothing specifically said it could be used to poll oil temps. It seems with the other capabilities it is reasonable to assume that it could, but perhaps someone more familiar with the tech could chime in.

Thanks for the interest and input thus far! Hopefully we can keep the ball rolling and put together a tutorial for making a well integrated and affordable solution to monitoring our engine's health.

brz880 12-08-2015 06:40 PM

Check out http://www.ft86club.com/forums/showthread.php?t=75181

Akya2120 12-09-2015 04:05 AM

Well that makes life easy... Now to pick a screen (I like that one, but it might be impractical. also finding a way to make a pin out for an arduino may prove difficult.) Then find some buttons, and design an enclosure that fits the where the old vent goes. Out of curiosity, does anyone know how hard it is to get that vent piece out of the dash/how hard it would be to plumb wires into it?

Captain Curt 12-09-2015 08:32 PM

Quote:

Originally Posted by Akya2120 (Post 2474405)
Well that makes life easy... Now to pick a screen (I like that one, but it might be impractical. also finding a way to make a pin out for an arduino may prove difficult.) Then find some buttons, and design an enclosure that fits the where the old vent goes. Out of curiosity, does anyone know how hard it is to get that vent piece out of the dash/how hard it would be to plumb wires into it?

If you're looking for a screen, I highly recommend Adafruit or https://www.sparkfun.com/categories/76. They have a lot of plug-and-play options with PCB+driver+display solutions, and the support for their products is top notch.

If you ever have any Arduino related questions feel free to contact me. I've been toying around with them for years and have even designed my own scalable driver board for driving RGB LED's to give you an idea of current skill level:

[ame="https://www.youtube.com/watch?v=JpRtEYmvBlY"]RainBoard - RGB LED Rainbow Fader - YouTube[/ame]

ze12o 12-10-2015 01:50 AM

im interested in contributing. i have also been toying around with this idea, and you read my mind about open source.

i have some ideas

Akya2120 12-10-2015 05:51 PM

Nice! Sounds like we can all work together.

Anyone know if there is a technical drawing of that vent laying around? Otherwise I will have to just go buy one and take a bunch of measurements, or get an Xbox connect and scan it.

The open source is cool because someone else might add some functionality or modify it and make it a better and/or more visually appealing unit.

I also thought about putting it in the plastic piece to the left of the head unit but producing that piece might be a little harder with a 3D printer.

Mazikowski 12-15-2015 12:19 PM

Depending on how you want to do the gauge(s), 4D Systems has a 1.38" (35mm) round LCD.
http://www.4dsystems.com.au/product/uLCD_220RD/

Racecomp Engineering 12-15-2015 02:31 PM

@robot (sending out the robot signal)

I wish I could help guys, but I'll at least be interested in following along.

- andrew

Sly_Don 01-03-2016 02:59 AM

I'm currently working on something similar to this with an arduino as well.
The elm327 is pretty useful. I'm using this spark fun obd2 interface board which has everything built in for a bit more money than just an elm. https://www.sparkfun.com/products/9555
As mentioned above the 4d systems stuff is pretty good and you can get them with they a built in processor with graphics libraries which takes the graphics load off the arduino. I'm using some of their screens for my project.

Sent from my D5833 using Tapatalk

pandamancer 01-03-2016 03:36 AM

Subbed and available for collaboration.

I've been pondering/planning a setup which would capture these requirements for a while now.

Books 01-14-2016 12:50 PM

Subbed, I'm also in the process of making an oil temp gauge. Work has been kept me pretty busy lately, so hopefully by summer I should have something working.

There's already libraries that can talk OBDII already, so it shouldn't be too bad.

Mazikowski 01-14-2016 04:08 PM

I've been tossing around an idea for some gauges but would really need to be able to directly interpret the CAN messages instead of polling OBDII data.

Sly_Don 01-14-2016 05:48 PM

While I haven't played around with CAN stuff on mine yet, I believe the Spark Fun board I linked above can interface with CAN.

Sent from my D5833 using Tapatalk

nova.86 01-14-2016 10:14 PM

Computer Engineer major here, subbed for interest!

Mazikowski 01-15-2016 09:50 AM

Quote:

Originally Posted by Sly_Don (Post 2509424)
While I haven't played around with CAN stuff on mine yet, I believe the Spark Fun board I linked above can interface with CAN.

Sent from my D5833 using Tapatalk

That's the board I was planning on using, at least during prototyping. If I get past that I may look into using the same chip but shrinking the overall form factor a bit.

Quote:

Originally Posted by nova.86 (Post 2509749)
Computer Engineer major here, subbed for interest!

Hey, me too!

mabviper 01-24-2016 01:05 PM

I've done some work on the canbus and extracted a bunch of stuff. Let me know if you need help analyzing the data.
http://www.ft86club.com/forums/showthread.php?t=100430

mike_ekim1024 01-25-2016 01:47 AM

1 Attachment(s)
A little project I started last year but never went anywhere. But then again I'm the type with solutions looking for problems ;)

Good luck on the project! I'd like to see how it turns out.

Mazikowski 01-26-2016 11:41 AM

Quote:

Originally Posted by mike_ekim1024 (Post 2520949)
A little project I started last year but never went anywhere. But then again I'm the type with solutions looking for problems ;)

Good luck on the project! I'd like to see how it turns out.

That's a neat prototype device you've got there... which shields are you using?

I thought about just using a serial LCD and maybe an Adafruit neopixel ring for testing...

mike_ekim1024 01-27-2016 03:09 AM

Quote:

Originally Posted by Mazikowski (Post 2522541)
That's a neat prototype device you've got there... which shields are you using?

I thought about just using a serial LCD and maybe an Adafruit neopixel ring for testing...

Just a proto shield, led rotary encoder, some 7 digit LEDs. The case is kind of cool: https://www.sparkfun.com/products/retired/11667

Seems like many of the parts are retired.. it didn't seem like THAT long ago :)

justatroll 01-28-2016 02:04 PM

Here is a WiFi SOC with Bluetooth, AtoD and CAN bus:


https://docs.particle.io/datasheets/photon-datasheet/


Definitely a cheaper (and more compact) option than a Arduino with a CAN BUs shield.

Futaba 01-29-2016 03:16 AM

Interested in this too.
If you can get the thing small enough, throw it in a JDM edgeless rear view mirror and run an LCD display behind it, display the info on it like smartmirrors.

http://beebom.redkapmedia.netdna-cdn...-projects1.jpg

Heck even if the unit itself was a box somewhere under the dash, you could run a wire to the rear view mirror for the LCD and possibly some touch sensors for input.
And a random mockup of what i'm imagining.

http://i.imgur.com/aktcht1.jpg

Mazikowski 01-29-2016 12:57 PM

Quote:

Originally Posted by Futaba (Post 2526958)
Interested in this too.
If you can get the thing small enough, throw it in a JDM edgeless rear view mirror and run an LCD display behind it, display the info on it like smartmirrors.

That's an interesting idea, for sure. I wonder how difficult it would be to modify the mirror...

Quote:

Originally Posted by justatroll (Post 2526078)
Here is a WiFi SOC with Bluetooth, AtoD and CAN bus:
https://docs.particle.io/datasheets/photon-datasheet/
Definitely a cheaper (and more compact) option than a Arduino with a CAN BUs shield.

I did a little research on using CAN on the Photon. It looks like it "supports" it, but you have to add a transceiver and there aren't currently any code libraries to work with it. I could have missed something, though.

mabviper 01-29-2016 02:47 PM

This photon looks like a pretty interesting piece of hardware. The STM32 they're using isn't too shabby either. I may just use this for my project later.

Vladimir Tutin 02-04-2016 08:15 PM

I've been working on something like this myself, pretty much have everything working that I want displayed. Just need to come up with a design for the output that looks nice.

http://freematics.com/store/index.ph...&product_id=30
This is the OBD-II to UART adapter I've been using.

https://en.wikipedia.org/wiki/OBD-II_PIDs
This page is also very helpful.

When the weather is nice I'm gonna be resuming the project.

justatroll 06-14-2016 04:58 PM

I found a "hackable" mini computer with a face that would be perfect for a gauge face:

Just need for them to drop in price or lots of used ones start selling on ebay:

https://www.thecomfortsquad.com/wp-c...loads/nest.jpg

with built in WIFI

Zoik 09-20-2016 02:15 PM

I tried to do something similar and use the Av input on the TAS300 to display the info.
i used a Freematics odbII adapter for Arduino, i manage to read the data i need. But im having trouble to obtain a clear image using the TV.out library...


All times are GMT -4. The time now is 04:55 AM.

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


Garage vBulletin Plugins by Drive Thru Online, Inc.