in , ,

Arduino brings birthday cake to life

- Werbung -
Reading Time: 2 minutes

A good birthday cake is all about the decoration. Usually that comes in the form of fancy frosting, fondant flourishes, and crazy candles. But what if you got electronics involved? That’s the question Natasha Dzurny answered when she used an Arduino to bring a birthday cake to life with epic LED lighting.

WS2812B individually addressable RGB LEDs, commonly referred to by Adafruit’s “NeoPixel” trade name, are unique because a user can control the color and brightness of every LED in a chain through a single data wire. Each LED passes the data along to the next, with control commands going to the addressed LED. The user can control as many LEDs as they want using only a single digital I/O pin on a microcontroller.

- Werbung -
- Werbung -
– Werbung –
'; var unpack = true; if(viewport=tabletStart && viewport=landscapeStart && viewport=tabletStart && viewport=tabletEnd){ if ($wrapper.hasClass('.adace-hide-on-desktop')){ $wrapper.remove(); } } if(unpack) { $self.replaceWith(decodeURIComponent(content)); } } if($wrapper.css('visibility') === 'visible' ) { adace_load_63e23d47d6276(); } else { //fire when visible. var refreshIntervalId = setInterval(function(){ if($wrapper.css('visibility') === 'visible' ) { adace_load_63e23d47d6276(); clearInterval(refreshIntervalId); } }, 999); }

})(jQuery);

In this case, Dzurny used two Adafruit 8×32 flexible NeoPixel matrices and a NeoPixel strip. The matrices display animations and messages, while the NeoPixel strip sits atop the cake to accent a small disco ball. An Arduino Nano 33 IoT board controls all of those LEDs using the Adafruit GFX library. But while hundreds of LEDs can share a single data line, power distribution is more complicated and Dzurny had to break out power injection points.

Hier klicken, um den Inhalt von YouTube anzuzeigen.
Erfahre mehr in der Datenschutzerklärung von YouTube.

The cool thing about using NeoPixel matrices for a cake is that Dzurny was able to cover them in a thin layer of white fondant, which acts as a natural diffuser that blends right into the design. The messages are clearly visible, but party-goers wouldn’t even notice the LEDs underneath the fondant when they’re turned off.

- Werbung -

The post Arduino brings birthday cake to life appeared first on Arduino Blog.

Website: LINK

- Werbung -

Report

- Werbung -