Arduino Traffic Light Sings The Song Of Its People

Getting an old traffic light and wiring it up to do its thing inside your house isn’t exactly a new trick; it’s so common that it wouldn’t normally pass muster for these hallowed pages. Even using one up to show the real-time status of your build or system resource utilization would be pushing it at this point. To get our attention, your traffic light is going to need to have a unique hook.

So how did [Ronald Diaz] manage to get his project to stand out from the rest? Interestingly enough, it’s nothing you can see. His traffic light doesn’t just look the part, it also sounds like the real thing. With far more effort and attention to detail than you’d probably expect, he’s made it so his Australian pedestrian traffic light correctly mimics the complex chirping of the original.

Working from a video of the traffic light on YouTube, [Ronald] was able to extract and isolate the tones he was after. Performing spectral analysis on the audio sample, he was able to figure out the frequency and durations of the eleven individual tones which make up the complete pattern. From the 973 Hz tone that only lasts 25 ms to the continuous 500 Hz “woodpecker”, every element of the sound was meticulously recreated in his Arduino code.

The Arduino Pro Mini used to control the traffic light is not only responsible for playing the tones through a piezo speaker, but as you might expect, for firing off the relays which ultimately control the red and green lamps. With everything carefully orchestrated, [Ronald] can now get that authentic Australian side-of-the-road experience without having to leave the comfort of his own home.

If you’d rather your in-home traffic light be more useful than realistic, we’ve got plenty of prior art for you to check out. This traffic light that tells you how the value of Bitcoin is trending is a great example. Or maybe this one that can tell you if the Internet is down.

Continue reading “Arduino Traffic Light Sings The Song Of Its People”

Fail Of The Week: Spinning The Pripyat Ferris Wheel

This multifaceted fail comes to us straight from the Chernobyl Exclusion Zone, where a group of friends apparently decided that a fun weekend project would be trying to turn over the iconic ferris wheel in the Pripyat Amusement Park. The [Kreosan] crew documented their admittedly very creative attempt at suicide in the video after the break, but we can save you some time by telling you right up front that the decades-old ferris wheel never actually rotates more than a few degrees. Though that’s hardly the key failure of this endeavour.

Even if you don’t understand anything they’re saying (we certainly don’t), it’s not too hard to follow along with this harebrained scheme.

Under cover of darkness, the troupe gains access to the mechanisms below the towering Soviet-era ride, and removes the brake unit mounted next to the motor. With the wheel now free spinning, the team is elated to see the mechanical advantage is such that spinning the shaft by hand is enough to cause a very slight rotation of the pulley and cables attached to the wheel.

Realizing they need more speed, the group then spends the rest of the night and apparently a good deal of the following day attempting to spin the mechanism using the rear wheel of one of their electric bicycles. But a rubber wheel held by hand against a rusty shaft, rather unsurprisingly, turns out to be a fairly poor mechanical linkage. They get a couple partial rotations on the pulleys, but still no serious movement.

One of the guys was working on the next phase of the inexplicably misguided plan, removing some heavy counterweights hanging under the ferris wheel, when a young woman shows up with a dosimeter and starts taking some measurements. Eventually, one of these moonlighting ferris wheel engineers uses the meter to observe the elevated radiation levels of the dirt and rust accumulated on his bare hands. This swiftly brings the operation to a close, and they all ride off on their bikes.

This was, without question, a monumentally stupid thing to do. Even if this was just a run-of-the-mill ferris wheel that had been abandoned and exposed to the elements for over thirty years, climbing on the thing and trying to get it to spin would be dangerous. But when you combine that with the fact it’s common knowledge to those who explore the Exclusion Zone that there are parts of the ferris wheel still emitting radiation at hundreds of times the normal background dose, this misadventure is a strong contender for the 2019 Darwin Award.

We’re lucky the remnants of Chernobyl’s number four reactor are locked away inside the Chernobyl New Safe Confinement, or else some up-and-coming Internet celebrity might try to get in there and spin up the turbines for a laugh. We’ve seen some pretty crazy stunts from [Kreosan], and we’d like to see more. So please, stay safe(r) guys!

Continue reading “Fail Of The Week: Spinning The Pripyat Ferris Wheel”

Why Spacecraft Of The Future Will Be Extruded

It’s been fifty years since man first landed on the Moon, but despite all the incredible advancements in technology since Armstrong made that iconic first small step, we’ve yet to reach any farther into deep space than we did during the Apollo program. The giant leap that many assumed would naturally follow the Moon landing, such as a manned flyby of Venus, never came. We’ve been stuck in low Earth orbit (LEO) ever since, with a return to deep space perpetually promised to be just a few years away.

Falcon Heavy Payload Fairing

But why? The short answer is, of course, that space travel is monstrously expensive. It’s also dangerous and complex, but those issues pale in comparison to the mind-boggling bill that would be incurred by any nation that dares to send humans more than a few hundred kilometers above the surface of the Earth. If we’re going to have any chance of getting off this rock, the cost of putting a kilogram into orbit needs to get dramatically cheaper.

Luckily, we’re finally starting to see some positive development on that front. Commercial launch providers are currently slashing the cost of putting a payload into space. In its heyday, the Space Shuttle could carry 27,500 kg (60,600 lb) to LEO, at a cost of approximately $500 million per launch. Today, SpaceX’s Falcon Heavy can put 63,800 kg (140,700 lb) into the same orbit for less than $100 million. It’s still not pocket change, but you wouldn’t be completely out of line to call it revolutionary, either.

Unfortunately there’s a catch. The rockets being produced by SpaceX and other commercial companies are relatively small. The Falcon Heavy might be able to lift more than twice the mass as the Space Shuttle, but it has considerably less internal volume. That wouldn’t be a problem if we were trying to hurl lead blocks into space, but any spacecraft designed for human occupants will by necessity be fairly large and contain a considerable amount of empty space. As an example, the largest module of the International Space Station would be too long to physically fit inside the Falcon Heavy fairing, and yet it had a mass of only 15,900 kg (35,100 lb) at liftoff.

To maximize the capabilities of volume constrained boosters, there needs to be a paradigm shift in how we approach the design and construction of crewed spacecraft. Especially ones intended for long-duration missions. As it so happens, exciting research is being conducted to do exactly that. Rather than sending an assembled spacecraft into orbit, the hope is that we can eventually just send the raw materials and print it in space.

Continue reading “Why Spacecraft Of The Future Will Be Extruded”

Sniffed Transformer Puts Wired Doorbell Online

There’s certainly no shortage of “smart” gadgets out there that will provide you with a notification, or even a live audiovisual stream, whenever somebody is at your door. But as we’ve seen countless times before, not everyone is thrilled with the terms that most of these products operate under. Getting a notification on your phone when the pizza guy shows up shouldn’t require an email address, credit card number, or DNA sample.

For [Nick Touran], half the work was already done. There was already a traditional wired doorbell in his home, he just had to come up with a minimally invasive way to link it with Home Assistant. He reasoned that he could tap into the low-voltage side of the doorbell transformer and watch for the telltale fluctuations that would indicate the bell was doing its thing. The ESP8266 has an ADC to measure voltage and WiFi to connect to Home Assistant, so it seemed like the perfect bridge between old and new.

Transformer voltage before and after

Of course, as with any worthwhile project, it ended up being a bit more complicated. Wired doorbells generally operate on 16-24 VAC, and [Nick] knew if he tried to put his Wemos D1 across the line he’d release the critical Magic Smoke. What he needed was a voltage divider circuit that would take low-voltage AC and drop it to an even lower DC voltage that the microcontroller could cope with.

The simple circuit [Nick] comes up with cuts the voltage way down and removes the negative component completely. So what was originally 18.75 VAC turned into a series of 60 Hz blips at 2.4 VDC; perfect for feeding into a microcontroller ADC. With a baseline to work from, he could then write some code that would watch for variations in this signal to determine when the bell was ringing.

Or at least, that was the idea. While the setup worked well enough on the bench, its performance in the real-world left something to be desired. If his house guest had a heavy hand, it worked great. But a quick tap of the doorbell button would tend to go undetected. After investigating the issue, [Nick] found that he needed to use some software trickery to ensure the ESP8266 was able to keep up with the speedy signal. Once he was able to reliably detect short and long button presses, the rest was just a simple matter of sending an MQTT message to his automation system.

Compared to the hoops we’ve seen other hackers have to jump through to smarten up their doorbells, we think [Nick] got off fairly easy. This project is also an excellent example of how learning about circuit design and passive components can still come in handy in the Arduino Era.

Continue reading “Sniffed Transformer Puts Wired Doorbell Online”

Supercap Drink Coasters Are The Life Of The Party

You’ve probably seen multicolored flashing LEDs embedded into clear plastic cups or coasters before, they’re quite commonly used in fancy restaurants that also feature animatronic characters and a gift shop on the way out. But have you ever wondered about the logistics of maintaining such devices? When the anthropomorphic rodent shuts down for the night, you’re going to want to clean all those blinking doodads; but any opening to connect a charger or insert a battery is just a leak waiting to happen.

[Scott Clandinin] has come up with a solution to this problem that’s equal parts brilliant simplicity and unabashed overengineering. Using wireless charging and supercapacitors, he’s developing an LED coaster that can be hermetically sealed in clear resin.

With no plugs to connect or batteries to change, these coasters can be permanently encapsulated with no ill effects. Granted the supercapacitors will degrade with time and eventually won’t hold a charge for as long, but even the most conservative estimates would have these coasters still partying in a decade.

For his prototype version [Scott] has put together a simple charging base, but we imagine in a full deployment such devices could be charged with induction coils built into a bar or table. While the energy consumption could potentially be a showstopper, we’d love to see a future version that integrates a radio receiver. Then the coasters could double as pagers to let diners know their table is ready.

While this device is obviously much thicker than a traditional coaster, it looks fairly reasonable even at this early stage. We like the concentric design that puts the coil inside the PCB, and wonder if similar cutouts couldn’t be used to get the twin 15F supercapacitors and charging module hunkered down just a few millimeters more. The 2019 Hackaday Prize is all about evolving an idea into a design suitable for production, and those are the sort of incremental improvements that the judges will certainly be keeping an eye out for.

SpaceX Clips Dragon’s Wings After Investigation

When the SpaceX Dragon spacecraft reached orbit for the first time in 2010, it was a historic achievement. But to qualify for NASA’s Commercial Orbital Transportation Services (COTS) program, the capsule also needed to demonstrate that it could return safely to Earth. Its predecessor, the Space Shuttle, had wings that let it glide home and land like a plane. But in returning to the classic capsule design of earlier spacecraft, SpaceX was forced to rely on a technique not used by American spacecraft since the 1970s: parachutes and an ocean splashdown.

The Dragon’s descent under parachute, splashdown, and subsequent successful recovery paved the way for SpaceX to begin a series of resupply missions to the International Space Station that continue to this day. But not everyone at SpaceX was satisfied with their 21st century spacecraft having to perform such an anachronistic landing. At a post-mission press conference, CEO Elon Musk told those in attendance that eventually the Dragon would be able to make a pinpoint touchdown using thrusters and deployable landing gear:

The architecture that you observed today is obviously similar to what was employed in the Apollo era, but the next generation Dragon, the Crew Dragon, we’re actually going to be aiming for a propulsive landing with gear. We’ll still have the parachutes as a backup, but it’s going to be a precision landing, you could literally land on something the size of a helipad propulsively with gear, refuel, and take off again.

But just shy of a decade later, the violent explosion of the first space worthy Crew Dragon has become the final nail in the coffin for Elon’s dream of manned space capsules landing like helicopters. In truth, the future of this particular capability was already looking quite dim given NASA’s preference for a more pragmatic approach to returning their astronauts from space. But Crew Dragon design changes slated to be implemented in light of findings made during the accident report will all but completely remove the possibility of Dragon ever performing a propulsive landing.

Continue reading “SpaceX Clips Dragon’s Wings After Investigation”

Bringing Pro-Level Data Recording To RC Racing

We’re all familiar with the “Black Box” used on commercial aircraft, the flight data recorder which captures the minutia of each and every flight on the off-chance that it’s needed in the event of an accident. But even in less dire circumstances, the complete record of the aircraft’s performance versus what was commanded of it by the pilot can be used to fine tune performance or detect faults before they become serious.

As a data engineer for professional motorsports, [Jussi Luopajärvi] knows similar recorders can be just as useful for vehicles stuck here on terra firma. His entry into the 2019 Hackaday Prize, TestLogger, aims to bring that same kind of technology to the world of RC racing. The gadget allows the driver to easily record a wealth of data about the vehicle during races, giving them valuable insight into the vehicle’s performance.

So what kind of variables are there to record on a 1/8th or 1/12th scale car? Don’t be fooled by their diminutive wheelbases, the modern RC car relies on an impressive amount of technical wizardry that benefits from a close eye.

Right now, [Jussi] says TestLogger can record not only obvious elements like battery level and throttle, but also more esoteric variables such as steering input, individual drive wheel speed, angular velocity, and even g-force in three dimensions. There’s also support for a trackside IR beacon that allows TestLogger to record lap times.

All of the data is stored on TestLogger’s SD card in standard CSV files, which makes it easy for us hacker types to parse and analyze. But for those who are more interested in driving than delimiting, there’s also a very slick website that will let users upload and compare their data. This complete user experience gives TestLogger a very professional feel, and we can’t wait to see where [Jussi] takes it from here.

With powerful microcontrollers available for a song, we expect this kind of detailed data collection is only going to become more common.