Zelda And The Ocarina Of Things

Voice recognition is this year’s model for home automation, but aside from feeling like you’re onboard the Aries 1b arguing with HAL 9000, it just doesn’t do it for our geeky selves. So what’s even geekier? How about carrying around an ocarina in your pocket so that you can get a Raspberry Pi to unlock the door for you? (YouTube video, embedded below.) Yeah, that’ll do.

[Sufficiently Advanced]’s video gets us 90% of the way toward replicating this build. There’s a tube with a microphone and a Raspberry Pi inside. There are a bunch of ESP8266-powered gadgets scattered around the house that take care of such things as turning on and off the heater, watering plants, and even pressing a (spare) car remote with a servo.

We’d love to know what pitch- or song-recognition software the Raspberry Pi is running. We’ve wanted to implement a whistling-based home automation interface since seeing the whistled. We can hold a tune just fine, but we don’t always start out on the same exact pitch, which is a degree of freedom that [Sufficiently Advanced]’s system doesn’t have to worry about, assuming it only responds to one ocarina.

If you’re questioning the security of locking and unlocking your actual apartment by playing “Zelda’s Lullaby” from outside your window, you either overestimate the common thief or you just don’t get the joke. The use case of calling (and hopefully finding) a cell phone is reason enough for us to carry a bulky ocarina around everywhere we go!

Continue reading “Zelda And The Ocarina Of Things”

Count Your Zombies! A Left4Dead 2 Stat Tracker

Sure, you’re getting further and further into the game and finishing missions, but the true progress for a zombie shooter is how many zombies you’ve killed, right? [Evan Juras] agreed, so he set off to build a hardware stat tracker for Left4Dead 2!

Left4Dead 2 tracks a bunch of stats and at the end of each level, those stats are updated on your Steam page. [Evan] used a Python script running on a Raspberry Pi to connect to the internet and grab four different stats from your Steam profile. Those stats are displayed on an RGB 16×2 display. To house the project, a case for it was designed and [Evan] had it 3D printed. There are two buttons on the case: one to update the stats and another to cycle through them. If no buttons are pressed then the display cycles through the stats every minute and updates the stats every 24 hours.

The video below shows a summary of the build process and describes the hardware and software used. [Evan] has plans for tracking stats from other games through Steam and his python code is available on Github. Python is becoming the go-to tool for interacting with video game bots and now, stats — see this list of Pokemon Go bots. Also, check out this feature about running MicroPython on an ESP8266 if you wanted to build something similar to this without the Raspberry Pi.

Continue reading “Count Your Zombies! A Left4Dead 2 Stat Tracker”

PiSound, The Audio Card For The Raspberry Pi

Kids today are being loud with their ‘drum machines’ and ‘EDM’. Throw some Raspberry Pis at them, and there’s a need for a low-latency sound card with MIDI and all the other accouterments of the modern, Skrillex-haired rocker. That’s where PiSound comes in.

Of course, the Pi already comes with audio out, but that’s not enough if you want to do some real audio processing. You need audio in as well, and while you’re messing around with that, adding some high-quality opamps, ADCs, DACs, and some MIDI would be a good idea. This is what the PiSound is all about.

[Pranciskus], the guy who has been working on the PiSound for a while now, developed this multitool for audio on a tiny Linux system. One of the killer features on the PiSound is ‘The Button’, a simple tact switch that runs a script if the button is pressed, another script if the button is held down, and two more if the button is pressed two or three times. This is actually a pretty nifty UI, and we wouldn’t mind seeing this on a few more Pi accessories.

If you’d like to see some example projects using the PiSound, there example MIDI controllers, networked audio players, and some goofing around with LV2 plugins over here.

Hackaday Links: March 12, 2017

The world’s first public installation of a solar roadway caught fire or something.

Hey hardware nerds in the UK! Nottingham is having its first monthly hardware meetup. This get together is being put together by [Spencer], creator of the extremely popular RC2014 Homebrew Z80 computer kit. The meetup is free, and it’s happening this Tuesday.

[danjovic] sent in a link to this YouTube channel of a guy building stuff out of PVC sheets and CA glue. There’s a lot of stuff in here from a PVC tripod to instructions on how to get PVC sheets out of PVC pipe. Small warning: this is PVC, and it will kill you instantly, for reasons we can’t yet determine. Additionally, he’s heating PVC, which means cancer for your yet-unborn great-grandchildren. How it both kills you while still allowing you to breed is beyond our comprehension. That’s how bad PVC really is.

NASA has updated their available software catalog. If you want to go to Saturn, you first have to go to Venus three times. Here’s a tool that packs batteries. You should build a router for the interplanetary Internet.

[jlbrian7] is Breaking Android over on Hackaday.io

Last week, we had a Raspberry Pi Hack Chat with [Roger Thornton], the principal hardware engineer at Raspberry Pi. We talked about the hardware that goes into the Raspberry Pi (and the new Pi Zero W), and gave away a few Pi Zero Ws to a few people on hackaday.io that had great ideas for a project. One of the winners of a free Raspberry Pi Zero W was [arsenijs] for his Raspberry Pi Project. This is a really great project that uses a Raspberry Pi and Raspberry Pi accessories. It’s pushing the envelope of what a Pi can be, and a free Raspberry Pi Zero W couldn’t have gone to a more worthy project.

What are you doing the weekend of March 31st? We’re going to New Jersey for the Vintage Computer Festival East. This is one of the better cons we go to. Maybe this year we’ll organize a trip to the pinball museum in Asbury Park.

Raspberry Pi-Based Game Boy Emulator

The most popular use for a Raspberry Pi, by far, is video game emulation. We see this in many, many forms from 3D printed Raspberry Pi cases resembling the original Nintendo Entertainment System to 3D printed Raspberry Pi cases resembling Super Nintendos. There’s a lot of variety out there for Raspberry Pi emulation, but [moosepr] is taking it to the next level. He’s building the smallest Pi emulation build we’ve ever seen.

This build is based on the Pi Zero and a 2.2″ (0.56 dm) ili9341 TFT display. This display has a resolution of 240×320 pixels, which is close enough to the resolution of the systems the Pi Zero can emulate. The Pi Zero and display are attached to a beautiful purple breakout board (shared on OSH Park) along with a few 5-way nav switches, a charger for a Lipo battery, and a few other bits and bobs.

Right now, [moosepr] is experimenting with adding sound to his board. It’s easy enough to get sound out of a Pi Zero — it’s just PWM coming from a few pins — but audio also needs an amp, a speaker, and more space on the board. To solve this problem, [moose] found a few piezo transducers from musical greeting cards. These are designed to be thin and as loud as possible, and attaching these directly to the PWM pins providing audio might just work. This is a project to keep an eye on, if only to see if cheap piezos work for low-fi audio in retro emulators.

An Ugly But Functional Pi Laptop

It’s got a face only its mother could love. Or a Hackaday writer, since this ugly e-waste laptop proudly sports a Jolly Wrencher on its back.

All joking aside, this is a great example of doing what you can with what you’ve got. [starhawk] is limited on funds, and a regular laptop is beyond his means. But being light in the wallet is no reason to go without when you can scrounge parts from friends and family. The base of the laptop is a mini USB keyboard, with the top formed mainly by a 7″ HDMI panel. The back of the display is adorned with a Raspberry Pi 3, a USB hub, a little sound dongle, and the aforementioned Jolly Wrencher. The whole thing is powered by a cast-off power supply brick — no exploding batteries to worry about!

Other Pi-based laptops we’ve covered may be sleeker, but we’ve got to admit that [starhawk]’s keyboard is probably the better choice for working on the next great American novel. And a Linux laptop for next to nothing? That’s a win in our book.

Putting Pi In Infrared Doohickies

The Raspberry Pi Zero W is a tiny, cheap Linux computer with WiFi. It’s perfect for Internet of Things things such as controlling ceiling fans, window blinds, LED strips, and judgmental toasters. This leads to an obvious question: how do you attach your ceiling fan and LED strips to a Pi Zero? A lot of these things already have infrared remotes, so why not build an infrared hat for the Pi? That’s what [Leon] did, and it’s Open Hardware with documentation.

[Leon]’s Anavi Infrared Pi Hat does exactly what you think it should do. There’s an IR receiver, two IR LEDs, and UART pins for debugging. That’s all you need to control infrared doohickies over the Internet, and [Leon] wrapped it up in a nice neat package that’s the same size as a Raspberry Pi Zero. Add on some documentation and you have something we rarely see: a project meant to be used by other people.

This focus on allowing people to actually use what [Leon] created can lead to only one cynical conclusion: he’s probably selling these things somewhere. The cynic is never surprised. [Leon] has a crowdfunding campaign going, that’s over 400% funded with a month to go. That’s okay, though: all the design files are available so if you want to build your own without supporting people who build useful devices, have at it.