AM ultrasonic transmitter and receiver

AM Ultrasonic Transmitter And Receiver

Most often ultrasonic transducers are used for distance measurements, and in the DIY world, usually as a way for robots to detect obstacles. But for a weekend project, [Vinod.S] took the ultrasonic transmitter and receiver from a distance-meter module and used amplitude modulation to send music ultrasonically from his laptop to a speaker, essentially transmitting and receiving silent, modulated sounds waves.

The transmitter and receiver
The transmitter and receiver

For the transmitter, he turned an Arduino Pro Micro into a USB sound card which he could plug into his laptop. That outputs both the audio signal and a 40 kHz carrier signal, implemented using the Arduino’s Timer1. Those go to a circuit board he designed which modulates the carrier with the audio signal using a single transistor and then sends the result out the ultrasonic transmitter.

He took care to transmit a clear signal by watching the modulated wave on an oscilloscope, looking for over-modulation and clipping while adjusting the values of resistors located between the transistor, a 5 V from the Arduino and the transmitter.

He designed the receiver side with equal care. Conceptually the circuit there is simple, consisting of the ultrasonic receiver, followed by a transistor amplifier for the modulated wave, then a diode for demodulation, another transistor amplifier, and lastly a class-D amplifier before going to a speaker.

Due to the low 40 kHz carrier frequency, the sound lacks the higher audio frequencies. But as a result of the effort he put into tuning the circuits, the sound is loud and clear. Check out the video below for an overview and to listen to the sound for yourself. Warning: Before there’s a storm of comments, yes the video’s shaky, but we think the quality of the hack more than makes up for it.

Continue reading “AM Ultrasonic Transmitter And Receiver”

The Sensor Array That Grew Into A Robot Cat

Human brains evolved to pay extra attention to anything that resembles a face. (Scientific term: “facial pareidolia”) [Rongzhong Li] built a robot sensor array with multiple emitters and receivers augmenting a Raspberry Pi camera in the center. When he looked at his sensor array, he saw the face of a cat looking back at him. This started his years-long Petoi OpenCat project to build a feline-inspired body to go with the face.

While the name of the project signals [Rhongzhong]’s eventual intention, he has yet to release project details to the open-source community. But by reading his project page and scrutinizing his YouTube videos (a recent one is embedded below) we can decipher some details. Motion comes via hobby remote-control servos orchestrated by an Arduino. Higher-level functions such as awareness of environment and Alexa integration are handled by a Raspberry Pi 3.

The secret (for now) sauce are the mechanical parts that tie them all together. From impact-absorption spring integrated into the upper leg to how its wrists/ankles articulate. [Rongzhong] believes the current iteration is far too difficult to build and he wants to simplify construction before release. And while we don’t have much information on the software, the sensor array that started it all implies some level of sensor fusion capabilities.

Continue reading “The Sensor Array That Grew Into A Robot Cat”

Love Open Source But Hate People? Get OpenKobold

[Tadas Ustinavičius] writes in to tell us of his latest project, which combines his two great loves of open source and annoying people: OpenKobold. Named after the German mythical spirit that haunts people’s homes, this tiny device is fully open source (hardware and software) and ready to torment your friends and family for up to a year on a CR1220 battery.

The design of the OpenKobold is quite simple, and the open source nature of the project makes this an excellent case study for turning an idea into a fully functional physical object.

Beyond the battery and the buzzer module, the OpenKobold utilizes a PIC12F675, a transistor, and a few passive components. This spartan design allows for a PCB that measures only 25 x 20 mm, making it very easy to hide but fiendishly difficult to try to track down later on.

But the real magic is in the software. The firmware that [Tadas] has written for the PIC not only randomizes how often the buzzer goes off, but how long it will sound for. This makes predicting the OpenKobold with any sort of accuracy very difficult, confounding the poor soul who’s searching their home or office for this maddening little device.

Hackers have a long and storied history of creating elaborate pranks, putting the OpenKobold in very good company. From randomly replaying signals from a remote control to building robotic cardboard burglars, we’ve seen our fair share of elaborate pranks from the community.

Building A Bioactive Vivarium From An IKEA Shelf

Pets are often worth a labour of love. [leftthegan] — in want of a corn snake — found that Sweden’s laws governing terrarium sizes made all the commercial options to too small for a fully-grown snake. So they took matters into their own hands, building a bioactive vivarium for their pet!

[leftthegan] found an IKEA Kallax 4×4 shelving unit for a fair price, and after a few design iterations — some due to the aforementioned regulations — it was modified by adding a shelf extension onto the front and cutting interior channels for cabling. For the vivarium’s window, they settled on plexiglass but strongly recommend glass for anyone else building their own as the former scratches and bends easily — not great if their snake turns out to be an escape artist! In the interim, a 3D printed handle works to keep the window closed and locked.

Continue reading “Building A Bioactive Vivarium From An IKEA Shelf”

Portable Guitar Amp – Is That A Linux In Your Pocket?

When it comes to music production and audio engineering, Linux isn’t the most common choice. This isn’t for lack of decent tools or other typical open source usability issues: Ardour as a highly capable, feature-rich digital audio workstation, the JACK Audio Connection Kit for powerful audio routing, and distributions like Ubuntu Studio packing all the essentials nicely together, offer a great starting point as home recording setup. To add variation to your guitar or bass arrangement on top of that, guitarix is a virtual amp that has a wide selection of standard guitar effects. So when [Arnout] felt that his actual guitar amp’s features were too limiting, he decided to build himself a portable, Linux-based amp.

[Arnout] built the amp around an Orange Pi Zero with an expansion board providing USB ports and an audio-out connector, and powers it with a regular USB power bank to ensure easy portability. A cheap USB audio interface compensates the lacking audio-in option, and his wireless headphones avoid too much cable chaos while playing. The amp could theoretically be controlled via a MIDI pedalboard, but [Arnout] chose to use guitarix’s JSON API via its built-in Python web interface instead. With the Orange Pi set up as WiFi hotspot, he can then use his mobile phone to change the effect settings.

One major shortcoming of software-based audio processing is signal latency, and depending on your ear, even a few milliseconds can be disturbingly noticeable. To keep the latency at a minimum, [Arnout] chose to set up his Orange Pi to use the Linux real-time kernel. Others have chosen a more low-level approach in the past, and it is safe to assume that this won’t be the last time someone connects a single-board computer to an instrument. We surely hope so at least.

One Man’s Quest For A Desktop Spherical Display

[Nirav Patel] is a man on a mission. Since 2011 he has been obsessed with owning a spherical display, the kind of thing you see in museums and science centers, but on a desktop scale. Unfortunately for him, there hasn’t been much commercial interest in this sort of thing as of yet. Up to this point, he’s been forced to hack up his own versions of his dream display.

That is until he heard about the Gakken Worldeye from Japan. This device promised to be exactly what he’s been looking for all these years, and he quickly snapped up two of them: one to use, and one to tear apart. We like this guy’s style. But as is often the case with cheap overseas imports, the device didn’t quite live up to his expectations. Undaunted by the out of the box performance of the Worldeye, [Nirav] has started documenting his attempts to improve on the product.

These displays work by projecting an image on the inside of a frosted glass or plastic sphere, and [Nirav] notes that the projection sphere on the Worldeye is actually pretty decent. The problem is the electronics, namely the anemic VGA resolution projector that’s further cropped down to a 480 pixel circle by the optics. Combined with the low-quality downsampling that squashes down the HDMI input, the final image on the Worldeye is underwhelming to say the least.

[Nirav] decided to rip the original projector out of the Worldeye and replace it with a Sony MP-CL1 model capable of a much more respectable 1280×720. He came up with a 3D printed bracket to hold the MP-CL1 in place, and has put the files up on Thingiverse for anyone who might want to play along at home. The results are better, but unfortunately still not great. [Nirav] thinks the sphere is physically too small to support the higher resolution of the MP-CL1, plus the optics aren’t exactly of the highest quality to begin with. But he’s just glad he didn’t have to build this one from scratch.

Going back to our first coverage of his DIY spherical display in 2012, we have to say his earliest attempts are still very impressive. It looks like this is a case of the commercial market struggling to keep up with the work of independent hackers.

Customising A $30 IP Camera For Fun

WiFi cameras like many other devices these days come equipped with some sort of Linux subsystem. This makes the life of a tinkerer easier and you know what that means. [Tomas C] saw an opportunity to mod his Xiaomi Dafang IP camera which comes configured to work only with proprietary apps and cloud.

The hack involves voiding the warranty by taking the unit apart and installing custom firmware onto it. Photos posted by [Tomas C] show the mainboard powered by an Ingenic T20 which is a popular IP Camera processor featuring some image and video processing sub-cores. Upon successful flashing of the firmware, the IP camera is now capable of a multitude of things such as remote recording and playback which can be configured using the web UI as documented by [Tomas C]

We did a little more digging on the custom firmware and discovered that the original author of the custom firmware, [EliasKotlyar] has done a lot of work on this project. There are loads of images of the teardown of a camera and an excellent set of documentation of how he made the hack. Everything from adding serial headers, getting root access, dumping the firmware and even toolchain links are given on the page. This is extremely handy for a newbie looking to get into the game.

And IP Cameras are not of the only hackable hardware out in the wild. There are other devices that are running Linux based firmware such as the Wifi SD Cards that run OpenWRT. Check out the essential guide to compiling OpenWRT from source if you are looking to get started with your next IP Camera hack.

Thanks for the tip [Orlin82]