A Custom Keypad With Vision

A combination of cheap USB HID capable microcontrollers, the ability to buy individual mechanical keys online, and 3D printing has opened up a whole new world of purpose-built input devices. Occasionally these take the form of full keyboards, but more often than not they are small boards with six or so keys that are dedicated to specific tasks or occasionally a particular game or program. An easy and cheap project with tangible benefits to anyone who spends a decent amount of time sitting in front of the computer certainly sounds like a win to us.

But this build by [r0ckR2] takes the concept one step farther. Rather than just being a simple 3×3 keypad, his includes a small screen that shows the current assignments for each key. Not only does this look really cool on the desk (always important), but it also allows assigning multiple functions to each key. The screen enables the user to switch between different pages of key assignments, potentially allowing a different set of hot keys or macros for every piece of software they use.

The case is entirely 3D printed, as are the key caps. To keep things simple, [r0ckR2] didn’t bother to design a full enclosure, leaving all the electronics exposed on the back. Some might think it’s a little messy, but we appreciate the fact that it gives you easy access to the internals if you need to fix anything. Rubber feet were added to the bottom so it doesn’t slide around while in use, but otherwise the case is a pretty straightforward affair.

As for the electronics, [r0ckR2] went with an STM32 “Blue Pill” board, simply because it’s what he had on hand. The screen is a ST7735 1.44 inch SPI TFT, and the keys themselves are Cherry MX Red clones he got off of eBay. All in all, most of the gear came from his parts bins or else was only a couple bucks online.

If you’re looking for something a bit bigger, check out this gorgeous Arduino-powered version, or this far more utilitarian version. Both are almost entirely 3D printed, proving the technology is capable of more than making little boats.

[via /r/functionalprint]

Animated Bluetooth Bike Turn Signals

Tired of risking his life every time he had to signal a turn using his hands while riding his bicycle in rainy Vancouver, [Simon Wong] decided he needed something a bit higher tech. But rather than buy something off the shelf, he decided to make it into his first serious Arduino project. Given the final results and the laundry list of features, we’d say he really knocked this one out of the park. If this is him getting started, we’re very keen to see where he goes from here.

So what makes these turn signals so special? Well for one, he wanted to make it so nobody would try to steal his setup. He wanted the main signal to be easily removable so he could take it inside, and the controls to be so well-integrated into the bike that they wouldn’t be obvious. In the end he managed to stuff a battery pack, Arduino Nano, and an HC-05 module inside the handlebars; with just a switch protruding from the very end to hint that everything wasn’t stock.

On the other side, a ATMEGA328P microcontroller along with another HC-05 drives two 8×8 LED matrices with MAX7219 controllers. Everything is powered by a 18650 lithium-ion battery with a 134N3P module to bring it up to 5 VDC. To make the device easily removable, as well as keep the elements out, all the hardware is enclosed in a commercial waterproof case. As a final touch, [Simon] added a Qi wireless charging receiver to the mix so he could just pull the signal off and drop it on a charging pad without needing to open it up.

It’s been some time since we’ve seen a bike turn signal build, so it’s nice to see one done with a bit more modern hardware. But the real question: will he be donning a lighted helmet for added safety?

Continue reading “Animated Bluetooth Bike Turn Signals”

VCF East 2018: The Desktop ENIAC

The ENIAC, or Electronic Numerical Integrator and Computer, is essentially the Great Great Grandfather of whatever device you’re currently reading these words on. Developed during World War II for what would be about $7 million USD today, it was designed to calculate artillery firing tables. Once word got out about its capabilities, it was also put to work on such heady tasks as assisting with John von Neumann’s research into the hydrogen bomb. The success of ENIAC lead directly into the development of EDVAC, which adopted some of the now standard computing concepts such as binary arithmetic and the idea of stored programs. The rest, as they say, is history.

But ENIAC wasn’t just hugely expensive and successful, it was also just plain huge. While it’s somewhat difficult for the modern mind to comprehend, ENIAC was approximately 100 feet long and weighed in at a whopping 27 tons. In its final configuration in 1956, it contained about 18,000 vacuum tubes, 7,000 diodes, 70,000 resistors, 10,000 capacitors, and 6,000 switches. All that hardware comes with a mighty thirst for power: the ENIAC could easily suck down 150 kW of electricity. At the time this all seemed perfectly reasonable for a machine that could perform 5,000 instructions per second, but today an Arduino would run circles around it.

This vast discrepancy between the power and size of modern hardware versus such primordial computers was on full display at the Vintage Computer Festival East, where Brian Stuart demonstrated his very impressive ENIAC emulator. Like any good vintage hardware emulator, his project not only accurately recreates the capabilities of the original hardware, but attempts to give the modern operator a taste of the unique experience of operating a machine that had its heyday when “computers” were still people with slide rules. Continue reading “VCF East 2018: The Desktop ENIAC”

SpaceX’s Next Giant Leap: Second Stage Recovery

With the successful launch of the Bangabandhu-1 satellite on May 11th, the final version of the Falcon 9 rocket has finally become operational. Referred to as the “Block 5”, this version of the rocket is geared specifically towards reuse. The lessons learned from the recovery and reflight of earlier builds of the F9 have culminated into rocket that SpaceX hopes can go from recovery to its next flight in as few as 24 hours. If any rocket will make good on the dream of spaceflight becoming as routine as air travel, it’s going to be the Falcon 9 Block 5.

While there might still be minor tweaks and improvements made to Block 5 over the coming years, it’s safe to say that first stage recovery of the Falcon 9 has been all but perfected. What was once the fodder of campy science fiction, rockets propulsively lowering themselves down from the sky and coming to rest on spindly landing legs that popped out of the sides, is now a reality. More importantly, not only is SpaceX able to bring the towering first stage back from space reliably, they’re able to refuel it, inspect it, and send it back up without having to build a new one for each mission.

But as incredible a technical accomplishment as this is, SpaceX still isn’t recovering the entire Falcon 9 rocket. At best, they have accomplished the same type of partial reusability that the Space Shuttle demonstrated on its first flight all the way back in 1981. Granted they are doing it much faster and cheaper than it was done on the Shuttle, but it still goes against the classic airplane analogy: if you had to replace a huge chunk of the airliner every time it landed, commercial air travel would be completely impractical.

SpaceX has already started experimenting with recovering and reusing the payload fairings of the Falcon 9, and while they haven’t pulled it off yet, they’ll probably get there. That leaves only one piece of the Falcon 9 unaccounted for: the second stage. Bringing the second stage back to Earth in one piece might well be the most challenging aspect of developing the Falcon 9. But if SpaceX can do it, then they’ll have truly developed humanity’s first fully reusable rocket, capable of delivering payloads to space for little more than the cost of fuel.

Continue reading “SpaceX’s Next Giant Leap: Second Stage Recovery”

Spared No Expense: Cloning The Jurassic Park Explorer

While you’d be hard pressed to find any serious figures on such things, we’d wager there’s never been a vehicle from a TV show or movie that has been duplicated by fans more than the Staff Jeeps from Jurassic Park. Which is no great surprise: not only do they look cool, but it’s a relatively easy build. A decent paint job and some stickers will turn a stock Wrangler into a “JP Jeep” that John Hammond himself would be proud of.

While no less iconic, there are far fewer DIY builds of the highly customized Ford Explorer “Tour Vehicles”. As a rather large stretch of the film takes place within them, the interiors were much more detailed and bears little resemblance to the stock Explorer. Building a truly screen accurate Jurassic Park Tour Vehicle was considered so difficult that nobody has pulled it off since the movie came out in 1993. That is until [Brock Afentul] of PropCulture decided to take on the challenge.

In an epic journey spanning five years, [Brock] has created what he believes is the most accurate Jurassic Park Tour Vehicle ever produced; and looking at the side by side shots he’s done comparing his Explorer to the ones from the movie, it’s hard to disagree. A massive amount of work went into the interior, leaving essentially nothing untouched. While previous builds have tried to modify the stock dashboard to look like the one from the movie, he built a completely new dash from MDF and foam and coated it in fiberglass. The center console featuring the large display was also faithfully reproduced from the movie, and runs screen accurate animations, maps, and tour information. The seats also had to be replaced, multiple times in fact, as he had a considerable amount of trouble getting somebody to upholster them to his standards.

But perhaps the most difficult component of all was the clear acrylic roof bubble. These were critical to filming the movie, as they not only let the viewer see down into the Tour Vehicles but also let the characters see out during the iconic tyrannosaurus attack. But because the roof bubble was created only for the movie and never existed as a real aftermarket product, it usually gets ignored in Tour Vehicle builds. It’s simply too difficult to produce for most people. The omission of the bubble was always considered a case of artistic license; in the same way nobody expects a replica DeLorean from Back to the Future to actually fly or travel through time.

But [Brock] wanted to take his Tour Vehicle all the way, so he partnered up with a local glass shop that let him rent time in their oven so he could heat up acrylic sheets. Once heated to the appropriate temperature, they could be removed and wrapped around a mold to make the bubble. The process took weeks to perfect, but in the end he and a few friends got the hang of it and were able to produce a gorgeous roof bubble that they fitted to the already very impressive Explorer.

While previous Jurassic Park Tour Vehicle replicas were unquestionably awesome, this build really does take it to the next level. Short of equipping the garage with a movie-accurate super computer, it’s hard to see how the bar can get any higher.

Hacking A Cheap Laser Rangefinder

When a new piece of technology comes out, the price is generally so high that it keeps away everyone but the die hard early adopters. But with time the prices inch down enough that more people are willing to buy, which then drives the prices down even more, until eventually the economies of scale really kick in and the thing is so cheap that it’s almost an impulse buy. Linux SBCs, Blu-ray lasers, 3D printers; you name it and the hacker community has probably benefited from the fact that it’s not just the hacker community that’s interested anymore.

Which is exactly what’s started to happen with laser rangefinders. Once almost exclusively a military technology, you can now pick a basic “laser tape measure” for less than $40 USD from the normal overseas suppliers. Unfortunately, as [iliasam] found, they aren’t particularly well suited other tasks. For one there’s no official way of getting the data out of the thing, but the other problem is that the sample rate is less than one per second. Believing the hardware itself was promising enough, he set out to reverse engineer and replace the firmware running on one of these cheap laser rangefinders (Google Translate from Russian).

His blog post is an absolute wealth of information on how these devices operate, and a must read for anyone interested in reverse engineering. But the short version is that he figured out a way to reprogram the STM32F100C8T6 microcontroller used in the device, and develop his own firmware that addresses the usability concerns of this otherwise very promising gadget.

With some minor hoop jumping, the laser tape measure PCB can be hooked up to an ST-Link programmer, and the firmware provided by [iliasam] can be used to enable an easy to use serial interface. Perfect for pairing with an Arduino or Raspberry Pi to get fast and accurate range data without breaking the bank.

It probably won’t surprise you to see this isn’t the first time [iliasam] has gotten down and dirty with a laser rangefinder. This extremely impressive build from last year allowed for incredibly accurate 3D scans of his room, and before that he created his own rangefinder from scratch.

Continue reading “Hacking A Cheap Laser Rangefinder”

Investigating The Tiny Salvaged UPS From A Lightbulb

Recently I had the opportunity to do a teardown of a battery-backed LED bulb, and found some interesting details on how the device operated. Essentially, the bulb contained a low voltage DC uninterruptible power supply that would automatically switch between AC power and internal battery as needed. The implications of this seemed pretty exciting. For around $12 at big box retailers, this little bulb could be a cheap and convenient solution for providing fault tolerant power to microcontrollers and other low-power devices.

The teardown was a runaway success, with quite a bit of discussion of the UPS idea specifically. Some people hated it, others loved it. But as we’ve come to expect from Hackaday readers, the comments from both sides of the aisle contained keen observations and invaluable real-world experience. From the safety of the device to the accuracy of the manufacturer’s claims, it seems like every element of the product was addressed.

I had ended the teardown with a promise that I’d continue experimenting with the tiny salvaged UPS, but even if I hadn’t, with so much feedback it seemed revisiting the subject was all but a necessity. It this little UPS really viable? Is it too dangerous to safely implement in your project? Will the thing just blow up?

So with your comments as a guide, and free of the somewhat restrictive teardown format, I set out to conduct a more thorough investigation of this little circuit that caused so much debate last month. It’s not all good news, but it’s not in the trash either. Not yet, anyway.

Continue reading “Investigating The Tiny Salvaged UPS From A Lightbulb”