Helping an artist with a Morse code protest chant installation in Denmark

A few months ago, I got an email from a Sweden-based artist and teacher named MC Coble asking if my Morse code laser post could be helpful for an art installation they were working on. MC used Morse code in previous installations like one in Toronto where they sent coded light from a giant dome to people below who then relayed signals with flashlights. As a part of a new project, MC wanted people to be able to enter protest chants into a website and then have a system convert the message to code and flash a light in a gallery window. Did I want to help? You bet I did!

I got super excited about the prospect of helping with this and knew that with a combination of things I’ve used before it would be really doable. The plan was to have a webserver accept messages from a form and transmit them to a Raspberry Pi (cheap mini-computer), which would then flip pins on a relay to blink the light, like this:

A diagram showing the flow from user input through a webserver through MQTT to a raspberry pi and into a relay connected to a light.
The parts of the planned system working together

After many emails and some ups and downs, everything worked! This really feels like how the internet is supposed to work.

The Setup Process

First I gave MC a shopping list:

  • A Raspberry Pi to be the brains of the operation, accepting incoming messages, converting them to code, and triggering the on/off action of the light. I told them to get one in a kit like the ones from Canakit or similar.
  • A relay board like this to convert the weak digital pulses from the Pi into actual switching on and off of a bright light.
  • A light to blink. I told MC to consider just getting something like a strip of 12V LEDs so MC could stick them in any shape they wanted
  • A power supply for the LEDs (basically a wall wart, usually sold nearby wherever you buy the light from)

There was a lot to do.

HARDWARE WORK

MC, having conceived of the system and being there to build it, had to do all the hardware. This involved:

  • Connect the GPIO pins of the Pi correctly to the relay
  • Modify the wires of the light’s power supply to allow the relay to control the circuit
  • Connect the light power supply wires to the relay
  • Build the display at the gallery
MC’s equipment all set up

A few trips to the electronics store later (I forgot to tell them to buy little wires), they had it all rigged up for me to swoop in over the internet and build the control software.

SOFTWARE WORK

I’ve done lots of automation, command/control, relay work in software so I knew that if I could remote-access the Pi,  we could get things running relatively easily. Getting me that access required that MC open up a port on their router and set up the Raspberry Pi to listen for me knocking (including flashing Raspbian onto the SD card and setting up headless wifi and ssh). MC figured out how to do that all and I ssh’d in; it worked! Then the software work entailed:

  • Write a CGI script on the web server to process submissions and forward them to the Pi via the MQTT protocol.
  • Update my Morse Code library so it worked with some Swedish and Danish letters (MC’s partner tried typing a few chants and quickly crashed it before this)
  • Write a Python program to run on the Pi that would listen for incoming messages and then convert them to Morse code and trigger the relay accordingly
  • Make sure the Pi connects to wifi and turns on the driver program when it boots up
  • Iterate with the controller program to get the right effects (like looping over previous few chants).
  • Make a control panel website so MC can control and fine-tune the display once it’s installed
  • Set up cron jobs on the server to turn the system off at night and back on in the morning

The program on the Pi got slightly more complicated than I was totally comfortable with since I knew it’d be hard to update it once it was installed. It has a thread listening for incoming messages and another one flipping the relay. But MC tested it out pretty well before installing in and I feel pretty good. MC sent me a video of the first blinks:

The Art Installation

MC’s installation, ACTING IN NUMBERS is at Galleri Image in Aarhus, Denmark, from Jan. 12 to Feb. 25th, 2018. The blinking protest chant light is just one little element to the project. Here’s a video of it that MC took during setup:

SO COOL!!!!

The process

Here’s a wordcloud of our emails back and forth.

Wordcloud of all the correspondence between artist MC and I

I really had a great time with this and am honored to have been part of a cool art installation halfway around the world. (Thanks MC!) So, if you’re around Denmark this month, go check it out and submit a protest chant!

UPDATE (2018-09-01) Another bigger version of this project was built and installed (also by MC) for the SHOUT FIRE exhibit at the Röda Sten Konsthall, in Göteborg, Sweden.

A second installation of this system (installation and photo by Mary Coble)
A second installation of this system (installation and photo by MC Coble)

Leave a Reply

Your email address will not be published.