OK, we haven’t heard of a Ford Cylon either. However, there is now a Mustang Cobra out there that has been given a famous Cylon characteristic. [Monta Elkins] picked himself up an aftermarket third brake light assembly, hacked it, and installed it on said Mustang.
The brake light assembly contains 12 LEDs, which unfortunately, are not individually addressable. Additionally, by the looks of it, the brake light housing was not meant to be opened up. That didn’t get [Monta] down though. There’s more than one way to skin a cat, but he chose to use a hot knife to open the assembly, which worked quite well. A rotary cutter tool was used to cut the traces between the LEDs allowing them to be individually controlled with an Arduino. A Bluetooth module allows him to control the new brake light from his smartphone. There are different modes (including a special mode that he shows off at the end of the video) that can be selected via a Bluetooth Terminal app.
There is no schematic or code link in the video itself or the description, but [Monta] did hit the high points. Therefore, it shouldn’t be too hard to replicate.
This isn’t the first brake light hack we’ve featured. This one goes way beyond just animated lights. This one requires no programming. Rather wear your brake light? We’ve got your back(pack).
Driving a brand new 670 horsepower Roucsh stage 3 Mustang while wearing virtual reality goggles. Sounds nuts right? That’s exactly what Castrol Oil’s advertising agency came up with though. They didn’t want to just make a commercial though – they wanted to do the real thing. Enter [Adam and Glenn], the engineers who were tasked with getting data from the car into a high end gaming PC. The computer was running a custom simulation under the Unreal Engine. El Toro field provided a vast expanse of empty tarmac to drive the car without worry of hitting any real world obstacles.
The Oculus Rift was never designed to be operated inside a moving vehicle, so it presented a unique challenge for [Adam and Glenn]. Every time the car turned or spun, the Oculus’ on-board Inertial Measurement Unit (IMU) would think driver [Matt Powers] was turning his head. At one point [Matt] was trying to drive while the game engine had him sitting in the passenger seat turned sideways. The solution was to install a 9 degree of freedom IMU in the car, then subtract the movements of that IMU from the one in the Rift.
GPS data came from a Real Time Kinematic (RTK) GPS unit. Unfortunately, the GPS had a 5Hz update rate – not nearly fast enough for a car moving close to 100 MPH. The GPS was relegated to aligning the virtual and real worlds at the start of the simulation. The rest of the data came from the IMUs and the car’s own CAN bus. [Adam and Glenn] used an Arduino with a Microchip mcp2515 can bus interface to read values such as steering angle, throttle position, brake pressure, and wheel spin. The data was then passed on to the Unreal engine. The Arduino code is up on Github, though the team had to sanitize some of Ford’s proprietary CAN message data to avoid a lawsuit. It’s worth noting that [Adam and Glenn] didn’t have any support from Ford on this, they just sniffed the CAN network to determine each message ID.
The final video has the Hollywood treatment. “In game” footage has been replaced with pre-rendered sequences, which look so good we’d think the whole thing was fake, that is if we didn’t know better.
Click past the break for the final commercial and some behind the scenes footage.
Continue reading “Castrol Virtual Drift: Hacking Code at 80MPH with a Driver in a VR Helmet”
[StarfireMX] churned out a fantastic turn signal replacement for his Mustang. When he switches on his blinker, a chasing pattern of amber LEDs is shown on the front corner of his car. Pretty cool, and as far as we can tell this is still street legal. But once he gets onto private property [StarfireMX] can have a little bit more fun with the replacements. The LEDs are actually fully addressable RGB modules. They can display a variety of colors and patterns, with wireless control from a touch-screen unit he also built.
Both the turn signal unit, and the remote controls are Arduino driven with XBee modules for wireless communications. Pop the hood and you’ll find even more blinky lights to accent the engine, which are also tweaked using the remote control.
Don’t miss the demonstration video after the break. Near the end of the clip you can see how the controller is mounted with heavy-duty Velcro behind the grill. Inside the project box there’s a voltage regulator which drops the 12V down to 5V and can put out a whopping four amps to make sure the LEDs have plenty of current.
Continue reading “Animated turn signals add a little bit of Cylon to your automobile”