A Tin Can Modem, Just For Fun

Anyone old enough to fondly recall the “bleep-burp-rattle” sequence of sounds of a modem negotiating a connection over a phone line probably also remembers the simple “tin-can telephone” experiment, where a taut string transmits sound vibrations from the bottom of one tin can to another.  This tin can modem experiment puts both of those experiences together in a single project.

As [Mike Kohn] notes, this project was harder than it would seem that it should be. He actually had a much harder time getting the tin can phone part of the project optimized than getting the electronics sorted out, resulting in multiple tries with everything from the canonical tin cans to paper coffee cups before eventually settling on a pair of cardboard nut cans, the kinds with the metal bottoms. Linked together with a length of kite string — dental floss didn’t work — [Mike] added a transmitter on one end and a receiver on the other.

The transmitter used an ATtiny 2313 and everyone’s favorite audio amplifier, the LM386, while the receiver sported an electret mike preamp board, an LM566 tone decoder, and an MSP430 microcontroller. The modulation scheme was as simple as possible — a 400 Hz tone whose length varies whether it’s a one or a zero, or a stop or start bit. Connected to a pair of terminal programs, [Mike] was able to send his name over the wire string at what he calculates to be six or seven baud.

This project has all the hallmarks of lockdown boredom, but we don’t care because it’s good fun and a great learning opportunity, particularly for the young ones. There’s plenty of room for optimization, too — maybe it could even get fast enough for the Hackaday Retro 300-baud challenge.

Continue reading “A Tin Can Modem, Just For Fun”

7-Segment Display Is No Small Feat

The 7-segment display certainly is a popular build, and surprisingly people still come up with new takes on this over a hundred-year-old way to represent numbers. This time [jegatheesan.soundarapandian] is making it big by building a giant 7 feet tall 7-segment display.

Apparently, the plan is to build a giant clock so he started off by making the first digit. To keep it cheap and simple the segments are made from corrugated cardboard which was carefully cut, folded, and then glued together. The light-diffusing lid is simply made from white paper. He used the ubiquitous WS2812B strips to light up the segments, but things turned out to be more complicated as he was not able to get enough strips to fill up all the segments. This forced him to cut up the strip into individual pieces and space them out by reconnecting the LEDs with wires. Cutting, stripping, and soldering 186 wires took him almost 10 hours. An Arduino Uno serves as the brains of the device and there is a nice Android app to control it via Bluetooth.

We are excited to see the complete clock once it is finished. In the meantime let us remember other epic displays like that made from 144 individual 7-segment displays or the giant LED video wall using 1200 ping pong balls.

Video after the break.

Continue reading “7-Segment Display Is No Small Feat”

An Off-The-Grid Instant Messaging Plattform

Having an open-source communication device that is independent of any network and works without fees sounds like a hacker’s dream come true. Well, this is exactly what [bobricius]’ is aiming at with his Armawatch and Armachat devices.

Recently, [bobricius] built a LoRa based instant messaging device named Armachat. The gadget is controlled by a SAMD21 MCU with native USB and includes a QWERTY keyboard and an LCD display. Communication is based on an RFM95 LoRa transceiver which can reach a range of up to 2 km under ideal conditions. [bobricius] is a wiz when it comes to PCB design and one thing that makes his projects look so good is how he often uses PCBs as enclosures.

Armachat came in two form factors a large desktop and a smaller pocket version. The new Armawatch is another downsized version that perfectly fits on your arm by using a smaller display and keyboard. [bobricius] also did a lot of work on the firmware which now features a message delivery confirmation and the possibility to automatically resend undelivered messages. Future improvements will include message encryption, a store-and-forward function, and GPS position parsing. [bobricius] is also working on completing his portfolio of communicators with a credit-card-sized version.

LoRa is the go-to technology for off-the-grid communication devices and there are already other ongoing projects for using it to construct a mesh network.

AudioMoth: The Proverbial Moth On The Wall

Monitoring environmental sounds is perhaps not a common task, but much like with wildlife cameras, we could learn a lot from an always-on device listening in on Mother Nature. The AudioMoth is one of such devices. Although it has been around for a few years, it is notable for being an open platform, with the full Eagle-based hardware design files, BOM and firmware available, as well as NodeJS- and Electron-based utility software.

The AudioMoth is powered by a Silicon Labs EFM32-based MCU (EFM32WG980F256) with a Cortex-M4 core, 256 kB of Flash and 32 kB of SRAM. Using the onboard MEMS microphone it records both audible and ultrasonic frequencies that are written in uncompressed WAV format to the SD card. This makes it capable of capturing the sounds from bats in an area in addition to the calls of birds and other wildlife.

The AudioMoth has also a micro-sized, low-cost version called the μMoth, which shares the same features as the AudioMoth. This project is still in progress, with updates expected later this year.

Although the AudioMoth device can apparently be bought from sites like LabMaker for $74 at this point, it should be noted that the MCU used on the device is listed as ‘NRND’ (not recommended for new designs) by SiLabs, which may complicate building one in a number of years from now. Or at least you’ll have to substitute in a different microcontroller.

Regardless, it does seem like an interesting starting point for wildlife monitoring, whether one simply wants to build a device like this, or to use it as inspiration for one’s own design.

Teardown: Wonder Bible

Even the most secular among us can understand why somebody would want to have a digital version of the Bible. If you’re the sort of person who takes solace in reading from the “Good Book”, you’d probably like the ability to do so wherever and whenever possible. But as it so happens, a large number of people who would be interested in a more conveniently transportable version of the Bible may not have the technological wherewithal to operate a Kindle and download a copy.

Which is precisely the idea behind the Wonder Bible, a pocket-sized electronic device that allows the user to listen to the Bible read aloud at the press of a button. Its conservative design, high-contrast LED display, and large buttons makes it easy to operate even by users with limited eyesight or dexterity.

The commercial for the Wonder Bible shows people all of all ages using the device, but it’s not very difficult to read between the lines and see who the gadget is really aimed for. We catch a glimpse of a young businessman tucking a Wonder Bible into the center console of his expensive sports car, but in reality, the scenes of a retiree sitting pensively in her living room are far closer to the mark.

In truth, the functionality of the Wonder Bible could easily be replicated with a smartphone application. It would arguably even be an improvement by most standards. But not everyone is willing or able to go that route, which creates a market for an affordable stand-alone device. Is that market large enough to put a lot of expense and engineering time into the product? Let’s crack open one of these holy rolling personal companions and find out.

Continue reading “Teardown: Wonder Bible”

ESP32 Becomes Music Player In Under 40 Lines Of Code

The demo code for [XTronical]’s ESP32-based SD card music player is not even 40 lines long, though it will also require a few economical parts before it all works. Nevertheless, making a microcontroller play MP3s (and other formats) from an SD card is considerably simpler today than it was years ago.

Part of what makes this all work is I2S (Inter-IC Sound), a format for communicating PCM audio data between devices. Besides the ESP32, at the heart of it all is an SD card reader breakout board and the MAX98357A, which can be thought of as a combination I2S decoder and Class D amplifier. The ESP32 reads audio files from the SD card and uses an I2S audio library to send the I2S data stream to the MAX98357A (or two of them for stereo.) From there it is decoded automatically and audio gets pumped though attached speakers.

A few economical components, and only a handful of connections between them.

It’s amazing how much easier audio is to work with when one can take advantage of shuffling audio data around digitally, and the decoder handles multiple formats with an amplifier built in. You can see [XTronical]’s ESP32 player in action in the video embedded below.

Continue reading “ESP32 Becomes Music Player In Under 40 Lines Of Code”

Contactless Doorbell Built To Avoid Coronavirus

It’s often said that necessity breeds creativity, and during a global pandemic such words have proved truer than ever. Realising the common doorbell could be a potential surface transmission point for coronavirus, [CasperHuang] whipped up a quick build.

The build eschews the typical pushbutton we’re all familiar with. Instead, it relies on an ultrasonic distance sensor to detect a hand (or foot) waved in front of the door. An Arduino Leonardo runs the show, sounding a buzzer when the ultrasonic sensor is triggered. In order to avoid modifying the apartment door, the build is housed in a pair of cardboard boxes, taped to the base of the door, with wires passing underneath.

It’s a tidy way to handle contactless deliveries. We imagine little touches like this may become far more common in future design, as the world learns lessons from the COVID-19 pandemic. Every little bit helps, after all. Video after the break.

Continue reading “Contactless Doorbell Built To Avoid Coronavirus”