Reverse Engineering A Saab’s In-Dash Display

For [Leigh Oliver], there’s something undeniably appealing about the green on black instrumentation of the 2003 Saab 9-3 Gen2. Perhaps it’s because the Infotainment Control Module 2 (ICM2) screen brings a bit of that classic Matrix vibe to the daily commute. Whatever the reason, it seemed the display deserved better than to be stuck showing the nearly 20 year old stock user interface. Luckily, you can control it via I2C.

Though as you might expect, that fact wasn’t obvious at first. [Leigh] had to start by taking the ICM2 apart and reverse engineering the display board. With a multimeter and high resolution photographs of both sides of the PCB, all of the traces were mapped out and recreated in KiCAD. This might not have been strictly necessary, but it did serve as good practice for using KiCAD; a worthwhile tip for anyone else looking to build practical experience creating schematics.

With everything mapped out, [Leigh] was able to connect a BusPirate V3 up to the board and pretty quickly determine it was using I2C to control the display. As far as figuring out how to repurpose existing displays goes, this was perhaps the best possible scenario. It even allowed for creating a display library based on Adafruit_GFX which offers graphical capabilities far beyond what the ICM2 module itself is capable of.

Even with so much progress made, this project is really just getting started. [Leigh] has managed to put some impressive imagery on the black and green Saab display, but the hardware side of things is still being worked on. For example, there’s some hope that an I2C multiplexer would allow the display to easily and quickly be switched between “stock” mode and whatever enhanced version comes about thanks to the new libraries and an ESP8266 hiding behind the dashboard.

If you don’t have a sufficiently vintage Saab to take advantage of this project, don’t worry. Tapping into the OBD port with an OLED display can get you similar results on a wide range of vehicles.

Mustang Dash Becomes Bookshelf Art Piece

Despite most of the common gauges remaining the same over the last 60 years, the automotive dashboard of days past used very different technology to those today. Cable driven speedometers were common, along with mechanical drive for the odometer, too. Fuel and temperature gauges were often wired directly to their senders, and some oil pressure gauges actually ran an oil line right up to the back of the dash. Now, things are mostly handled over the CAN bus, which inspired [Thomas]’s bookshelf-based Mustang build.

The idea behind the project is to build a nice piece of bookshelf art, using a modern CAN-driven Mustang dashboard. Through research and much trial and error, [Thomas] was able to figure out the CAN messages necessary to interface with a 2009 Mustang dashboard. There were innumerable hiccups along the way – [Thomas] had to 3D print his own connectors, reflash CAN bus interfaces, and make more than a few educated guesses to get things working.

The dash is combined with an Arduino with an MP3 shield and a 30 watt audio system, which provides both CAN signals to drive the dash as well as the obligatory sound effects of a Mustang tearing about town. It’s all finished up with an ignition keyswitch and 3 LED-lit buttons in the traditional Mustang colors.

It’s a fun build which does a great job of showcasing the basic tools and techniques required to interface with modern automotive subsystems. Salvaging an instrument cluster can be a great way to add immersion to your home racing sim, too. Video after the break.

Continue reading “Mustang Dash Becomes Bookshelf Art Piece”

Howto: Docker, Databases, And Dashboards To Deal With Your Data

So you just got something like an Arduino or Raspberry Pi kit with a few sensors. Setting up temperature or motion sensors is easy enough. But what are you going to do with all that data? It’s going to need storage, analysis, and summarization before it’s actually useful to anyone. You need a dashboard!

But even before displaying the data, you’re going to need to store it somewhere, and that means a database. You could just send all of your data off into the cloud and hope that the company that provides you the service has a good business model behind it, but frankly the track records of even the companies with the deepest pockets and best intentions don’t look so good. And you won’t learn anything useful by taking the easiest way out anyway.

Instead, let’s take the second-easiest way out. Here’s a short tutorial to get you up and running with a database backend on a Raspberry Pi and a slick dashboard on your laptop or cellphone. We’ll be using scripts and Docker to automate as many things as possible. Even so, along the way you’ll learn a little bit about Python and Docker, but more importantly you’ll have a system of your own for expansion, customization, or simply experimenting with at home. After all, if the “cloud” won’t let you play around with their database, how much fun can it be, really?

Continue reading “Howto: Docker, Databases, And Dashboards To Deal With Your Data”

3D Printed Dashboard CB Mount Is Convoy Ready

Some may be surprised to hear that CB radio is alive and well in the 21st century. From disaster response to operating in areas without reliable communication infrastructure, there are plenty of reasons people are still reaching for their radio and not their smartphone. Unfortunately, modern automotive interior design doesn’t have such an enlightened view. It’s hard enough to get decent cup holders in some cars, let alone a spot to hang your microphone.

When presented with this problem in his Subaru Forester, [Alex Loizou] did what any modern hacker would, he 3D printed a mount that snaps into the stock dash. No drilling was required to attach his radio mount, it simply replaces a decorative trim piece that wasn’t doing anything anyway. Obviously this particular mount would only really work on the same year and make of vehicle as [Alex] has, but this is a good demonstration of how 3D printing can be used to adapt to existing hardware.

As is often the case when trying to print something to match perfectly with an existing object, there was a fair amount of trial and error required. It took a few attempts before [Alex] got the proper shape, and things weren’t made any easier by the fact he was doing his designing in TinkerCAD. While we appreciate the fact that TinkerCAD provides a web-based CAD tool that is easy enough for anyone to use, using a parametric design tool like OpenSCAD is generally preferred when you need to make slight adjustments to your model.

Software limitations aside, [Alex] managed to come up with a mount that not only holds his CB microphone, but also his handheld transmitter. All while looking about as close to stock hardware as something like this could. We especially like that he switched to a darker filament color for his final version to blend it into the dashes color scheme a bit better.

If your radio interest is a little full-fat for CB, take a look at what keeps ham radio alive and well in 2017, and if you’re a radio amateur with a hankering for the CB days we’ve got you covered.

Art With Steppers And STM32

Automotive dashboards are something that largely go untouched in the average car’s life. Other than the occasional wipe with a damp cloth, they’re generally reliable for the life of the car and considered too tricky to repair as age sets in. Nevertheless, some hackers find themselves tinkering with them, and learn skills in the process, such as how to control stepper motors and talk to the CAN bus. Having done some projects in the past, [Dan] had some old tachometers lying around and decided to turn them into a piece of art.

The build is powered by an STM32 – a powerful ARM-based platform with plenty of IO and potential. [Dan] leveraged its capabilities to have the board generate music and react to its onboard accelerometer data while also driving the stepper motors from the old tachometers. The project was then completed by 3D printing a mounting plate and placing the tachometer assemblies into the back of an IKEA canvas print.

The end result is a piece of wall art that emits eerie stringed music while twitching around. It came about from [Dan]’s prior projects in working with dashboards. It’s a fun use of some well-earned hacking skills, but we reckon there’s even more potential. There’s a huge number of projects that could benefit from lightweight tiny actuators, and we’d love to see a robot made entirely out of junkyard dashboard parts.

For another dashboard hack, why not check out this beautiful Jeep desk clock?

Homebrew Dash Cam Enables Full Suite Of Sensors

You heard it here first: dash cams are going to be the next must-have item for your daily driver. Already reaching market saturation in some parts of the world but still fairly uncommon in North America, we predict that car makers will soon latch onto the trend and start equipping cars with dash cams as standard equipment. And you can just bet that whatever watered-down, overpriced feature set they come up with will be sure to disappoint, so you might want to think about building your own Raspberry Pi dash cam with an accelerometer and lots of LEDS.

Still very much in the prototyping phase, [CFLanger]’s project is at its heart a dash cam, but it looks like he wants to go far beyond that. Raspivid and a PI NoIR camera take care of the video streaming, but the addition of a Pi SenseHAT gives [CFLanger] a bunch of options for sensing and recording the car’s environment. Not content with the SenseHAT’s onboard accelerometer, he added an ADXL345 to the sensor suite. The 64-pixel LED display is just for fun – it displays pitch and roll of the platform – and a yet-to-be-implemented bar-graph display will show acceleration in the X-axis. He figures the whole thing is good for a couple of days of video, but we hope he adds audio capture and perhaps ECU data from an OBDII-Bluetooth adapter.

We’ve seen surprisingly few DIY dash cams on Hackaday, at least so far. There has been a dash cam teardown and retasking, and there are plenty of dashboard computer builds, though. Seems like most hackers want that DIY self-driving car first.

Continue reading “Homebrew Dash Cam Enables Full Suite Of Sensors”

Web Matrix Control Proves Power Of ESP8266

LED matrix projects are all over the place, but this one is interesting for its simplicity: it’s an LED matrix that is driven straight from an ESP8266 board. [Ray] put it together as a quick project for his students to teach the basics of LED programming.

It’s built using a WS2812 LED matrix board he designed himself and his own ESPToy ESP8266 dev board. But the gist of the hardware is simply an ESP8266 and some WS2812’s. Where this gets interesting is with the user interaction side of things. The ESP makes WiFi and web serving easy, and [Ray] has build a simple HTTP GET API into the firmware. This is a great combination for the web dashboard and JavaScript-based animation programs [Ray] is demonstrating in the video below.

Just get on the same network and load up the module’s WiFi address for a graphical representation of the 5×7 LED matrix. Pick a color, turn pixels on or off, or choose a predefined pattern and send it to the hardware. This is a powerful way to get use input and with this as a guide it’s fast to set up for pretty much an application you can think of. Just work your way through the documents he put together for the workshop (Zip file link), including all of the code and the slides he used to run the workshop.

Continue reading “Web Matrix Control Proves Power Of ESP8266”