Posts | Comments

Planet Arduino

Archive for the ‘Neopixels’ Category

top angle view of the NeoRGB Stemma

The NeoRGB is a no-soldering, plug-and-play STEMMA board with a 2mm JST PH connector on one end, and a 5-pin 0.1″ screw terminal block on the other. It can convert standard 800KHz NeoPixel signal using a WS2811F chip to AO3406 N-channel FETs that are high efficiency and can sink a chunk of current – 3 Amps a piece with 50milliOhm Ron!

The Adafruit NeoRGB Stemma guide has everything you need to get started with using this breakout. There’s pages for overview, pinouts, CircuitPython, Arduino and resources for download.

Check out the full guide: Adafruit NeoRGB Stemma

The Whiskey Tango Hotel blog looks to simulate the lights of fireworks with a single long strip of NeoPixels, aka WS2812B addressable LEDs.

Fireworks are also pretty cool. On the downside they can be dangerous, scare wildlife, start fires, be expensive, illegal, etc. So, until we can afford our own fleet of drones we settled on this alternative.

The hardware is an ESP8266 and a WS2812B LED-strip with 300 LEDs (16.5 feet).  We wanted to use a Arduino Nano (because we had one), but due to the amount of memory needed to define the arrays for the 300 LEDs we went with an ESP8266 (because we had one).

See the video below and the post with Arduino source code.

Neat looking build from filiphoertner up on Instructables:

This project is about monitoring air quality indoors and visualizing it in a fun and tangible way. The Air Quality Cloud measures a wide range of air pollution parameters and turns into a toxic purple colour (or really any colour you’d like). The cloud is meant to be hung in the corner of a crowded room, e.g. a classroom and signalizes the need to ventilate.

See more details here.

Fun build from ronfrtek that uses our NeoPixel Ring: WS2812 5050 RGB LED and an Arduino Nano ESP32.

Check out the full tutorial on Hackster.io!

In this tutorial we are going to make music reactive lights with Arduino Nano ESP32 board with Neopixels LED ring & microphone using Visuino

The Facelesstech blog discusses making a desktop rotary encoder with NeoPixel smart LEDs around the edge.

I’ve always liked fidget toys but I always thought they were missing something, This is why I decided to make some fidget toys but with electronics in them. I raided my parts bin and found a nice clicky encoder and set about hacking.

The base was 3D printed.

See the video below and more in the post here.

The second round of this year’s Hackaday Prize is coming to a close, and we asked you to come up with ways of refreshing work-from-home life. Well here’s one we probably all could use — a large emergency mute button that can also turn off video with an extra click. You know, in case your kid or your roommate decides to walk around in their birthday suit.

[Colin Russell-Conway]’s software-agnostic mute button uses a Seeeduino Xiao and rotary encoder, plus three momentaries that give it a second function as a media controller. Two chunks of LED strip go blinky blinky when the mute is on, and are otherwise solidly lit and color-coded by videoconference type — blue for Zoom and Starleaf, green for Webex, and purple for Teams.

The companion app that [Colin] created is using the Windows Management Instrumentation (WMI) to check which program is control of the microphone. Whenever the mute button is pressed, the app makes note of the current program in focus, switches to the active videoconference, mutes it, and then switches back to reddit or twitch or whatever you had in focus when the kid started screaming for you from the bathroom. Check out the demo after the break.

Some of us like to celebrate a little when videoconferences are over. For those people, there is the pull-chain exit.

Recreating classic games in software is a great way to get better at coding or learn to code in the first place. If you do it in hardware though, you’ll gain a lot more than coding skills. Just ask [Kelly] and [Jack] did, when they built this Arduino-based electronic Connect Four for a school project.

We love that their interpretation manages to simplify game play and make it more fun than the original version. All the players have to do is turn it on and start pushing the arcade buttons along the bottom to choose the column where they want to make a play. The LEDs animate from top to bottom to imitate the plastic disc dropping down through the board. If a win is detected — four in a row of the same color going any direction — the board fills up with the winning color and the game starts over.

The state machine doesn’t currently do anything about tie situations, so there’s a reset button hidden on the side. As [Kelly] and [Jack] explain in their walk-through video after the break, that is something they would like to address in the future, along with making it possible to choose whatever battle color you want. We think a reset animation that mimics the look of the discs spilling out the bottom would be cool, too.

If you’ve never implemented a game on hardware before, something like this might be a bit daunting. May we suggest a game of 4×4 Tic Tac Toe instead?

Have you ever wrapped up a nice blinky project only to be disappointed by the predictability of the light or the color patterns? When it came to lighting this LED candle, so was [fungus amungus]. But there’s a better way, and it involves noise.

Perlin noise was created in the early 80s by Ken Perlin while he was working on the movie Tron. Frustrated by the current state of computer graphics and too limited on space to use images, he devised an algorithm for generating natural-looking textures. Basically, you generate a bunch of numbers between 0 and 1, then assign values to those numbers, such as a range of greyscale values from black (0) to white (1), or the values from the color wheel. The result is much prettier than random numbers because the neighboring values for any given number aren’t radically different. You get nice randomness with hardly any overhead.

[fungus amungus] is using the FastLED’s noise function to generate the numbers, but there’s a whole lot more going on here. As he explains in the excellent video after the break, if you want to animate these values, you just add another dimension of them. Although [fungus amungus] is using a Trinket Pro and a NeoPixel ring, we think a simplified version could be done with a Circuit Playground Express using the built-in LEDs.

If you want to do it the hard way, start by making your own NeoPixel ring.

Once upon a time, there was a music venue/artist collective/effects pedal company that helped redefine industry in Williamsburg, Brooklyn. That place was called Death By Audio. In 2014, it suffered a death by gentrification when Vice Media bought the building that DBA had worked so hard to transform. From the ashes rose the Death By Audio Arcade, which showcases DIY pinball cabinets made by indie artists.

Their most recent creation is called A Place To Bury Strangers (APTBS). It’s built on a 1959 Gottlieb Mademoiselle table and themed around a local noise/shoegaze band of the same name that was deeply connected to Death By Audio. According to [Mark Kleeb], this table is an homage to APTBS’s whiz-bang pinball-like performance style of total sensory overload. Hardly a sense is spared when playing this table, which features strobe lights, black lights, video and audio clips of APTBS, and a fog machine. Yeah.

[Mark] picked up this project from a friend, who had already cut some wires and started hacking on it. Nearly every bit of the table’s guts had to be upgraded with OEM parts or else replaced entirely. Now there’s a Teensy running the bumpers, and another Teensy on the switches. An Arduino drives the NeoPixel strips that light up the playfield, and a second Uno displays the score on those sweet VFD tubes. All four micros are tied together with Python and a Raspi 3.

If you’re anywhere near NYC, you can play the glow-in-the-dark ball yourself on July 15th at Le Poisson Rouge. If not, don’t flip—just nudge that break to see her in action. Did we mention there’s a strobe light? Consider yourself warned.

Want to get into DIY pinball on a smaller scale? Build yourself a sandbox and start playing.

Pi Time is a psychedelic clock made out of fabric and Neopixels, controlled by an Arduino UNO. The clock started out as a quilted Pi symbol. [Chris and Jessica] wanted to make something more around the Pi and added some RGB lights. At the same time, they wanted to make something useful, that’s when they decided to make a clock using Neopixels.

Neopixels, or WS2812Bs, are addressable RGB LEDs , which can be controlled individually by a microcontroller, in this case, an Arduino. The fabric was quilted with a spiral of numbers (3.1415926535…) and the actual reading of the time is not how you are used to. To read the clock you have to recall the visible color spectrum or the rainbow colors, from red to violet. The rainbow starts at the beginning of the symbol Pi in the center, so the hours will be either red, yellow, or orange, depending on how many digits are needed to tell the time. For example, when it is 5:09, the 5 is red, and the 9 is yellow. When it’s 5:10, the 5 is orange, the first minute (1) is teal, and the second (0) is violet. The pi symbol flashes every other second.

There are simpler and more complicated ways to perform the simple task of figuring out what time it is…

We are not sure if the digits are lighted up according to their first appearance in the Pi sequence or are just random as the video only shows the trippy LEDs, but the effect is pretty nice:

 


Filed under: Arduino Hacks, led hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook