Turn A Car Into A Game Controller

The CAN bus has become a staple of automotive engineering since it was introduced in the late ’80s, but in parallel with the spread of electronic devices almost every single piece of equipment inside a car has been put on the CAN bus. While there are opinions on whether or not this is a good thing, the reality is that enough data is gathered on this bus to turn an unmodified modern car into a video game controller with just a little bit of code.

The core of [Scott]’s project is a laptop and a Python program that scrapes information about the car from the car’s CAN bus, including positions of the pedals and the steering wheel. This information can be accessed by plugging an adapter into the OBD-II port (a standard for all cars made after 1995). From there, the laptop parses the CAN data into keyboard and mouse commands for your video game of choice.

This is an interesting investigation into the nitty-gritty of the CAN bus, but also a less dangerous demonstration of all of the data available from the car than some other cases we’ve seen. At least [Scott]’s Mazda (presumably) lacks any wireless attack vectors!

Continue reading “Turn A Car Into A Game Controller”

Living 3D Printer Filament

This is more than a printing filament hack — closer to bleeding edge bio-engineering — but we can’t help but be fascinated by the prospect of 3D printing with filament that’s alive on a cellular level.

The team from MIT led by [Xuanhe Zhao] and [Timothy Lu] have programmed bacteria cells to respond to specific compounds.  To demonstrate, they printed a temporary tattoo of a tree formed of the sturdy bacteria and a hydrogel ‘ink’ loaded with nutrients, that lights up over a few hours when adhered to skin swabbed with these specific stimuli.

So far, the team has been able to produce objects as large as several centimetres, capable of being adapted into active materials when printed and integrated as wearables, displays, sensors and more.

Continue reading “Living 3D Printer Filament”

Coffee Table Model Railroad With All The Bells And Whistles (and Lights And Sirens)

For some, the allure of a real, physical world that you create and control is overwhelming. Combine that with a love of trains, and you get the model railroad. Some are incredibly detailed, and it seems like the larger the layout the better. Not everyone has the real-estate to devote to such a hobby, though, and moving down to N-gauge railroads is often the key to scratching the model railroad itch in a confined space.

But [Chris Plumley]’s complete N-gauge model railroad in a coffee table takes the concept to a new and tiny level. The superlatives to describe this layout are many and begin with the coffee table itself, a free-form sculptural design intended to evoke the natural contours of a landscape. Removing the lid reveals an intricately detailed world that rises up on a lift. The mainline train and a two-station trolley line ply the imaginary world under full computer control, complete with sound effects and animated lighting. An LCD screen stands in for a drive-in movie theater — remember drive-ins? — and a house fire rages on, never to be quenched by the arriving fire engines. And as a bonus, the locomotive has a dash cam to provide an engineer’s eye view of the layout. The attention to detail is wonderful, but the kicker is that this layout has existed in one form or another for sixty years. Talk about persistence!

If you’re intrigued by combining the world of microcontrollers and model railroads, you should really check out this tutorial to get started.

Continue reading “Coffee Table Model Railroad With All The Bells And Whistles (and Lights And Sirens)”

VFD Puts The Suck Back Into Desoldering Station

A dedicated desoldering station is a fantastic tool if you’re in the business of harvesting components from old gear. Having heat and suction in a single tool is far more convenient than futzing with spring-loaded solder suckers or braid, but only as long as the suction in the desoldering tool has a little oomph behind it. So if the suction on your solder sucker is starting to suck, this simple VFD can help restore performance.

Luckily for [Mr. Carlson], his Hakko 470 desoldering station is equipped with an AC induction motor, so it’s a perfect candidate for a variable frequency drive to boost performance. He decided to build a simple VFD that boosts the frequency from 60-Hz mains to about 90-Hz, thereby jacking the motor speed up by 50%. The VFD is just a TL494 PWM chip gating the primary coil of a power transformer through a MOSFET. Duty cycle and frequency are set by trimmers, and the whole thing is housed in an old chassis attached to the Hakko via an anachronistic socket and plug from the vacuum tube days. That’s a nice touch, though, because the Hakko can be returned to stock operation by a simple bridging plug, and the video below shows the marked difference in motor speed both with and without the VFD plugged in.

We’ve marveled at [Mr. Carlson]’s instrument packed lab before and watched his insider’s tour of a vintage radio transmitter. Here’s hoping we get to see more of his hopped-up solder sucker in action soon.

Continue reading “VFD Puts The Suck Back Into Desoldering Station”

Rickroll The Masses With A Coin Cell Throwie

If there is one educational institution that features on these pages more than any other, it may be Cornell University. Every year we receive a pile of tips showing us the engineering term projects from [Bruce Land]’s students, and among them are some amazing pieces of work. Outside the walls of those technical departments though, we suspect that cool hacks may have been thin on the ground. English Literature majors for example contain among their ranks some astoundingly clever people, but they are not known for their handiness with a soldering iron or a lathe.

We’re happy to note then that someone at Cornell who is handy with a soldering iron has been spreading the love. In the form of coin cell powered throwies that intermittently Rickroll the inhabitants of the institution’s halls of residence. We have few technical details, but they seem to be a simple affair of a small microcontroller dead-bug soldered to a coin cell and a piezoelectric speaker. If we were embarking on such a project we’d reach for an ATtiny of some description, but similar work could be done with a PIC or any number of other families.

The Cornell Daily Sun write-up is more a work of investigative journalism detailing the perplexed residents searching for the devices than it is one of technical reference. We’re pleased to note that the university authorities have a relaxed attitude to the prank, and that no action will be taken against the perpetrator should they be found.

Thus we’d like to take a moment to reach out to the Cornell prankster, and draw their attention to our Coin Cell Challenge competition. There is still time to enter, and a Rickrolling throwie would definitely qualify. This isn’t the first tiny Rickrolling prank we’ve shown you on these pages.

Thanks [Simon Yorkston] for the tip.

Art, Craft, Make, Hack, Whatever

Anyone who has spent much time reading Hackaday, or in the real world in or around a few hackspaces, will know that ours is a community of diverse interests. In the same place you will find a breathtaking range of skills and interests, people working with software, electronics, textiles, and all conceivable materials and media. And oftentimes in the same person: a bare-metal kernel guru might spend their time in a hackspace making tables from freight pallets rather than coding.

Through it all run a variety of threads, identities if you will, through which the differing flavours of our wider community define themselves. Words like “Hacker” and “Maker” you may identify with, but when I mention words like “Crafter” or “Artist”, perhaps they might meet with some resistance. After all, artists paint things, don’t they, and crafters? They make wooly hats and corn dollies! Continue reading “Art, Craft, Make, Hack, Whatever”

Joule Thief Steals In Favor Of Christmas

A lot of things tend to get stretched during the holiday season, like shopping budgets and waistbands and patience. This year, [Chris] is stretching the limits of both the mini breadboard and the humble 1.5 V LR44 coin cell with his joule thief-driven LED mini Christmas tree.

With the push of a micro momentary, the joule thief circuit squeezes enough power from an LR44 to boot an MSP430 microcontroller, which needs 1.8 V – 3.6 V. After boot, the micro takes control of the joule thief circuit and milks it whenever the voltage falls below 3.2 V. This tree may be small in stature, but it’s feature-rich. A push of the same momentary button cycles through four different light shows, ending with a medley of all four. Be dazzled after the break.

The code for this tiny tree, which features an awesome ASCII breadboard layout and schematic, is up on GitHub. [Chris] has it listed among a few other manageable bare-metal ‘430 projects that would be great for beginners at pure C. If that sounds like you, why not give yourself the gift of learning a new language?

We’ve seen some spirited ways of lighting LEDs, but doing it with candle power takes the fruitcake.

Continue reading “Joule Thief Steals In Favor Of Christmas”