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”

7 Segment Display Using Neopixel Rings

There’s something about clocks — sooner or later, every hacker wants to build one. And we end up seeing all kinds of display techniques being used to show time. For the simplest of builds, 7-segment display modules usually get dug up from the parts bin. If you have a bunch of “smart” LED’s (WS2812’s, APA102’s), then building your own custom 7-segment modules isn’t too difficult either. [rhoalt] had neither, but he did have several 8 LED Neopixel rings lying around. So he thought of experimenting with those, and built a ‘Binoctular’ LED clock which uses the Neopixel rings as 7 segment displays.

figure-eight-segment-displaysEach digit is made using one pair of Neopixel rings, stacked to form a figure of eight. All the digits are composed of arcs, so readability isn’t the best but it’s not hard either. [rhoalt] does mention that the display is easier to read via blurred camera images rather than visually, which isn’t surprising. We’re long used to seeing numbers composed of straight line segments, so arc segmented digits do look weird. But we wouldn’t have known this if [rhoalt] hadn’t shown us, right ? Maybe a thicker diffuser with separator baffles may improve the readability.

The rest of the build is pretty plain vanilla — an Arduino Nano clone, a DS3231 RTC, a Lithium battery, and some buttons, all housed together in a laser cut enclosure which follows the figure of eight design brief. And as usual, once you’ve built one, it’s time to improve and make a better version.

Hi-Tech Tool For Measuring Your Kid’s Height

Sure we can have our kids back up against a wall, force them to stand up straight, and use a ruler on their head to mark their height on the wall, but what kind of hacker would we be? There isn’t a single microcontroller or any electronic component involved! The DIY-family that calls themselves [HomeMadeGarbage] stood tall and came up with a high-tech tool to measure their kid’s height.

In place of the ruler they got a small wooden box to place on the head. Under the box, at the rear end facing down, they mounted a VL53L0X laser ranging sensor. With a range of 2 meters it’s sure to work with any child. But the box has to be sat level on the child’s head, otherwise the laser will be pointing down at an angle. To handle that they put an MPU6050 6-axis motion sensor in the box along with an Arduino Nano to tie it all together. A LCD display, measurement push-button and LED are mounted outside the box on the rear facing side.

To use it, a parent sits the box on the child’s head, making sure the laser sensor isn’t blocked and can see the floor. The LCD shows the height, along with the acceleration in the x and y directions. The LED is red if the box isn’t level and green if it is. Holding the measurement button pressed puts the tool in measurement mode and when it’s level, the LED turns blue and the LCD display freezes so you can make a note of the height. You’re good for a while, depending on your child’s age. See it being used to measure a child after the break as well as an additional clip showing what the output looks like when waving a hand up and down below it.

Continue reading “Hi-Tech Tool For Measuring Your Kid’s Height”

Brasilia Espresso Machine PID Upgrade Brews Prefect Cup Of Energy

Coffee, making and hacking addictions are just bound to get out of control. So did [Rhys Goodwin’s] coffee maker hack. What started as a little restoration project of a second-hand coffee machine resulted in a complete upgrade to state of the art coffee brewing technology.

coffee_hack_arduinoThe Brasilia Lady comes with a 300 ml brass boiler, a pump and four buttons for power, coffee, hot water and steam. A 3-way AC solenoid valve, wired directly to the buttons, selects one of the three functions, while a temperamental bimetal switch keeps the boiler roughly between almost there and way too hot.

To reduce the temperature swing, [Rhys] decided to add a PID control loop, and on the way, an OLED display, too. He designed a little shield for the Arduino Nano, that interfaces with the present hardware through solid state relays. Two thermocouples measure the temperature of the boiler and group head while a thermal cut-off fuse protects the machine from overheating in case of a malfunction.

Also, the Lady’s makeup received a complete overhaul, starting with a fresh powder coating. A sealed enclosure along with a polished top panel for the OLED display were machined from aluminum. [Rhys] also added an external water tank that is connected to the machine through shiny, custom lathed tube fittings. Before the water enters the boiler, it passes through a custom preheater, to avoid cold water from entering the boiler directly. Not only does the result look fantastic, it also offers a lot more control over the temperature and the amount of water extracted, resulting in a perfect brew every time. Enjoy [Rhys’s] video where he explains his build:

Continue reading “Brasilia Espresso Machine PID Upgrade Brews Prefect Cup Of Energy”

Now You’re Printing With Water

How do you earn a place in a flower festival with a handful of Arduinos and a 3D printer? By building a water curtain that draws flowers. That’s exactly what Tecnoateneu Vilablareix, a hacking community in Spain did. They built this project specifically for Temps de Flors, a popular annual gathering in Girona, Spain. More than just a flower festival, the event opens gardens and courtyards of culturally importance to the general public that are closed the rest of the year.

A pile of nozzle fail.

The water curtain uses four Arduino Nanos to control the valves, which work in pairs to draw flowers, words, and patterns. A Mega provides a wifi connection  to receive commands. Over 16 continuous days worth of print time went into the 128 valves and 64 nozzles that make up the water curtain. It took the group around 24 iterations to get the valve design just right—they have to be able to shut off quickly.

There’s an eight-video playlist after the break and a special video that shows how much we love pandering. Most of the ones in the playlist are quite short and demonstrate the final version of the water curtain. Others show the valve testing. The last is a time-lapse of the group setting it up at the festival. If you’re in the area, the festival runs until May 15th.

Now that you’re in the mood for computer-controlled water shows, here is a fountain controlled with a RaspPi.

Continue reading “Now You’re Printing With Water”

Car Idle Alarm Helps You Stop Wasting Gas While Tweeting

[TVMiller] has a bone to pick with you if you let your car idle while you chat or text on your phone. He doesn’t like it, and he wants to break you of this wasteful habit – thus the idle-deterrence system he built that he seems to want on every car dashboard.

In the video below, the target of his efforts is clear – those who start the car then spend time updating Twitter or Instagram. His alarm is just an Arduino Nano that starts a timer when the car is started. Color-coded LEDs mark the time, and when the light goes red, an annoying beep starts to remind you to get on with the business of driving. The device also includes an accelerometer that resets the timer when the vehicle is in motion; the two-minute timeout should keep even the longest stop light from triggering the alarm.

[TVMiller] plans an amped-up version of the device built around an MKR1000 that will dump idle to moving ratios and other stats to the cloud. That’s a little too Big Brother for our tastes, but we can see his point about how wasteful just a few minutes of idling can be when spread over a huge population of vehicles. This hack might make a nice personal reminder to correct wasteful behavior. It could even be rolled into something that reads the acceleration and throttle position directly from the OBD port, like this Internet of Cars hack we featured a while back.

Continue reading “Car Idle Alarm Helps You Stop Wasting Gas While Tweeting”

Arduino Nano Runs Battery Spot Welder

Soldering might look like a tempting and cheap alternative when building or repairing a battery pack, but the heat of the iron could damage the cell, and the resulting connection won’t be as good as a weld. Fortunately, though, a decent spot welder isn’t that tough to build, as [KaeptnBalu] shows us with his Arduino-controlled battery spot welder.

spot_welder_zoomWhen it comes to delivering the high currents necessary for spot welding, the Arduino Nano is not necessarily the first thing that comes to mind. But the need for a precisely controlled welding pulse makes the microcontroller a natural for this build, as long as the current handling is outsourced. In [KaeptnBalu]’s build, he lets an array of beefy MOSFETs on a separate PCB handle the welding current. The high-current wiring is particularly interesting – heavy gauge stranded wire is split in half, formed into a U, tinned, and each leg gets soldered to the MOSFET board. Welding tips are simply solid copper wire, and the whole thing is powered by a car battery, or maybe two if the job needs extra amps. The video below shows the high-quality welds the rig can produce.

Spot welders are a favorite on Hackaday, and we’ve seen both simple and complicated builds. This build hits the sweet spot of complexity and functionality, and having one on hand would open up a lot of battery-hacking possibilities.

Continue reading “Arduino Nano Runs Battery Spot Welder”