Christmas hacking with Chinmay and EmbedHub

Chinmay had an idea for snowman with the Makerville Badge and a buzzer. As is typical with all good ideas, we started working on this too late but got it done just in time for Christmas this year.

Here’s the finished version –

Chinmay and I are not in the same city – so we had to work quickly, and remotely.

EmbedHub for collaboration!

  • I created an account for Chinmay (we are in a closed beta right now)
  • I created a new project, a new role in the project, and added Chinmay to this role
  • Next up, I quickly hacked up some firmware with a Badge that I had, but I didn’t have a buzzer handy – and this was already the 24th! So I didn’t have time to get one and solder it up. So I shared the firmware with Chinmay as it is and asked him to test since he had all the hardare ready to go.
  • Once he confirmed that the buzzer code was working, we went through a few more iterations of the firmware rapidly.
    • Added the Jingle Bells buzzer pattern
    • Linked it to a new button on GPIO 2
    • Synchronized the neopixel to the jingle so that it showed different colors!

No dev setup needed

Although Chinmay is familiar with Arduino, our Makerville Badge base firmware and the added modifications for Christmas were all in Zephyr. So we didn’t want to spend half a day setting him up for flashing the board, or communicating with it.

EmbedHub’s WebSerial tool was a no-setup-needed solution, where he was able to flash the firmware I was developing for him, and then immediately interact with it using the console.

So for example, the buzzer command that I added for him to test if the jingle sounded good, was a quick way for him to test if my firmware was working as expected with the buzzer he had.

Discover more from EmbedHub Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading