Raspberry Pi Adds A Digital Dash To Your Car

Looking for a way to make your older car more hi-tech? Why not add a fancy digital display? This hack from [Greg Matthews] does just that, using a Raspberry Pi, a OBD-II Consult reader and an LCD screen to create a digital dash that can run alongside (or in front of ) your old-school analog dials.

[Greg’s] hack uses a Raspberry Pi Foundation display, which includes a touch screen, so you don’t need a mouse or other controls. Node.js displays the speed, RPM, and engine temperature (check engine lights and other warnings are planned additions) through a webpage displayed using Chromium. The Node page is pulling info from another program on the Pi which monitors the CAN Consult bus. It would be interesting to adapt this to use with more futuristic displays, maybe something like a pico projector and a 1-way mirror for a heads-up display.

To power the system [Greg] is using a Mausberry power supply which draws power from your car battery, but which also cleanly shuts down the Pi when the ignition is turned off so it won’t drain your battery. When you throw in an eBay sourced OBD-II Consult reader and the Consult Dash software that [Greg] wrote to interpret and display the data from the OBD-II Consult bus, you get a decent digital dash display. Sure, it isn’t a Tesla touchscreen, but at $170, it’s a lot cheaper. Spend more and you can easily move that 60″ from your livingroom out to your hoopty and still use a Raspberry Pi.

What kind of extras would you build into this system? Gamification of your speed? Long-term fuel averaging? Let us know in the comments.

UPDATE – This post originally listed this hack as working from the OBD-II bus. However, this car does not have OBD-II, but instead uses Consult, an older data bus used by Nissan. Apologies for any confusion!

Continue reading “Raspberry Pi Adds A Digital Dash To Your Car”

Hackaday Prize Entry: AutoFan Saves Tired Drivers With Face Recognition

Long distance driving can be tedious at times. The glare of the sun and the greenhouse effect of all your car’s windows make it hot and dry. You turn on the fan, or air conditioning if you have it, and that brings relief. Soon enough you’ve got another problem, the cold dry air is uncomfortable on your eyes. Eventually as you become more tired, you find yourself needing the air on your face more and more as you stay alert. You thus spend most of the journey fiddling with your vents or adjusting the climate controls. Wouldn’t it be great if the car could do all that for you?

AutoFan is a project from [hanno] that aims to automate this process intelligently. It has a fan with steerable louvres, driven by a Raspberry Pi 2 with attached webcam. The Pi computes the position of the driver’s face, and ensures the air from the fan is directed to one side of it. If it sees the driver’s blink rate increasing it directs the air to their face, having detected that they are becoming tired.

The build logs go into detail on the mathematics of calculating servo angles and correcting for camera lens distortion in OpenCV. They also discuss the Python code used to take advantage of the multicore architecture, and to control the servos. The prototype fan housing can be seen in the video below the break, complete with an unimpressed-looking cat. For those of you interested in the code, he has made it available in a GitHub repository.

Continue reading “Hackaday Prize Entry: AutoFan Saves Tired Drivers With Face Recognition”

Arduino + Software Defined Radio = Millions Of Vulnerable Volkswagens

As we’ve mentioned previously, the integrity of your vehicle in an era where even your car can have a data connection could be a dubious bet at best. Speaking to these concerns, a soon-to-be published paper (PDF) out of the University of Birmingham in the UK, states that virtually every Volkswagen sold since 1995 can be hacked and unlocked by cloning the vehicle’s keyfob via an Arduino and software defined radio (SDR).

The research team, led by [Flavio Garcia], have described two main vulnerabilities: the first requires combining a cyrptographic key from the vehicle with the signal from the owner’s fob to grant access, while the second takes advantage of the virtually ancient HiTag2 security system that was implemented in the 1990s. The former affects up to 100 million vehicles across the Volkswagen line, while the latter will work on models from Citroen, Peugeot, Opel, Nissan, Alfa Romero, Fiat, Mitsubishi and Ford.

Continue reading “Arduino + Software Defined Radio = Millions Of Vulnerable Volkswagens”

R/C Hot Rod Built Completely From Scratch

[ossum]’s R/C hot rod shows what’s possible when a talented hacker takes full advantage of all the modern resources available to them. The results are stunning.

[ossum] had a stack of Amazon and Shapeways credits lying around after winning a few competitions. He had this dream of building an R/C car for a while, and decided now was the time. After ordering all the needed parts from Amazon, he made an extremely nice model of the car in Fusion 360. The CAD model is a great learning resource. If you want to learn how to use reference photos, parts, and more to build a detailed and useful CAD model we recommend downloading it as a Fusion archive and scrubbing through the timeline to see how he did it.

Some of the parts were sent off for laser cutting. Others were 3D printed. The rest he made himself. Thanks to his model, they all went together well. You can see his R/C rod racing in the video after the break.

Continue reading “R/C Hot Rod Built Completely From Scratch”

Books You Should Read: The Car Hacker’s Handbook

I just had my car in for an inspection and an oil change. The garage I take my car to is generally okay, they’re more honest than a stealership, but they don’t cross all their t’s and dot all their lowercase j’s. A few days after I picked up my car, low and behold, I noticed the garage didn’t do a complete oil change. The oil life indicator wasn’t reset, which means every time I turn my car on, I’ll have to press a button to clear an ominous glowing warning on my dash.

For my car, resetting the oil life indicator is a simple fix – I just need to push the button on the dash until the oil life indicator starts to blink, release, then hold it again for ten seconds. I’m at least partially competent when it comes to tech and embedded systems, but even for me, resetting the oil life sensor in my car is a bit obtuse. For the majority of the population, I can easily see this being a reason to take a car back to the shop; the mechanic either didn’t know how to do it, or didn’t know how to use Google.

The two most technically complex things I own are my car and my computer, and there is much more information available on how to fix or modify any part of my computer. If I had a desire to modify my car so I could read the value of the tire pressure monitors, instead of only being notified when one of them is too low, there’s nowhere for me to turn.

2015 was the year of car hacks, ranging from hacking ECUs to pass California emissions control standards, Google and Tesla’s self-driving cars, to hacking infotainment systems to drive reporters off the road. The lessons learned from these hacks are a hodge-podge of forum threads, conference talks, and articles scattered around the web. While you’ll never find a single volume filled with how to exploit the computers in every make and model of automobile, there is space for a reference guide on how to go about this sort of car hacking.

I was given the opportunity to review The Car Hacker’s Handbook by Craig Smith (259p, No Starch Press). Is it a guide on how to plug a dongle into my car and clear the oil life monitor the hard way? No, but you wouldn’t want that anyway. Instead, it’s a much more informative tome on penetration testing and reverse engineering, using cars as the backdrop, not the focus.

Continue reading “Books You Should Read: The Car Hacker’s Handbook”

A Hot Rod Roadster From A Rusty Wreck

Within our community of hackers and makers you may sometimes encounter a belief that we have somehow regained a hold on the workshop lost by everyone else. But while it might be true that some of the general population may barely know one end of a screwdriver from the other it’s a huge overstatement to claim exclusivity. There are plenty of other scenes blessed with an astonishing level of engineering skill and from which breathtaking projects emerge, and it is a great pity that sometimes they exist in isolation from each other.

One such scene is that of car modification. By this we don’t mean the youths with their inadequately powered bottom-feeder cars adorned with deformed plastic, fake carbon fibre and farty exhaust pipe extensions from Halfords or Advance Auto, nor do we mean the silly-priced professional hotrods beloved of certain cable TV reality shows. Instead we mean the ordinary car hackers who take the unexciting and unloved of the automotive world into their garages and through a combination of vision and skill fashion it into something amazing. As an illustration of this art we’d like to introduce you to [ScaryOldCortina]’s “Mayday”. It’s a build from a few years ago, but no less impressive for the elapsed time.

A very rusty Austin Somerset indeed
A very rusty Austin Somerset indeed

If you are British the chances are your grandparents might have driven an Austin Somerset in the early 1950s. An unexciting mid-sized chassis-based saloon car that wasn’t badly designed but had all the inadequate rust protection you’d expect from a car of that era. A Somerset arrived in [ScaryOldCortina]’s garage that looked solid but turned out on inspection to be rusty enough that it could almost be disassembled with a hefty tug on some of the panels. He could have scrapped it, but instead he refashioned it into something a lot more exciting, a two-seater hotrod roadster. In a particularly impressive touch, he re-used most of the metal from the Somerset in its new body in a different form, for example its curved roof was cut in half to form the side panels of the new car.

The full build is in a very long thread on the Retro Rides car forum. If you read it from start to finish you’ll find an in-depth description of the minutiae of the 1950s British car parts bin, but if that will be a bit much for you we have some highlights.

When the car arrived, in his first post you can see just how far the rust had eaten into an outwardly complete vehicle and how easily he could strip away its panels. Fortunately the Somerset is a chassis-based car, so underneath the rusty bodywork was a rolling chassis which had miraculously escaped the worst of the corrosion. His vision for the car required the chassis to be shortened, but he was able to place the panels on the chassis to get an idea of what it might look line before getting out the cutter and welder and assembling the new body tub. A lot of hard work assembling the running gear into a roadworthy form and making its unlovely Austin “B” series engine into something a little more useful, and he was finally able to take it for a short test drive. The car passed all the relevant tests for British roadworthiness, and made a very cool piece of transport.

Happily though it’s the first to feature so much rust this is not the first Hackaday story involving the hacking of ancient automobiles. We recently had a look at the hacking potential of Volkswagen’s iconic Beetle, we’ve examined the work of professional TV hot-rodders when challenged over their authenticity, we’ve taken a look at Cuba’s surviving pre-revolutionary American cars, and we’ve featured a crazy project involving a Mini and a Toyota Celica.

Fight That Tesla Envy With A Tablet Dash For Your Car

[Aykut Çelik] uses some strong words to describe how he feels about his VW Polo’s current radio set-up. Words like, “useless,” are bandied about. What is a modern man supposed to do with a car that doesn’t have built-in navigation or Bluetooth connectivity with phones? Listen to the radio? There are actual (mostly) self driving cars on the road now. No, [Aykut] moves forward, not backwards.

To fix this horrendous shortcoming in his car’s feature package, he set out to install a tablet in the dash. His blog write-up undersells the amount of work that went into the project, but the video after the break rectifies this misunderstanding. He begins by covering the back of a face-down Samsung tablet with a large sheet of plastic film. Next he lays a sheet of fiberglass over the tablet and paints it with epoxy until it has satisfactorily clung to the back of the casing. Afterwards comes quite a bit of work fitting an off-the-shelf panel display mount to the non-standard hardware. He eventually takes it to a local shop which does the final fitting on the contraption.

The electronics are a hodgepodge of needed parts: An amplifier, to replace the one that was attached to the useless husk of the prior radio set; a CAN shield for an Arduino, so that he could still use the steering wheel buttons; and a Bluetooth shield, so that the Arduino could talk to the tablet. Quite a bit of hacking happened, and the resulting software is on GitHub.

The final assembly went together well. While it’s no Tesla console. It does get over the air updates whenever he feels like writing them. [Aykut] moves forward with the times.

Continue reading “Fight That Tesla Envy With A Tablet Dash For Your Car”