Blog Posts

Hatsune Miku Cosplay

Genesis Engineering created a light-up Hatsune Miku costume for a friend attending Miku Expo 2020 in Europe.

Teensy 3.6 was used to drive the WS2812 RGB LEDs in the 3D-printed headset as well as the LEDs, OLED, and TFT in the sleeves. The costume also includes a light up badge and square PLA hair ornaments. According to the creator who shared the behind the scenes of the design process to our forum, the sleeves are modeled after Yamaha DX100 and DX7 keyboards and can play Vocaloid sound samples loaded onto an SD card using Teensy’s audio library.

Genesis Engineering is a company based in Paris that in addition to engineering excellent interactive cosplay also makes laser harps.

SENSEI – Multidimensional Sound Synthesizer

Maker, researcher, and music enthusiast Oscar Oomens created this beautiful and unusual synthesizer called the SENSEI for his bachelor’s thesis. The synth features a custom touch interface and wearable gyroscope that allow the user to “shape” sound in multiple dimensions.

The synth features a custom touch interface and wearable gyroscope that allow the user to “shape” sound in multiple dimensions. The main inputs aside from the keys are a joystick with three Force Sensitive Resistors (FSRs) on the grip that Oomens suggests provide control for new sound characteristics including: distance, form, sharpness, richness, and color. A capacitive ring around the joystick allows parameters to be locked and a gyroscopic ring attached to a bracelet allows the user to add vibrato to the touch keyboard and pitch bend segments. Users can also transpose octaves using + and – buttons towards the top of the board.

The board itself is stunning in its manufacture featuring embedded LEDs and soft silicone keys set into wood. Oscar was kind enough to share his parts list in our forum and has added some lovely photos to an Instagram album.

Social Distancing Radar

Arduino Guy, an 18-year-old Hackster intern and self-proclaimed embedded systems enthusiast, has developed a DIY social distancing radar

It can be attached to a bicycle or other anchor point to alert others when they are cycling, standing, or walking too close.

The project uses a Teensy 4.0 in combination with a SparkFun VL53L1X time of flight  sensor attached to a SG90 servo arm to register obstructions at distances between 40mm and 4 meters away. In his project which is documented with step-by-step instructions, 3D print files, and code suitable for advanced beginners, four LED dot matrix displays are programmed to send the message “U Good” when people are giving enough space or “Back Off” when they are too close to the sensor.

In a Hackster tutorial, Arduino Guy walks us through the project from hardware selection to modeling and previsualizing the moving mount in Fusion360. He also explains how a time of flight or ToF sensor, which uses pulses of light to register how far away something is, can be superior to other options like ultrasonic sensors which measure sound and are therefor slower and less accurate. Like all good engineers, he tests its effectiveness in the field during a bicycle journey and finds that people do, in fact, keep their distance.

Newton USB Keyboard Adapter

Fans of classic Apple keyboards rejoice! Jim Lombardo shared to our forum his recipe for creating a custom USB adapter that allows older keyboard models that use an 8-pin DIN input to serve as modern USB keyboards.

Jim took on the project when he found himself needing a keyboard for a custom Raspberry Pi computer he assembled. He found the perfect mini keyboard for his mini computera 10″ Apple Newton keyboardon hand in his spare parts bin but to his surprise found that no USB adapter already existed for the Newton’s 8-pin DIN F port. Naturally, he took it upon himself to engineer one.

To remap the serial data to USB, Jim uses a Teensy 2.0, a hacked 8-pin mini-DIN M/F or F/F cable to connect to the keyboard, and a USB A to mini B cable to connect the Teensy to the computer. On the software end, Jim created a nice and tidy library which translates the keyboard’s key scan code into ASCII.

As Jim mentions in his blog, the Newton keyboard was originally designed for use with the Newton PDA (Personal Digital Assistant) system which Apple produced in the late 80s and early 90s. While the system was a flop due to high cost and low performance, it did pave the way for Apple’s later multi-touch device successes like the iPhone and the iPad.

Photo by Blake Patterson from Alexandria, VA, USA – Newton and iPhone: ARM and ARM, CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=7039806

 

Burning Man Art – 6400 LED Solar Tricycle

Burning Man art car builder Loren Carpenter has taken Teensy’s ability to drive LEDs to the next level with a solar-powered installation built around a tricycle that uses a Teensy 3.6 to drive 6,400 RGB WS2812 LEDs.

The 32 channel system is capable of outputting ~1.3 million RGB pixels per second, achieving over a 200 Hz frame rate for smooth animations. In the forum post linked above, Carpenter dives deep into the technical details, including his source code for those who want to try it out themselves.

The project was first built around a golf cart but the latest build uses a tricycle as a frame with a control box directly underneath that includes relays and battery chargers. Here you can see a video of Loren’s creation in action from a night on the playa at Burning Man in 2015.

 

Easy MIDI Chord Controller

French musician and composer Emmanuelle Presselin developed a sound controller which generates MIDI chords on touch.

Presselin, who doesn’t play keyboard but often begins his compositions by layering chords together, was looking for an easy solution to generate complete chords. Presselin explains in his post to our forum where he also kindly shares his source code, that each note on the controller is capable of producing twenty chord structures with four basses per note. Additional knobs can be used to adjust volume, invert chords, change velocity, control octaves, and add arpeggios. Combining these along with additional features like style banks and custom chords, the controller offers numerous avenues for musical experimentation with just a few simple presses of the keys.

Presselin used pressure sensitive conductive sheets (a material known as Velostat or Linqstat) to create force sensitive resistors (FSRs) that act as triggers for MIDI chords based on measuring applied pressure. Velostat is often used as a packaging material to protect electronics which are susceptible to damage from electrostatic charge but can also be used in wearables or to make custom sensors as seen in this project. Presselin’s controller uses the material to make 168 discreet FSRs, allowing the user to create a wide range of sounds and even generate complete compositions by combining tools like Ableton Live as demonstrated in the video below.

 

Draw Bar Organ Module

Vintage effects and musitronics repair specialist Richard Lingenberg has created an open source 9 draw bar MIDI/ USB Host keyboard organ module that he shared to our forum.

The organ uses one Teensy 4.0 to drive the Rev. D audio board and one Teensy 3.6 to drive a ILI9341 touch display. The organ makes use of the Teensy’s audio libraries and built-in SD card reader to store up to 105 patches including 22 preset patches. It also includes settings for Attack, Hold, Decay, Sustain and Release.

A draw bar, as it usually appears on a traditional hammond organ, is a metal slider that controls the volume of a particular sound component such as a harmonic or fundamental of the note being played as it slides in and out. When the bar is fully pressed inward, the sound output of that component is zero or completely silenced. This allows the operator to selectively mix the sounds produced by the organ’s tonewheel. If you’re curious to hear what the organ sounds like, you can listen to a demo Richard put together on SoundCloud.

Audio Codec Breakout Board

Teensy forum user kxmx_kaugummi has made a multi-channel audio codec breakout board for their modular synth set up using the Teensy and a Cirrus Logic CS42448.

An audio codec is a device that translates an analog audio signal into digital signals and turns digital back into analog. This gives us both an analog-to-digital converter (ADC) and digital-to-analog converter (DAC) that run off the same clock signal. The Cirrus Logic CS42448 is a popular 6 input, 8 output audio codec supported by the Teensy Audio library.

Teensy forum user kxmx_kaugummi used the Cirrus Logic CS42448 with a Teensy, breaking out the 6 input and 8 output differential audio signal pairs of the CS42448 and routing the digital signaling (TDM) and control (I2C) to the Teensy. This gives lots of audio channel in and out of Teensy, in a smaller, more modular form factor than other CS42448 boards.

You can find the schematic and bill of materials for both the Teensy 3.5/6 and the Teensy 4.0 over on kxmx_kaugummi’s EasyEDA page.

1930s Teletype with USB Interface

Hardware hacker Trammell Hudson used a Teensy and a handful of components to control a mechanical 1930s Teletype machine.

Model 15 teletype operation

Teletype machines from the 1930s are beautiful mechanical objects. Trammell Hudson was able to control one from his laptop using a Teensy and a handful of electronics components on a protoboard small enough to fit inside an Altoids tin.

Hudson has published a blog post detailing his approach and also a Flickr gallery of the project, including many close up images of the beautiful vintage mechanical Teletype machine and videos of it in action. Hudson has also published the schematics and source code for this project on his website.

This project was completed by Hudson while he was a member of NYC resistor, a hacker collective in Brooklyn, New York. The collective was founded in 2008, making NYC Resistor one of the first hackerspaces founded in the USA. The space is open to the public for workshops and weekly open days if you’re in New York and want to check it out.

Images by Trammell Hudson, shared under the CC-BY license.