Guitar Pickguard Adds MIDI Capabilities

For a standard that has been in use since the 1980s, MIDI is still one of the most dominant forces on the musical scene even today. It’s fast, flexible, and offers a standard recognized industry-wide over many different types of electronic instruments. Even things which aren’t instruments can be turned into musical devices like the infamous banana keyboard via the magic of MIDI, and it also allows augmentation of standard instruments with other capabilities like this guitar with a MIDI interface built into the pick guard.

[Ezra] is the creator of this unique musical instrument which adds quite a few capabilities to his guitar. The setup is fairly straightforward: twelve wires run to the pick guard which are set up as capacitive sensors and correspond with a note on the chromatic scale. Instead of using touchpads, using wires allows him to bend away the “notes” that he doesn’t need for any particular piece of music. The wires are tied back to an Adafruit Feather 32u4 microcontroller behind the neck of the guitar which also has a few selectors for changing the way that the device creates tones. He can set the interface to emit single notes or continuously play notes, change the style, can change their octave, and plenty of other features as well.

One of the goals of this project was to increase a guitar player’s versatility when doing live performances, and we would have to agree that this gives a musician a much wider range of abilities without otherwise needing a lot of complex or expensive equipment on stage. We’ve seen a few other MIDI-based builds focused on live performances lately, too, like this one which allows a band to stay in sync with each other.

Continue reading “Guitar Pickguard Adds MIDI Capabilities”

Portrait Of A Digital Weapon

Over the years, artists have been creating art depicting weapons of mass destruction, war and human conflict. But the weapons of war, and the theatres of operation are changing in the 21st century. The outcome of many future conflicts will surely depend on digital warriors, huddled over their computer screens, punching on their keyboards and maneuvering joysticks, or using devious methods to infect computers to disable or destroy infrastructure. How does an artist give physical form to an unseen, virtual digital weapon? That is the question which inspired [Mac Pierce] to create his latest Portrait of a Digital Weapon.

[Mac]’s art piece is a physical depiction of a virtual digital weapon, a nation-state cyber attack. When activated, this piece displays the full code of the Stuxnet virus, a worm that partially disabled Iran’s nuclear fuel production facility at Natanz around 2008. Continue reading “Portrait Of A Digital Weapon”

Giant DIY Mouse Sets The Ball Free

Make the move to a split keyboard and the first thing you’ll notice is that you have all this real estate between the two halves. (Well, as long as you’re doing it right). This is the perfect place to keep your cat, your coffee cup, or in [Jacek]’s case, your fantastic DIY trackball mouse.

Don’t be fooled by the orange plastic base — all the electronics are rolled up inside that big sexy ball, which [Jacek] printed in two halves and glued together. Inside the ball there’s an Adafruit Feather nRF52840 Sense, which has an onboard accelerometer, gyroscope, and magnetometer. As you’ll see in the video after the break, the Feather takes readings from these and applies a sensor-fusing algorithm to determine the ball’s orientation in 3D space before sending its position to the computer. To send the click events, [Jacek] baked some mouse buttons into the keyboard’s firmware. Among the other Feather sensors is a PDM MEMS microphone, so detecting taps on the ball and translating them to clicks is not out of the question for a future version.

Here comes the really clever part: there are two reed switches inside the ball. One is used as a power switch, and the other is for setting the ‘up’ direction of the trackball. The ball charges wirelessly in a 3D printed base, which also has a small neodymium magnet for activating the reed switches. Check out the demo after the break, which shows [Jacek] putting the trackball through its paces on a mouse accuracy testing program.

If you prefer your DIY trackballs to be more standard looking, click on over to the Ploopy project.

Continue reading “Giant DIY Mouse Sets The Ball Free”

Learning To Speak Peloton

Recently [Imran Haque]’s family bought the quite popular Peloton bike. After his initial skepticism melted to a quiet enthusiasm, [Imran] felt his hacker curiosity begin to probe the head unit on the bike. Which despite being a lightly skinned android tablet, has a reputation for being rather locked down. The Peloton bike will happily collect data such as heart rate from other devices but is rather reticent to broadcast any data it generates such as cadence and power. [Imran] set out to decode and liberate the Peleton’s data by creating a device he has dubbed PeloMon. He credits the inspiration for his journey to another hacker who connected a Raspberry Pi to their bricked exercise bike.

As a first step, [Imran] step began with decoding the TRRS connector that connects the bike to the head unit. With the help of a multi-meter and a logic analyzer, two 19200bps 8N1 RS-232 channels (TX and RX) were identified. Once the basic transport layer was established, he next set to work decoding the packets. By plotting the bytes in the packets and applying deductive reasoning, a rough spec was defined. The head unit requested updates every 100ms and the bike responded with cadence, power, and resistance data depending on the request type (the head unit did a round-robin through the three data types).

Once the protocol was decoded, the next step for [Imran] was to code up an emulator. It seems a strange decision to write an emulator for a device with a simple protocol, but the reasoning is quite sound. It avoids a 20-minute bike ride every time a code change needs to be tested. [Imran] wrote both an event-driven and a timing-accurate emulator. The former runs on the same board as the PeloMon and the latter runs on a separate board (an Arduino).

The hardware chosen for the PeloMon was an Adafruit Feather 32u4 Bluefruit LE. It was chosen for supporting Bluetooth LE as well as having onboard EEPROM. A level shifter allows the microcontroller to talk directly to the RS-323 on the bike. After a few pull requests to the Adafruit Bluetooth libraries and a fair bit of head-banging, [Imran] has code that advertises two Bluetooth services, one for speed and another for power. A Bluetooth serial console is also included for debugging without having to pull the circuit out.

The code, schematics, emulators, and research notes are all available on GitHub.

A Pull Chain To End Your Zoom Pain

Yay! Another videoconference call is in the books, so that must mean that it’s time to fumble around awkwardly for the hang-up button with a fading smile. [lanewinfield] knew there had to be a better way, and looked to the pull chain switch for salvation. Sure, this could just as easily be a button, but what’s the fun in that? Besides, few buttons would be as satisfying as pulling a chain to a Zoom call.

The pull chain switch is connected to an Adafruit Feather nRF52840 Express that’s emulating a Bluetooth keyboard. Firmware-wise it sends command + F6, which triggers an AppleScript that manually exits and and all Zoom calls and kills Chrome tabs pointed to meet.google.com. He’s using Apple’s hotkey wizard Alfred, but this could be handled just as easily with something like AutoHotKey.

Pull chain switches are neat little mechanisms. The chain is connected to a cam that engages a wheel with copper contacts on half the outside. When you pull the chain, the wheel moves 90° and the wheel contacts connect up with the fixed contacts inside the housing to make a connection. Pulling the chain again moves the wheel which slides to the half without the contacts. Check it out in the video below.

Continue reading “A Pull Chain To End Your Zoom Pain”

Sims-Style Plumb Bob Broadcasts Your Mood

While there are a lot of objects from the Sims that we wish were real, we probably wish more than anything that everyone had a mood indicator hovering above their heads at all times. It would make working from home go a lot more smoothly, for instance. [8BitsAndAByte] made this Bluetooth-controlled plumb bob as part of their Sims Halloween costume, but we think it has real day-to-day value as this pandemic wears on, either as a mood ring or a portable free/busy indicator.

The hardware is about as simple as it gets — an Adafruit Feather nRF52 Bluefruit controls a pair of NeoPixel rings, one for each half of the translucent 3D-printed plumb bob. Power comes from a 500mAh battery, and all the electronics are situated inside of an attractive hat. Check out the build video after the break.

There’s more than one way to use color to convey information. This seven-segment temperature display does it with thermochromic film.

Continue reading “Sims-Style Plumb Bob Broadcasts Your Mood”

Mirrored Music Machine Reflects Circadian Rhythms

Interactive artist [Daric Gill] wrote in to share the incredible electronic sculpture he’s been working on for the past year. It’s called the Circadian Machine, and it’s a sensor-enabled mindfulness music-and-lights affair that plays a variety of original compositions based on the time of day and the circle of fifths. This machine performs some steady actions like playing chimes at the top of each hour, and a special sequence at solar noon.

This cyberpunk-esque truncated hexagonal bi-pyramid first geolocates itself, and then learns the times for local sunrise and sunset. A music module made of a Feather M4 Express and a Music Maker FeatherWing fetches astronomical data and controls the lights, speakers, and a couple of motion sensors that, when tripped, will change the lights and sounds on the fly. A separate Feather Huzzah and DS3231 RTC handle the WiFi negotiation and keep track of the time.

On top of the hourly lights and sound, the Circadian Machine does something pretty interesting: it performs another set of actions based on sunrise and sunset, basically cramming an entire day’s worth of actions between the two events, which seems like a salute to what humans do each day. Check out the build notes and walk-through video after the break, then stick around for the full build video.

The internet is rife with information just begging to be turned into art. For instance, there are enough unsecured CCTV cameras around the world with primo vantage points that you can watch a different sunrise and sunset every hour of every day.

Continue reading “Mirrored Music Machine Reflects Circadian Rhythms”