A Very Moddable Holiday Wreath
It's unusual for a holiday wreath to have a feature list, but this is no ordinary wreath. It has three different modes for animating the lights. The animation changes automatically every minute, and can be advanced by pressing a button. The wreath streams Christmas carols continuously from the cloud.
This is an IoT wreath, continuously connected to the cloud. The wreath publishes the current animation mode and song to MQTT so you can monitor its state from anywhere in the world. You can also remote control the wreath using MQTT to change the animation and song.
Our Christmas wreath looks and sounds great in our front office window. But what's really interesting is the technology behind it.
The Christmas carol sounds files are too big to fit into the ESP32-S3 module, so they are stored in the cloud. The wreath streams the WAVE files using our new HTTP audio streaming module.
The ESP32-S3 is the new flagship microcontroller from Espressif and we've been working throughout the year to deepen our support for it. The wreath is our first project to use its new PDM audio output capability which can eliminate the need for an external I²S component. The audio quality is excellent and the cost is less.
To get a feel for what working with Node-RED looks like, there's the Node-RED flow for the wreath.
Each block contains additional details, but just by looking at their names and how they are connected together, you get a good sense of what the project does. To dig deeper on the details of the wreath project, check out the announcement page on the Node-RED MCU Edition repository on GitHub.
Moddable believes Node-RED is a great complement to our Moddable SDK, providing a friendly on-ramp for developers getting started on embedded and powerful tools for experienced developers. We'll be doing more with Node-RED MCU Edition in 2023.
Fun projects like our Moddable holiday wreath are opportunities to try something new and learn a few things along the way. The Moddable team used this project to stress test some of our latest additions to the Moddable SDK. The large feature list of the wreath motivated us to improve our Node-RED skills to create a relatively simple flow. If this project inspires you to try your own experiments using the Moddable SDK, we're here to support you and we'd love to see your results.