DIY Wireless Serial Adapter Speaks (True) RS-232

There is a gotcha lurking in wait for hackers who look at a piece of equipment, see a port labeled “Serial / RS-232”, and start to get ideas. The issue is the fact that the older the equipment, the more likely it is to be a bit old-fashioned about how it expects to speak RS-232. Vintage electronics may expect the serial data to be at bipolar voltage levels that are higher than what the typical microcontroller is used to slinging, and that was the situation [g3gg0] faced with some vintage benchtop equipment. Rather than deal with cables and wired adapters, [g3gg0] decided to design a wireless adapter with WiFi and Bluetooth on one end, and true RS-232 on the other.

The adapter features an ESP32 and is attached to a DB-9 plug, so it’s nice and small. It uses the ST3232 chip to communicate at 3 V logic levels on the microcontroller side, supports bipolar logic up to +/-13 V on the vintage hardware side, and a rudimentary web interface allows setting hardware parameters like baud rate. The nice thing about the ST3232 transceiver is that it is not only small, but can work from a 3 V supply with only four 0.1 uF capacitors needed for the internal charge pumps.

As for actually using the adapter, [g3gg0] says that the adapter’s serial port is exposed over TCP on port 23 (Telnet) which is supported by some programs and hardware. Alternately, one can connect an ESP32 to one’s computer over USB, and run firmware that bridges any serial data directly to the adapter on the other end.

Design files including schematic, bill of materials, and PCB design are shared online, and you can see a brief tour of the adapter in the video, embedded below.

Continue reading “DIY Wireless Serial Adapter Speaks (True) RS-232”

E.T. Video Game Gets Re-Imagined In 10 Lines Of BASIC

Most people would recognize E.T. The Extra-Terrestrial for the Atari 2600 by its reputation as one of the worst video games of all time. We’ll have more to say about that in a moment, but E.T. was nevertheless chosen as the inspiration behind [Martin Fitzpatrick]’s re-imagining of the game in ten lines of BASIC code for a contest that encourages and celebrates games written in ten lines of BASIC, or less.

Ten lines of BASIC is a big limitation, even when getting clever by stacking multiple statements into a single line, so [Martin]’s game has a much narrower scope than the original Atari 2600 version. Still, the core elements are present: E.T. must find and gather all the parts of the phone in order to contact his ship, after which he must meet the ship in time to escape. All the while, FBI agents attempt to interfere. The game was written in SAM BASIC, used by the SAM Coupé, a British Z80-based home computer from the late 80s with an emulator available for download.

Now, for lovers of “um, actually” topics, do we have a treat for you! Let’s take this opportunity to review a few things about E.T. The Extra-Terrestrial. That it was a commercial flop is no doubt, but the game itself is often badly misunderstood. Way back in 2013 we covered an extraordinary effort to patch improvements into the binary for the 2600 game, and in the process there’s a compelling case made that the game was in many ways far ahead of its time, and actually quite significant in terms of game design. You can jump right in on an analysis of the hate the game receives, and while reading that it’s helpful to keep in mind that In 1982, many of its peers were games like Space Invaders, with self-evident gameplay that simply looped endlessly.

LED Brightness Adjustment Uses Itself As Sensor

This is a story about a successful system that nevertheless failed to make the cut. An experimental LED brightness adjustment is something [Mitxela] explored in a project for a high-precision clock; one that shows time down to the nearest millisecond, and won’t flicker or otherwise look weird when photographed with a high-speed camera. To pull this off means reinventing many things about a clock display, including how to handle brightness adjustment elegantly. Now, to be clear, the brightness adjustment idea described here is something that did not end up being used, but it’s interesting enough that [Mitxela] wrote it up and we’re very glad he did.

The idea was to have a smooth and seamless automatic brightness adjustment, ideally with no added components. Since LEDs can be used as light sensors, [Mitxela] saw an opportunity to use elements of the clock displays themselves as sensors. This is how it works: a charge in the p-n junction that makes up an LED will decay at a rate proportional to the amount of light hitting the junction. By measuring the speed of this decay, it’s therefore possible to tell how much light is hitting the LED. It’s effective and elegant, but there are a few practical issues to deal with.

The first failed idea was to employ as sensors the unused decimal points in the seven-segment LED modules, but that turned out to have issues. One was the common-cathode wiring of the display modules; this makes them very convenient to drive as displays, but made using the decimal point as a light sensor impractical. The other issue was that the built-in diffuser that makes the displays easier to read absorbs a lot of ambient light. A much better option was to use the LEDs in the colon separators between digits, since they’re independent. Naturally they still have to light up in addition to being used as sensors, but [Mitxela] made a successful prototype by performing the necessary measurements in between the LEDs being driven by PWM.

Despite how clever and efficient the solution was, in the end what sank it was the fact that the LEDs just don’t do a very good job of sensing ambient light for this purpose. The LEDs are simply too directional. Even after sanding away the top (lens) part of the LEDs, they still had a very narrow field of view. As [Mitxela] describes it, tilting the clock towards the ceiling could send it to full brightness, and the shadow of one’s head falling across the clock would plummet it into “night mode” dimness. In short, it responded to what was directly in front of it, rather than the ambient light level as a whole.

It’s a reminder that sometimes a solution simply won’t tick all the right boxes, and it can happen for unexpected reasons. Still, LEDs are versatile things. Not only can they sense light, but as the name implies they’re also diodes. As diodes can be used as temperature sensors that means LEDs can as well.

Solid Tips For Casting Colored Silicone Tires

For people who work with wheeled robots or RC vehicles, sooner or later one gets interested in making custom tires instead of dealing with whatever is available off the shelf. [concreted0g]’s preferred method is to design and 3D print wheel hubs, then cast some custom silicone tires to fit over them. Of course, the devil is in the details and this process can be a bit messy, so he’s shared useful tips on how to get reliable results with simple materials.

The casting material is cheap silicone caulking from a hardware store, and color can be added with a small amount of cheap acrylic paint. A few drops of glycerin added to the silicone thins it out slightly and helps it flow into a mold better. Mix well (the paint will also serve as a visual indicator of how well it is mixed), then scoop the mixture into the mold while trying to avoid creating air pockets. If your mold is in two pieces, assemble the mold and remove any overflow, then let it sit undisturbed for at least several hours while it cures.

Mounting the resulting tire to a wheel hub can be done with a thin film of super glue, which seems to work perfectly well for small tires and is easy to apply.

The rules are going to be a bit different for big objects. We know that silicone caulking can have difficulty fully curing when it’s applied thickly, especially when sealed into a mold with little to no airflow. In such cases, adding cornstarch (in about a 5:1 ratio of silicone to cornstarch by volume) is all that it takes to cure even thick wads of goop in less than an hour. Stirring cornstarch in tends to introduce more air bubbles into the mixture, but for larger pieces that can be an acceptable tradeoff. Cheap silicone caulking is versatile stuff, one just needs to know what to expect, and take a few steps to deal with the messiness.

Need something tougher? Maybe check out using slices of automotive silicone hose for robot wheels to get something that works just as well, but is a lot more durable.

This Vintage LED Matrix Lives In A Gold Bathtub

Early LED displays came in all sorts of configurations. Because the LED was fairly new technology, all kinds of ideas were getting tried, and with all that work there was plenty of opportunity for hardware that didn’t make the cut to fall into obscurity. That’s exactly what happened to the Hewlett-Packard 5082-7002, a 5×7 LED matrix display with something many of its brethren didn’t: an oversized gold tub to sit in.

It doesn’t seem that these displays were ever used in any actual products, and its origins are a mystery, but the device itself was nevertheless assigned an HP part number. Beyond that, not much is known about them, but [Industrial Alchemy] reminds us that many early LED devices were poorly documented and never produced in any real quantities. They became forgotten hardware, waiting to be rediscovered.

The 5082-7002 has a oversized gold tub that makes the 5×7 LED matrix mounted inside look puny by comparison, and reading any display made from these units would be difficult because the large size of the device would mean a lot of empty space between each character or digit. But it’s definitely got a striking look to it, no doubt about that.

What’s neat is that the 5802-7002 actually showed up in a video we featured with a look back at cool old LED technology. If you would like to (briefly) see the HP 5802-7002 a bit closer under a microscope, here is a link to the video, cued to 2:19.

FreeCAD Takes Off With A Rocket Design Workbench

Here’s how FreeCAD works: the program’s design space is separated into different “workbenches”, each of which is intended for a particular set of operations, and a piece of work can be moved between them as needed. There is a sketching workbench, a part design workbench, and now a Rocket workbench has been added to the healthy ecosystem of FreeCAD add-ons. There’s even a series of video tutorials; ain’t open source grand?

It all started when [concretedog] posted on the FreeCAD forums, making a strong case for a Rocket-themed workbench. People got interested, and a short while later [DavesRocketShop] had some useful tools up and running. Here’s a blog post by [concretedog] which goes into detail and background, and while the Rocket workbench is available via FreeCAD’s add-on manager, the very latest experimental builds are available for manual installation on [Dave]’s GitHub repository.

This sort of development and utility is exactly the kind of thing our own Elliot Williams was describing when he made the point that one of open source’s greatest strengths is in the little things, like the FreeCAD ecosystem letting people scratch strange and specific itches, and the ability to share those solutions with others.

Electric Window Motor Becomes Mini Chainsaw

This mini handheld chainsaw by [Make it Extreme] is based around an electric motor from a car door, the same ones used to raise and lower car windows. They are common salvage parts, and with the right modifications and a few spare chainsaw bits attached, it turns out that the motor is more than capable of enough zip to cut through a variety of wood. Add a cordless tool battery pack, and the portable mini handheld chainsaw is born.

What’s really remarkable about the build video (embedded below, after the break) is not simply that it shows the build process and somehow manages to make it all look easy. No, what’s truly remarkable is that in the video it is always clear what is happening, and all without a single word being spoken. There’s no narration, no watching someone talk, just a solid build and demonstration. The principle of “show, don’t tell” is definitely taken to heart, here.

So, how well does it work as a chainsaw? It seems to work quite well! [Make it Extreme] does feel that a chain with smaller teeth and a higher motor speed would probably be an improvement, but the unit as built certainly can cut. You can judge for yourself by watching the build video, embedded below.

Continue reading “Electric Window Motor Becomes Mini Chainsaw”