Establish Hen Sounds With BirdNET-Pi on Raspberry Pi

You might nicely have seen varied chook species in your yard or backyard, however there could be many extra roosting close by that you’ve solely heard. To determine them, you do not should be an professional in ornithology, nonetheless: all that is required is a Raspberry Pi outfitted with a mic and the BirdNET-Pi software program.

The latter listens 24/7, analyzing recordings utilizing machine studying to determine chook calls and sounds. Hen detections are added to a database and might be considered and heard simply by way of a useful net interface. This is easy methods to arrange a listening station.


What You may Want

On your chook detection station, you will want the next gadgets:

  • Raspberry Pi 4, 3B+, or Zero 2 W
  • microSD card (16GB or higher beneficial)
  • Microphone (with USB connector or by way of a USB sound card)

Whereas it’s attainable to make use of an ultra-low-cost mini USB mic dongle, the sound high quality will not be nice, so it is advisable to make use of a greater mic. For our station, we used a reasonably cheap lavalier condenser mic—see our information to one of the best funds lavalier microphones. We plugged its 3.5mm jack plugged right into a USB sound card adapter.


For greatest outcomes, the mic must be an omnidirectional one in order that it might detect sounds from each path. For extra recommendation on mics, see the BirdNET-Pi mic options web page.

Step 1: Set up the Software program

To run BirdNET-Pi, you will have the 64-bit Lite model of Raspberry Pi OS. In Raspberry Pi Imager, you will discover Raspberry Pi OS Lite (64-bit) after clicking Select OS and Raspberry Pi OS (Different). As well as, you’ll wish to use Imager’s superior settings to allow SSH and configure the Wi-Fi connection. For extra particulars, take a look at our information on easy methods to set up an working system on a Raspberry Pi.

See also  3D Printer Fumes: Are They Harmful to Your Well being?

Within the superior settings of Raspberry Pi Imager, you may change the hostname to birdnetpi.native or one thing just like make it simpler to search out in your wi-fi community.

Now energy up your Raspberry Pi. If it is not linked to a monitor, you need to use SSH to entry it from one other pc (utilizing the Terminal on Linux/Mac, or PuTTY/PowerShell on Home windows). To put in BirdNET-Pi, enter the next command on the terminal:

curl -s https:

It can take round 10-Quarter-hour to finish the set up, earlier than mechanically rebooting the Raspberry Pi.

If utilizing a Raspberry Pi Zero 2 W, you will have to enter some extra instructions earlier than putting in BirdNET-Pi. Discover the main points on the BirdNET-Pi wiki.

Step 2: Entry the Net Interface

When the Raspberry Pi has rebooted, it would mechanically run an internet server that you would be able to entry from every other gadget in your wi-fi community. Simply level a browser to http:// adopted by the Raspberry Pi’s hostname (or IP handle); e.g. http://birdnetpi.native. You’ll then see the BirdNET-Pi net interface.

For extra concepts on easy methods to use your Raspberry Pi within the wild, together with a chook field digicam, take a look at our enjoyable rugged Raspberry Pi tasks to construct for the outside.

Step 3: Take a look at Your Mic

Plug your microphone into Raspberry Pi, by way of a USB sound card adapter if wanted. To verify it is working, click on on Stay Audio on the prime proper of the net interface; you will have to log in with the default username birdnet and no password to entry it. With the quantity turned up, it’s best to be capable to hear the sound out of your mic. If not, verify your mic connection; if it is by way of a USB sound card, you could want to make use of a TRS/TRRS jack adapter to match the latter’s enter.

See also  The right way to Make Your Personal NFC Enterprise Card


If the quantity is a bit low or there’s an excessive amount of background noise, you may modify the sound enter stage for the mic. To take action, choose Instruments from the BirdNET-Pi net interface, then Net Terminal to log into your Raspberry Pi by way of SSH. Then enter the command alsamixer -m to carry up the sound settings. Press F6, choose USB Audio Machine, press F4, and modify the Seize stage for the mic.

Step 4: Hen Detecting

With a working mic positioned exterior (ours is simply hanging out of a window), BirdNET-Pi ought to quickly begin detecting birds from their sounds recorded by way of the mic. New detections will seem on the Overview display of the net interface. You may additionally see a chart on the prime for the highest ten species detected for that day.

To see what is going on on below the hood, go to the View Log display. You may then be capable to see BirdNET-Pi analyzing the present audio recording in real-time, assigning confidence scores to numerous chook species.

Every chook detection features a spectogram and an audio recording you may hearken to. Clicking on the chook’s Latin identify takes you to its Wikipedia entry. The Day by day Detections display reveals all detection for the present day. You may as well browse the Recordings part by species or date, and think about detailed Species Stats.

Step 5: Add Pictures

To mechanically add photos to your chook detections, you want to hyperlink as much as Flickr. Within the BirdNET-Pi net interface, go to Instruments > Settings and click on on the hyperlink there to acquire a Flickr API key. Again in Settings, paste it into the related subject and click on Replace Settings.

Whereas on the Settings display, double-check your location’s Latitude and Longitude by clicking on the hyperlink to search out your co-ordinates on a map.

Step 6: Add Information to BirdWeather

BirdWeather is a citizen science mission that collates chook detections from all over the world and reveals them on a map. You’ll be able to hyperlink your BirdNET-Pi detecting station as much as it. On the BirdNET-Pi Settings display, click on on the hyperlink to acquire a BirdWeather ID; this can generate an electronic mail to ship to the administrator.

When you obtain your ID, paste it into the sector in Settings after which click on Replace Settings. Your station ought to quickly seem on the BirdWeather website, the place you may choose it to view its stats and hearken to recordings.

A Raspberry Pi Undertaking for the Birds

You now have a working listening station that may detect chook species from their calls. Utilizing the net interface, or BirdWeather if linked up, you may browse all of your detection knowledge and get a good suggestion about which chook species reside in your locale. It actually does offer you an enchanting perception into the pure world.

By organising a cellular hotspot in your smartphone with the identical SSID as your Wi-Fi router, you may even use BirdNET-Pi on subject journeys to find extra birds. As well as, you may arrange notifications of recent detections from round 70 providers within the settings. Pleased birding!