Blog Posts

Ultrasonic 3D Scanner

Alex Toussaint created an ultrasonic 3d scanner using off-the-shelf components for under $100!

What was your fantasy when you were 15? For Alex it was an autonomous drone that could deliver cans of Coke, which he reasoned would require a 3D map of its surroundings. Ruling out LiDAR as too expensive, and Simultaneous Localization and Mapping (SLAM) algorithms as insufficient, perhaps something could be done with an ultrasonic sensor, since humans are able to pinpoint locations based on sound? The result of this theory, which Alex reached at the grand old age of 19, he achieved this 3D sensor goal.

The detailed write-up on Alex’s site explains the concept, math, and various stages of success and failure, but the end result was a 10×10 grid of emitters with a 9x directional receiver based on LM386 amplifiers.

The resultant scans, while perhaps not perfect, are frankly incredible for a device built from scratch. Source code, schematics, and visualization scripts can all be found on GitHub if you’d like to build your own!

 

Digital Instrument Suite

Jay Ackley has created a collection of musical devices called the NoPlay Digital Instrument Suite.

As Jay’s ambitions grew, it became clear that the simple saw wave output of the original microcontroller he was using was not going to work for his more advanced creations, which led him to dive into the world of Teensy and the Audio Adaptor Board.

The resulting Electrolute Mach 3 is a guitar-like instrument which allows the player to select a chord from one group of buttons and arpeggiate over the corresponding pentatonic scale with the other, using one of six different voices. Another device, the polyphonic Teensy LC-based Chordulator, plays first, third, fifth, and octave notes using pressure-sensitive resistors to affect the volume. Finally, the Teensy 3.5-bsed DrumTray percussion sequencer provides four 16-note tracks with adjustable swing, a 12-note 3/4 mode, and the all-important “party mode” which strobes all 64 RGB LED buttons. See them all in action in the video below!

Engine Monitor for an Experimental Aircraft

Andy Meyer pilots experimental aircraft pilot and was in need of a good engine monitor to show key metrics on a sunlight readable screen.

After struggling for years with an Arduino-based project, Andy discovered Teensy and paired it with a NewHaven 4.3 inch 800×480 serial display…and it was all blue skies from there!

The current solution is based around a Teensy 3.6 with eight Type K thermocouples plus analog pressure and temperature sensors.

Oil temperature and pressure, manifold pressure, engine timing and RPM, are all currently measured and output to a 3.5″ capacitive touch display. Fuel flow, airspeed, altitude, and other values from the plane and GPS are also incorporated, with outputs for warning lights and a dimmer. Data is also logged to the onboard mSD card.

In true maker fashion, Andy designed the boards in Upverter and fab’d them through OSH Park, and designed the housing in OnShape and printed it on his Prusa i3 MK3. The inspirational finished product (for now!) can be seen mounted in the cockpit below.

Andy’s journey to make this engine monitor and many of the challenges are explained on this forum thread.

EBTKS Solid State Tape Drive for the HP-85

Adding new features to old computers is one of our favorite project types, as it keeps hardware out of the trash and gives the device a new lease on life.

Philip Freidin’s description of the EBTKS project certainly sounds like it has been an incredible journey, and the functionality that it adds to the HP-85 is positively mind-blowing.

A brief overview of the EBTKS’ features includes:

  • tape drive emulation, using a 16GB mSD card to hold up to 200,000 tapes
  • floppy and Winchester disk drive emulation via mSD
  • ROM, RAM and Extended memory emulation
  • jumperless configuration via text file
  • over 70 new keywords
  • an EPS32 co-processor (under development)

Find out more and order yours on the EBTKS web page.

Ultra High Speed Gaming Mouse

Trip replaced the internals of a 1K mouse with a Teensy 4.0 for 8 times faster updates!

A 4K gaming mouse doesn’t mean it has four times as many pixels as a 1080p display — but rather that it polls at 4000Hz, meaning my movements are sent to the connected PC 4000 times per second. And just like TVs, 8K mice are already starting to be seen in the market.

Paired with a Pixart PMW3360DM-T2QU image sensor, which captures images at a rate of up to 12000 fps, the integrated Teensy transmits movement up to 8000 times per second over a shortened USB cable, in order to optimize transmission. More information can be found on the project’s GitHub page.

MCL86+ Drop-in 8088 CPU Emulator

We’ve covered MicroCoreLabs’ emulation projects before, including a cycle-accurate Zilog Z80 Emulator for the TRS-80 Model III, and a drop-in that resulted in the world’s fastest Commodore 64.

Well, Ted is at it again, this time emulating the venerable Intel 8088, in his MCL86+ 8088 replacement board for the IBM PC/XT and clones.

As always, this Teensy 4.1-based project offers both cycle-accurate 4.77MHz and accelerated modes. Running the SuperSoft Diagnostic ROM with 256KB of RAM in the Teensy 4.1’s memory at 800Mhz, with 8088 cycle accuracy disabled, performance is estimated at around 10x, although the disk drives and keyboard were unable to keep up, somewhat limiting practical use. As always, source for cycle-accurate and accelerated firmware is available on GitHub, along with schematics and fabrication files for the PCB that performs voltage level shifting and adapts it to the 8088 socket. Be sure to watch below as MCL86+ takes on the emulator-crushing 8088 MPH demo!

VC REV-VAR – Tape Loop Machine

We’ve seen a fair number of Teensy-based looping tools in recent years, but this one by Donkeyahoy is rather unique in that it uses a literal loop of analog magnetic audio tape, rather than a more modern, digital approach.

The motor driving the tape can be adjusted over a wide range (0-4000 capstan rpm, 0-99 tape inches per second), allowing the playback speed to vary from excruciatingly slow to absurdly fast (with the pitch changing along with it). Control voltage or an external DAW can also be used to adjust speed. The same external control can be used to reverse the loop (great for backmasking subliminal messages!) as well as via the direction switch. A built-in LCD shows speed and direction, which is useful if you want to return to the original recording speed. The two-track system also has left/right stereo mic and line inputs, line and headphone outputs, and classic VU meters for monitoring levels. Learn more on the project’s GoFundMe page.

grblHAL – CNC Motion Controller

grblHAL is a project started by Norwegian software developer Terje Io to allow the GRBL CNC software to be abstracted from microcontroller-dependent code, facilitating its adaptation to various boards.

PhilB created a breakout board “unkit” (meaning SMT components come pre-soldered so you just have to add through-holes) for the Teensy 4.1, providing 5-axis control for a fraction of the cost of commercial solutions.

The (un)kit is available on Tindie, though Gerbers are also available on GitHub, along with documentation and more. While USB is the default connection, an Ethernet MagJack footprint enables upgrading for more reliable G-Code feeding. The main grblHAL site also contains a great resources page.

JackAL µBITX Add-On Board

We love seeing ham radios built around Teensy, but to paraphrase Xzibit, Jack (W8TEE) and Al (AC8GY) heard you like ham radio kits, so they made the JackAL (get it?) add-on kit for your µBITX transceiver kit, so you can…well we’ll get to what it lets you do…

Rewinding for a moment, the µBITX itself is a HF SSB/CW transceiver kit (that’s High Frequency, Single Side-Band/Continuous Waveform aka Morse code) with digital tuning, a Morse code keyer, and more, designed to be an approachable, understandable radio that you can build yourself. The JackAL add-on board adds a high-resolution 800×480 TFT touch screen, hardware AGC (automatic gain control), and extensive DSP audio functions. A large rotary encoder facilitates fine-tuning, and user presets for most settings are conveniently stored in EEPROM. The kit comes with SMD components pre-populated — just bring your own Teensy 3.6 and Audio Adaptor Board, plus the display of your choice. More information can be found at the µBITX enthusiast site ubitx.net, as well as a dedicated Groups.io site.

Midbar – DIY Hardware Data Vault

Northstrix (Max) has been working on various iterations of the Midbar DIY Hardware Data Vault, with the latest V3.0 using Teensy 4.1.

These days, everyone uses a password manager (right? if you’re reading this and not using a password manager, remove all of those Post-It notes from around your monitor and go download Bitwarden right now, set it up, and come back when you’re done — we’ll wait!), but Northstrix posits that using a PC-based password manager leaves it vulnerable to malicious processes running on the same machine.

The latest version of Midbar features password, credit card, phone number, and note vaults, plus an encrypted book reader, a data encryptor/decryptor, and data hasher. Teensy’s USB Host functionality enables the connection of a keyboard. Up to 16 logins and 10 credit cards can be stored in EEPROM, with mSD card storage expanding those numbers greatly depending on available storage. 3DES + AES + Blowfish + Serpent Encryption keeps your data safe, and EEPROM is checked for tampering with each unlock. Full instructions to make your own can be found on Instructables, with source code and more project details available on GitHub.