Using Smartphone Cameras To Make Sure Drivers Are Looking At The Road

Most of us are probably quite aware of the damage that a car can inflict when driven by a distracted driver. In an ideal world, people who are driving a car would not allow something like their phone to distract them from their primary task of being the primary navigation system for the 1+ metric ton vehicle which they are controlling.

Many smartphone apps as well as in-car infotainment systems have added features over the years that try to prevent a driver from using them, but they run into the issue that it’s hard to distinguish between passenger and driver. As it turns out, asking the human driver whether they are the driver doesn’t always get the expected result. This is where [Rushil Khurana] and his team at Carnegie Mellon University (CMU) have come up with a more fool-proof approach.

In their paper (PDF), they cover the algorithm and software implementation that uses the smartphone’s own front (selfie) and back cameras to determine from the car’s interior which side of the car the user is sitting in, and deducing from that whether the user is sitting in the driver’s seat or not.  From there it is a fairly safe assumption to make that if the user is sitting in the driver’s seat, and the car is moving, that this user should not be looking at the phone’s screen.

In a test involving 16 different cars and 33 users, they achieved an overall accuracy of 94% with the phone held in the hand, and 92.2% while docked. This is more reliable than the other approaches covered in the paper, and as a benefit does not require any extra hardware. Who knows, upcoming smartphones may include a feature like this, so that apps can easily determine what feature set should be made available to a driver, if any.

Continue reading “Using Smartphone Cameras To Make Sure Drivers Are Looking At The Road”

Lock Your Keys In The Car On Purpose With Aluminum Foil

[TJ] is a surfer, and drives his car to get to the beach. But when he gets there he’s faced with a dilemma that most surfers have: either put his key in your baggies (shorts) or wetsuit and hope it doesn’t get lost during a wipeout, or stash it on the rear wheel of his car. Hiding the keyfob by the car isn’t an option because it can open the car doors just by being in proximity to the car. He didn’t want to risk losing it to the ocean either, so he built a waveguide of sorts for his key out of aluminum foil that lets him lock the key in the car without locking himself out.

Over a series of trials, [TJ] found out that his car, a 2017 Chevy Cruze, has a series of sensors in it which can determine the location of the keyfob based on triangulation. If it thinks the keyfob is outside of the car, it allows the door to be locked or unlocked with a button on the door handle. If the keyfob is inside the car, though, it prevents the car from locking via the door handles so you don’t accidentally lock yourself out. He found out that he could “focus” the signals of the specific sensors that make the car think the keyfob is outside by building an open Faraday cage.

The only problem now is that while the doors can be locked, they could also can be unlocked. To solve that problem he rigged up an ESP32 to a servo to open and close the opening in the Faraday cage. This still means there’s a hidden device used to activate the ESP32, but odds are that it’s a cheaper device to replace than a modern car key and improves security “through obscurity“. If you have any ideas for improving [TJ]’s build, though, leave them in the comments below. Surfers across the world from [TJ] to the author would be appreciative.

Dissecting A Mechanical Voltage Regulator

When the fuel gauge of his 1975 Triumph Spitfire started going off the scale, the collected knowledge of the Internet indicated that [smellsofbikes] needed to replace a faulty voltage regulator behind the dash. For most people, that would be the end of the story. But he, like everyone who’s reading this right now, really wanted to see what the inside of a 45 year old voltage regulator looked like.

After prying open the metal case, he discovered that not only is the regulator mechanical in nature, but there’s even a tiny screw that allows you to adjust the output voltage. Luckily for us, not only is [smellsofbikes] curious enough to open it up, but he’s also got the tools and knowledge to explain how it works in the video after the break.

Put simply, the heart of the regulator is a bimetallic strip with a coil of wire wrapped around it. When power from the battery is passed through the coil it acts as a heater, which makes the strip move up and break the connection to the adjustable contact. With the connection broken and the heating coil off the strip rapidly cools, and in doing so returns to its original position and reconnects the heater; thus starting the process over again.

These rapid voltage pulses average out to around 10 VDC, though [smellsofbikes] notes that you can’t actually measure the output voltage of the regulator with a meter because it moves around too much to get any sort of accurate reading. He also mentions a unique quirk of this technology: due to the force of gravity acting on the bimetallic strip, the output of the regulator will actually change depending on its mounting orientation.

On the oscilloscope, [smellsofbikes] is able to show us what the output actually looks like. As you might expect, it looks like a mess to 21st century eyes. But these were simpler times, and it should go without saying there aren’t any sensitive electronics in a sports car from 1975. Interestingly, he says he’s now replaced the mechanical assembly with a modern regulator chip. Here’s hoping we’re around long enough to see if he gets another 50 years out of it.

Continue reading “Dissecting A Mechanical Voltage Regulator”

Puttering Around In A Converted Golf Cart

Technically speaking, golf carts are already sports cars, they’re just not very sporty in themselves. When [rtkerth] went to trade in his old golf cart for a new one, he found that it would be more valuable to hang on to the old one and have a bit of fun with it. The result is retro-styled kart that would not look out of place at a micro car show.

Before getting to the really fun bits, he had to do a bit of prep work, such as relocating the six large batteries so that super cool stock seat can sit lower. Now the batteries are distributed throughout the vehicle, including one that’s been cleverly disguised as center console. Since the cart won’t be hitting the links anymore, there’s no need for a place to put clubs. Two of the batteries are now in the back, supported by a platform made from old bed frames.

We love the fiberglass fab work [rtkerth] did to the front and rear — it looks great, especially considering he’d never done it before. The rear is done more traditionally with a foam mold, but the front is fiberglassed directly over expanding foam insulation framed with cardboard. The local body shops refused to paint this baby roadster, so [rtkerth] did it himself before adding the killer touches — 1930s Brooklands-style windscreens and 1950s bullet mirrors that look great together.

Believe it or not, this isn’t the first amazing golf cart mod we’ve seen. Go see this baby DeLorean before you’re outta time.

How To Get Into Cars: Forced Induction

For those addicted to automotive thrills, there’s always an underlying lust for more power. For those chasing a bigger number, forced induction is one of the most effective ways to achieve it. In addition to more grunt, you get a whole bunch of fun new noises, too.  For those with a naturally aspirated car, here’s how you go about converting to forced induction.

Superchargers and Turbos

When we talk about forced induction, we’re talking about forcing more air into the engine under pressure. With more air available, it’s possible to fully combust more fuel, creating more power. The two most common ways of doing this are supercharging and turbocharging. We’ll be using the common automotive vernacular here, so those eager to bicker about terminology from the early 20th century aircraft industry best do it in the comments. Continue reading “How To Get Into Cars: Forced Induction”

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.

No Windshield? No Problem, Says McLaren

All the best sports cars look like they’re moving when they’re just sitting there, and the lines on McLaren’s newest limited-edition plaything redefine that look of speed standing still. Maybe it’s the sneering headlights or the streamlined, reverse-1966 Batmobile styling. Whatever it is, the 804-horsepower two-seater project Elva looks like it’s leaping off the line into the future.

But this future is free from the last thing we’d expect to see removed from any vehicle, especially a $1.7 million supercar — the windshield. Now that the headphone jack has been deemed expendable, it seems that nothing is sacred. The Elva is already a permanent convertible with no windows.

Though McLaren didn’t start this weird and windowless fire, the Elva is meant to fan the flames of futurism. She joins the ranks of a few windshield-free models from Ferrari, Mercedes-Benz, and Aston Martin. In the other guy’s cars, you’ll need a helmet above 30MPH unless you love the thunderous sounds of air buffeting and blown-out hair. It’s a young idea with a few bugs to work out.

Continue reading “No Windshield? No Problem, Says McLaren”