Raspberry Pi On The Go Powers Car System

Most new cars have GPS, rear cameras, and all the other wonders an on-board system can bring. But what if you have an old car? [Fabrice Aneche] has a 2011 vehicle, and wanted a rearview camera. He started with a touch screen, a Raspberry Pi 3, and a camera. But you know how these projects take on a life of their own. So far, the project has two entries in his blog.

It wasn’t long before he couldn’t resist the urge to add a GPS. But that’s no fun without maps. Plus you need turn-by-turn directions. [Fabrice] did a lot of the user interface using Qt5 and QML. He started out running it with X11 but that was slow. It turns out though that Qt5 can drive the Pi’s video directly without using X11, so that’s what he wound up doing. The code that isn’t in QML — mainly dealing with the GPS location — is written in Go, while the code for MOCS (My Own Car System) is on GitHub.

Continue reading “Raspberry Pi On The Go Powers Car System”

Building An SDR Lab With Wheels

With the incredibly low cost of software defined radio (SDR) hardware, and the often zero cost of related software, there’s never been a better time to get into the world of radio. If you’ve got $30 burning a hole in your pocket, you’re good to go. But as with any engrossing hobby that’s cheap to get into, you run the risk of going overboard eventually.

For example, if the radio gear inside your car approaches parity with the Kelly Blue Book value of said vehicle, you may have been bitten by the radio bug. In the video after the break, [Corrosive] gives us a tour of his antenna festooned Hyundai Accent, that features everything he needs to receive and analyze a multitude of analog and digital radio signals on the go.

He starts with the roof of the car, which is home to five whip antennas (not counting the one from the factory installed AM/FM radio) and two GPS receivers. The ones on the rear of the car feed down into the trunk, where a bank of Nooelec NESDR RTL-SDR receivers will live in a USB hub. He’s only got one installed for test purposes, but he’ll need more for everything he’s got planned. Also riding in the back is a BCD780XLT scanner, which he got cheap on eBay thanks to the fact it had a dead display.

Luckily, where [Corrosive] is going, he won’t need displays. The SDR receivers and the scanner are all controlled from the driver’s seat by way of a Windows 10 tablet. This runs the ProScan software that provides a virtual interface to the BCD780XLT, as well as various SDR interfaces. He’s also got Gpredict for tracking satellites and ADS-B programs like Virtual Radar.

The car’s head unit has been replaced by a rooted Android entertainment system which supports USB host mode. [Corrosive] says it isn’t hooked up yet, but in the future the head unit is going to get its own SDR receiver so he can run programs like RF Analyzer right in the dashboard. We’re willing to bet that this will be the only car in the world that has both a waterfall display and the “Check Engine” light on at the same time.

Even if you aren’t ready to install it in your car, you might like to read up on using multiple SDR receivers for trunked radio or setting up your own ADS-B receiver to get a better idea of what [Corrosive] has in mind once everything is up and running.

Continue reading “Building An SDR Lab With Wheels”

Retrotechtacular: Constructing A Car Engine

Oxford is a city world-famous for its university, and is a must-see stop on the itinerary of many a tourist to the United Kingdom. It features mediaeval architecture, unspoilt meadows, two idylic rivers, and a car plant. That’s the part the guide books don’t tell you, if you drive a BMW Mini there is every chance that it was built in a shiny new factory on the outskirts of the historic tourist destination.

A 1930s Morris Ten Series II. Humber79 [CC BY-SA 3.0].
A 1930s Morris Ten Series II. Humber79 [CC BY-SA 3.0].
The origins of the Mini factory lie over the road on a site that now houses a science park but was once the location of the Morris Motors plant, at one time Britain’s largest carmaker. In the 1930s they featured in a British Pathé documentary film which we’ve placed below the break, part of a series on industry in which the production of an internal combustion engine was examined in great detail. The music and narration is charmingly of its time, but the film itself is not only a fascinating look inside a factory of over eight decades ago, but also an insight into engine manufacture that remains relevant today even if the engine itself bears little resemblance to the lump in your motor today.

Morris produced a range of run-of-the-mill saloon cars in this period, and their typical power unit was one of the four-cylinder engines from the film. It’s a sidevalve design with a three-bearing crank, and it lacks innovations such as bore liners. The metallurgy and lubrication in these engines was not to the same standard as an engine of today, so a prewar Morris owner would not have expected to see the same longevity you’d expect from your daily.

Continue reading “Retrotechtacular: Constructing A Car Engine”

Fatalities Vs False Positives: The Lessons From The Tesla And Uber Crashes

In one bad week in March, two people were indirectly killed by automated driving systems. A Tesla vehicle drove into a barrier, killing its driver, and an Uber vehicle hit and killed a pedestrian crossing the street. The National Transportation Safety Board’s preliminary reports on both accidents came out recently, and these bring us as close as we’re going to get to a definitive view of what actually happened. What can we learn from these two crashes?

There is one outstanding factor that makes these two crashes look different on the surface: Tesla’s algorithm misidentified a lane split and actively accelerated into the barrier, while the Uber system eventually correctly identified the cyclist crossing the street and probably had time to stop, but it was disabled. You might say that if the Tesla driver died from trusting the system too much, the Uber fatality arose from trusting the system too little.

But you’d be wrong. The forward-facing radar in the Tesla should have prevented the accident by seeing the barrier and slamming on the brakes, but the Tesla algorithm places more weight on the cameras than the radar. Why? For exactly the same reason that the Uber emergency-braking system was turned off: there are “too many” false positives and the result is that far too often the cars brake needlessly under normal driving circumstances.

The crux of the self-driving at the moment is precisely figuring out when to slam on the brakes and when not. Brake too often, and the passengers are annoyed or the car gets rear-ended. Brake too infrequently, and the consequences can be worse. Indeed, this is the central problem of autonomous vehicle safety, and neither Tesla nor Uber have it figured out yet.

Continue reading “Fatalities Vs False Positives: The Lessons From The Tesla And Uber Crashes”

Retrotechtacular: Car Navigation Like It’s 1971

Anyone old enough to have driven before the GPS era probably wonders, as we do, how anyone ever found anything. Navigation back then meant outdated paper maps, long detours because of missed turns, and the far too frequent stops at dingy gas stations for the humiliation of asking for directions. It took forever sometimes, and though we got where we were going, it always seemed like there had to be a better way.

Indeed there was, but instead of waiting for the future and a constellation of satellites to guide the way, some clever folks in the early 1970s had a go at dead reckoning systems for car navigation. The video below shows one, called Cassette Navigation, in action. It consisted of a controller mounted under the dash and a modified cassette player. Special tapes, with spoken turn-by-turn instructions recorded for a specific route, were used. Each step was separated from the next by a tone, the length of which encoded the distance the car would cover before the next step needed to be played. The controller was hooked to the speedometer cable, and when the distance traveled corresponded to the tone length, the next instruction was played. There’s a long list of problems with this method, not least of which is no choice in road tunes while using it, but given the limitations at the time, it was pretty ingenious.

Dead reckoning is better than nothing, but it’s a far cry from GPS navigation. If you’re still baffled by how that cloud of satellites points you to the nearest Waffle House at 3:00 AM, check out our GPS primer for the details.

Continue reading “Retrotechtacular: Car Navigation Like It’s 1971”

Titanium Knob Doesn’t Grind Our Gears

Manual transmissions! Those blessed things that car enthusiasts swear by and everyone else pretends no longer exists. They’re usually shifted by using the gearstick, mounted in the centre console of the car. Swapping out the knob on the gearstick is a popular customization; you can have everything from 8-balls to skulls, to redback spiders mounted in epoxy, sitting proud atop your gearstick. It’s rare to see anything new under the sun, but [John Allwine] came up with something we’d never seen before.

[John]’s design leans heavily on the unique ability of additive manufacturing to produce complex hollow geometries that are incredibly difficult or impossible to produce with traditional subtractive methods. The part was designed in CAD software, and originally printed on a Makerbot in plastic. After this broke, it was decided to instead produce the part in stainless steel using Shapeway’s custom order process. You can even buy one yourself. This is a much smarter choice for a part such as a gearknob which undergoes heavy use in an automotive application. The part is printed with threads, but due to the imperfect printing process, these should be chased with a proper tap to ensure good fitment.

The design was eyecatching enough to grab the attention of a professional engineer from a 3D printing company, who worked with [John] to make the part out of titanium. It’s a very tough and hardy material, though [John] notes it was an arduous task to go about tapping the threads because of this.

It’s a great example of what can now be achieved with 3D printing technology. No longer must we settle for plastic – through services like Shapeways, it’s now possible to 3D print attractive metal parts in complex designs! And, if you’ve got the right friends, you can even step it up to titanium, too.

We’ve seen other takes on the 3D shifter handle, too – like this head.

 

Roll A Black Box For Your Wheels

Telemetric devices for vehicles, better known as black boxes, cracked the consumer scene 25 years ago with the premiere of OnStar. These days, you can get one for free from your insurance company if you want to try your luck at the discounts for safe driving game. But what if you wanted a black box just to mess around with that doesn’t share your driving data with the world? Just make one.

[TheForeignMan]’s DIY telematics box was designed to pull reports of the car’s RPM, speed, and throttle depression angle through the ODBII port. An ODBII-to-Bluetooth module sends the data to an Arduino Mega and logs it on an SD card along with latitude and longitude from a NEO-6M GPS module. Everything is powered by the car’s battery through a cigarette lighter-USB adapter.

He’s got everything tightly wrapped up inside a 3D printed box, which makes it pretty hard to retrieve the SD card. In the future, he’d like to send the data to a server instead to avoid accidentally dislodging a jumper wire.

If this one isn’t DIY enough for you to emulate, start by building your own CAN bus reader.