Save Money And Have Fun Using IEEE-488

A few months ago, I was discussing the control of GPIB equipment with a colleague. Based on only on my gut feeling and the briefest of research, I told him that the pricey and proprietary GPIB controller solutions could easily be replaced by open-source tools and Linux. In the many weeks that followed, I almost abandoned my stance several times out of frustration. With some perseverance, breaking the problems into bite-sized chunks, and lots of online searching to learn from other people’s experiences, my plan eventually succeeded. I haven’t abandoned my original stance entirely, I’ve taken a few steps back and added some qualifiers.

What is GPIB?

Example of HP-IB block diagram from the 1970s, from hp9845.net

Back in the 1960s, if test equipment was interconnected at all, there weren’t any agreed-upon methods for doing so. By the late 60s, the situation was made somewhat better by card-cage controller systems. These held a number of interface cards, one per instrument, presenting a common interface on the backplane. Although this approach was workable, the HP engineers realized they could significantly improve the concept to include these “bridging circuit boards” within the instruments and replacing the card cage backplane with passive cables. Thus began the development of what became the Hewlett-Packard Interface Bus (HP-IB). The October 1972 issue of the HP Journal introduced HP-IB with two main articles: A Practical Interface System for Electronic Instruments and A Common Digital Interface for Programmable Instruments: The Evolution of a System. Continue reading “Save Money And Have Fun Using IEEE-488”

Crows Trade Cigarettes For Food

Over in the Swedish city of Södertälje, about 30 km southwest of Stockholm, a pilot program is being explored which will enlist crows to clean up discarded cigarette butts. Butts account for over 60% of litter in Sweden, and the per-butt cleanup cost falls between 0.8 and 2 Swedish kronor each. The company behind the project, Corvid Cleaning, estimates the cost will be around 0.2 kronor. If the birds picked up all the butts, that would be a substantial savings, but in reality, the current manual cleaning will still be needed. Total savings to the city will depend on the ratio of bird-collected vs. people-collected butts. Of course, if people would throw their butts in ashcans or carry pocket ashtrays like those popular in Japan, this would be a non-starter.

Crows were selected because they are considered one of the most intelligent bird — they’re easy to teach, and they communicate with each other. All crows participating in the project are volunteers, and are paid by the butt with a morsel of food dispensed from a machine. We’re reminded of B. F. Skinner’s pigeon-guided missile projects from the 40s and 50s, although cleaning up litter for food should result in a happier outcome for all parties concerned.

This kind of project has been tried before, for example, in a French park back in 2018. And we covered a 2020 project by [Hans] who was training magpies to do similar duty. Are you aware of any of these projects that went past the pilot phase and are in operation? Let us know in the comments below.

Meowing Box Will Befuddle Your Friends

If you don’t own a cat, hearing the sound of one meowing from somewhere in the house probably comes as quite a shock. The Cat Prank box built by [Reuben] promises to deliver such hilarity with aplomb. 

The idea is simple: hide the Cat Prank box in a cupboard or other space in a friend’s house, and it will meow from its secret location. When found, either the light sensor or motion sensor will trigger the yowling of an angry feline, with hopefully startling effects.

An Arduino Mini is the brains of the operation, paired with an XY-V17B sound module which plays the required animal wailings. There’s also a 433 MHz radio module that lets the prankster trigger meowing via remote control.

Code is available for those wishing to build their own. We’d love to see a mod with a time delay built in, so the device could be hidden and left to start meowing at some later date when the prankster is far away.

Similar work has graced these pages before, like the devilishly fiendish OpenKobold design. Just make sure your friends are receptive to such jokes before you go ahead and invest time and hardware in the prank!

Recreating MS Paint For The ESP32

Microsoft Paint was one of the first creative outlets for many children when they first laid hands on a computer in the 1990s. Now, [Volos Projects] has brought the joy of this simple application to a more compact format on the ESP32!

The GUI is a fair bit simpler than even the Windows 3.1 version of MS Paint, looking a little more like something from the very early GUI era. Regardless, one can draw simple shapes in block colors just like the old days, with a pair of potentiometers to move the cursor and twin tactile buttons for selecting tools and committing changes to the canvas.

The build shows that even a 1.3″ 240×240 TFT display can display some charming, colorful graphics, and realistically it’s not far off the resolution most computers had in the late 80s anyway.  We’d love to see the software get some more tools too, like the spray can and brushes that were such a key part of the MS Paint experience. Code is available for those eager to play with ES Paint 32 for themselves.

It bears noting that despite some claims to the contrary, MS Paint isn’t dead. Incidentally, if you’re a masochist, you can even program in everybody’s favorite Windows-bundled art program. Video after the break.

Continue reading “Recreating MS Paint For The ESP32”

Pocket-Sized Doom Is Actually Playable

It used to be that you needed a well-equipped expensive new beige-box PC if you wanted to play Doom at all. Now, you can do so in a form factor with a footprint smaller than a credit card, as demonstrated by this nifty little build from Adafruit.

The build relies on the Retro-Go firmware for ESP32 devices, which can emulate a range of machines, from the Nintendo NES and Game Boy to the NEC PC Engine, Atari Lynx, and, yes, Doom itself. It can even run Doom mods, via the WAD architecture used by the game.

It was a simple matter of porting Retro-Go to run on the tiny QT Py ESP32 Pico board, and everything fell into place. With six tactile buttons, it’s capable of not just running Doom, but running it at full playable speeds including that classic soundtrack. The 1.3″ 240×240 screen looks surprisingly crisp and does a great job of displaying the game while keeping everything readable.

It’s one of the smaller Doom-capable portables we’ve seen; we reckon you could stuff this in the change pocket in your jeans if you tried hard enough. We’ll never quite get over seeing the world’s most loved FPS running on commercial kitchen hardware, though. Video after the break.

Continue reading “Pocket-Sized Doom Is Actually Playable”

Building Switching Points For A Backyard Railway

A home-built railway is one of the greatest things you could possibly use to shift loads around your farm. [Tim] and [Sandra] of YouTube channel [Way Out West] have just such a setup, but they needed some switching points to help direct carriages from one set of rails to another. Fabrication ensued!

The basic layout of the railway points.

The railway relies on very simple rails made with flat bar and angle iron, allowing the railway to be built without a lot of heavy blacksmithing work. For a light-duty home railway, these are more than strong enough to do the job.

As for the points, a simple V-shaped frog-and-blade design was used. The frog is the V-shaped section where the rails diverge into two directions, sitting in the center of the Y, while the blade is the part that moves to either side to guide the carriages in one way or t’other.

The blade consists of a 2.2 meter long piece of angle iron with a pin welded on, allowing it to pivot. Two pieces of flat bar were then welded together with a pin to make the frog. Two metal bushes were then forced into a wooden sleeper, allowing the blade to pivot as needed. The rails themselves are slightly kinked as needed and everything tacked down into sleepers with bolts and pipe pegs.

The design runs smoothly, much to [Tim]’s enjoyment. It’s a clear improvement over the earlier design we looked at least year.

There’s something inherently charming about a railway built with little more than wood, metal, and hammers. Seeing the little stone wagon run down the rails to bed in the sleepers is utterly joyful in a way that’s difficult to fully explain. Video after the break.
Continue reading “Building Switching Points For A Backyard Railway”

Display Your Speech In Realtime To Help Lipreaders In The Mask Era

Masks are all well and good when it comes to reducing the spread of deadly pathogens, but they can make it harder to understand people when they speak. They also make lipreading impossible. [Kevin Lewis] set about building something to help.

The system consists of a small screen that can be worn on the chest or other part of the body, and a lapel microphone to record the wearer’s speech. Using the Deepgram AI speech recognition API running on a Raspberry Pi Zero W, the system decodes the speech and displays it on the Hyperpixel screen.

The API is quite capable, and can be set to only respond to the wearer’s voice, or in a group mode, display speech from multiple people in the area, displaying other voices in another colour. There’s also a translation feature using the iTranslateApp API as well.

It’s a neat tool that could be of great use in conferences or in situations where a quick simple machine translation could majorly ease communication. Video after the break.
Continue reading “Display Your Speech In Realtime To Help Lipreaders In The Mask Era”