Using Sonar To Measure Traffic Speeds

One of the most common ways of measuring the speed of a vehicle is by using radar, which typically involves generating radio waves, directing them at a moving vehicle, and measuring the various ways that they return to the device. This is a tried-and-true method, but can be expensive and technically complex. [GeeDub] wanted an easier way of measuring vehicles passing by his home, so he switched to using sonar instead to measure speeds based on the sounds the cars generate themselves.

The method he is using is similar to passive sonar in submarines, which can locate objects underwater based on the sounds they produce. After a false start attempting to measure Doppler shift, he switched to time correlation using two microphones, essentially using stereo audio input to detect subtle differences in arrival times of various sounds to detect the positions of passing vehicles. Doing this fast enough and extrapolating the data gathered, speed information can be calculated. For the data gathering and calculation, [GeeDub] is using a Raspberry Pi to help keep costs down, and some further configuration of the microphones and their power supplies were also needed to ensure quality audio was gathered.

With the system in place in a window, it detected around 9,000 vehicles over a three-day period. The software generates a normal distribution of vehicle speeds for this time, with the distribution centered on around 35 MPH, slightly above the posted speed limit of 30. As long as there’s a clear line of sight to the road using this system it’s just as effective as some other passive systems we’ve seen to measure vehicle speed. Of course, active speed measurement systems are not out of the realm of possibility if you’re willing to spend a little more.

3D-Printed Parts Don’t Slow Down This Speedy Printer

Truth be told, we generally find speed sports to be a little boring. Whether it’s cars going around in circles for hours on end or swimmers competing to be a few milliseconds faster than everyone else, we just don’t feel the need for speed. Unless, of course, you’re talking about speedy 3D printers like “The 100”, which claims to produce high-quality prints in a tenth the time of an ordinary printer. In that case, you’ve got our full attention.

What makes [Matt the Printing Nerd]’s high-speed printer interesting isn’t the fact that it can do a “Speedboat Run” — printing a standard Benchy model — in less than six minutes. Plenty of printers can do the same thing much, much faster. The impressive part is that The 100 does it with a 3D-printed frame. In fact, most of the printer’s parts are 3d printed, a significant departure from most speed printer builds, which generally shy away from printed structural elements. [Matt]’s design also aims to keep the center of gravity of all the printer’s components within a very small area, which helps manage frame vibrations that limit print quality. The result is that the CoreXY gantry is capable of a speed of 400 mm/s and an eye-popping 100,000 mm/s² acceleration. What also sets [Matt]’s printer apart is that The 100 is designed to be a daily driver. It has a generous 165 mm x 165 mm print bed, which is far more useful than a bed that’s barely bigger than a standard Benchy.

The video below has much more details on the open-source build, plus some nice footage of some speed runs. The quality of the prints, even done at speed, is pretty impressive. Perhaps there is a point to speed sports after all.

Continue reading “3D-Printed Parts Don’t Slow Down This Speedy Printer”

Jet Engine Powers Tea Kettle

While there are plenty of places around the world to get a great cup of tea, no one has quite burned it into their culture like those in the United Kingdom. While they don’t have the climate to grow the plants themselves, they at least have figured out the art of heating water extremely rapidly in purpose-built electric kettles while the rest of us wait to heat water on our stoves and microwaves. But that’s still not fast enough for some, like [Finlay Shellard], who just completed this jet-powered tea kettle.

[Finlay] took some inspiration cues and parts from another jet engine he had on hand that was powering his toaster. This is a pulse jet design, which is welded together from laser-cut pieces of sheet metal with guides welded in place to allow water to flow around the combustion chamber and exhaust. Pressurized water sits in a reservoir at the top of the engine, and when it is up to temperature, a valve allows it to flow to the engine to heat up. When it has passed the jet engine section, it passes a tea bag holder and then out of a spout at the end of the engine.

A few tests at 100 PSI had the hot tea exiting the engine in a non-linear fashion, so the pressure was reduced. The device now makes tea at incredibly fast speeds, with the only downsides being access to some sort of jet fuel, and also the need for a protective hearing device of some sort. For anyone attempting to do this themselves, take a look at this build which includes a turbocharger design for improved efficiency of the pulse jet itself.

Continue reading “Jet Engine Powers Tea Kettle”

Audio Playback Toy For DSP Adventures

The declining costs of single-board computers has made serious computing power available for even the most trivial of tasks. It’s easy enough to slap a Raspberry Pi onto almost anything for nearly the same cost as a powerful 32-bit microcontroller platform, but this takes some of the fun out of projects for a few of us. Looking to get into the weeds can be a challenge as well, as [Michal Zalewski] demonstrates in this audio playback device he built from a simple 8-bit microcontroller.

The small toy takes audio input from a microphone through an op-amp and feeds this signal to an ADC within the AVR128DA28 microcontroller. The data is then stored on a separate memory chip ready to be played back through another op-amp paired with a speaker. This is where being familiar with the inner workings of the microcontroller comes in handy. By manipulating the interrupt routines in specific ways, the audio stored in memory can be played back at various speeds.

[Michal] intended this build to be a toy for one of his younger relatives, and for the price of a few ICs and buttons it does a pretty good job of turning a regular voice into a chipmunk voice like some commercial children’s toys some of us might remember. If the design aesthetics of this gadget look familiar, you may be thinking of his minimalist gaming device which we recently featured.

Velomobile Gets Electric Assist

What do you get when you throw all accepted bicycle designs out the window and start fresh? Well, it might look a bit like [Saukki’s] velomobile.

Most bikes come in a fairly standard, instantly-recognizable shape which has been popular for over a century now. While it’s a vast improvement over its predecessor, the penny-farthing bicycle, there’s no reason that a bike needs to have this two-triangle frame shape other than that a pretentious bicycle racing standards group says they have to. If you want to throw their completely arbitrary rulebook out of the window, though, you can build much more efficient, faster bikes like recumbents or even full-fairing velomobiles. And if you want to go even faster than that, you can always add a standard ebike motor kit to one.

This is a lot harder than putting a motor on a normal bicycle. Bicycles tend to have standardized parts and sizes, and [Saukki]’s velomobile is far from the standard bike. First, he needed custom mounts for the display and also for the battery, which he needed to make extra wide so its weight wouldn’t rip through the carbon fiber body. The emergency brake lever motor cutoff needed to be dismantled to work with his control system too, and finally the mid-drive motor needed a custom mount as well. It’s a TSDZ2 motor that comes with torque-sensing pedal assist.

The changes didn’t stop there. The velomobile max speed is much higher than a standard bike. This called for some gear ratio changes, in the form of a monster 60-tooth chain ring.

This leads to the one major problem with this build which is that the velomobile can achieve such high speeds on its own that the electric assist cuts out for most of the ride. There is a legal requirement over much of Europe that e-bikes only have pedal assist (without a throttle) and that they stop assisting above a specific speed. But if you want to build an e-bike that pushes the boundary of the law instead of strictly adhering to it, take a look at this one which uses a motor from a washing machine.

Continue reading “Velomobile Gets Electric Assist”

Arduino Drum Platform Is Fast

Drums are an exciting instrument to learn to play, but often prohibitive if there are housemates or close neighbors involved. For that problem there are still electronic drums which can be played much more quietly, but then the problem becomes one of price. To solve at least part of that one, [Jeremy] turned to using an Arduino to build a drum module on his own, but he still had to solve yet a third problem: how to make the Arduino fast enough for the drums to sound natural.

Playing music in real life requires precise timing, so the choice of C++ as a language poses some problems as it’s not typically as fast as lower-level languages. It is much easier to work with though, and [Jeremy] explains this in great detail over a series of blog posts detailing his drum kit’s design. Some of the solutions to the software timing are made up for with the hardware on the specific Arduino he chose to use, including an even system, a speedy EEPROM, hardware timers, and an ADC that can sample at 150k samples per second.

With that being said, the hardware isn’t the only thing standing out on this build. [Jeremy] has released the source code on his GitHub page for those curious about the build, and is planning on releasing several more blog posts about the drum kit build in the near future as well. This isn’t the only path to electronic drums, though, as we’ve seen with this build which converts an analog drumset into a digital one.

Continue reading “Arduino Drum Platform Is Fast”

Building Faster Rsync From Scratch In Go

For a quick file transfer between two computers, SCP is a fine program to use. For more complex, large, or regular backups, however, the go-to tool is rsync. It’s faster, more efficient, and usable in a wider range of circumstances. For all its perks, [Michael Stapelberg] felt that it had one major weakness: it is a tool written in C. [Michael] is philosophically opposed to programs written in C, so he set out to implement rsync from scratch in Go instead.

[Michael]’s path to deciding to tackle this project is a complicated one. His ISP upgraded his internet connection to 25 Gbit/s recently, which means that his custom router was the bottleneck in his network. To solve that problem he migrated his router to a PC with several 25 Gbit/s network cards. To take full advantage of the speed now theoretically available, he began using a tool called gokrazy, which turns applications written in Go into their own appliance. That means that instead of installing a full Linux distribution to handle specific tasks (like a router, for example), the only thing loaded on the computer is essentially the Linux kernel, the Go compiler and libraries, and then the Go application itself.

With a new router with hardware capable of supporting these fast speeds and only running software written in Go, the last step was finally to build rsync to support his tasks on his network. This meant that rsync itself needed to be built from scratch in Go. Once [Michael] completed this final task, he found that his implementation of rsync is actually much faster than the version built in C, thanks to the modernization found in the Go language and the fact that his router isn’t running all of the cruft associated with a standard Linux distribution.

For a software project of this scope, we find [Michael]’s step-by-step process worth taking note of for any problem any of us attempt to tackle. Not only that, refactoring a foundational tool like rsync is an involved task on its own, let alone its creation simply to increase network speeds beyond what most of us would already consider blazingly fast. We’re leaving out a ton of details on this build so we definitely recommend checking out his talk in the video below.

Thanks to [sarinkhan] for the tip!

Continue reading “Building Faster Rsync From Scratch In Go”