The Teensy is a powerful ARM-based development board with loads of features that can do fun stuff with USB as well. Like many dev boards, it uses a less powerful processor as an interface. Teensy designer [Paul Stoffregen] added a debug header to allow direct SWD JTAG access to the main chip, but the interface microcontroller has to be silenced for that to work, and the code to do so is still in progress.
Impatient, [Erich Styger] documents the changes he made to add support for the J-Link SWD protocol by removing the offending NXP Kinetis KL02Z that serves as the as the onboard interface and bootloader that helps the Arduino IDE talk to the K64F which is the main chip. After the KL02Z was removed, [Erich] populated the debug headers and then wired up the Segger J-Link to the board and tested it out with Eclipse, GDB, and standard SWD debug tools.
The end result is a Cortex M4F board that can work with standard tools at a third of the price of the Kinetis’ development board. [Paul Stoffregen] confirms that the debugging functionality will be added to the bootloader code soon but until then, a hardware hack is a working, if brutal, approach to debugging on the platform.
More information on the JTAG interface is available for the interested. And if Teensy isn’t your thing, you might consider an STM32-based development board.
[Otermrelik] wanted to experiment with the Teensy audio library and adapter. That, combined with his 3D printer, led to a very cool looking build of the teensypolysynth. The device looks like a little mini soundboard with sliders and 3D printed knobs. You can see (and hear) it in the video below.
The Teensy audio library supports several output devices including several built-in options and external boards like the audio adapter used here. The library does CD-quality sound, supports polyphonic playback, recording, synthesis, mixing, and more.
Continue reading “Teensy and 3D Printer Make Beautiful Music Together”
Helsinki has a strong underground Heavy Metal scene, so what better way to show it off than to have listeners literally unearth the local sounds themselves with converted metal detectors that play, naturally, Metal? [Steve Maher] built these modified detectors and handed them to a bunch of participants who went on exploratory walks around the city. The tracks from local bands changed as the user moved from one concealed metallic object to the other to create the experience of discovering the hidden soundscape of the land. Continue reading “Heavy Metal Detectors”
An oasis in the desert is the quintessential image of salvation for the wearied wayfarer. At Burning Man 2016, Grove — ten biofeedback tree sculptures — provided a similar, interactive respite from the festival. Each tree has over two thousand LEDs, dozens of feet of steel tube, two Teensy boards used by the custom breath sensors to create festival magic.
Grove works like this: at your approach — detected by dual IR sensors — a mechanical flower blooms, meant to prompt investigation. As you lean close, the breath sensors in the daffodil-like flower detect whether you’re inhaling or exhaling, translating the input into a dazzling pulse of LED light that snakes its way down the tree’s trunk and up to the bright, 3W LEDs on the tips of the branches.
Debugging and last minute soldering in the desert fixed a few issues, before setup — no project is without its hiccups. The entire grove was powered by solar-charged, deep-cycle batteries meant to least from sunset to sunrise — or close enough if somebody forgot to hook the batteries up to charge.
Continue reading “An Interactive Oasis At Burning Man”
[Johan] has slipped down the rabbit hole of making musical instruments. His poison? Laser harp MIDI controllers. Having never made one before, he thought he would start small and then iterate using what he learned. Fortunately for us, [Johan] documented the process over on .io, essentially creating a step-by-step guide for building a simple but powerful 16-note laser harp.
Laser Harp I is built around a Teensy 3.2 and, of course, lasers pointed at LDRs. [Johan] used fairly low-power laser modules, which are slightly less blinding if you accidentally look at them for a second, but should still be taken seriously. He added four potentiometers to control the sensitivity, scale, octave, and the transposition. The sensitivity pot essentially accounts for the ambient light in the room. Although it only has 16 notes, Laser Harp I is ready to rock with over 30 different scales to choose from. Check out the brief demo that [Johan] put up on his Instagram.
If you try to build your own laser harp and get lost trying to follow [Johan]’s instructions, don’t worry. His well-commented code and lovely schematic will undoubtedly save you. Then you can move on to open-beam designs.
A while back, [Jorj] caught wind of a Hackaday post from December. It was a handheld Apple IIe, emulated on an ATMega1284p. An impressive feat, no doubt, but it’s all wrong. This ATapple only has 12k of RAM and only runs at 70% of the correct speed. The ATapple is impressive, but [Jorj] knew he could do better. He set out to create the ultimate portable Apple IIe. By all accounts, he succeeded.
This project and its inspiration have a few things in common. They’re both assembled on perfboard, using tiny tact switches for the keyboard. The display is a standard TFT display easily sourced from eBay, Amazon, or Aliexpress. There’s a speaker for terribad Apple II audio on both, and gigantic 5 1/4″ floppies have been shrunk down to the size of an SD card. That’s where the similarities end.
[Jorj] knew he needed horsepower for this build, so he turned to the most powerful microcontroller development board he had on his workbench: the Teensy 3.6. This is a 180 MHz ARM Cortex M4 running a full-speed Apple IIe emulator. Writing a simple 6502 emulator is straightforward, but Apple IIe emulation also requires an MMU. the complete emulator is available in [Jorj]’s repo, and passes all the tests for 6502 functionality.
The project runs all Apple II software with ease, but we’re really struck by how simple the entire circuit is. Aside from the Teensy, there really isn’t much to this build. It’s an off-the-shelf display, a dead simple keyboard matrix, and a little bit of miscellaneous circuitry. It’s simple enough to be built on a piece of perfboard, and we hope simple enough for someone to clone the circuit and share the PCBs.
Have you ever had a laptop you just wish you didn’t have to retire when its specification becomes to aged for your needs? Wouldn’t it be great if you could upgrade it and keep using the physical hardware!
[Alpinedelta] has a vintage Toshiba T1000 laptop, roughly a PC-XT clone from the late 1980s. Its 80C88 processor, CGA display, and 512k of memory make it a museum-piece, but he has plans to modernise it using a LattePanda Intel Atom based single board computer.
To make that happen, he has to ensure all the Toshiba’s peripherals will talk to a modern host. Unfortunately back in the 1980s many PC clones were clones in a rather loose sense, and especially so in the laptop arena. Thus there are no handy standard PC interfaces and since USB was several years away at the time, nothing the LattePanda can talk to directly. His solution for the keyboard is to wire its matrix directly to a Teensy microcontroller that then provides a USB interface, and he’s put up a useful step-by-step Instructables guide.
There is no standard for a laptop keyboard matrix, so the first and most tedious task is to unpick its layout.This he did by identifying each trace and assigning a different rainbow colour to it, before noting down which keys appeared on it and collating the results in a spreadsheet. The different colours of wire could then be assigned to the colours of a piece of rainbow ribbon cable, and wired in sequence to the Teensy’s I/O pins. There then follows a step in the software in which he assigns the pin mappings to the lines in his spreadsheet, then the sketch can be compiled and uploaded to the Teensy. Result: a vintage keyboard now talking USB.
Using a Teensy to present a USB keyboard to the world is a well-worn path, we’ve seen it with both newer keyboards and other relics like this one from a DEC VT100.
Thanks [Brent] for the tip.