Blog Posts

Melodicade MX – 6+ Octave MIDI Keyboard

While QWERTY dominates the world of computer keyboards, there exist many less-common layouts such as DVORAK and various chorded offerings that tout numerous advantages over the dominant format.

Similarly, in the world of musical keyboards, the traditional piano layout dominates, but sundry alternative input layouts offer potential advantages to their users. The Wicki-Hayden layout groups notes in a more logical fashion, and it was this unique arrangement that KOOP Instruments look to explore with their Teensy 4.1-based Melodicade MX.

Building on the arcade-button-based Melodicade, the MX uses Cherry MX-compatible mechanical key switches, which are both smaller and less expensive than arcade buttons, allowing 6+ octaves to fit in the space of 4.5 octaves’ worth of 24mm arcade buttons (while saving about $100!).

A complete build guide, including code, CAD Files, and BOM can be found on the KOOP Instruments web site, and a detailed demonstration of the instrument’s capabilities, as well as a delightful rendition of the Pokke Village theme from Monster Hunter Freedom Unite can be found in the video below.

Netflix “Maniac” GRTA Mainframe

The main antagonist in Netflix’s 2018 series Maniac, the GRTA mainframe computer, is described as the most advanced artificial intelligence ever created.

It seems fitting then, that when forum user waltsatan aka Alan Watts received the call to bring production designer Alex DiGerlando’s vision to life, he selected a Teensy 3.1 to power it.

Gertie, as she is more affectionately known, consists of 1,476 addressable RGB LEDs, along with 7-segment numerical displays, analog meters, and “hard drive” activity lights. The resultant visual output matches the camera’s frame rate in order to allow the computer’s “actual” animations to be used directly, rather than simulated in post. Time-based animations are generated via a custom GUI and PHP script, and run autonomously or in a user-controlled “puppet” mode.

Much like the show’s Dr. James Mantleray, we fell hopelessly in love with this more modern and empathetic version of HAL 9000, and were blown away to learn that Alan created her in under 5 weeks!

IBM Mainframe Console Restoration

We’re big fans of Ken Shirriff, as evidenced elsewhere on our blog, and we like to think he’s maybe a fan of us too, as evidenced by another Teensy-based project in the form of his IBM System/360 Model 50 mainframe marginal check console.

This tactile panel reads knobs and drives a meter over I2C, which in turn connect to Ken’s IBM 360/50 Simulator via the host Teensy 4.1.

As Ken reminds us, The IBM System/360 Model 50 was a powerful mainframe computer in 1964 that could be rented at a modern-day equivalent cost of $150,000 a month, weighed 3 tons, and used 7600 watts, yet has less than a millionth of the processing power of a modern smartphone.

Spectrum Analyzer and VU Meter

The heyday of the Hi-Fi is lamentably behind us, with elaborate consoles that once took pride of place in the living room replaced by slim soundbars under TVs, or often obviated completely as tinny handheld devices become peoples’ only multimedia interface.

But if you want to add a VU meter or spectrum analyser (or both!) to your system, Mark “The Electronic Engineer” Donners has just the (Teensy-based, of course!) thing!

Mark’s solution consists of a custom PCB that houses a Teensy 4.1 (with PSRAM), our Audio Adaptor board, and dual ILI9341 displays.

Source audio can be via stereo line in, or an optional mono electret microphone. Gerbers and firmware are available on GitHub, with complete instructions on Instructables.

MCLZ8 – Zilog Z80 Emulator in TRS-80 Model III

Ted Fried aka MicroCore Labs is back with another Teensy-powered retro rocket! In January we featured the “world’s fastest” Commodore 64, which used Ted’s drop-in 6510 CPU replacement, the MCL64.

With the C64 already off and breaking records, it was time to turn his tuning skills on the TRS-80 Model III.

Like the MCL64, the MCLZ8 is a drop-in replacement for the machine’s original CPU, in this case the 8-bit Zilog Z80. With cycle-accurate emulation already in place, Ted is of course already scheming ways to improve performance, like moving the Model III’s RAM/ROM inside the Teensy 4.1 as well.

Be sure to check the MicroCore Labs blog for updates, and as always, the Projects GitHub repo for schematics and firmware.

MjpegTFT_t4 – Motion JPEG Player

The lines between Single Board Computers and microcontrollers are starting to blur, especially when it comes to powerful boards like the Teensy 4.1.

While displaying video may be trivial on an SBC like the Raspberry Pi — which has all the facilities of a full Linux operating system — a similar task on a MCU typically requires rolling one’s own firmware and potentially even creating custom codecs. PJRC forum member 1337Misom had a go at rolling their own with the MjpegTFT_t4 Mjpeg-like Video Player for the Teensy 4.1 development Boards.

Encoding a file for MjpegTFT_t4 requires ffmpeg and Python, as well as the Teensy Audio Library and forked versions of the Teensy Audio Codecs and ILI9341_t3n, plus Larry Bank’s JPEGDEC library. Add a simple header and AAC audio, and you have a beautifully performant series of JPEGs on your TFT, just like the video below!

Jeannie DIY Synthesizer

Inspired by the Shruthi Synthesizer from Mutable Instruments, German maker and synth enthusiast Rolf Degen set out to create a small, portable, Teensy 4.1-based polyphonic synthesizer.

The entire journey is documented in a 10-page thread on our forum, and represents not only Rolf’s quest to create his dream instrument, but also a great coming together of the Teensy community as folks jumped in to debug, optimize, and provide encouragement.

Rolf’s Jeannie kit produces an incredibly sophisticated 8-voice polyphonic synthesizer, with 15 banks of 63 waveforms, a waveshaper for refining the sound further, and a multimode filter with low/high/band-pass functions. A built-in 16-step sequencer transforms the synth into a tiny groovebox, capable of producing entire tracks.

While the Jeannie is a DIY kit, the surface mount work is done for you, so users get the satisfaction of creating their own instrument without the chore of SMD soldering. Jeannie is available in small batches from Tubeohhm in Germany. Firmware and schematics can can be found on GitHub, while example tracks created with Jeannie are available  on Soundcloud, and Facebook hosts a user support group.

FADEC Turbine Controller

Many developers turn to Teensy when speed is critical, but we didn’t realize our reputation extended to the Bonneville Salt Flats!

Teensy forum user noisymime, aka Josh Stewart, developer of the Speeduino open-source engine management system, has been trying his hand at turbines, rather than piston-powered engine controls. He recently developed a  Teensy 3.5-powered full authority digital engine control (FADEC) for the 4000+ horsepower jet-engine-driven Turbinator II as part of a land speed record attempt.

Technical issues prevented a full 5-mile pass, but a shorter 3-mile run resulted in the fastest 1st, 2nd and 3rd mile speeds in the history of Bonneville Land Speed Racing, with peak GPS speeds of 447.9mph and a 3-mile average of 420mph. Watch the world’s fastest* Teensy, complete with data overlay, in the video below!

*have you built a faster Teensy-powered vehicle? let us know via the forums!

USB MIDI Host for Eurorack Synth

Some music producers like the hands on, computer-free, tactile experience of twiddling knobs on a modular rack. Others prefer a USB control surface connected to a PC.

But Sebastian Tomczak envisioned a scenario with the best of both worlds: a direct interface between USB MIDI controllers and CV-based Eurorack synths — without the bulk and expense of a computer in the middle!

The Teensy 3.6 has a USB host port (requires soldering of pins and USB Host Cable), and the ability to read and write voltages, as required to interface with a Eurorack system. This makes it the perfect intermediary between the two, and completely obviates the need for a computer.

With the addition of some 1k resistors and standard 3.5mm Eurorack sockets, plus code to read and store button presses in an array, a simple yet effective pattern sequencer can be realized. Additional detail can be found on Sebastian’s blog, while the example code resides on GitHub, and a sequencing demo can be found in the video below.

NOTE: PJRC recommends caution when interfacing Eurorack signals with Teensy.  The Teensy 3.6 pins can be damaged by voltage higher than 3.3 volts, or below ground.  Many Eurorack modules use -5V to +5V or -10V to +10V signals.  Opamps, buffers, or other circuitry are typically needed to safely connect these higher voltage signals to Teensy’s pins.

 

Home-Built Scanning Tunneling Microscope

One of the most exciting aspects of the maker movement is its ability to empower individual enthusiasts with technology that was once the realm of large corporations and universities. A particularly impressive example of this phenomenon is McGill University Physics PhD student Dan Berard’s Teensy 3.1-based low-cost scanning tunneling microscope (STM) project.

Using a cheap piezo buzzer, Dan has accomplished atomic resolution with select materials, using a manually sharpened tip.

A detailed explanation of the techniques and components used in the project, as well as some incredible images generated by the system can be found on Dan’s blog.