Arduino’s Pluggable Discovery Programs With Any Protocol

The first Arduino was serial, and over the decade and a half, this has been the default way to upload code to an Arduino board. In 2008, support for in-circuit programmers was added, and later port detection was added. The latest version of the Arduino IDE adds something new: pluggable discovery. Now any protocol is supported by the Arduino IDE.

This feature is the brainchild of [Paul Stoffregen], creator of the Teensy. If you’ve ever used a Teensy, you’ll remember the Teensyduino application used to upload code to the board. The Teensy uses HID protocol instead of serial for uploading. After working to improve the integration between the Teensy and Arduino IDE, [Paul] stated extending the DiscoveryManager. After some discussion with the Arduino developers, this feature was then added to Arduino 1.8.9, released a month or so ago.

There are some issues with Pluggable Discovery, most importantly that it doesn’t yet exist in the Arduino Command Line Interface (yeah, that exists too). If you’re looking to contribute to Open Source, that would be a nice project to pick up.

With the right JSON, and configuration, it is now theoretically possible to extend the Arduino IDE to any sort of protocol. This means (again, theoretically), it’s possible to update the firmware in your DIY MIDI synth over SysEx message, or a parallel port, maybe. Someone is going to upload to an Arduino board over PCIe, eventually.

DIY Piano: Look, Ma, No Moving Parts

[Michael Sobolak] has a penchant for pianos, concern for capacitive touch, and special sentiment for solid state. This alliterate recipe results in a DIY PCB piano that leaves out the levers and is barren of buttons unless you count the stock RESET button on the Teensy. A real stickler might point out that speakers have moving cones. Beyond these tangential parts, which have motionless options, it is an electronic instrument with no moving parts.

The heart of the project is a Teensy 3.2 which natively supports twelve capacitive touch sensors. The infamous demo board is mounted to a homemade PCB featuring twelve keys but is actually an incomplete octave plus another key one octave above the first. If you look sharp, you already noticed the missing and extra touchpads. PCB traces were made in Illustrator because if you have a familiar tool, you use what you know and you cannot argue that it works. The design was transferred to a copper board using the old magazine page trick that we love and reliable old ferric acid.

We couldn’t help but notice that the posts of the Teensy were soldered to the top of the board, rather than drilling through, IMT-style. Again, the results speak, even if there is room for improvement. Reportedly, there is a second version on the way which includes every expected key.

Continue reading “DIY Piano: Look, Ma, No Moving Parts”

Simple Sensor Provides Detailed Motion Capture For VR Hands

Consider the complexity of the appendages sitting at the end of your arms. The human hands contain over a quarter of the entire complement of bones in the body, use dozens of muscles both in the hand itself and extending up the forearm, and are capable of almost infinite variance in the movements they can create. They are exquisite machines.

And yet when it comes to virtual reality, most simulations treat the hands like inert blobs. That may be partly due to their complexity; doing motion capture from so many joints can be computationally challenging. But this pressure-sensitive hand motion capture rig aims to change that. The product of an undergraduate project by [Leslie], [Hunter], and [Matthew], the idea was to provide an economical and effective way to capture gestures for virtual reality simulators, which generally focus on capturing large motions from the whole body.

The sensor consists of a sandwich of polyurethane foam with strain gauge sensors embedded within. The user slips his or her hand into the foam and rests the fingers on the sensors. A Teensy and twenty lines of code translate finger motions within the sandwich into five axes of joystick movement, which is then sent to Unreal Engine, where finger motions were translated to a 3D-model of a hand to play a VR game of “Rock, Paper, Scissors.”

[Leslie] and her colleagues have a way to go on this; testers complained that the flat hand posture was unnatural, and that the foam heated things up quickly. Maybe something more along the lines of these gesture-capturing gloves would work?

DIY Reflow Oven Is Heavily Documented

[DJ Legion] decided he wanted a reflow oven so he bought a toaster oven and an assortment of parts including a solid state relay, a Teensy, a display, and a thermocouple. What makes this a different project is the amount of video documentation. The four videos below encompass about 50 minutes of information and he’s promising more to come.

We haven’t found his software — probably because he’s still working on it, but we’re watching his GitHub page expectantly. We really liked the 3D printed faceplate that integrated the controller into the oven. It almost looks like a commercial unit. The use of the woodgrain paper over the 3D printed parts was a nice touch.

[DJ] is not done, though. He wants to increase the heat up time and possibly add convection. He’s also planning on a new video that will show actually making a board and how he has refined the calibration curves.

We are impressed but would have been tempted to just grab a Reflowduino. The work’s already done, and you get wireless control and lots of other goodies. Of course, we also get the urge to do it yourself, so we can’t really throw stones. If you don’t want to mess with an oven, you can always raid the hair salon.

Continue reading “DIY Reflow Oven Is Heavily Documented”

Door Springs And Neopixels Demonstrate Quantum Computing Principles

They may be out of style now, and something of a choking hazard for toddlers, but there’s no denying that spring doorstops make a great sound when they’re “plucked” by a foot as you walk by. Sure, maybe not on a 2:00 AM bathroom break when the rest of the house is sleeping, but certainly when used as sensors in this interactive light show.

The idea behind [Robin Baumgarten]’s “Quantum Garden” is clear from the first video below: engaging people through touch, sound, and light. Each of the 228 springs, surrounded by a Neopixel ring, is connected to one of the 12 inputs on an MPR121 capacitive touch sensor. The touch sensors and an accelerometer in the base detect which spring is sproinging and send that information to a pair of Teensies. A PC then runs the simulations that determine how the lights will react. The display is actually capable of some pretty complex responses, including full-on games. But the most interesting modes demonstrate principles of quantum computing, specifically stimulated Raman adiabatic passage (STIRAP), which describes transfers between quantum states. While the kids in the first video were a great stress test, the second video shows the display under less stimulation and gives a better idea of how it works.

We like this because it uses a simple mechanism of springs to demonstrate difficult quantum concepts in an engaging way. If you need more background on quantum computing, [Al Williams] has been covering the field for a while. Need the basics? Check out [Will Sweatman]’s primer.

Continue reading “Door Springs And Neopixels Demonstrate Quantum Computing Principles”

Meet Tympan, The Open Hardware Hearing Aid

If you’re the kind of person who’s serious about using open source software and hardware, relying on a medical device like a pacemaker or an insulin pump can be a particular insult. You wouldn’t trust the technology with your email, and yet you’re forced to put your life into the hands of a device you can’t examine yourself. Unfortunately we don’t (yet) have any news to report on open source pacemakers, but at least now there’s an open software and hardware hearing aid for those who need it.

The Tympan project aims to develop a fully open source hearing aid that you can not only build yourself, but expand and modify to fit your exact specifications. Ever wanted to write code for your hearing aid with the Arduino IDE? No problem. You want Bluetooth, I2C, and SPI? You got it. In truth we’re not sure what this kind of technology makes possible just yet, but the point is that now those who want to hack their hearing aids have a choice in the matter. We have no doubt the community will come up with incredible applications that we can’t even begin to imagine.

But these open hearing aids aren’t just hackable, they’re affordable. Traditional hearing aids can cost thousands of dollars, but you can buy the Tympan right now for $250. You don’t even need to check with your health insurance first. Such a huge reduction in price means there’s a market for these outside the hardware hacking crowd, and yet another example of how open source can put cutting edge technology into the hands of those who would otherwise have to go without.

The latest version of the Tympan hardware, revision D, is powered by the Teensy 3.6 and features a Sierra Wireless BC127 Bluetooth radio, dual MEMS microphones, and even a microSD slot for recording audio or logging data. It might be a bit bigger than the traditional hearing aids you’re used to seeing, but with an external microphone and headphone setup, the wearer could simply keep it in their pocket.

We’ve seen DIY hearing aids before, but unless you’re willing to carry a breadboard around with you, they’ve generally been limited to proof of concept sort of builds. We’re glad to see a mature project like Tympan join the growing movement for open source medical hardware; it’s a another big step forward towards democratizing these critical pieces of technology.

Open Source Fader Bank Modulates Our Hearts

Here at Hackaday, we love knobs and buttons. So what could be better than one button? How about 16! No deep philosophy about the true nature of Making here; [infovore], [tehn], and [shellfritsch] put together a very slick, very adaptable bank of 16 analog faders for controlling music synthesis. If you don’t recognize those names it might help to mention that [tehn] is one of the folks behind monome, a company built on their iconic grid controller. Monome now produces a variety of lovingly crafted music creation tools.

Over the years we’ve written about some of the many clones and DIY versions of the monome grid controller, so it’s exciting to see an open source hardware release by the creators themselves!

The unambiguously named 16n follows in the footsteps of the monome grid in the sense that it’s not really for something specific. The grid is a musical instrument insofar as it can be connected to a computer (or a modular synth, etc) and used as a control input for another tool that creates sound. Likewise, the 16n is designed to be easily integrated into a music creation workflow. It can speak a variety of interfaces, like purely analog control voltage (it has one jack per fader), or i2c to connect to certain other monome devices like Ansible and Teletype. Under the hood, the 16n is actually a Teensy, so it’s fluent in MIDI over USB and nearly anything else you can imagine.

Continue reading “Open Source Fader Bank Modulates Our Hearts”