Nightlife noise

A #MakeZurich hack


A project started at MakeZurich, sends average sound level to a device on The Things Network.

Let's measure the ambient level of coworking spaces (like the Impact Hub, where we started this project..), help folks find the quietest or loudest place to plug in!

This Arduino code averages the input from a digital sound sensor, and sends it to TTN at customisable rates.

After deploying the device, use this Payload Function to decode the data into JSON:

function Decoder(bytes, port) {
  var decoded = {};
  if (port === 1) decoded.level = (bytes[0] << 8) + bytes[1];
  return decoded;

Full documentation on the LM386 can be found at

As a stretch project, it could be fun to correlate the more detailed data to the soundtrack histograms of the demos we played.

Join the conversation on The Things Network Switzerland Slack team (if you haven't signed up yet, get your invite here). There is one channel per challenge, look for the ones prefixed with #mz-.

Latest update: 2017-02-13
Maintainer: oleg_lavrovsky

Launched at Make Zurich 2017 by