Supersonic Speed Measurement With A Sound Card

You might think that if you have a need to measure the speed of a projectile that is too fast for your high-speed camera, you would have to invest in some significantly expensive equipment.

That was the problem facing [Nick Moore], and the solution he arrived at is extremely elegant in its simplicity. He’s arranged a pair of foil tapes in the path of the projectile, as it passes through them they break, and he measures the time between those breaks. The clever bit though lies not in the tapes, but in how he measures the timing. Instead of relying on a lab stuffed with equipment, he’s using his computer sound card. The outputs send a tone through each tape to the inputs, and using Audacity he can capture both tones and measure the time between the end of each one on left and right channels.

In the video below the break he demonstrates measuring the speed of a supersonic particle at 496.5 metres per second, which for such relatively simple equipment is rather an achievement. He could certainly improve his resolution by increasing the sampling frequency, but we are guessing that the choice of 48 kHz owes much to the quality of his sound card. Still, to achieve this with such a relatively basic piece of equipment is a neat achievement.

Continue reading “Supersonic Speed Measurement With A Sound Card”

Control Alexa Echo From Anywhere In The World

If you are not within ear-shot of your Alexa Echo, Dot or Tap device and need to command it from anywhere in the world, you’d most likely use the handy mobile app or web interface to control it. For some strange reason, if you’d rather use voice commands from anywhere in the world, you can still do it using apps such as Alexa Listens or Reverb, among many others. We’d be the first ones to call these out and say “It’s not a hack”. But [pat dhens] approach is above reproach! He has posted details on how to Remote Control the Alexa Echo from Anywhere in the World. Short version of the hack — he’s using a Raspberry Pi with a speaker attached to it which commands his Alexa Tap using a text-to-speech converter program.

The long version is short as well. The user uses a VPN, such as OpenVPN, to log in to their home network where the Alexa device is located. Then, use VNC to connect to the Raspberry Pi to access its shell. Finally, the user issues a text command which is converted to speech by the ‘festival‘ program on the Raspberry Pi. The output goes to an external speaker via the Raspberry Pi’s 3.5 mm audio out jack. And that’s all there is to it. You’ve just issued a voice command to your Alexa from across the world.

Maybe it will save your vocal chords from damage due to excessive hollering, we guess. He’s even made a short video to prove that it works. Now all it needs is a microphone to listen to Alexa, convert speech-to-text, and then transmit it back to you across the world to complete the cycle.

We’re not sure, but he thinks this hack will lead him to world domination. Good Luck with that.

Continue reading “Control Alexa Echo From Anywhere In The World”

Magnetic Stir Plate Is A Hack

If you’ve ever spent any time around a lab, you’ve doubtless seen one of those awesome combination magnetic stirrer and heater plates that scientists use to get liquids mixed and up to temperature. If you’ve ever etched your own PCBs using ammonium persulfate, you’ve experienced the need for both heating and agitation firsthand. Using a stirrer plate for PCB etching is putting two and two together and coming up with four. Which is to say, it’s a good idea that’s not amazingly novel. [acidbourbon] built his own, though, and there’s almost no part of this DIY heater/stirrer that isn’t a hack of some kind or another.

Start off with the temperature controller. Instead of buying a thermocouple or using an LM75 or similar temperature-measurement IC, [acidbourbon] uses a bog-standard 1n4148 diode. The current passed through a diode, at a given voltage, is temperature dependent, which means that adding a resistor and a microcontroller’s ADC yields a quick hacked temperature sensor. [acidbourbon] glued his straight onto the casserole that he uses as an etching tray.

Does the type of person who saves $0.25 by using a diode instead of a temperature sensor go out and buy a stirrer motor? No way. Motor and gears come from a CD-ROM drive. The “fish” — the magnetic bar that spins in the etchant — is made of neodymium magnets lengthened by shrink-wrapping heat-shrinking them together with some capacitors. Who knew that shrinkwrap heat-shrink, fused with pliers, was waterproof? Is that a wall-wart in that box, with the prongs wired to mains electricity?

Anyway, this just goes to show that etching equipment need not be expensive or fancy. And the project also provides a showcase for a bevy of tiny little hacks. And speaking of [acidbourbon]’s projects, this semi-automatic drill press mod has been on our to-do list for two years now. Shame on us! Continue reading “Magnetic Stir Plate Is A Hack”

A Command-Line Stepper Library With All The Frills

When you already know exactly where and how you’d like your motor to behave, a code-compile-flash-run-debug cycle can work just fine. But if you want to play around with a stepper motor, there’s nothing like a live interface. [BrendaEM]’s RDL is a generic stepper motor driver environment that you can flash into an Arduino. RDL talks to your computer or cell phone over serial, and can command a stepper-driver IC to move the motor in three modes: rotary, divisions of a circle, and linear. (Hence the acronumical name.) Best of all, the entire system is interactive. Have a peek at the video below.

The software has quite a range of capabilities. Typing “?” gets you a list of commands, typing “@” tells you where the motor thinks it is, and “h” moves the motor back to its home position. Rotating by turns, degrees, or to a particular position are simple. It can also read from an analog joystick, which will control the rotation speed forward and backward in real time.

Division mode carves the pie up into a number of slices, and the motor spins to these particular locations. Twelve, or sixty, divisions gives you a clock, for instance. Acceleration and deceleration profiles are built in, but tweakable. You can change microstepping on the fly, and tweak many parameters of the drive, and then save all of the results to EEPROM. If you’re playing around with a new motor, and don’t know how quickly it can accelerate, or what speeds it’s capable of, nothing beats playing around with it interactively.

Continue reading “A Command-Line Stepper Library With All The Frills”

See The Weather At A Glance With This WiFi Wall Mounted Display

Whether you’re lodged in an apartment with a poor view of the sky like [Becky Stern] or are looking for an at-a-glance report of the current weather, you might consider this minimalist weather display instead of checking your computer or your phone every time you’re headed out the door.

The first order of business was to set up her Feather Huzzah ESP8266 module. [Becky] started with a blink test to ensure it was working properly. Once that was out of the way, she moved on to installing a few libraries. Temperature data fetched by an IFTTT feed is displayed on a seven-segment display, while additional feeds separately retrieve information for each basic weather type: sunny, overcast, rain, snow.

All it took to create the sleek display effect was a few pieces of cardboard inside a shadow box frame, a sheet of paper as a diffuser, and twelve Neopixel RGB LEDs hidden inside. Trimming and securing everything in place as well as notching out the back of the frame for the power cable finished the assembly. Check out the build video after the break.

Continue reading “See The Weather At A Glance With This WiFi Wall Mounted Display”

This Art Project’s Video Is Not A Time-Lapse

polarization-no-1-very-small

Artist Pe Lang uses linear polarization filters to create an unusual effect in his piece polarization | nº 1. The piece consists of a large number of discs made from polarizing film that partially overlap each other at the edges. Motors turn these discs slowly, and in the process the overlapping portions go from clear to opaque black and back again.

The disc rotation speed may be low but the individual transitions occur quite abruptly. Seeing a large number of the individual discs transitioning in a chaotic pattern — but at a steady rate — is a strange visual effect. About 30 seconds into the video there is a close up, and you can see for yourself that the motors and discs are all moving at a constant rate. Even so, it’s hard to shake the feeling of that one is watching a time-lapse. See for yourself in the video, embedded below.

Continue reading “This Art Project’s Video Is Not A Time-Lapse”

Using Backscatter Radio For A Soil Sensor Network

With almost 8 billion souls to feed and a changing climate to deal with, there’s never been a better time to field a meaningful “Internet of Agriculture.” But the expansive fields that make industrial-scale agriculture feasible work against the deployment of sensors and actuators because of a lack of infrastructure to power and connect everything. So a low-power radio network for soil moisture sensors is certainly a welcome development.

We can think of a lot of ways that sensors could be powered in the field. Solar comes to mind, since good exposure to the sun is usually a prerequisite for any cropland. But in practice, solar has issues, the prime one being that the plants need the sun more, and will quickly shade out low-profile soil-based sensors.

That’s why [Spyros Daskalakis] eschewed PV for his capacitive soil moisture sensors in favor of a backscatter technique very similar to that used in both the Great Seal Bug and mundane RFID tags alike. The soil sensor switches half of an etched PCB bowtie antenna in and out of a circuit at a frequency proportional to soil moisture. A carrier signal from a separate transmitter is reflected off the alternately loaded and unloaded antenna, picking up subcarriers with a frequency proportional to soil moisture. [Spyros] explains more about the sensor design and his technique for handling multiple sensors in his paper.

We really like the principles [Spyros] leveraged here, and the simplicity of the system. We can’t help but wonder what sort of synergies there are between this project and the 2015 Hackaday Prize-winning Vinduino project.

Continue reading “Using Backscatter Radio For A Soil Sensor Network”