Wireless Microphone Architecture for Birdnet-Pi and Insetnet-Pi? #574
Replies: 9 comments 8 replies
-
Hey @Astrobirder At the moment, because of some pulseaudio issues with my orange pi. I use an old rpi3 to stream via rstp over the network, and connect via the rstp stream option in configs with and address like this "tcp://birdnetmicrophone:5002". Works pretty well, but sometimes if wifi goes down, birdnet will go haywire and stop just store all the wav files without actually analysing them. |
Beta Was this translation helpful? Give feedback.
-
You probably have seen these already, if not they might be worth a look: |
Beta Was this translation helpful? Give feedback.
-
Great idea! The large disadvantage of a wireless mic is -of course- that you need a separate power supply in your garden/backyard etc.
Regarding different models for different species groups: Well, there is only ONE model for the BirdNET-Pi: BirdNET-Lite and thats for birds. I would buy an ESP32 LyraT and experiment with it. I have some experience in microcontrollers, but have never used ESP32, so I expect a rather steep learning curve ;-) |
Beta Was this translation helpful? Give feedback.
-
The cheapest: |
Beta Was this translation helpful? Give feedback.
-
Hey guys have a look at this: |
Beta Was this translation helpful? Give feedback.
-
Hi All - I just built a remote microphone using an example found here: https://github.com/pschatzmann/arduino-audio-tools I used this example: https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/sandbox/streams-i2s-webserver_aac You'll need to install this library as well: https://github.com/pschatzmann/arduino-fdk-aac |
Beta Was this translation helpful? Give feedback.
-
The device you linked to should work. I have a board on its way to me from China that has a 3.5mm jack that I'm planning to connect a cheapo lav mic to, and maybe gin up a parabolic dish for it. I found some web page showing the use of a dished round plastic garbage can lid for that purpose. https://www.amazon.com/dp/B09CDCLXQC?psc=1&ref=ppx_yo2ov_dt_b_product_details The library mentioned in the video you linked to is the one I'm using. It seems to work well. The author of the library suggested not using AAC, but rather using something that requires less horsepower to encode like SBC. His library has an SBC encoder but I haven't tried it out yet - waiting for the board. The mic built into my camera works OK but the audio stream is a pretty low sampling rate. Higher sampling rate should mean better capture of high frequencies. I mentioned above but I'll mention it again - rtsp does not seem to be required - a straight http stream works fine. There might be more lag between when the sound is received and when it was produced but that doesn't seem critical for this use case. |
Beta Was this translation helpful? Give feedback.
-
Anyone here have updates to share on progress over the past 7-8 months? This is exactly what I am interested in having given the extreme summer temperatures we had in North Texas last year. |
Beta Was this translation helpful? Give feedback.
-
What is Insetnet-Pi? Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello,
At the suggestion of @nilspupils, I'm splitting out this discussion from @DD4WH 's Microphone thread.
I've been considering a different architecture for my birdnet-pi installation from a microphone standpoint: placing the RPi indoors and connecting the microphones wirelessly. This would allow for a better environment for the RPi (don't have to deal with high heat in summer, especially for the RPi4, as well as a greater degree of electronic and audio isolation: electronically from a power supply noise standpoint and audio wise with respect to potentially having a fan cool the pi. It would also facilitate updating the pi and make maintenance easier.
Specifically I was thinking about having the microphone connected to an ESP32 or possibly arduino. As for transport, I'd use either WiFi (RTSP) or possibly BLE with LC3 if it turns out to be good enough from a quality standpoint. I know that there is a port of the LC3 for Arduino that was done by Phil Schatzmann (https://github.com/pschatzmann/arduino-liblc3). The ESP32/arduino could then be powered with solar/battery setups. I have experience with Bluetooth classic and the rather poor SBC codec, so I'm a bit leery of this approach, so I'd appreciate the thoughts of the community. Maybe Frank (@DD4WH) or Nils (@nilspupils) has played with these?
Another interesting idea would be to potentially use the auracast feature of LE Audio to allow for various birdnet pi's to listen to the same microphone(s) with different learning models. For example adding an insect-focused model instead of the bird-focused model yet only having to deploy a single microphone setup.
Ideas? Suggestions?
Beta Was this translation helpful? Give feedback.
All reactions