In the heart of the bustling city of Barcelona is a square that at first sight seems like an oasis of calm. The Plaza del Sol, as the name suggests, is a suntrap and the perfect place to while away a few hours.

The problem is that the square is just too popular and for many of the city’s young inhabitants has become the number one venue to meet friends and hang out until the small hours.

One resident said it was like living in a permanent party.

Even the shops around the square reflect its reputation for late-night carousing, selling beer, pizza and little else.

The situation had become unbearable for those with apartments around the square, who have lived with unacceptable noise levels for the past 20 years.

Step in Barcelona’s fabrication laboratory, one of a network of 1,200 workshops around the world that allow people to test out new designs and ideas, and build products and new technology using a range of cutting-edge tools. Labs share their designs online so that something built in Boston can be replicated in a lab in Shenzhen.

Families placed the sensors on their balconies and were able to demonstrate that night-time noise levels – with peaks of 100 decibels – were far higher than World Health Organization recommendations.

Armed with this information, the residents went to the city council, pressing them to rethink the use of the plaza.

Police now move people on at 23:00. Rubbish lorries, which had previously cleared up when the partygoers left in the early hours, have been rescheduled for the morning, and steps that provided seating for gatherers have now been filled with plant boxes.

“Now the square is not just for people who want to party at night,” said Mr Diez.

Read on on BBC