The Hunt For Alien Radio Signals Began Sooner Than You Think

Every 26 months, Earth and Mars come tantalizingly close by virtue of their relative orbits. The closest they’ve been in recent memory was a mere 55.7 million kilometers, a proximity not seen in 60,000 years when it happened in 2003.

However, we’ve been playing close attention to Mars for longer than that. All the way back in 1924, astronomers and scientists were contemplating another close fly by from the red planet. With radio then being the hot new technology on the block, the question was raised—should we be listening for transmissions from fellows over on Mars?

Continue reading “The Hunt For Alien Radio Signals Began Sooner Than You Think”

Commodore CHESSmate Replica Runs On The ESP32

The Commodore CHESSmate chess computer might not be terribly well known, but that doesn’t make it any less worthy of being reproduced. If anything it is more important, as it gives more people an opportunity to use one of these devices, yet beyond a purely emulated experience the real user interface is harder to experience.

Internals of the reproduction Commodore ChessMate (Credit: Michael Gardi)

This is where [Michael Gardi]’s modernized replica provides a highly accessible version, consisting of a custom PCB with an ESP32 as the brains of the system. Although decidedly overkill next to the 6502 in the original CHESSmate, it makes the project far easier for others to assemble as it contains few components that shouldn’t be readily available.

The ESP32 is mounted on a small daughterboard which plugs into the main PCB with the buttons, LEDs and indicators. The whole stack is then inserted into the 3D printed reproduction case. These 3D models along with the ESP32 port of the CHESSmate firmware can be found in the GitHub repository, along with a minimalist frame and a ‘CHESSmate Lite’ version as alternative enclosure options for those who somehow don’t appreciate the delightful 1980s aesthetics.

We covered the Commodore CHESSmate last year, including a highly faithful reproduction built by [Hans Otten], which [Michael] read the day after meeting [Peter Jennings], the author of MicroChess (which the CHESSmate uses internally) at an event at York University. Taking this as a sign, he set to work on this particular project.

We’re not sure if there’s really a cosmic force directing [Michael] towards his next project, but if there is, we’d like to take this opportunity to thank it for doing a fantastic job so far.

Arduino Gear Shift Indicator Finds ‘Em So You Won’t Grind ‘Em

Now, it’s been a shamefully long time since we’ve driven a car with a manual transmission, but as we recall it was pretty straightforward. It certainly didn’t require a lot of help with the shifting pattern, at least not enough to require a technical solution to know what gear you’re in. But then again, we suspect that’s not really the point of [upir]’s latest build.

Oh sure, it’s pretty cool to display your current gear selection on a little LCD screen using an Arduino. And [upir] promises a follow-up project where the display goes inside the shifter knob, which will be really cool. But if you take a look at the video below, you’ll see that the real value of this project is the stepwise approach he takes to create this project. [upir] spends most of the time in the video below simulating the hardware and the code of the project in Wokwi, which lets him make changes and tune the design up before committing anything to actual hardware.

That turned out to be particularly useful with this build since he chose to use analog Hall sensors to detect the shift lever position and didn’t know exactly how that would work. Wokwi let him quickly build a virtual prototype for one sensor (using a potentiometer as a stand-in, since the simulator lacked a Hall sensor model), then quickly expand to the four sensors needed to detect all six gear positions.

By the time his simulation was complete, the code was almost entirely written. [upir] also walks us through his toolchains for both designing the graphics and laying out the PCB, a non-trivial task given the odd layout. We particularly enjoyed the tip on making smooth curved traces around the oval cutout for the shift lever in the board.

The video below is on the longish side, but it’s chock full of great little tips. Check out some more of [upir]’s work, like his pimped-out potentiometer or his custom animations on 16×2 LCDs.

Continue reading “Arduino Gear Shift Indicator Finds ‘Em So You Won’t Grind ‘Em”

Repairing A Gear With A Candle (and Some Epoxy)

You have a broken gear you need to fix, but there’s no equivalent part available. That’s the issue [Well Done Tips] faced with a plastic gear from a lawnmower. While we’d be tempted to scan the gear, repair the damage in CAD and then 3D print a new one, we enjoyed hearing about his low-tech solution. In addition to the write up, there’s a video showing the process you can watch below.

The idea is pretty simple. Using a piece of pipe and melted candle wax, he prepared a mold of an undamaged section of the gear. Then he cast epoxy resin in place to recreate the missing pieces. There are a few tricks, like putting holes in the remaining part of the gear so the epoxy flows into the existing part. Depending on the gear’s purpose and original material, you might be able to just use it as-is. However, you could also use the repaired gear as a template to create another mold and then cast an entire gear from resin or even metal if you can cast metal.

You can argue whether resin is better or worse than PLA, but of course, it depends on the kind of resin—photopolymers are different from epoxy resins you’d use for this sort of thing. If you think you might like to make your new gear out of aluminum, you might find some inspiration in a previous post.

Continue reading “Repairing A Gear With A Candle (and Some Epoxy)”

Your Text Needs More JPEG

We’ve all been victims of bad memes on the Internet, but they’re not all just bad jokes gone wrong. Some are simply bad as a result of being copies-of-copies, as each reposter adds another layer of compression to an already lossy image format like JPEG. Compression can certainly be a benefit in areas like images and videos, but [Michal] had a bit of a fever dream imagining this process applied to text. Rather than let the idea escape, he built the Lossifizer to add JPEG-like compression to text.

JPEG compression uses a system similar to the fast Fourier transform (FFT) called the discrete cosine transform (DCT) to reduce the amount of data in an image by essentially removing some frequency information. The data lost is often not noticeable to the human eye, at least until it gets out of hand. [Michal]’s system performs the same transform on text instead, with a slider to control the “amount of JPEG” in the output text. The code for this script uses a “perceptual” character map, clustering similarly-looking and similarly-sounding characters next to each other, resembling “leet speak” from days of yore, although at high enough compression this quickly gets out of hand.

One of the quirks that [Michal] discovered is that certain AI chat bots have a much less difficult time interpreting this JPEG-ified text than a human probably would have, which provides a bit of insight into how some of these algorithms might be functioning under the hood. For some more insight into how JPEG actually works on images, we posted about a deep dive into the image format a while back.

Breadboard SDR Doesn’t Need Much

[Grug Huhler] built a simple Tayloe mixer and detector on a breadboard. He decided to extend it a bit to be a full-blown software defined radio (SDR). He then used WSJT-X to monitor FT8 signals and found that he could pick up signals from all over the world with the little breadboard system.

A Raspberry Pi Pico generates a quadrature clock that acts as the local oscillator for the radio. All the processing of the input signal to a quadrature signal is done with a 74LV4052A, which is nothing more than an analog multiplexer. In principle, the device takes a binary number from zero to three and uses it to connect a common signal to one of four channels. There are two common lines and two sets of four channels. In this case, only half of the chip is in use.

An antenna network (two resistors and a capacitor) couples the antenna to one of the common pins, and the Pi generates two square waves, 90 degrees out of phase with each other. This produces select signals in binary of 00, 01, 11, and 10. An op amp and a handful of passive components couple the resulting signals to a PC soundcard, where the software processes the data. The Pi can create clocks up to about 15 or 20 MHz easily using the PIO.

The antenna is a 20-meter-long wire outside, and that accounts for some of the radio’s success. There are several programs than can work with soundcard input like this and [Grug] shows Quisk as a general-purpose receiver. If you missed the first video explaining the Tayloe mixer design, you can catch it below the first video.

This isn’t the first breadboard SDR we’ve seen, but they all use different parts. We’ve even seen a one-bit SDR with three components total (not including the microcontroller). Seriously.

Continue reading “Breadboard SDR Doesn’t Need Much”

an analog CO2 gauge with a cute face

Cute CO2 Gauge Tells You When To Crack A Window

[Cyrill] has a good home automation scheme going: there are a number of physical switches set around the place that control the essential functions. The only problem is that in the winter time, this results in a great deal of phone checking as [Cyrill] tries to monitor the CO2 level. Tired of all this screen time, [Cyrill] set about to create an incredibly cute (and useful) Co2 monitor that plainly shows the current level and how bad it is, relatively speaking.

A large servo and an ESP32-S2 make up the guts of an analog CO2 sensor.

Behind that adorable face is a DS3225 servo being driven by a Wemos S2 mini, both of which [Cyrill] happened to have handy. Although the 25 Kg servo may be complete overkill for the situation, [Cyrill] reports that it is quieter than your average AliExpress alternatives, which makes it well worth it in our book. Then it was on to Inkscape to make the gauge itself. [Cyrill] says they’re an Inkscape noob, but that face could have fooled us.

Finally, it was time to integrate it into Home Assistant to get readings from the CO2 sensors. This was easier said than done, but [Cyrill] does a nice job of explaining how to get the ESP32-S2 up and working.

If you’re out there monitoring CO levels in your home, beware of fake sensors that cropped up during the height of the pandemic and are likely still at large.