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.

Joined the team

29.10.2020 21:35 ~ loleg

Event finished

04.02.2017 17:00

Edited content

04.02.2017 16:55 ~ admin

Challenge posted

03.02.2017 22:22 ~ admin

Event started

27.01.2017 18:00
Contributed 6 years ago by loleg for Make Zurich 2017
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-.
Make Zurich 2017