Teensy Becomes Tiny Handheld Computer, Plays Emulators

Science fiction predicted that we would one day all carry around tiny computers of great power. While smartphones are great, those predictions were more based on cuter systems that more closely approximated existing computers, with keyboards and screens. [Jean-Marc Harvengt] has built something along those very lines, and it’s called the T-COMPUTER.

This build centers around the mighty Teensy 4.1. That means it’s got an 800 MHz Cortex-M7 processor, 1 MB of RAM, and 8 MB of flash – eclipsing the specs of many retrocomputers of yesteryear. [Jean-MarcHarvengt] has paired the Teensy with a 42-key keyboard and a TFT screen, making a compact handheld computer platform. It’s also got VGA out for display on a bigger screen, along with USB and an old-school Atari joystick port! Power is via a small rechargeable lithium cell on the back, and 16-bit stereo audio is available via a standard 3.5mm jack. There’s also a little GPIO available if you need to interface with something.

It’s capable of emulating the Commodore 64 and Super Nintendo, as well as more obscure systems like the Atari Lynx. And before you ask – yes, it can run DOOM. It’s a fun little platform that would be enjoyable for retrogaming and hacking on the go. If you want to build your own, files are readily available on Github to recreate the system.

Handheld computer builds are always growing in popularity now that so much computing power can be had in a tiny devboard formats. If you’ve built your own neat little rig, be sure to let us know! Video after the break.

Continue reading “Teensy Becomes Tiny Handheld Computer, Plays Emulators”

Getting To The TrackPoint Quicker

Love it or hate it, TrackPoint can be a powerful tool. Love it or hate it, the idea of moving the mouse without removing your hands from the keys has an appeal. [Alon Swartz] incorporated one into his custom wired split mechanical keyboard and wrote a helpful guide on how to do it yourself.

The first step was to determine the pinout of the Trackpoint, which he provides a handy repository of various devices with annotations and pictures. The next step is swapping the little rubber nub at the top for something a bit longer. As the PCB sits below the keys, a labret cheek piercing happens to be a perfect candidate. Strong, thin, easily obtainable in different lengths, and threaded on one end. With jewelry in hand, [Alon] created a reset circuit with just a few resistors and a capacitor so the teensy can trigger a reset of the Trackpoint. The keyboard’s TMK firmware also needed a few tweaks to support reading the Trackpoint.

It’s a great guide, and we love the use of the jewelry as a piece of the keyboard. A knitting needle was used in a previous attempt to add a Trackpoint to a mechanical keyboard, and we’re excited to see what other household items end up in keyboards.

Collaborative Effort Gets Laser Galvos Talking G-Code

Everyone should know by now that we love to follow up on projects when they make progress. It’s great to be able to celebrate accomplishments and see how a project has changed over time. But it’s especially great to highlight a project that not only progresses, but also gives back a little to the community.

That’s what we’re seeing with [Les Wright]’s continuing work with a second-hand laser engraver. It was only a few weeks ago that we featured his initial experiments with the eBay find, a powerful CO2 laser originally used for industrial marking applications. It originally looked like [Les] was going to have to settle for a nice teardown and harvesting a few parts, but the eleven-year-old tube and the marking head’s galvanometers actually turned out to be working just fine.

The current work, which is also featured in the video below, mainly concerns those galvos, specifically getting them working with G-code to turn the unit into a bit of an ad hoc laser engraver. Luckily, he stumbled upon the OPAL Open Galvo project on GitHub, which can turn G-code into the XY2-100 protocol used by his laser. While [Les] has nothing but praise for the software side of OPAL, he saw a hardware hole he could fill, and contributed his design for a PCB that hosts the Teensy the code runs on as well as the buffer and line driver needed to run the galvos and laser. The video shows the whole thing in use with simple designs on wood and acrylic, as well as interesting results on glass.

Of course, these were only tests — we’re sure [Les] would address the obvious safety concerns in a more complete engraver. But for now, we’ll just applaud the collaboration shown here and wait for more updates.

Continue reading “Collaborative Effort Gets Laser Galvos Talking G-Code”

Teensy Spectrum Analyzer Has 170 Channels

While high-fidelity audio has come a long way in the past several decades, a lot of modern stereo equipment is still missing out on some of the old analog meters that were common on amplifiers and receivers of the 60s through the 80s. Things like VU meters don’t tend to be common anymore, but it is possible to build them back in to your sound system with the help of some microcontrollers. [Mark] shows us exactly how to reclaim some of the old-school functionality with this twin audio visualizer display.

Not only does this build include two displays, but the microcontroller is keeping up with 170 channels in real-time in order to drive the display. What’s more impressive is that it’s being done all on a Teensy 4.1. To help manage all of the data and keep the speed as fast as possible it uses external RAM soldered to the board, and a second Teensy audio board is used to do the real time FFT analysis. Most of the channels are sent to the display hosting the spectrum analyzer but two are reserved for left and right stereo VU meters on the second display.

The project from [Mark] is originally based on this software from [DIYLAB] so everything is open-source. While it was originally built for a specific piece of hardware, [Mark] has it set up with a line in and line out plus a microphone input so it can be used for virtually any audio hardware now. For another take on the classic VU meter, take a look at this design based on an Arudino instead.

Continue reading “Teensy Spectrum Analyzer Has 170 Channels”

A Gameport Joystick To USB-MIDI Converter

These days, live music performance often involves electronic synthesizers and computers rather than traditional instruments played by hand. To aid in his own performances, [alekappa] built a special interface to take signals from a joystick and convert them to MIDI messages carried over USB.

The build is simple and straightforward, using a Teensy LC to interface with a simple gameport joystick. With a smattering of simple components, it’s easy to read the outputs of the joystick with only a little debounce code needed to ensure the joystick’s buttons are read accurately. Similarly, analog axes are read using the analog-to-digital converters onboard the microcontroller.

This data is then converted into control changes, note triggers and velocity levels and sent out over the Teensy LC’s USB interface. A mode switch enables changes to the system’s behaviour to be quickly made. The device is wrapped up in a convenient housing nabbed from an old Gameport-to-USB converter from many years ago.

It’s a neat project and we’re sure the joystick allows [alekappa] to add a new dimension to his performances on stage. We’ve seen other great MIDI controllers, too, from the knitted keyboard to the impressive Harmonicade. If you’ve got your own mad musical build under construction, don’t hesitate to drop us a line!

Accurately Track Your Mains Frequency

Depending upon where in the world you live, AC mains frequency is either 50Hz or 60Hz, and that frequency is maintained accurately enough over time that it can be used as a time reference for a clock. Oddly it’s rarely exactly that figure though, instead it varies slightly with load on the network and the operators will adjust it to keep a constant frequency over a longer period. These small variations in frequency can easily be measured, and [jp3141] has created a circuit that does exactly that.

It’s a surprisingly straightforward device, in which a Teensy takes its power supply from a very conventional if now a little old-school mains transformer, rectifier, and regulator. A sample of the AC from the transformer passes through a low-pass filer and a clamp, and thence to the Teensy where it is fed into one of the on-board comparators from which its period is measured using one of the timers. Even then the on-board crystal isn’t considered accurate enough, so it is in turn disciplined by a 1 pulse per second (PPS) signal from a GPS receiver.

The Teensy then reports its readings over a serial line every five seconds to a Raspberry Pi, which collates and graphs the data. In case you are wondering what the effect of mains frequency variations might be, we once covered the story of how an entire continent lost six minutes.

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The Ballpoint Typewriters

So you want to minimize finger movement when you type, but don’t have three grand to drop on an old DataHand, or enough time to build the open-source lalboard? Check out these two concept keebs from [SouthPawEngineer], which only look like chord boards.

Every key on the home row is a five-way switch — like a D-pad with straight down input. [SouthPawEngineer] has them set up so that each one covers a QWERTY column. So like, for the left pinky switch, up is Q, right is A, down is Z, and left is 1. Technically, the split has 58 keys, and the uni has 56.

Both of these keebs use KB2040 boards, which are Adafruit’s answer to the keyboard-building craze of these roaring 2020s. These little boards are of course easy to program with CircuitPython, which supports KMK, an offshoot of the popular QMK. Thanks for the tip, [foamyguy]!

Continue reading “Keebin’ With Kristina: The One With The Ballpoint Typewriters”