![]() |
[ame="https://www.youtube.com/watch?v=Mp4lk7zH-tg"]Dual bar modular arduino obd gauge - YouTube[/ame]
There is an issue with color changing only changing part of the bar's color...I'm working on that now. (Also, all of the colors are configurable...so in the config file on the sd car I can change them to whatever...maybe in my next video I'll show that.) |
Okay i think i'd take this anytime over displaying it on the 7 segment clock
Gesendet von meinem HTC One mit Tapatalk |
There we go:
[ame="https://www.youtube.com/watch?v=ggMrQ_KHyXE&list=UUXQz23trpy-vaCZrUAbSCTQ"]Dual bar modular arduino obd gauge themeing - YouTube[/ame] I should give that color scheme a patriotic name. The graphics are a little jumpy. This is probably because I'm using a random number generator to generate the values and that makes them jump around. I think i'll make a new "fake"/test harness sensor that only jumps a max of 5 units each direction each time and if it reaches the max or 0 will rest to 0. |
Very nice!
I have been working on a very similar device but had no need for CAN or OBD. Mine is for logging & displaying data in a racecar. It also uses an Arduino Mega and a 2.8" LCD. The basic requirements for mine are: Log serial data (RS-232) from an Innovate system LC-1 AFR and TC-4 4 channel EGT/CHT Log Engine RPM from coil (old style tach signal) Log various analogs throttle position oil temp oil press batt voltage Control a small number of loads Shift light Alarm light Display readable data to driver (oil temp/press, AFR, EGT) at low rate. Trigger alarms and alert driver via Alarm light. I have all of that with code working and logging data to a SDcard. My latest upgrade was to be a 2.8 TFT Touchscreen, but I am having trouble getting it to work. I also intend to experiment with a carbon fiber housing for my display when I am done. If we agree on a common platform, we could coordiante some. I chose the sparkfun arduino shields because I drive by their warehouse every day. Do you have a link to the display you are using in the examples above? |
I'm using the ebay varietal of this: http://www.adafruit.com/products/358
I'd love to incorporate your code for the LC-1. You are welcome to whatever I have on my Github repository. I'll warn you, it is messy and written by someone who decided to get a Cog Sci degree and not a CS degree. |
The config file now looks like this:
Code:
splash:autox.bmp |
My todo list includes:
-design and build accelerometer display -clean up graphics -buy sparkfun obd II device (And test and debug) -decide if slowing down the animation of the displays is a good idea or not -add peak displays -write code to actually log to the sd card on the logging mode (I figure I'll set it up so if the user lingers on the logging page for more than 10 seconds it will start to log.) -background all sensor check for warnings...then display and alert to those I got button presses working for page turning tonight: [ame="https://www.youtube.com/watch?v=JIIwZtxxgqY"]Modular arduino TFT gauge mode switching - YouTube[/ame] |
Would there be a way to replace the clock by a tiny gauge ?
Sent from my SGH-I337M using Tapatalk |
Quote:
I bet that there is one circuit board back there that does the clock, the flashers, and the airbag lights. The hard part will be cutting the clock out without harming the other stuff. After that I think it's just a small area with some tinted plex/plastic and you could always put your own thing back there. |
That was my primary choice for placement as well. I'm nowhere near your development progress though. It's still on an alpha build and I'm using STM32 micros. Hopeful before the end of the year, a prototype will be done. I'm still working on an improved shift light thing for the car. :(
Sent from my Nexus 4 using Tapatalk |
subd
do you have a diagram on how you wired this up to your arduino. Im not very experienced arduino, I have an uno but have barely used it. but I do know how to follow instructions and work with the code a bit.:thanks: |
Quote:
Code:
//pin reference for tft from;Sensors go to whatever analog input on the board you configure them for. The OBD II thing I have yet to buy wires into a Serial connection on the board (the arduino mega has more than one...I have it set at Serial1 now). The obd thing I plan on buying shortly is this: https://www.sparkfun.com/products/9555 I also just realized I didn't put the github link up before: https://github.com/stirobot/arduinoModularTFTgauges Also, last night I got some peaks displaying on the bar charts and I started spacing stuff out for the accelerometer display. I also started looking into using acrylic to make cases...so I can put this in my car in a prototype sort of way. Something like this: http://madlabindustries.com/shop/pro...lic-mega-case/ or this http://www.instructables.com/id/Home...-LED-Displays/ I also updated the first post to make more sense. |
awesome man thanks for all the info.
If would be sick if we could get someone here on ft86 with a 3d printer to make a custom case :D |
If you get stuck on the CANbus stuff, maybe I can help out.
Sent from my Nexus 4 using Tapatalk |
| All times are GMT -4. The time now is 01:26 AM. |
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.