That is one ugly-looking ornament! Just one LED and an annoying buzzer – not very festive.
Although this prototype would make the Grinch proud, it’s a great starting point to learn about the ESP6288 board and how to connect it to the internet and a cloud service. If we can blink just one LED and get the buzzer to sound via WIFI then we know we’ll be able to add even more lights and sounds to send Christmas cheer to everyone that has the same ornament.
We start by building a second ornament, matching the connections of the first prototype. Then we take a look at the code blocks that make this work. There are a variety of platforms you can choose to program the ESP6288 but we’re going to continue building on what we know with the Arduino platform so much of the code will look familiar to you. Once the code is uploaded to both boards they should both receive the same inputs over WIFI using the cloud service.
If I press a button to light up the LED bulb on one device, then the bulbs on the other devices should also light up. And what’s more annoying than the sound of a piezo buzzer? 2 piezo buzzers going off that the same time!
With our prototype working, the next task is to Christmas-fy the buzzer by having it play our favorite classic Christmas song. You decide the song and we’ll compose it together using code during the next stream!
Want bigger, more in-depth projects?
JOIN THE WRENCH ARMY