A Baudot Code Speaking Chatterbot With A Freakish Twist

[Sam Battle] known on YouTube as [Look Mum No Computer] is mostly known as a musical artist, but seems lately to have taken a bit of shine to retro telecoms gear, and this latest foray is into the realm of the minicom tty device which was a lifeline for those not blessed with ability to hear well enough to communicate via telephone. Since in this modern era of chatting via the internet, it is becoming much harder to actually find another user with a minicom, [Sam] decided to take the human out of the loop entirely and have the minicom user talk instead to a Raspberry Pi running an instance of MegaHal, which is 1990s era chatterbot.  The idea of this build (that became an exhibit in this museum is not obsolete) was to have an number of minicom terminals around the room connected via the internal telephone network (and the retro telephone exchange {Sam] maintains) to a line interface module, based upon the Mitel MH88422 chip. This handy device allows a Raspberry Pi to interface to the telephone line, and answer calls, with all the usual handshaking taken care of. The audio signal from the Mitel interface is fed to the Pi via a USB audio interface (since the Pi has no audio input) module.

Continue reading “A Baudot Code Speaking Chatterbot With A Freakish Twist”

2022 Sci-Fi Contest: Multi-Sensor Measurement System

Many sci-fi movies and TV shows feature hand-held devices capable of sensing all manner of wonderful things. The µ Spec Mk II from [j] is built very much in that vein, packing plenty of functionality into a handy palm-sized form factor. 

An ESP32 serves as the brains of the device, hooked up to a 480×320 resolution touchscreen display. On board is a thermal camera, with 32×24 pixel resolution from an MLX90640 sensor. There’s also a 8×8 LIDAR sensor, too, and a spectral sensor that can capture all manner of interesting information about incoming light sources. This can also be used to determine the transmission coefficient or reflection coefficient of materials, if that’s something you desire. A MEMS microphone is also onboard for capturing auditory data. As a bonus, it can draw a Mandelbrot set too, just for the fun of it.

Future plans involve adding an SD card so that data captured can be stored in CSV format, as well as expanding the sensor package onboard. It’s a project that reminds us of some of the tricorder builds we’ve seen over the years. Video after the break.

Continue reading “2022 Sci-Fi Contest: Multi-Sensor Measurement System”

Modern Wildfires And Their Effect On The Ozone Layer

The ozone layer is a precious thing, helping protect the Earth from the harshest of the sun’s radiative output. If anything were to damage this layer, we’d all feel the results in a very short order indeed.

In the past, humanity has worked to limit damage to the ozone layer from our own intentional actions. However, it’s not just aerosol cans and damaged air conditioning systems that are putting it at risk these days. The fierce wildfires we’ve seen so much of in recent years are also having a negative effect. Let’s take a look at why the ozone layer matters, and how it’s being affected by these wildfires.

Continue reading “Modern Wildfires And Their Effect On The Ozone Layer”

Stanislaw playing notes on his MIDI keyboard, with the LEDs on the LED strip lighting up right above the note he's playing, driven by the Raspberry Pi that runs a script based on the Pianolizer toolkit

Pianolizer Helps Your Musical Projects Distinguish Notes

[Stanislaw Pusep] has gifted us with the Pianolizer project – an easy-to-use toolkit for music exploration and visualization, an audio spectrum analyzer helping you turn sounds into piano notes. You can run his toolkit on a variety of different devices, from Raspberry Pi and PCs, to any browser-equipped device including smartphones, and use its note output however your heart desires. To show off his toolkit in action, he set it up on a Raspberry Pi, with Python code taking the note data and sending color information to the LED strip, displaying the notes in real time as he plays them on a MIDI keyboard! He also created a browser version that you can use with a microphone input or an audio file of your choosing, so you only need to open a webpage to play with this toolkit’s capabilities.

He took time to make sure you can build your projects with this toolkit’s help, providing usage instructions with command-line and Python examples, and even shared all the code used in the making of the demonstration video. Thanks to everything that he’s shared, now you can add piano note recognition to any project of yours! Pianolizer is a self-contained library implemented in JavaScript and C++ (which in turn compiles into WebAssembly), and the examples show how it can be used from Python or some other language.

[Stanislaw] also documented the principles behind the code, explaining how the note recognition does its magic in simple terms, yet giving many insights. We are used to Fast Fourier Transform (FFT) being our go-to approach for spectral analysis, aka, recognizing different frequencies in a stream of data. However, a general-purpose FFT algorithm is not as good for musical notes, since intervals between note frequencies become wider as frequency increases, and you need to do more work to distinguish the notes. In this toolkit, he used a Sliding Discrete Fourier Transform (SDFT) algorithm, and explains to us how he derived the parameters for it from musical note frequencies. In the end of the documentation, he also gives you a lot of useful references if you would like to explore this topic further!

What are you going to build with this? Maybe, a box that records you playing the flute and instantly turns it into sheet music? Or, perhaps, an AI that continues the song for you when you stop?

Continue reading “Pianolizer Helps Your Musical Projects Distinguish Notes”

The Sinclair ZX Spectrum Turns 40

It’s an auspicious moment for retrocomputing fans, as it’s now four decades since the launch of the Sinclair ZX Spectrum. This budget British microcomputer was never the best of the bunch, but its runaway success and consequent huge software library made it the home computer to own in the UK. Here in 2022 it may live on only in 1980s nostalgia, but its legacy extends far beyond that as it provided an entire generation of tech-inclined youngsters with an affordable tool that would get them started on a lifetime of computing.

What Was 1982 Really Like?

Cover of Sincalir User, Sir Clive Sinclair as a magician
Sinclair User issue 3 captures the excitement surrounding the Spectrum launch.

There’s a popular meme among retro enthusiasts that the 1980s was a riot of colour, pixel artwork, synth music, and kitschy design. The reality was of growing up amid the shabby remnants of the 1970s with occasional glimpses of an exciting ’80s future. This was especially true for a tech-inclined early teen, as at the start of 1982 the home computer market had not yet reached its full mass-market potential. There were plenty of machines on offer but the exciting ones were the sole preserve of adults or kids with rich parents. Budget machines such as Sinclair’s ZX81 could give a taste of what was possible, but their technical limitations would soon become obvious to the experimenter.

1982 was going to change all that, with great excitement surrounding three machines. Here in the UK, the Acorn BBC Micro had been launched in December ’81, the Commodore 64 at the start of ’82, and here was Sinclair coming along with their answer in the form of first the rumour of a ZX82, and then the reality in the form of the Spectrum.

This new breed of machines all had a respectable quantity of memory, high-res (for the time!) colour graphics, and most importantly, sound. The BBC Micro was destined to be the school computer of choice and the 64 was the one everybody wanted, but the Spectrum was the machine you could reasonably expect to get if you managed to persuade your parents how educational it was going to be, because it was the cheapest at £125 (£470 in today’s money, or about $615). Continue reading “The Sinclair ZX Spectrum Turns 40”

Hand-Built Metal Mouse Is Beautifully Engraved

Computer mice, like computers themselves, used to be built almost solely in hideous beige designs. These days, things are a bit more stylish, but they’re still largely following a simple plastic formula. [Uri Tuchman] decided to build a fancy metal engraved computer mouse for a little more style on the desktop.

The build starts by gutting a simple three-button scroll mouse, as there’s really no sense in reinventing the wheel where the electronics is concerned. The PCB inside is pulled out and assembled on a brass baseplate, along with standoffs and supports for the mouse wheel as needed. It’s paired with a hefty brass enclosure with a nice gentle slope to sit well in the hand. Or, as well as it can, given the square  metal edges of the finished product.

The build is full of fun details, like [Uri] trying to form a hex shaft by hand, and the work that goes into the engraving is similarly impressive. In any case, it’s a build that would pair wonderfully with a proper steampunk keyboard. Alternatively, if you hate the idea of having to do all that engraving by hand, think about building your own CNC machine. Video after the break.

Continue reading “Hand-Built Metal Mouse Is Beautifully Engraved”

Physical Control Panel Elevates Flight Sim Experience

Like so many of us, [pgsanchez] has been bitten by the flight simulator bug. It’s a malady that can only be treated, but never cured — and like so many hobbies, it has a nasty tendency to spawn more hobbies. A software developer by trade, [pgsanchez] is also adept with Arduino and electronics, and his blog post about the PGS-2 Flight Simulator Control Panel demonstrates his fine abilities well, as does the video below the break.

A player of Digital Combat Simulator, he grew tired of having to remember awkward key combinations to control the simulator. Flying a jet, even in a simulator, can require quick thinking bound with quick reflexes, so having a button to press, a switch to flip, or a knob to turn can be vastly superior to even the simplest keyboard based command.

An Arduino interfaces the buttons to the computer, and a white acrylic case is employed to keep all the parts flying in formation. Yes, a white case — with great care taken to allow the case to be backlit. The effect is excellent, and it looks like the panel would be right at home in the Sukhoi Su-25T that it’s designed to control in the game.

We appreciated the attention to detail in the panel, as even the gear status lights and flap indicators match those in the simulator, a nice touch! What more could [pgsanchez] build? We’d like to see! If you’re into flight sims and the like, you might be interested in this fully 3D printed flight sim controller.

Continue reading “Physical Control Panel Elevates Flight Sim Experience”