DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 963,274 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for El Carrillon: playing MIDI songs on an 18-bell tower with a Raspberry Pi and Smalltalk
Mariano Martinez Peck
Mariano Martinez Peck

Posted on • Originally published at marianopeck.blog on

El Carrillon: playing MIDI songs on an 18-bell tower with a Raspberry Pi and Smalltalk

Some time ago I blogged about a fantastic project Gerardo Richarte and I were doing with an 18-bell tower located in Argentina.

Back then, I showed some details of the architecture, code, and how I mocked-up β€œEl Carrillon” with a homemade LED piano so I could test it at home.

In this post, you will see it running live and read some great news about the project!

Playing live at β€œLa Fiesta Nacional de la Flor”

β€œEl Carrillon” had to play not only during my LED piano testing, but also on the real hardware with real bells during a huge event last November called: β€œLa Fiesta Nacional de la Flor”.

We first started testing at home with the real hardware, but without the bells to confirm the GPIOs were responding correctly:

Liquid error: internal

Once that was working, the next obvious step was to move to production and test with physical bells!! The mechanical/hardware part of some bells needed repair, so it took some time until we were able to test in-person. Once we did, everything worked as expected and without much trouble.

Deploying was really easy thanks to the β€œimage” concept of Smalltalk and a few bash scripts that we had prepared.

The good news is that it worked and was a huge success, see below:

Liquid error: internal

Won 3rd place at the Innovation Technology Awards at ESUG 2019

We presented this project at the Innovation Technology Awards at ESUG 2019 held in Koln, Germany. Below is the teaser video we submitted before the competition:

Our efforts were worthwhile as we won 3rd place! Thanks to all that voted for us!

Liquid error: internal

Conclusion

I personally believe this was a great example of using IoT and Smalltalk. We used VAST (VA Smalltalk) for managing the GPIOs, running the web application, and all within a Raspberry Pi Zero.

VAST has great development and debugging tools, minimal Smalltalk images, good GPIO libraries, and excellent ARM support.

Let’s do more IoT projects with Smalltalk!!!

PS: The official Raspberry Pi twitter account did like our project! :)

Liquid error: internal

Top comments (0)

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›