Magic 8-Ball Gets A Modern Makeover

Back in 2012, [sjm4306] was surprised when his breadboard rendition of the classic “Magic 8-Ball” popped up on Hackaday. If he had known the project was going to be enshrined on these hallowed pages, he might have tidied things up a bit. Now with nearly a decade of additional electronics experience, he’s back and ready to show off a new and improved version of the project.

The 3D printed case helps sell the look.

Conceptually, not much has changed from the original version. Press a button, get a random response. But on the whole the project is more refined, and not just because it’s moved over to a custom PCB.

The original version used a PIC16F886 with a charge controller and experimental RTC, but this time around [sjm4306] has consolidated all the functionality into the ATmega328P and is powering the whole thing with a simple CR2032 coin cell. As you can see in the video after the break, assembly is about as quick and straight-forward as it gets.

As with the original, there’s no accelerometer onboard. If you want to see a new message from your mystic companion, you’ve got to hold the button to “shake” the ball. A timer counts how long the button is held down, which in turn seeds the pseudorandom number generator that picks the response. Since each person will naturally hold the button for a slightly different amount of time, this keeps things from getting repetitive.

We don’t often see creators revisit their projects from the olden days, but we’d certainly like to. Consider this an open invitation to any hacker who wants to show off how much they’ve refined their skills; do-overs are always welcome here at Hackaday.

Continue reading “Magic 8-Ball Gets A Modern Makeover”

Inductive Loop Vehicle Detector Gets Modernized

Much like George Lucas and the original Star Wars films, many of us may find that our passion projects are never quite finished, especially when new technology comes around or we just want to make some improvements for their own sake. [Muris] was featured a while back for a vehicle detecting circuit, but is back with some important upgrades to his project. (Which, luckily, do not include any horrible CGI aliens.)

For starters, the entire project has been reworked from the ground up. For anyone unfamiliar with the original project, the circuit detected a vehicle via an inductive loop and was able to perform a task like opening a gate. It now has two independent channels which are polled separately, yet has a reduced parts count which should make construction simpler. The firmware has also been reprogrammed, and in addition to sensing a vehicle’s presence can now also measure the speed of any vehicles passing by.

The complete list of improvements can be found on the project page, and an extensive amount of documentation is available on this if you want to try to roll out your own inductive loop vehicle detector. Of course, this isn’t the only way to detect a vehicle’s presence if inductive loops aren’t really your style.

Continue reading “Inductive Loop Vehicle Detector Gets Modernized”