NoiseMeter: Difference between revisions

From RevSpace
Jump to navigation Jump to search
Line 94: Line 94:
This thing has a bluetooth interface.
This thing has a bluetooth interface.


It exposes the following services:
In short, as I interpret it:
* a basic information service, like all BLE devices have
* a service related to bluetooth parameters, also looks fairly standard, and not related to the measurements themselves
* a custom vendor-specific service, where I suspect the noise-meter specific data is
 
<pre>
* service 00001801-0000-1000-8000-00805f9b34fb: Generic Attribute Profile
* service 00001801-0000-1000-8000-00805f9b34fb: Generic Attribute Profile
** ...
** ...
Line 137: Line 142:
** characteristic: 0000fff2-0000-1000-8000-00805f9b34fb Write
** characteristic: 0000fff2-0000-1000-8000-00805f9b34fb Write
** characteristic: 0000ffe0-0000-1000-8000-00805f9b34fb Read, typically 00000001010000000190146821100048
** characteristic: 0000ffe0-0000-1000-8000-00805f9b34fb Read, typically 00000001010000000190146821100048
 
</pre>
In short, as I interpret it:
* a basic information service, like all BLE devices have
* a service related to bluetooth parameters, also looks fairly standard, and not related to the measurements themselves
* a custom vendor-specific service, where I suspect the noise-meter specific data is

Revision as of 07:38, 21 April 2024

Project NoiseMeter
File:NoiseMeter.jpg
Measuring audio noise as citizen science
Status Initializing
Contact bertrik
Last Update 2024-04-21

Introduction

This project is about measuring environmental audio noise as citizen science.

For example, noise can be:

  • road traffic noise (cars, mopeds, etc)
  • air traffic noise,
  • industrial noise, like building activities

Existing sound/noise meter projects:

This project page considers a kind of clone of the Amsterdam Sounds project.

Other interesting stuff:

Hardware

Nano33 IOT

Nano33 IOT pinout

Hardware is a nano33 iot board.

Connections
SPH0645 nano33 iot Remark
SEL - leave unconnected
LRCK A2 (16) - I2S FS sample clock
DOUT D4 (4) - I2S SD data
BCLK A3 (17) - I2S SCK bit clock
GND GND
3V 3v3

Software

The software is based on Arduino, a kind of clone of the Amsterdam Sounds project, modified to use WiFi (instead of LoRa), written by Rene Kuijf.

My modifications consist of a platformio configuration, for easy building.

See AdamSoundsInflux-slim-nano-33 github repo for the source code.

Casing

Microphone protection

To protect the microphone, use a membrane, like:

Junction box

Simple junction boxes sold by Gamma:

A downward pointing hole can be used for an 868 MHz LoRaWAN antenna.

Sensor.community casing

See https://sensor.community/docs/dnms/dnms-noise-measuring-dn40-result.jpg

Dimensions:

  • microphone is on a half inch (12.7 mm OD) white polystyrene pipe, 115 mm long
  • main piece is 25mm, length 160mm
  • some other connecting piecess

"RIVM" test casing

Exact dimensions unknown, see photo on this page: https://samenmeten.nl/nieuws/citizen-science-geluidmetertest-op-rivm-terrein

My guess:

  • microphone is on a 10mm diameter pipe, length 100mm
  • main case is a 40mm diameter pipe, length 200mm

Experiments

Uni-T UT353 BT noise meter

This thing has a bluetooth interface.

In short, as I interpret it:

  • a basic information service, like all BLE devices have
  • a service related to bluetooth parameters, also looks fairly standard, and not related to the measurements themselves
  • a custom vendor-specific service, where I suspect the noise-meter specific data is
* service 00001801-0000-1000-8000-00805f9b34fb: Generic Attribute Profile
** ...
* service: 0000ff12-0000-1000-8000-00805f9b34fb: Unknown
** characteristic: 0000ff01-0000-1000-8000-00805f9b34fb Unknown
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb Characteristic User Description "Data In"
** characteristic: 0000ff02-0000-1000-8000-00805f9b34fb Unknown
*** descriptor: 00002902-0000-1000-8000-00805f9b34fb Client Characteristic Configuration
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb Characteristic User Description "Data Out"
** characteristic: 0000ff03-0000-1000-8000-00805f9b34fb Unknown
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb Characteristic User Description "Baud Rate"
** characteristic: 0000ff04-0000-1000-8000-00805f9b34fb Unknown
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb Characteristic User Description "Link Interval"
** characteristic: 0000ff05-0000-1000-8000-00805f9b34fb Unknown
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb Characteristic User Description "Pair code"
** characteristic: 0000ff06-0000-1000-8000-00805f9b34fb
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb "BT Name"
** characteristic: 0000ff07-0000-1000-8000-00805f9b34fb
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb "Pair Code En"
** characteristic: 0000ff08-0000-1000-8000-00805f9b34fb
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb "Adv interval"
** characteristic: 0000ff09-0000-1000-8000-00805f9b34fb
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb "TX Power"
** characteristic: 0000ff0a-0000-1000-8000-00805f9b34fb
*** ... "MCU Delay"
** characteristic: 0000ff0b-0000-1000-8000-00805f9b34fb
*** ... "Mode Control"
** characteristic: 0000fff0-0000-1000-8000-00805f9b34fb
*** ... "Factory Set"
** characteristic: 0000fff1-0000-1000-8000-00805f9b34fb
*** descriptor: 00002901-0000-1000-8000-00805f9b34fb "Reset"
* service: 0000180a-0000-1000-8000-00805f9b34fb Device Information
** ...
* service: 0000d0ff-3c17-d293-8e48-14fe2e4da212 Vendor specific
** characteristic: 0000ffd1-0000-1000-8000-00805f9b34fb Write
** characteristic: 0000ffd2-0000-1000-8000-00805f9b34fb Read, typically 40C1F6049BD7
** characteristic: 0000ffd3-0000-1000-8000-00805f9b34fb Read, typically 01901468
** characteristic: 0000ffd4-0000-1000-8000-00805f9b34fb Read, typically 21100048
** characteristic: 0000ffd5-0000-1000-8000-00805f9b34fb Read, typically ...?
** characteristic: 0000ffd8-0000-1000-8000-00805f9b34fb Write
** characteristic: 0000fff1-0000-1000-8000-00805f9b34fb Read, typically 0501000700080000F00F0000
** characteristic: 0000fff2-0000-1000-8000-00805f9b34fb Write
** characteristic: 0000ffe0-0000-1000-8000-00805f9b34fb Read, typically 00000001010000000190146821100048