WS2812B LED Clones: Work Better Than Originals!

Commodity electronics manufacturing is a tough game. If you come out with a world-beating product, like WorldSemi did with the WS2812B addressable RGB LED “pixel”, you can be pretty sure that you’re going to be cloned in fairly short order. And we’re all used to horror stories of being sold clones instead of what was ordered. But what if the clones were actually an improvement?

[Gonazar] bought some strips of “WS2812” LEDs and prototyped a project. When stepping up to larger production, he thought he’d go directly to WorldSemi. Long story short, the cheaper LED modules that he’d previously bought weren’t from WorldSemi, but were actually SK6812 clones labelled as WS2812Bs. When he switched to the real thing, he discovered that they had some temperature and pressure sensitivities that the clones didn’t. The clones were better!

They weren’t even straight clones. It turns out that they have a much higher PWM frequency, resulting in less flicker at low brightnesses. The distributor came clean, saying that they swapped them out without note because they spoke the same protocol, but were a strict improvement.

Continue reading “WS2812B LED Clones: Work Better Than Originals!”

Fifty Shades Of Gray Code

Some years back, a museum asked me to help them with an exhibit a contractor had built for them. It was a wheel like the one on Wheel of Fortune, but smaller and mounted on the wall instead of the floor. You would spin the wheel, it would stop on some item, and a computer would play a short video about the item. Physically and mechanically, it was a beautifully built exhibit. The electronics, though, left something to be desired.

In principle, this is pretty simple computer task. Measure the position of the wheel, and when it stops moving, play a video based on the position. The problem was the folks who created the artistic mechanics didn’t think hard about the electronics behind it. Sometimes–but not often–the wheel would play the wrong video. Sometimes it wouldn’t play at all.

The Prime Suspect

My immediate suspicion turned out to be correct. I took the wheel off its mount to discover copper foil tape on the back of it. Each pie wedge had foil in different areas and there were two brushes in each area. When the wheel stopped, two of the brushes would be shorted together and the rest were open. The way they detected that was bizarre, but that wasn’t the problem. (It involved a cannibalized PS/2 keyboard.)
Continue reading “Fifty Shades Of Gray Code”

Friday Hack Chat: CircuitPython With Adafruit Engineers

What the heck is CircuitPython? Get that question answered along with many more during this Friday’s Hack Chat. Three engineers from Adafruit join us as [Ladyada], [Tony DiCola], and [Scott Shawcoft] lead a CircuitPython discussion at Noon PST on 1/27/17.

CircuitPython is Adafruit’s new extension on the MicroPython codebase. It adds support for SAMD21 processors in MicroPython and reworks the API for better support across platforms and better documentation. Does this still sound like jibberish? The Python programming language has been extended to microcontrollers. CircuitPython is furthering that work and this Hack Chat is the perfect opportunity to talk with the people who are doing that work. They will also be doing a giveaway of five CircuitPlayground m0 Express boards (brand new, not yet released hardware).

Don’t miss this Hack Chat! Here’s a handy web tool to help convert Friday, January 27 at noon PST to your local time.

Here’s How to Take Part:

join-project-team-message-buttons
Buttons to join the project and enter Hack Chat

Hack Chats are live community events that take place in the Hackaday.io Hack Chat group messaging. Visit that page (make sure you are logged in) and look for the “Join this Project Button” in the upper right. Once you are part of the project, that button will change to “Team Messaging” which takes you to the Hack Chat.

You don’t have to wait for Friday, join Hack Chat whenever you like and see what the community is currently talking about.

Voltmeter Speaks MQTT Without Libraries

[Emilio Ficara] [built himself an Internet-connected MQTT multimeter](http://ficara.altervista.org/) (translated from Italian by robots). Or maybe we should say that [Emilio Ficara] undertook a long string of cool hacks that ended up in a WiFi-enabled multimeter, because the destination isn’t nearly as interesting as the voyage.

debugtool-sch

The multimeter, a DT-4000ZC, has a serial output but instead of transferring the data directly, it sends which cells on the LCD screen need to be activated. For testing along the way, [Emilio] used his own USB-serial-to-ESP01 dongle, which sounds like a useful tool to have around if you’re debugging an AT command session. He made a cute AVR SPI-port debugging aid with a reset button and diagnostic LEDs that we’re going to copy right now. Other home-made tools, like a 3.7V Li-ion battery manager and a serial data snooper make this project worth a look.

Continue reading “Voltmeter Speaks MQTT Without Libraries”

Tesla Vs. Edison

The phrase “Tesla vs. Edison” conjures up images of battling titans, mad scientists, from a bygone age. We can easily picture the two of them facing off, backed by glowing corona with lightning bolts emitting from their hands. The reality is a little different though. Their main point of contention was Tesla’s passion for AC vs. Edison’s drive to create DC power systems to power his lights. Their personalities also differed in many ways, the most relevant one here being their vastly different approaches to research. Here, then, is the story of their rivalry.

Continue reading “Tesla Vs. Edison”

How To Sharpen Your Woodworking Tools On A Budget

Wood may seem like a soft, weak material if you’re used to working with steel, but to do good work, you’ll quickly learn you need your tools sharp. Buying and maintaining a good set of tools can be expensive for the home gamer, so [shopbuilt] put together an Instructable on how to sharpen your woodworking tools on a budget.

The trick is to use sandpaper. It’s a good quality abrasive material and is readily available. You’ll want a selection of different grits – low grits to get started, higher grits when finishing. The reason this is cheaper is that you can get a selection of 5-10 different sandpapers for under $20. Getting even a couple of decent sharpening stones wouldn’t be possible at that price. In the long run, they’ll last longer but this is a budget option we’re talking about.

Obviously you can’t just sharpen something with sandpaper – [shopbuilt] suggests mounting the paper to the flattest surface you can find. The use of a tempered glass panel from a fridge shelf is, in our mind, an inspired choice here. 3D printer enthusiasts have been using similar techniques for heated beds for the best part of a decade now.

We love woodworking here at Hackaday, so get your feet wet with these woodworking basics for the hardware hacker.

Frankenquad Takes To The Air

Modern quadcopter flight controllers perform a delicate dance of balancing pitch, yaw, bank, and throttle. They can do this thanks to modern MEMS gyros and accelerometers. The job is easy when the motors, propellers and speed controllers are relatively well matched. But what if they’re not? That’s the questions [SkitzoFPV] set out to answer by building Frankenquad.  Frankenquad is a 250 sized FPV quadcopter with 4 different motors and 4 different propellers. The props are different sizes from different manufacturers, and even include a mix of 3 and 4 blade units. If all that wasn’t enough [SkitzoFPV] used 3 different electronic speed controller. Each speed controller has a micro running different firmware, meaning it will respond slightly differently to throttle inputs.

Keeping all this in check was [SkitzoFPV’s] branded version of the Raceflight Revolt R4 flight controller. The Revolt is powered by an STM32F4 series ARM microcontroller. Most of these controllers run variants of the cleanflight open source flight control software. The question was – would it be able to handle the unbalanced thrust and torque of 4 different power combinations?

The flight tests proved the answer was a resounding yes. The quad hovered easily. As the video shows [SkitzoFPV] went on to burn a few holes in the sky with it. Admittedly [SkitzoFPV] is a much better pilot than any of us. He did notice a bit of a bobble and a definite yaw toward the smaller propeller. Still, it’s rather amazing how easily a modern flight controller was able to turn a pile of junk-box components into a flying quadcopter. You can learn more about flight controllers right here.

Continue reading “Frankenquad Takes To The Air”