Skip to content

About

Handheld device on a Raspberry Pi 3B with a microphone array and a camera. It works as acoustic camera, camcorder, drone detector and bird-sound recognizer. Includes Python software and a 3D-printable housing.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pi Multitool: handheld acoustic camera, camcorder and drone detector on a Raspberry Pi 3B

Pi Multitool is an open-source handheld device. A Raspberry Pi 3B reads a 6+1 microphone array, a camera and a display. The device works as an acoustic camera, a camcorder, a drone detector, a surveillance unit for motion and noise, and a bird-sound recognizer (BirdNET). Everything sits in one 3D-printable housing. The repository holds the Python software, the CAD files (STEP and STL) and the wiring guide. It also holds the firmware that makes the RP2040 an 8-channel USB microphone.

Exploded view of the 3D-printed housing: front shell, module carrier, diffuser ring, handle with TPU grip pads and back cover

Status: the housing is printed and the software runs on the real hardware. The display shows the drone detection mode. The screenshots below come from the PC simulation (--sim) with simulated microphones and camera. The web interface is in German.

The finished device

The printed Pi Multitool housing in a hand: the front with the microphone array ring and the camera, and the handle with the TPU grip pad The display of the Pi Multitool in drone detection mode with the direction plot, the probability bar and the list of last events, next to the keypad
The printed housing with the diffuser ring and the TPU grip pad The display in drone detection mode, next to the keypad

Modes

Mode What it does
Acoustic camera Shows a colour sound map over the live image. Records photo and video with the map.
Machine diagnosis Shows the sound map and the spectrum of the targeted spot. You listen in through headphones.
Camcorder Records video with sound. Tracks the speaker, makes time-lapse, starts on a clap or a whistle.
Drone detection Gives an alarm with a flashing light and a siren. The LED ring then shows the direction.
Surveillance camera Records on motion, with pre-roll.
Surveillance microphone Reports noises with their direction.
BirdNET Recognizes bird calls.

Web interface in the acoustic camera mode: live image with a colour sound map, the level of the loudest spot and the settings on the right

Machine diagnosis mode: sound map with the spectrum of the targeted spot below

Hardware

  • Raspberry Pi 3 B
  • Sipeed Mic Array 6+1
  • Raspberry Pi Camera Module 3
  • RP2040-Zero (works as an 8-channel USB microphone)
  • 3.5-inch DSI display
  • UPS HAT
  • Siren

Folders

Folder Contents
Dokumentation/ Manual (Word, German), soldering and wiring guide
CAD/Gehaeuse_V2/ Housing as STEP and STL, print parts, exploded view, parametric script
software/ Program, installation, firmware for the RP2040-Zero, YAMNet model

Quick start

The full guide is in Dokumentation/Pi_Multitool_Dokumentation.docx (German). The short version is in software/README.md.

To try the software on a PC without hardware, use Python 3.10 or newer:

  1. Install the packages: pip install numpy scipy opencv-python-headless pillow pyyaml flask qrcode
  2. Go to the folder: cd software
  3. Start the simulation: python -m multitool --sim
  4. Open http://localhost:8080 and set a password on first use.

Frequently asked questions

What is an acoustic camera?

An acoustic camera draws a colour map of the sound sources over a camera image. Here a microphone array finds the direction of the loudest sources with delay-and-sum beamforming. The software draws the map over the live video.

Can I build an acoustic camera with a Raspberry Pi?

Yes. This project uses a Raspberry Pi 3B, a Sipeed 6+1 microphone array, a camera module and a printable housing.

Does it detect drones?

It has a drone detection mode with an alarm and a direction display. It's a hobby tool, not a certified security system.

Does it work without internet?

Yes. The sound classification uses the included YAMNet model. BirdNET needs the optional runtime from install_extras.sh.

Can I try the software without the hardware?

Yes. Start it with python -m multitool --sim.

License

The own code, the CAD files and the documentation are under the MIT License.

Third-party parts keep their own licenses:

  • software/models/yamnet.tflite and yamnet_class_map.csv: YAMNet by Google, Apache-2.0
  • software/firmware/*.uf2: built from microphone-array-library-for-pico, MIT
  • Dokumentation/AED6-6+1 Mikrofon-Array … AliExpress.pdf: product page of the manufacturer, for information only

Keywords: acoustic camera, sound camera, DIY acoustic camera, microphone array, beamforming, Raspberry Pi 3B, Sipeed Mic Array 6+1, drone detection, BirdNET, YAMNet, surveillance, camcorder, 3D printable housing, STEP, STL, RP2040.

About

Handheld device on a Raspberry Pi 3B with a microphone array and a camera. It works as acoustic camera, camcorder, drone detector and bird-sound recognizer. Includes Python software and a 3D-printable housing.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages