I’Ve been working on on this car and it’s, a digital gauge, that’s right here in the center console and it’s based on an Arduino and the OBD. We know code that you can find on the Internet. I modify this one a little bit to get to work with the car and everything I needed. It works with a need to be adaptive elm327 adapter that plugs into the obd2 port down. Here most people use these little adapters on their phones via bluetooth to run apps like torque. I modify this one to be hardwired to the Arduino and it’s also got a little relay on here for turning it on and off so it’s. Only on on the cars on and off on, it’s cars off so that screen here, outputs pretty much the same information you can get on the apps for your phone it’ll display any information that your your car’s ECU has available from any sensors around the engine and Since it’s an Arduino also, you can use it to calculate any other values you want, so you can take information from your engine and do calculations to display any other information. You want it’s pretty endless when you use an Arduino on what you can display on these screens. So let me start it up, so you can see it I’m going to turn the key. It initializes make sure everything is working and then the first screen pops up and I’ll go ahead and start the engine, so there’s five screens on here that display different information.
You can scroll through the first one. Here is just temperatures if got a an outside temperature, an inside temperature here on the left and then on the right hand. Side is a intake, air temperature and coolant temperature and that coolant one’s, really nice, because the gauge in this car is just on a dial with no numbers, so it’s nice to see the actual temperature. The inside and outside temperatures are not actually available on this cars. Ecu now this these Miatas don’t have those temperature sensors, so those two are actually just separate sensors I wired in for the Arduino. One of them is under the headlight. One of them is tucked in over here underneath the footwell for the inside temperature, and I can get those values just using the Arduino, so I’ll go to the next screen. This will screen displays. Battery voltage there on top left bottom left is a timing advanced number. The top right is a trip, basically the same thing: that’s under your odometer, just a trip meter and the bottom right is a timer, and that starts going when you start driving that keep track of how long you’ve been driving. This next screen is some mileage and gas usage stuff top left. There is distance until empty, so that takes the amount of fuel you’ve burned. Since you reset your trip meter and filled up with gas and calculates how far it thinks until you run out of gas. Now the bottom left there is no gallons of gas.
You burn since your last reset, so I just reset this one I’ve only burned point, o 3 gallons top right. There is just a goofy smiley face, um fun, one that it changes between smiling and frowny and whatnot. Depending on how your gas usage is. Typically, I mean okay, never do too good the bottom right. There is the same jet trip meter again. This one’s just engine load. So if I read the engine you can see it jump around and kind of fun to watch last. One here is miles per gallon and the big number there on the left is the average miles per gallon, and I just reset this 0.7 miles ago. So, as you drive further and further, the average gets better and better and depending on you know, if you’re driving city or whatever or highway it changes over time. So this one isn’t really accurate right now, since I just reset it, you need to drive a few miles in order for it to get a decent average miles per gallon. The little numbers below the MPG there that’s instant miles per gallon and those numbers jump up and down as you’re driving, depending on, if you’re, accelerating it or if you’re coasting. It shows you instantly what you’re miles per gallon are so that one’s, a nice that’s fun to watch too and then back to the beginning, that’s pretty much it for the software. You can customize all these screens to display anything.
You want, depending on the sensors of your car, you can change them around, have any information on any screen, and just by going into the menus, you can change all of it around. You can configure displays and what what um PID is displaying on each screen and you can even read trouble codes. So if you have a check engine light on, you can read what the code is and even clear it. So you get rid of check engine lights with this little device too, which is nice so that’s, pretty much it for the day. You can spray I’ll turn it off, so you can see how it shuts off on its own there’s a little delay about five. Second, delay before it turns off after you turn the car off, and that way will run your battery down or anything by using this I’ve got this plate held on here with magnets, so I can get to the Arduino or any of the wiring. If I need you can see, there are, do we know they’re on the left, the right hand, side just has some voltage regulators and that thermistors are plugged in there. So a few other odds and ending circuitry that I needed to lay out on the back end of the faceplate you’ve got the screen and the three buttons all that whine it’s kind of a mess but works, and it just snaps on there with an image that’s. Pretty much it a pretty cool little project, just briefed on and it’s a display, some really cool stuff.
arduino obd2 Video
arduino obd2 news
Posted on Monday July 10, 2017A Live ECU Simulator For OBD2 Projects HackadayIf you are working with OBD2 hardware or software, it’s easy enough to access test data, simply plug into a motor vehicle with an OBD2 socket. If, however, you … … Continue Reading »
Posted on Thursday May 09, 2019Sniffing CAN To Add New Features To A Modern Car HackadayIt used to be that there wasn’t a problem on the average car that couldn’t be solved with a nice set of wrenches, a case of beer, and a long weekend. But the … … Continue Reading »
Posted on Wednesday May 22, 2019PiCAN 2 – CAN-Bus Board for Raspberry Pi (OBDII) ElektorA PiCAN 2 HAT provides your Raspberry Pi with full CAN-Bus capability: CAN v2.0B at 1 Mb/s and high-speed (10 MHz) SPI Interface. It uses the Microchip … … Continue Reading »
arduino obd2 Social