More Blinky = More Better – The WS2812FX Library

The WS2812 is an amazing piece of technology. 30 years ago, high brightness LEDs didn’t even exist yet. Now, you can score RGB LEDs that even take all the hard work out of controlling and addressing them! But as ever, we can do better.

Riffing on the ever popular Adafruit NeoPixel library, [Harm] created the WS2812FX library. The library has a whole laundry list of effects to run on your blinkenlights – from the exciting Hyper Sparkle to the calming Breathe inspired by Apple devices. The fantastic thing about this library is that it can greatly shorten development time of your garden-variety blinkables – hook up your WS2812s, pick your effect, and you’re done.

[Harm]’s gone and done the hard yards, porting this to a bevy of platforms – testing it on the Arduino Nano, Uno, Micro and ESP8266. As a proof of concept, they’ve also put together a great demonstration of the software – building some cute and stylish Christmas decorations from wood, aluminium, and hacked up Christmas light housings. Combining it with an ESP8266 & an app, the effects can be controlled from a smartphone over WiFi. The assembly video on YouTube shows the build process, using screws and nails to create an attractive frame using aluminium sheet.

This project is a great example of how libraries and modern hardware allow us to stand on the shoulders of giants. It’s quicker than ever to build amazingly capable projects with more LEDs than ever. Over the years we’ve seen plenty great WS2812 projects, like this sunrise alarm clock or this portable rave staff.
As always, blink hard, or go home. Video after the break.

Continue reading “More Blinky = More Better – The WS2812FX Library”

TastingFeet: Building Toes And Tongues

Noodle Feet is a robot — an artistically designed robot — that is a character from Sarah Petkus’ webcomic Gravity Road. This webcomic explores a post-human universe inhabited by robots, and dives deep into these robots’ exploration of the trash left behind from a human civilization.

Sarah’s not just drawing these robots. She’s bringing them to life. The character Noodle Feet, so named because his legs are encased in pool noodles, has been made real with an aluminum skeleton, a PCB brain, and infrared detecting eyes. At the 2016 Hackaday SuperConference Sarah gave a talk on the challenges of making this robot real and the specifics of making her robot dig its toes into carpet, slobber all over the floor, and taste with its artificial tongue.

Since last year’s talk on Noodle Feet, Sarah has vastly improved the gripping strength of her noodle’s feet. Over the last two years of construction the mechanism to extend grippy, cat-like toenails has moved from cheap hobby servos to solenoids to a clever cam system. While these toe feet worked, the grip was never quite right, and the world isn’t completely covered in shag carpet. After the break we’ll take a closer look at the improvements that Sarah made to the design and how she came up with the ideas for each new iteration.

Continue reading “TastingFeet: Building Toes And Tongues”

Bluetooth Turns 5

Last week, the latest and greatest member of the Bluetooth family of wireless specifications was announced to the world: Bluetooth 5! What main changes are in store? Read the FAQ (PDF), or dig into the full spec (bigger PDF) at 2,800 pages.

Their big-print selling points include “up to 4x the range, 2x the speed, and 8x the broadcasting message capacity” to power the Internet of Things. Etcetera. [Akiba] pointed out via Twitter that they get the fourfold increase in range by adding an extra zero to the “Maximum Output Power” spec, going from 10 mW maximum power to 100 mW. That would do it.

In less snarky news, they’re also allowing for a lower-bitrate mode that will also increase range without simply boosting the power. The spec is actually being changed to let the user work out their optimal blend of power, range, and bitrate. We’re down with that. But you’re not getting 4x the range and 2x the speed without paying the bandwidth piper. That’s just physics.

If you use the beacon mode in Bluetooth Low Energy (BLE), you’ll be happy to hear that they’re lengthening the beacon packet from 31 bytes to 255, so you can send a bunch more data without consuming too much power. That’s the “8x”. Bluetooth 5.0 is also backwards compatible with Bluetooth 4.2, so you don’t have to redo anything if you don’t want to take advantage of the newer features. Your current BLE beacons will keep working.

Finally, there’s some contention-detection and other bandwidth optimizing going on, which is welcome in our crowded 2.4 GHz office spectrum. Our guess is that’s where the “2x speed” is largely coming from, but there are about 2,750 pages that we haven’t read yet, so if you’re digging into the spec, let us know what you find in the comments.

Thanks to [Akiba] for tipping us off to this via Twitter. Go check out his great talk on getting hacker stuff in Shenzhen that was presented at the SuperCon.

My Beef With Ham Radio

My amateur radio journey began back in the mid-1970s. I was about 12 at the time, with an interest in electronics that baffled my parents. With little to guide me and fear for my life as I routinely explored the innards of the TVs and radios in the house, they turned to the kindly older gentleman across the street from us, Mr. Brown. He had the traditional calling card of the suburban ham — a gigantic beam antenna on a 60′ mast in the backyard – so they figured he could act as a mentor to me.

Mr. Brown taught me a lot about electronics, and very nearly got me far enough along to take the test for my Novice class license. But I lost interest, probably because I was an adolescent male and didn’t figure a ham ticket would improve my chances with the young ladies. My ham ambitions remained well below the surface as life happened over the next 40 or so years. But as my circumstances changed, the idea of working the airwaves resurfaced, and in 2015 I finally took the plunge and earned my General class license.

The next part of my ham story is all-too-familiar these days: I haven’t done a damn thing with my license. Oh, sure, I bought a couple of Baofeng and Wouxun handy-talkies and lurked on the local repeaters. I even bought a good, solid HF rig and built some antennas, but I’ve made a grand total of one QSO — a brief chat with a ham in Texas from my old home in Connecticut on the 10-meter band. That’s it.

Continue reading “My Beef With Ham Radio”

DIY Mini Printer Is 95% Wood, Prints Tiny Cute Images

This little DIY 64×64 graphical printer by [Egor] is part pen plotter in design, somewhat dot matrix-ish in operation, and cleverly designed to use unmodified 9G servos. The project page is all in Russian (translation to English here) but has plenty of photos that make the operation and design clear. Although nearly the entire thing is made from laser-cut wood, [Egor] says that a laser cutter is optional equipment. The first version was entirely cut with hand tools.

screenshot-2016-12-06-10-49-13Small DIY CNC machines driven over a serial line commonly use Arduinos and CD-ROM drive guts (like this Foam Cutter or this Laser Paper Cutter) but this build uses its own custom rack-and-pinion system, and has some great little added details like the spring-loaded clip to hold paper onto the print pad.

The frame and parts (including all gears) are laser-cut from 4 mm plywood and the unit is driven by three small servos. A simple Java program processes images and an Arduino UNO handles the low-level control. A video of everything in action is embedded below.
Continue reading “DIY Mini Printer Is 95% Wood, Prints Tiny Cute Images”

The Many Uses Of The Neon Lamp

Neon lights are that kind of nostalgic item that everybody seems to love. The neon lamp is a type of gas discharge lamp, they generate light when an electrical discharge travels through an ionized gas, or plasma. When the voltage between the electrodes exceeds certain threshold, the gas ionizes and begins conducting electricity. The basic process that generates light is the return of the ions to the ground energy state, with the emission of a photon of light. The light color depends on the emission spectra of the atoms in the gas, and also  on the gas pressure, among other variables.  Gas discharge lamps can be classified by the pressure of the gas:

  • Low pressure: includes the neon lamp, fluorescent lamps and low pressure sodium lamps.
  • High pressure: such as the metal halide, high pressure sodium and mercury vapor lamps.

Another classification comes from the heating method of the cathode:

  • Hot cathode lamps: the electric arc between the electrodes is created via thermionic emission, where electrons are expelled from the electrodes because of the high temperature.
  • Cold cathode lamps: In these, the electric arc results from the high voltage applied between the electrons, that ionizes the gas and conduction can take place.

High intensity lamps are another type of gas discharge lamp where a high power arc is formed between tungsten electrodes. Power levels of several kilowatts can be easily produced this type of lamp. Of course we can’t forget to mention nixie tubes, which are a type of cold cathode neon lamp, popular for building retro clocks. Fortunately, they are now in production again.

Continue reading “The Many Uses Of The Neon Lamp”

[CNLohr] Reverses Vive, Valve Engineers Play Along

[CNLohr] needs no introduction around these parts. He’s pulled off a few really epic hacks. Recently, he’s set his sights on writing a simple, easy to extend library to work with the HTC Vive VR controller equipment, and in particular the Watchman controller.

There’s been a lot of previous work on the device, so [Charles] wasn’t starting from scratch, and he live-streamed his work, allowing others to play along. In the process, two engineers who actually worked on the hardware in question, [Alan Yates] and [Ben Jackson], stopped by and gave some oblique hints and “warmer-cooler” guidance. A much-condensed version is up on YouTube (and embedded below). In the links, you’ll find code and the live streams in their original glory, if you want to see what went down blow by blow. Code and more docs are in this Gist.

Continue reading “[CNLohr] Reverses Vive, Valve Engineers Play Along”