Posts with «neopixel» label

NeoPixel Matrix Simulation Lets You Virtually Groove to the Lights

You are stuck at home quarantined and you want to do some Arduino projects. The problem is you don’t have all the cool devices you want to use. Sure, you can order them, but the stores are slow shipping things that aren’t essential these days. If you want to get a headstart while you are waiting for the postman, check out Wokwi’s Playground. For example, you can write code to drive a virtual NeoPixel 16×16 matrix. There’s even example code to get you started.

There are quite a few other choices in the playground including Charlieplexed LEDs, a keypad, and an LCD. There are also challenges. For example, in the traffic light challenge, you are given code that uses a task scheduler library to implement a traffic light. You have to add a turn signal to the code.

In addition to LEDs in various configurations, the site has some serial bus components, an LCD, a keypad, and a NeoPixel strip. There are also a few tools including an EasyEDA to KiCad converter and a way to share sourcecode similar to Pastebin.

Of course, simulations only get you so far, but the site is a fun way to play with some different I/O devices. It would be very nice if you could compose for the different components together, but you could work your code in sections, if necessary. You can do similar things with TinkerCad circuits. If you want to install software, there’s a simulator for you, too.

Hack a Day 04 Apr 21:00

Handwashing Timer Makes Sure the Suds Stay On Long Enough

“Twinkle, Twinkle, Little Star”? How we wonder why you’d resort to singing a ditty to time your handwashing when you can use your social isolation time to build a touch-free electronic handwash timer that the kids — and you — might actually use.

Over the last few months, pretty much everyone on the planet has been thrust into strange, new, and oftentimes scary practices to limit the spread of the SARS-CoV-2virus and the disease it causes, COVID-19. Judging by the number of people we’ve seen leaving public restrooms without a visit to the washbasin before the outbreak began — and sadly all too often since — we collectively have a lot of work to do in tightening up our handwashing regimens. Time on target and plenty of friction are the keys to that, and [Denis Hennessy]’s “WashTimer” aims to at least help you out with the former. His build is as simple as can be: an Arduino driving an LED matrix when a proximity sensor fires. Wave your dirty paws in front of the unit as you start to scrub up, and the display goes through a nicely animated 20-second countdown, at which time it’s safe to rinse off.

[Denis] purposely made this design as simple and as customizable as possible. Perhaps you’ve got a Neopixel ring lying about rather than the LED matrix, or maybe an ultrasonic sensor would work better for you. Be creative and take this design where it needs to go to suit your needs. We can’t stress enough that handwashing is your number one defense; if you don’t need to moisturize your hands at least three times a day, you’re probably not washing often or long enough. And 20 seconds is way longer than you think it is without a prompt.

Hackaday Links: September 8, 2019

We start this week with very sad news indeed. You may have heard about the horrific fire on the dive boat Conception off Santa Cruz Island last week, which claimed 33 lives. Sadly, we lost one of our own in the tragedy: Dan Garcia, author of the wildly popular FastLED library. Dan, 46, was an Apple engineer who lived in Berkley; his partner Yulia Krashennaya died with him. Our community owes Dan a lot for the work he put into FastLED over the last seven years, as many an addressable LED is being driven by his code today. Maybe this would be a good chance to build a project that uses FastLED and add a little light to the world, courtesy of Dan.

In happier news, the biggest party of the hardware hacking year is rapidly approaching. That’s right, the 2019 Hackaday Superconference will be upon us before you know it. Rumor has it that there aren’t that many tickets left, and we haven’t even announced the slate of talks yet. That’s likely to clean out the remaining stock pretty darn quickly. Are you seriously prepared to miss this? It seems like a big mistake to us, so why don’t you hop over and secure your spot before you’re crying into your Club-Mate and wondering what all the cool kids will be doing in November.

Of course one of the highlights of Superconference is the announcement of the Hackaday Prize winner. And while we naturally think our Prize is the best contest, that doesn’t mean there aren’t others worth entering. MyMiniFactory, the online 3D-printing community, is currently running a “Design with Arduino” competition that should be right up the alley of Hackaday readers. The goal is simple: submit a 3D-printed design that incorporates Arduino or other electronics. That’s it! Entries are accepted through September 16, so you’ve still got plenty of time.

Sometimes you see something that just floors you. Check out this tiny ESP32 board. It doesn’t just plug into a USB port – it fits completely inside a standard USB Type A jack. The four-layer board sports an ESP32, FTDI chip, voltage regulator, an LED and a ceramic antenna for WiFi and Bluetooth. Why would you want such a thing? Why wouldn’t you! The board is coming soon on CrowdSupply, so we hope to see projects using this start showing up in the tipline soon.

Here’s a “why didn’t I think of that?” bench tip that just struck us as brilliant. Ever had to probe a board to trace signal paths? It’s a common enough task for reverse engineering and repairs, but with increasingly dense boards, probing a massive number of traces is just too much of a chore. Hackaday superfriend Mike Harrison from “mikeselectricstuff” makes the chore easier with a brush made from fine stainless wires crimped into a ring terminal. Attached to one probe of a multimeter, the brush covers much more of the board at a time, finding the general area where your trace of interest ends up. Once you’re in the neighborhood you can drop back to probing one pad at a time. Genius! We’d imagine a decent brush could also be made from a bit of coax braid too.

Another shop tip to wrap up this week, this one for woodworkers and metalworkers alike. Raw materials are expensive, and getting the most bang for your buck is often a matter of carefully laying out parts on sheet goods to minimize waste. Doing this manually can be a real test of your spatial relations skills, so why not automate it with this cut list optimizer? The app will overlay parts onto user-defined rectangles and snuggle them together to minimize waste. The program takes any units, can account for material lost to kerfs, and will even respect grain direction if needed. It’s built for wood, but it should prove useful for sheet metal on a plasma cutter, acrylic on a laser, or even PCBs on a panel.

A Ping Pong Ball LED Video Wall

Constrained builds are often the most fun. Throw an artificial limit into the mix, like time limiting your effort or restricting yourself to what’s on hand, and there’s no telling what will happen.

[bitluni] actually chose both of those constraints for this ping pong ball LED video display, and the results are pretty cool, even if the journey was a little rough. It seems like using sheet steel for the support of his 15 x 20 Neopixel display was a mistake, at least in hindsight. A CNC router would probably have made the job of drilling 300 holes quite a bit easier, but when all you have is a hand drill and a time limit, you soldier on. Six strings of Neopixels fill the holes, a largish power supply provides the 18 or so amps needed, and an Arduino knock-off controls the display. The ping pong ball diffusers are a nice touch, even if punching holes in them cost [bitluni] a soldering iron tip or two. The display is shown in action in the video below, mostly with scrolling text. If we may make a modest suggestion, a game of Pong on a ping pong ball display might be fun.

[bitluni] says that the display is on its way to Maker Faire Berlin this weekend, so stop by and say hi. Maybe he’ll have some of his other cool builds too, like his Sony Watchman Game Boy mashup, or the electric scooter of questionable legality.

Hack a Day 17 May 16:30

Freeform Wire Frame Tulip Blooms To The Touch

Holidays are always good for setting a deadline for finishing fun projects, and every Valentine’s Day we see projects delivering special one-of-a-kind gifts. Why buy a perishable bulk-grown biological commodity shipped with a large carbon footprint when we can build something special of our own? [Jiří Praus] certainly seemed to think so, his wife will receive a circuit sculpture tulip that blooms when she touches it.

via @jipraus

This project drew from [Jiří]’s experience with aesthetic LED projects. His Arduino-powered snowflake, with LEDs mounted on a custom PCB, is a product available on Tindie. For our recent circuit sculpture contest, his entry is a wire frame variant on his snowflake. This tulip has 7 Adafruit NeoPixel in the center and 30 white SMD LEDs in the petals, which look great. But with the addition of mechanical articulation, this project has raised the bar for all that follow.

We hope [Jiří] will add more details for this project to his Hackaday.io profile. In the meantime, look over his recent Tweets for more details on how this mechanical tulip works. We could see pictures and short videos of details like the wire-and-tube mechanism that allowed all the petals to be actuated by a single servo, and the components that are tidily packaged inside that wooden base.

Need more digital expressions of love? We have no shortage of hearts. Animated LED hearts, illuminated acrylic hearts, and talking hearts. We’re a little short on flower projects, but we do have X-ray of a rose among others to accompany [Jiří]’s tulip.

It’s done! Mechanical tulip as a present for my wife. When caressed it blooms into various colors. And will never fade. #freeform #jewelry #arduino pic.twitter.com/yDePeURXXd

— Jiří Praus (@jipraus) February 12, 2019

Hackaday Prize Entry: ESPMetric, a Simple and Easy Matrix

There’s a lot you can do with a bunch of LEDs connected to the Internet. You can display the time, the weather, the bus schedule, or any one of a number of important data points in your life. Custom matrices are a pain in the butt to set up, which is why we like to see one looking rather polished and clean. [Faire-soi-meme] prettied up an 8×32 NeoPixel matrix with some diffusers and a grid bezel. It’s the ESPMetric, and it’s also an entry for this year’s Hackaday Prize.

The NeoPixel matrix is controlled by a NodeMcu using elements from [squix78]’s ESP82666 weather station code as well as Adafruit’s NeoMatrix library. There is a photoresistor to control brightness as well as 3 buttons to control its various modes. Tapping the buttons brings you by various settings like the time, WiFi status, stock market, and so on.

If you parlez-vous français–or enjoy the Google Translate experience–[Faire-soi-meme] has detailed the build steps on his blog, though you can also download his code from his GitHub repository. There’s a great video of this build, you can check that out below.


Filed under: The Hackaday Prize

Spice Up Your Bench With 3D Printed Dancing Springs

Not all projects are made equal. Some are designed to solve a problem while others are just for fun. Entering the ranks of the most useless machines is a project by [Vladimir Mariano] who created the 3D Printed Dancing Springs. It is a step up from 3D printing a custom slinky and will make a fine edition to any maker bench.

The project uses 3D printed coils made of transparent material that is mounted atop geared platforms and attached to a fixed frame. The gears are driven by a servo motor. The motor rotates the gears and the result is a distortion in the spring. This distortion is what the dancing is all about. To add to the effect, [Vladimir Mariano] uses RGB LEDs controlled by an ATmega32u4.

You can’t dance without music. So [Vladimir] added a MEMs microphone to pick up noise levels which are used to control the servo and lights. The code, STL files and build instructions are available on the website for you to follow along. If lights and sound are your things, you must check out the LED Illuminated Isomorphic Keyboard from the past.


Filed under: musical hacks
Hack a Day 30 Jul 06:00
arduino  diy  led  musical hacks  neopixel  slinky  sound  toy  

Arduino-Neopixel Traffic Map

This project displays live traffic conditions between two locations on a physical map, using an Adafruit Feather Huzzah that gathers data from the Google Maps API and then sets the color of a string of NeoPixels

Read more on MAKE

The post Arduino-Neopixel Traffic Map appeared first on Make: DIY Projects and Ideas for Makers.

Arduino-Neopixel Traffic Map

This project displays live traffic conditions between two locations on a physical map, using an Adafruit Feather Huzzah that gathers data from the Google Maps API and then sets the color of a string of NeoPixels

Read more on MAKE

The post Arduino-Neopixel Traffic Map appeared first on Make: DIY Projects and Ideas for Makers.

Disco Flashlight Binary Analog Clock?

As multitools have lots of different functions in one case, so [Shadwan’s] clock design incorporates a multitude of features. He started the design as a binary clock using a Fibonacci spiral for the shape. However, the finished clock has four modes. The original binary clock, an analog clock, a flashlight (all lights on), and a disco mode that strobes multiple lights.

[Shadwan] used Rhino to model the case and then produced it using a laser cutter. The brains are — small wonder — an Arduino. A 3D-printed bracket holds everything together. You can see the result in the video below.

The clock was a school project and used a Neopixel ring. The students had a 16 position ring, which is not enough to do a 24-hour clock so they settled on a 12-hour design. The LED color, however, changes between AM and PM.

The paper included with the design said that research didn’t turn up any other binary clocks using Neopixels. We found that hard to believe, but it might be true. We certainly didn’t find any in our archives, although there are plenty of non-binary clocks out there.


Filed under: Arduino Hacks, clock hacks