Blog Posts

Friendly CP/M-80 Computer

Tom Jennings has created a Z80-emulating computer that brings back the early intent of computing: doing things that humans want.

In a simpler time, computers were desktop machines that let you create and explore directly, within the machine’s and your own capabilities. You could author text files, experiment with programs, and even develop your own. The current paradigm of the user being the product as your output feeds the slop machine wouldn’t have been remotely possible, even if companies had imagined this type of exploitation back then.

The Friendly fZ80 runs CP/M 2.2, as well as MP/M II 2.1, Digital Research’s multi-user operating system, which features preemptive multitasking, allowing users to run multiple programs and switch between them. While offering modern conveniences like VGA graphics, a modern USB keyboard, and SD-based storage, the handmade aluminum chassis gives no other clues that this isn’t genuine 1970s hardware, with BIOS, boot, and ROM monitor written in Digital Research’s MAC and ASM. System utilities like FORMAT and SYSGEN were written in BDC C 1.6 on the machine itself. The 600MHz Teensy inside that chassis provides an estimated Z80 CPU speed of around 60MHz.

More details, including a comprehensive operator’s manual, can be found on the project web site, with Kicad files for the custom PCB coming soon.

Parametric Audio Equalizer

Pontus Rydin has created an audio equalizer and general purpose “DSP playground” using the Teensy 4.1 for digital signal processing.

A custom PCB based around the ESS ES9039Q2M 32-bit high-performance two-channel DAC provides digital-to-analog conversion, and a CYD (Cheap Yellow Display) with dedicated ESP32 graphics processing via I2C furnishes the UI.

While the device currently functions as a preamp and eq, Pontus says that “thanks to the awesome power and versatility of the Teensy, I can make it do pretty much any audio processing. I will add a graphic equalizer in the near future. I might add things like reverb and wide stereo if I get bored.” The 32-bit, 192kHz audio pipeline is custom, based on the Teensy Audio Library, using single-precision floats to simplify the math. Code and KiCad files can be found on GitHub.

Modernized FX-300 Jackal Redux

We shared Tom Granger’s Teensy 4.0-based FX-300 Jackal restomod last year, but Tom’s apparently been busy recently with a slew of improvements.

An upgraded IPS ILI9341 LCD displays song metadata and a real-time FFT visualization at 30fps, after the initial Alien (1979)-inspired boot sequence. A new M5Stack Atom adds Bluetooth A2DP audio streaming, with control via the original tape deck’s buttons.

FM stations now display RDS (Radio Data System), and NFC tags can be used to load a playlist from a folder with the same ID on the SD card. A new electret microphone enables audio recording, and there’s even a secret pong mode. Source is now available on GitHub, and you can see it in action in the trailer below!

Word Processor Restomod

Chad Boughton found a Brother WP-2200 word processor with a glorious yellow “widescreen” CRT, decent keyboard, and rather limited functionality. He was able to retrofit this piece of vintage technology to run his own code.

In addition to lobotomizing it and giving it a new modern processor brain, Chad used a Teensy-LC to preserve that gem of a keyboard. With plenty of GPIO pins available to connect to the original cable, the Teensy scans the keyboard matrix then sends those characters to the processor via UART, which in turn displays them on the screen. See it in action in the video below!

Chad also has an Instructables tutorial on Make Any Vintage Keyboard Work With a Modern PC using a Teensy.

SD Card Audio Player

bigpilot has created an SD Card Hi-Fi Audio Player to replace their CD player. Over a period of nearly five years, their build evolved from a collection of parts and a 3D rendering to a professional-looking unit with impressive audio performance.

The project began as a Teensy 3.0 connected to a SD card reader, but this was quickly upgraded to a 3.1 in order to take advantage of Frank Boesing’s Arduino-Teensy-Codec-lib. An inexpensive metal enclosure adds a polished touch, while a Burr-Brown PCM510 DAC handles conversion of digital audio to analog output via I2S.

A large 16×2 LCD display and IR remote enable easy operation from across the room. An inexpensive external TPA3116 amp completes the package. The forum thread, spanning half a decade, is another great example of the Teensy community coming together to help an enthusiastic forum member realize their dream.

Video Output over USB

jmarsh has added support for Fresco Logic 2000 USB video adapters to their teensy4_usbhost library.

Typically available for less than $20, these devices can add up to 800×600 pixel SVGA-class video output (limited by USB 2.0 bandwidth) via the Teensy 4.1 USB Host Cable (or Teensy 4.0 USB Host pads). The adapters are available in VGA or HDMI form, although the implementation uses DVI-compatible mode for HDMI, meaning no audio. They can also be used to generate radio signals.

Examples in the repo include Mandelbrot fractal generation, a circle-based spectrogram, circular framebuffer “piano roll”, and waterfall display of incoming USB audio. A driver for Xbox 360 gamepads, found in the same repo, opens up interesting possibilities for game emulation, when combined with the video out functionality. The ever-evolving USB Host library can be found on GitHub.

Cyberpunk-2077-Inspired Guitar

Piotr Zapart has built an absolutely stunning Teensy-powered Cyberpunk-2077-inspired guitar with built-in effects and more.

Representing more than a year’s work, the DIY Fender Jazzmaster-style silhouette hides astonishing functionality inside. The humble pickguard is in fact a PCB, with built-in capacitive touch buttons and X-Y pad. Hidden deeper inside is the analog effect section, built around an Analog Devices SSM2164 Quad Voltage Controlled Amplifier, which combines all of the audio and processing into the guitar’s mono output.

Around back, a Teensy 4.1-powered DSP and power module is housed in a 3d-printed enclosure. The Teensy provides MIDI and power management, plus extensive digital effects, including a drone synth, looper, and sample player. Eight keyboard switches, a button gamepad joystick, and a repurposed smartwatch display provide control.

Among the many fascinating details of this project are the LED-illuminated P90 pickups, which indicate their status via colour, and required their own pickup winder to be developed, in addition to transparent 3d-printed resin covers.

More details (and pictures!) from this incredible build can be found in the original forum thread, and in the video below!

FFT Musical Light Show

Most audio spectrum analyzers feature a number of vertical bars, which grow based on the amplitude of a given frequency band. Evan Rust wanted to take this concept and make it linear, and more colourful, which he accomplished in his Teensy 4 Musical Lightshow.

Powered by a Teensy 4.0, the light show uses 240 WS2812 LEDs to represent the frequency bins. A Teensy 4 Audio Shield is used with the Audio System Design Tool to amplify audio from a WAV file on the SD card, then uses a 1024-bin Fast Fourier transform (FFT) analyzer to isolate frequencies and sort their amplitudes into the appropriate bin. These are reduced to 16 bins, with more weight given to lower frequencies, while the peak of the current waveform is read in order to determine the LEDs’ brightness. The WS2812Serial library leverages DMA for fast response, with 15 LEDs per bin, and colours assigned randomly. See it in action in the video below, and check out the Hackster project for more info and code.

Mini Electronic Saxophone

Nigel Weiss has created the Circuit Sax, a mini electronic saxophone, made with mechanical switches, custom 3D-printed keycaps, and featuring breath input for a realistic saxophone feel.

A 3.5mm audio jack provides audio output, with MIDI available via USB. Motion detection enables vibrato, and a custom neck allows the use of any alto saxophone mouthpiece. A Teensy 4.1 and Audio Shield along with the Teensy Audio Library and Audio System Design Tool generate synthesized output, as well as applying filters and effects to create the desired sound, with pitch determined by keypress, and expression via the breath pressure sensor.

Extensive details, including source code, STL files for the 3D-printed parts, and demonstration videos, are available on the project’s GitHub repo.

Motorized-Fader PC Volume Mixer

YouTuber Computer Hardware Tips and Tutorials (CHWTT) wanted a device that could control individual app volumes on their PC. Inspired by the deej project, they created a Teensy 4.1-based five-channel mixer that would look at home in any professional studio.

Mimicking expensive broadcast mixers like the GoXLR, the device features five motorized faders with OLED scribble strips above each. Additional buttons allow mixes to be stored and recalled, as well as channels to be instantly muted. Teensy’s USB MIDI functionality is combined with MIDI Mixer software to allow control over individual PC app volumes via dedicated faders, as well as represent any adjustments made via software, thanks to their motorization.

A wonderfully detailed build guide is available on Instructables, including STEP files for the custom CNC’d faceplates, STL files for the 3D-printed parts, full bill of materials, and source code. Learn more and see it in action in the video below!