Andrew Zonenberg on Nostr: Fun engineering/privacy problem: design a device that plugs into an ESP32 based ...
Fun engineering/privacy problem: design a device that plugs into an ESP32 based sensor node that has a microphone and reports ambient noise levels in dBa via MQTT or similar.
That's the easy part.
The hard part is to do so in a way that you can prove it's incapable of being used as a bug/listening device even in the worst case scenario (attacker running arbitrary code on any programmable component).
My initial thought is to record audio from a MEMS mic into a tiny MCU with limited RAM capacity, then report results to the main system processor through some kind of R-C low pass filter that only lets like one bit per second pass through.
Or maybe a bank of analog filters and peak hold blocks? I want proper weighted dBa.
Published at
2026-05-15 03:04:08 UTCEvent JSON
{
"id": "59d633e17024afa36641f7f4aa005824c56e3a8507f7c83617a6856e2c25568e",
"pubkey": "c35a8fae05a838b863707803bb1fdfcfcbb39adcf01ee1a9fc52ef44998ce4c0",
"created_at": 1778814248,
"kind": 1,
"tags": [
[
"proxy",
"https://ioc.exchange/users/azonenberg/statuses/116576370580620896",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Fun engineering/privacy problem: design a device that plugs into an ESP32 based sensor node that has a microphone and reports ambient noise levels in dBa via MQTT or similar.\n\nThat's the easy part.\n\nThe hard part is to do so in a way that you can prove it's incapable of being used as a bug/listening device even in the worst case scenario (attacker running arbitrary code on any programmable component).\n\nMy initial thought is to record audio from a MEMS mic into a tiny MCU with limited RAM capacity, then report results to the main system processor through some kind of R-C low pass filter that only lets like one bit per second pass through.\n\nOr maybe a bank of analog filters and peak hold blocks? I want proper weighted dBa.",
"sig": "7402c1ab05e907c5ca2bdb1aa38b2aca7f0b4efedfa1139db3c60ce9c5849d8ca55d828a8ec9199e8a5daf1af548100198d2e3af64de11fd0911f99d86f5948c"
}