Your PC Sound Card As A Sensor Input

The commoditised PC is the most versatile tool many of us will own, and since it has been around for a very long time it is also something that can be found for free or very cheaply if the latest components aren’t a concern. It’s not without limitations though, while it’s designed for expansion it no longer has any ports that can easily be repurposed as GPIOs for reading sensors. A solution for some sensors comes courtesy of [Ruslan Nagimov], who shows us how the PC sound card can become a measurement interface.

The idea is that simple resistive or capacitive sensors can be read through their AC characteristics by sending out a sine wave on one channel of the card and reading the result on the other from a divider circuit. He goes extensively into the code, both for the resistive example and for reactive components, and we can see that it forms a handy extension to the PC capabilities.

We’re sure this technique will find applications for some readers, but it interests us for another platform. Measurement using a mobile phone’s audio jack doesn’t have an inspiring history, but perhaps this could be used as well for mobile sensors.

The Devil Is In The Details

If you’ve taken a physics class, you’ve doubtless heard tales of mythical beasts like the massless string, the frictionless bearing, and the perfect sphere. And if you’re designing something new, it’s not always wrong to start by thinking in terms of these abstractions, just to get the basic framework laid and a first-order handle on the way things go. But once you start building, you’d better be ready to shed your illusions that a 6 mm peg will fit into a 6 mm hole.

Theory and practice are the same thing, in theory. But as soon as you step into practice, your “weekend build” can easily turn into a 500-hour project, full of hurdles, discoveries, experimentation, and eventual success. I’m not going to rehash [Scott Rumschlag]’s project here — you should really watch his detailed video — but suffice it to say that when building a sub-millimeter precision 3D measuring device, bearings do have friction and string does have non-zero mass, and it all matters.

When you start working on a project that “looked good on paper” or for whatever reason just doesn’t turn out as precisely as you’d wished, you could do worse than to follow [Scott’s] example: start off by quantifying your goals, and then identify where every error along the way accumulates to keep you from reaching them. Doing precise work isn’t easy, but it’s not impossible either if you know where all the errors are coming from. You at least have a chain of improvements that you can consider, and if you’ve set realistic goals, you also know when to stop, which is almost as important.

And if anyone out there has an infinite sheet of perfectly conductive material, I’m in the market.

A Custom Raspberry Pi Spotted In The Wild

Since the first Raspberry Pi came to market back in 2012 there have been a variety of models released. Some of them are rarer than others, and unusual boards can even be rather sought-after. This one spotted at a Thai junk vendor won’t be in the hands of many collectors though, and investigating it sheds a bit of light on some of the most unusual boards from the company.

The board is recognisably very similar to a Pi 3 with a BCM2837 SoC, but despite all that it has no Pi logo. On the underside there is an eMMC in place of the SD socket, and one pair of USB sockets has been replaced by a micro USB socket and a header. The source is reported to have been a washing machine, but given that this SoC is exclusive to the the Pi Foundation there’s no way it could easily have been manufactured by anyone else. The answer comes in the 2015 launch of a customisation service for industrial customers, which allowed manufacturers to have their own versions made of the fruity SBC.

From the point of view of an experimenter this board offers nothing that a standard device can’t do. But it’s an interesting glimpse of an unseen side to the Pi story, and it holds the prospect of other special versions being unearthed. If you find one on your travels, let us know!

3D Zoetrope Uses Illusion To Double The Frames

Although film and animation have come quite a long way, there’s still something magical about that grandaddy of them all, the zoetrope. Thanks to persistence of vision, our eyes are fooled into seeing movement where there is none, only carefully laid-out still pictures strobing under the right lighting.

After four months of research, CAD, prototyping, and programming, [Harrison McIntyre] has built a 3D zoetrope that brings a gif to glorious physical life (video, embedded below). All the image pieces are printed and move under a fancy backlight that [Harrison] borrowed from work. It works essentially the same as a 2D zoetrope, as long as you get the spacing juuuuust right. 360° divided by 20 frames comes out to 18° per frame. So a motor spins the disk around, and every 18°, the light pulses for one millisecond and then turns off until the next frame is in position.

The really interesting thing is that there are actually more than 20 frames at play here. If you follow a single character through the loop, it takes 46 frames to complete the animation thanks to something 3D zoetrope pioneer [Kevin Holmes] dubbed ‘animation multiplexing‘, which in [Harrison]’s example, is easily explained as a relay race in which all runners run their section at the same time, creating the illusion of constant motion.

There’s more than one way to use a 3D printer to create a zoetrope, and we doubt we would have ever thought of this one that squashes four dimensions into three.

Continue reading “3D Zoetrope Uses Illusion To Double The Frames”

Understanding Custom Signal Protocols With Old Nintendos

For retro gaming, there’s really no substitute for original hardware. As it ages, though, a lot of us need to find something passable since antique hardware won’t last forever. If a console isn’t working properly an emulator can get us some of the way there, but using an original controller is still preferred even when using emulators. To that end, [All Parts Combined] shows us how to build custom interfaces between original Nintendo controllers and a PC.

The build starts by mapping out the controller behavior. Buttons on a SNES controller don’t correspond directly to pins, rather a clock latches all of the button presses at a particular moment all at once during each timing event and sends that information to the console. To implement this protocol an Adafruit Trinket is used, and a thorough explanation of the code is given in the video linked below. From there it was a simple matter of building the device itself, for which [All Parts Combined] scavenged controller ports from broken Super Nintendos and housed everything into a tidy box where it can be attached via USB to his PC.

While it might seem like a lot of work to get a custom Nintendo controller interface running just because he had lost his Mega Man cartridge, this build goes a long way to understanding a custom controller protocol. Plus, there’s a lot more utility here than just playing Mega Man; a method like this could easily be used to interface other controllers as well. We’ve even seen the reverse process where USB devices were made to work on a Nintendo 64.

Continue reading “Understanding Custom Signal Protocols With Old Nintendos”

$10 000 Physics Wager Settles The Debate On Sailing Downwind Faster Than The Wind

By now, many of you have seen the video of [Rick Cavallaro]’s Blackbird, the controversial wind-powered land vehicle that can outrun the wind. The video has led to a high-profile $10 000 wager between [Derek Muller] aka [Veritasium] and [Alex Kusenko], a professor of physics from UCLA. [Veritasium] won the wager with the help of a scale model built by [Xyla Foxlin], and you need to watch the videos after the break for some excellent lessons in physics, engineering, and civilized debate.

After seeing [Veritasium]’s video on Blackbird, [Professor Kusenko] contacted him and said the performance claims and explanation were incorrect. After a bit of debate [Veritasium] proposed a wager on the matter, which [Professor Kusenko] accepted, and it was made official with a written agreement witnessed by [Neil deGrasse Tyson], [Bill Nye], and [Sean Carrol]. From the start, it was agreed that the entire debate would be made public.

[Professor Kusenko] made a very thorough and convincing argument, backed by calculations, against the claims in the video. He claimed the observations were due to a combination of gusty winds, a vertical wind gradient. He was convinced and that the vehicle would not be able to maintain a speed higher than the wind, directly downwind. By [Veritasium]’s own admittance, his original video could have contained more details and proof of performance claims of the Blackbird vehicle. He added these to the latest video and included two model demonstrations. The model that brought the concept home for us is at 13:46 in the video, and substitutes the propeller for a large wheel being driven by a piece of lumber being bushed across it. The second model, built by [Xyla Foxlin] was designed to demonstrate the concept on a treadmill. The 4th version of [Xyla]’s model was the first to be successful after she found out from [Rick Cavallaro] that the key design detail is the Vehicle Speed Ratio, which must be 0.7 or less. It is the pitch of the propeller divided by the circumference of the driven wheel, assuming a 1:1 gear ratio. All the 3D files and details are available if you want to build your own downwind cart. Continue reading “$10 000 Physics Wager Settles The Debate On Sailing Downwind Faster Than The Wind”

From Printer To Vinyl Cutter

Some might look at a cheap inkjet printer and see a clunky device that costs more to replace the ink than to buy a new one. [Abhishek Verma] saw an old inkjet printer and instead saw a smooth gantry and feed mechanism, the perfect platform to build his own DIY vinyl cutter.

The printer was carefully disassembled. The feed mechanism was reworked to be driven by a stepper motor with some 3D printed adapter plates. A solenoid-based push/pull mechanism for the cutting blade was added with a 3D printed housing along with a relay module. An Arduino Uno takes in commands from a computer with the help of a CNC GRBL shield.

What we love about this build is the ingenuity and reuse of parts inside the old printer. For example, the old PCB was cut and connectors were re-used. From the outside, it’s hard to believe that HP didn’t manufacture this as a vinyl cutter.

If you don’t have a printer on hand, you can always use your CNC as a vinyl cutter. But if you don’t have a CNC, [Abhishek] shares all the STL files for his cutter as well as the schematic. Video after the break.

Continue reading “From Printer To Vinyl Cutter”