Blog Posts

Hand Crafted Mechanical Keyboard

A popular meme pokes fun at the DIY mechanical keyboard community by suggesting that enthusiasts must surely realize significant savings by building their own keyboards rather than purchasing a commodity preassembled unit,

whereas anyone who has ever even dipped their toe into that rabbit hole knows that this is typically far from the case. Rather than toss some keycaps, switches, a board and a case into a shopping cart and whacking them all together, however, PJRC forum user stefan.jakobsson took things to the next level with a scratch-built, Teensy LC-based 60% keeb.

We’re not sure what switches or caps are in use here, but the plate is 3d-printed, and the matrix is hand-soldered, dead bug-style, rather than using a PCB. A bespoke 1.5 steel plate forms the bottom case. Custom firmware, written using the Keyboard class, supports a standard layer plus second Fn layer, and has a simple built in debouncing handler. Source code is available in the thread, although Stefan is still working through some issues with sleep mode.

Restoring Mr. Christmas Decoration

‘Twas the night before Christmas, when all through the house, not a creature was stirring, not even a mouse – which was frustrating,

because the Mr. Christmas “The Night Before Christmas House” was supposed to be playing audio and flashing light bulbs that correspond to the story, but a previous failed repair attempt had rendered it inoperable. That is, until PJRC forum member edseitz replaced the cassette player and associated electronics with a Teensy 3.6 and Prop Shield!

The seventeen light bulbs were replaced with LEDs, and a custom class was added to simulate the warming and dimming of traditional bulbs. The Teensy’s microSD storage was ideal for .WAV files of the original cassette audio, with their playback facilitated by the Prop Sheild’s integrated 2-watt audio amp. And we heard edseitz exclaim, as he hid the wiring out of sight – “Happy Christmas to all, and to all a good night!”

XR-1 Drum Machine, Sampler, and Synthesizer

We’ve covered plenty of Teensy-powered grooveboxes on the blog here before, but this Reddit post unveiling the Audio Enjoyer XR-1 really caught our eye. If you’re looking to go DAWless, this Teensy 4.1-powered drum machine, sampler, and synthesizer looks like a great all-in-one machine.

Modeled after Roland TR-909 sequencing conventions, it has 16 banks of 16 patterns of 16 tracks, with up to 64 steps per track.

Around back are standard stereo in/out and 5-pin DIN MIDI jacks, and eight 0-10V CV/gate outputs. Mono RAW or stereo WAV samples are stored on microSD, along with project data. The unit also features a capacitive touch keyboard and hard buttons arranged in an MPC-style 4×4 grid, plus an OLED display for presenting the UI. A demonstration of the XR-1 can be seen below, and Audio Enjoyer have a signup form on their website for more info.

HP45 SMD Tape Printer

When injket printers became commercially available to the home consumer in the 90s, they seemed like a tiny revolution; gone was the dominance of the drab black and white laser, with cheap devices providing full color at a fraction of the cost.

Exploitative refill prices, evil DRM, and a transition away from paper to digital has somewhat stymied the inkjet market of late, but Dutch maker Yvo de Haas is bringing inkjets back with his Teensy 3.5-based controller for the HP-45 inkjet printhead. One application of this controller that caught our eye is an SMD tape printer that lets you mark your parts just like the big vendors.

Using custom software, the controller can manipulate each nozzle on the cartridge in order to output bitmaps. The software and firmware are available on GitHub, and the below video provides a brief glimpse of the controller in action.

MAME – Arcade Machine Emulator

Teensy forum member and M.CU.M.E retrocomputing emulator innovator Jean-Marc is back with yet another emulation project, this time in the form of a MAME (Multiple Arcade Machine Emulator) port and accompanying handheld hardware.

Memory limitations mean that games are spread across several projects, but several hundred are supported overall.

Hardware consists of a Teensy 4.0 and ILI9341 or ST7789 SPI display plus an analog thumb joystick and three buttons. While pictures show a perfboard assembly, there is a KiCad PCB file in the repo, which should facilitate reproduction of the optional I2C keyboard, itself powered by a dedicated ATmega328P.

While sound is not yet supported, and emulation is limited to fairly old hardware, it’s still pretty cool to see Konami’s 1981 hit Scramble running on a DIY handheld. Watch more classics demoed in the videos below, and grab the source and pinout/PCB on GitHub.

ROM Emulator for Vintage HP Series 80 Computers

ROM emulators have become extremely common for classic consoles like the NES and Game Boy, but what about earlier computers that also used edge-connector-style expansions?

 

HP Series 80 group member Tim Nye developed a Teensy 3.6-based ROM-emulating plug-in module that allows users of the early 1980s pre-PC HP 83/85 and 86/87 to select any of the systems’ available ROMs to be loaded from flash memory.

The board includes some unique features, such as a 6V level shifter to bridge the HP’s bus with the Teensy’s 3.3V logic, and a diode to prevent the HP’s 5V power from flowing via USB to a connected computer during programming. One interesting challenge was that the Teensy needs to boot before the HP, but the /HALT line on the HP’s bus can be driven by the Teensy to only permit the CPU to start once it’s ready.

The board appears to be a one-off with no information on purchasing or creating one’s own, but the HP Series 80 group is an active community, so drop them a note if you have a Series 80 with an empty expansion slot!

MAD 1.1 Eurorack Module

With over ten thousand Eurorack modules already available in the world, you’d want to be MAD to create a whole new suite of them.

But Michele Perla is just our type of bonkers, and has created a set of Modular Audio Devices that work together as a bridge between analog synths, MIDI keyboards, PCs, and audio interfaces.

The Teensy 3.6-powered CORE module features USB communication with a host PC, 5-pin DIN MIDI in and out jacks, eight CV outs, 8 gate outs, one clock in and one clock out, and a TFT display with four potentiometers for configuration. The “lite” version features a Teensy 3.2.

The CTRL module connects to the CORE via I2C, and adds up to 24 analog sensors, buttons and LEDs, with three address bit jumpers allowing up to eight CTRL modules to be used together. The intuitively-named CODEC module adds an AK4558 CODEC featuring stereo inputs and outputs, as well as a headphone jack, and aux in/out connectors. VCO, VCF, and VCA modules flesh out the line completely.

A demonstration of the CORE prototype can be found in the video below, with more information available on Hackaday, Facebook, and Instagram.

Minimalist USB Host Shield

While the Teensy 4.1 includes a 5-pin USB host header, the smaller 4.0 board, which intrinsically supports the same USB host functionality, exposes bottom-side pads to do so.

The Teensy 4.0 also foregoes the current-limiting circuitry that allows the safe hot-swapping of USB devices. Enter the Teensy 4.0 Minimalist USB Host Shield, the creation of Dave Madison aka Parts Not Included.

The Minimalist USB Host Shield (hereon: MUHS) adds a soft-start current limiter, allowing the host port to slowly ramp up current and handle small surges. It also features ESD protection, a power-conditioning LC filter, and a 500 mA polyfuse to protect the attached Teensy board.

Using standard headers and 12mm pogo pins, all required pads can be connected without any soldering, and a second set of headers enables the resultant stack to be used for breadboarding. Two M3 holes facilitate case mounting of the unified USB unit. KiCAD files, Gerbers, and the complete BOM can be found in the MUHS GitHub repo, and our own USB Host Library is all you need to interface with any connected devices!

AMC8 – Automated MIDI Controller

While nowadays it’s possible to carry an entire studio in your pocket thanks to smartphone apps like FL Studio Mobile and Cubasis, not long ago the idea of computerizing analog studios was still a relatively new and expensive proposition.

King among such solutions was Digidesign’s Pro Tools — a hardware/software hybrid that cost thousands or even tens of thousands of dollars, yet quickly established itself as the industry standard. As Digidesign opened their software platform to other hardware vendors, the Human User Interface (HUI) was developed in order to facilitate communication with 3rd-party control surfaces. Rather than scoring an old Procontrol off of eBay, PJRC forum member rotabox took the ambitious path of creating their own HUI-compatible automated MIDI controller, powered by dual Teensy 3.6s.

The custom control surface features eight motorized faders and OLED displays, a total of 31 buttons, and a custom PCB and enclosure to tie them all together. The video below demonstrates the controller being used with Pro Tools — somehow it’s still just as cool watching those faders fly today!

Voice Recording Phone

Sometimes projects just need a little help from the community to get over the finish line. Forum user letNic posted to our Audio Projects category asking how to monitor a user’s voice while recording it from the microphone, for a more authentic and intuitive “phone” experience.

Veteran forum user oddson jumped in with some suggestions, which worked great and allowed letNic to complete their project. We in turn thought it looked very impressive and worthy of featuring on our blog, hence the post that you are currently reading! So there we have it: another Teensy forums success story! Maybe yours will be the next we feature — send us a tip via the Blog Project Submission category!