Shooting For The First Time With Help From A Raspberry Pi

Like many people, [Mike] has a list of things he wants to do in life. One of them is “fire a gun with a switch,” and with a little help from some hacker friends, he knocked this item off last weekend.

For those wondering why the specificity of the item, the backstory will help explain. [Mike] has spinal muscular atrophy, a disease that was supposed to end his life shortly after it began. Thirty-seven years later, [Mike] is still ticking items off his list, but since he only has voluntary control of his right eyebrow, he faces challenges getting some of them done. Enter [Bill] and the crew at ATMakers. The “AT” stands for “assistive technologies,” and [Bill] took on the task of building a rig to safely fire a Glock 17 upon [Mike]’s command.

Before even beginning the project, [Bill] did his due diligence, going so far as to consult the Bureau of Alcohol, Tobacco, and Firearms (ATF) and arranging for private time at a local indoor gun range. The business end of the rig is a commercially available bench rest designed to control recoil from the pistol, which is fired by a servo connected to the trigger. The interface with [Mike]’s system is via a Raspberry Pi and a Crikit linked together by a custom PCB. A PiCam allowed [Mike] to look down the sights and fire the gun with his eyebrow. The videos below show the development process and the day at the range; to say that [Mike] was pleased is an understatement.

We’re not sure what else is on [Mike]’s list, but we see a lot of assistive tech projects around here — we even had a whole category of the 2017 Hackaday Prize devoted to them. Maybe there’s something else the Hackaday community can help him check off.

Continue reading “Shooting For The First Time With Help From A Raspberry Pi”

A Cartoon-ifying Camera For Instant Absurdism

We take photographs as a way to freeze moments in time and to capture the details that get blurred by our unreliable memories. There is little room for interpretation, and this is kind of the whole point.

[Dan Macnish]’s latest project, Draw This, turns reality into absurdity. It’s a Raspberry Pi-based instant camera that trades whatever passed in front of the lens for a cartoon version of same. Draw This uses neural networks to ID the objects in the frame, and then draws upon thousands of images from Google’s Quick, Draw! dataset to provide a loose interpretation via thermal printer. Seems to us like the perfect camera to take to DEFCON (or any other part of Las Vegas).

If you have a Raspi3, a v2 camera, and a thermal printer, you can make your own crowd-sourced, cartoonified memories using the code in [Dan]’s repo. Still into recording reality? You can use Pi cameras to see in the dark or even explore a body of water.

Aquarium Controller Starring Arduino Gets A Long Video Description

There’s an old saying that the cobbler’s children have no shoes. Sometimes we feel that way because we stay busy designing things for other people or for demos that we don’t have time to just build something we want. [Blue Blade Fish] wanted to build an Arduino-based aquarium controller. He’s detailed the system in (so far) 14 videos and it looks solid.

This isn’t just a simple controller, either. It is a modular design with an Arduino Mega and a lot of I/O for a serious fish tank. There are controls for heaters, fans, lights, wave makers and even top-off valves. The system can simulate moonlight at night and has an LCD display and keys. There’s also an Ethernet port and a Raspberry Pi component that creates a web interface, data storage, and configures the system. Even fail safes have been designed into the system, so you don’t boil or freeze expensive fishes. No wonder it took 14 videos!

Continue reading “Aquarium Controller Starring Arduino Gets A Long Video Description”

Keep It Close: A Private Git Server Crash Course

At this point, everyone has already heard that Microsoft is buying GitHub. Acquisitions of this scale take time, but most expect everything to be official by 2019. The general opinion online seems to be one of unease, and rightfully so. Even if we ignore Microsoft’s history of shady practices, there’s always an element of unease when somebody new takes over something you love. Sometimes it ends up being beneficial, the beginning of a new and better era. But sometimes…

Let’s not dwell on what might become of GitHub. While GitHub is the most popular web-based interface for Git, it’s not the only one. For example GitLab, a fully open source competitor to GitHub, is reporting record numbers of new repositories being created after word of the Microsoft buyout was confirmed. But even GitLab, while certainly worth checking out in these uncertain times, might be more than you strictly need.

Let’s be realistic. Most of the software projects hackers work on don’t need even half the features that GitHub/GitLab offer. Whether you’ve simply got a private project you want to maintain revisions of, or you’re working with a small group collaboratively in a hackerspace setting, you don’t need anything that isn’t already provided by the core Git software.

Let’s take a look at how quickly and easily you can setup a private Git server for you and your colleagues without having to worry about Microsoft (or anyone else) having their fingers around your code.

Continue reading “Keep It Close: A Private Git Server Crash Course”

The Hills Are Alive With The Sound Of Train Whistles

In Northern England, the hills used to be home to steam trains. The trains have long faded into history, but the sound of their whistle is making a brief return. Artist [Steve Messam] has created “Whistle” as part of The Great Exhibition of the North. [Steve] doesn’t cover the installation on his website yet, but there have been a few great articles about it in the local press.

Whistle consists of 16 steam engine whistles around Newcastle. From June 22 to September 9, you can hear the whistles at 1pm. First one whistle sounds, then another, then another after that. In all, 16 whistles are included in the art installation, all controlled by Raspberry Pi computers. The Pi’s were programmed by Nebula Labs. Tech details are slim on this one, but we’re guessing each Pi has a Cellular radio built-in.

The whistles used in this installation aren’t old train whistles. They are brand new cast brass whistles based upon the original steam train sounders. The compressed air available today doesn’t sound exactly like steam though, so the brass whistles were modified to sound more authentic. [Steve’s] idea is to get the whistle as perfect as possible, which will trigger the memories of those who are old enough to have heard the originals.

Want to know more about steam engines? Check out this Retrotechtacular about repairing steam locomotives!

Framed Raspberry Pi Keeps Tabs On Spotify

Perhaps you’ve noticed, but we here at Hackaday have a slight obsession with the over-engineered. One could fairly say there’s a linear relationship between how likely we are to feature a project and how needlessly complex it is. That said, it isn’t as if we are unable to appreciate a minimalist approach. Taking the scenic route can be a lot of fun, but sometimes it’s nice to just get where you’re going before you run out of gas.

This very slick Spotify “Now Playing” display created by [Jon Ashcroft] is a perfect example of that principle. The hardware is so straightforward that it’s barely worth mentioning: a Raspberry Pi with a small HDMI display, tucked neatly into a photo frame. Nothing to get too excited about there. The real hook with this particular project is the software.

[Jon] is a web developer by trade, so it’s natural he would approach his personal projects with that same mentality. Rather than one of the “usual suspects” for a Pi project like Python, he wrote his software in ES6; which the Pi is running through Chromium in kiosk mode (full screen web content, no top bar). For those of you who aren’t keeping up on web languages, ES6 is short for EcmaScript 6: a new version of the standard on which JavaScript is based. It’s a bit heavier on resources than is strictly necessary, but it works well enough in the end.

Using Spotify’s excellent API, his software pulls down the current track information and stores it locally. It does this every ~4 seconds, checking to see if the track has changed. [Jon] isn’t thrilled with this brute force method, but it works for now. It displays the current playing song and artist, and uses a library called node-vibrant to extract a dominant color from the album art and use that to create a complementary background color. Very slick.

[Jon] provides all of his source code and made it easy to connect to your own Spotify account, so don’t be surprised if you see this running on a “Magic Mirror” near you soon.

A Fully Open Source Raspberry Pi Synthesizer

Have you ever seen something and instantly knew it was something you wanted, even though you weren’t aware it existed a few seconds ago? That’s how we felt when we received a tip about Zynthian, a fully open source (hardware and software) synthesizer. You can buy the kit online directly from the developers, or build your own from scratch using their documentation and source code. With a multitude of filters, effects, engines, and essentially unlimited upgrade potential, they’re calling it a “Swiss Army Knife of Synthesis”. We’re inclined to agree.

At the most basic level, the Zynthian is a Raspberry Pi 3 with a touch screen, a few rotary encoders, a dedicated sound card, and MIDI support. Software wise the biggest feature is arguably the real-time Linux kernel for the lowest latency possible. There’s also a custom web interface so you can control the Zynthian from another machine on the network if you want. As a matter of course, it also includes a wide array of pre-installed audio packages to experiment and create with.

Kits are offered at various prices from $420 USD for the top of the line model down to unpopulated PCBs for a few bucks. We like that they broke things down this way; allowing users of various skill (and or patience) to pay what they want. If you just want to buy the custom boards and roll your own case and Pi solution, you can do that.

If you want to go all in, you can build one entirely from scratch as well. Everything from the CAD files for the case to their custom rotary encoder library is completely open (most licensed under GPL v3) for anyone to use however they see fit. There’s even a page in the wiki for listing hardware which isn’t officially supported by the project, but remain as options for those looking to cut their own path.

Synthesizers are a fairly popular hacker project, from Google’s AI-powered version to single chip exercises in frugality. If you want to learn even more about the fine line between digital noise and music, check out this fantastic series by our very own [Elliot Williams].

[Thanks to Mynasru for the tip.]

Continue reading “A Fully Open Source Raspberry Pi Synthesizer”