Bat detector

Hi Sam,
DId you look at the specs of the audioshield ? https://www.pjrc.com/store/teensy3_audio.html
That tells you all about how this works. We use the SPU0410 in conjunction with that board.

cheers
Cor
Hi Cor,

Yes, I've read. My question is how do you wire the SPU0410 to Teensy? I am using SPH0641LU4H-1 incorporated in a PDM interface (https://www.elecrow.com/digital-mems-microphone.html). How can I wire this https://pt.mouser.com/ProductDetail/Knowles/SPU0410LR5H-QB?qs=ZBAH5PeHI6spSaDz04PSrQ== ? Do I have to make my own PCB?
 
You can see at Edwins teensybat.com site how its wired (look at the parts section). Its very simple and its easier when its allready on a PCB as these are tiny microphones. The SPU is thus simply wired to the microphone input line on the audioshield. Using a pre-amp can be handy. But this is depending on your own design and application.

BTW: the SPU0410 documentation on Mouser also shows you how these microphones are connected.
 
Last edited:
If you really wanted to use a PDM microphone (e,g. using the elecrow breakout board) you should first understand what PDM really is. Next, I would check how the board is interfaced to the STM32L4 board. Further, I would implement the CIC filter and resampling algorithm from the STM32 board.
I guess, you can do the PDM bit-stream to digital word conversion in software, or get yourself an ADC board that accepts also PDM microphones. TI has some chips. AFAIK, the SGTL5000 is not one of these.
 
Last edited:
Hi,

Version 1.71 seems to still cause intermittent issues when using Deepsleep. Several people have experienced that the machine did not recover from deepsleep without first switching it on/off. The cause of this issue is currently unclear and since its intermittent its something that is difficult to solve. The most likely solution will be a complete rebuild of all the new functionality but based on the V1.6 code that does not have the deepsleep issues. If you use deepsleep a lot, start using V1.6 to make sure you dont loose recordings.

cheers
Cor
 
Hi,

I’ve just noticed a link on the TeensyBat homepage for “New hardware without backup battery”, but it just links to the Software page. Would be great to have a version that didn’t need a backup battery – maybe you could use a super cap for the RTC instead.

Regards,

David
 
Hey all, I know that this has been discussed before, but I wonder if we might be able to cooperate with "BirdNet". This is an app which allows you to record then upload a sample of recorded bird call sounds and it will process it in the cloud and return to you a guess as to what it was heard. It was done by a group of people with some funding from various sources. I wonder if their technology could be adapted to the recognition of bat species? Just a thought.
 
Hi,

is there any recommendations about software that runs on a current Mac, to analyse and maybe listen to batcalls from the teensybat?

all the best
Rainer
 
Hey all, I know that this has been discussed before, but I wonder if we might be able to cooperate with "BirdNet". This is an app which allows you to record then upload a sample of recorded bird call sounds and it will process it in the cloud and return to you a guess as to what it was heard. It was done by a group of people with some funding from various sources. I wonder if their technology could be adapted to the recognition of bat species? Just a thought.
Hi,

That is allready possible see https://www.bto.org/our-work/science/research-areas/acoustic-monitoring
 
Thanks for those tips !! Is Kaleidoscope Lite also available for Mac as thats what the user was asking for.
 
Hello everyone,
I have a question about ultrasonic speakers.
I've built my own bat detector, and now I want to test it using the audio files from https://www.teensybat.com/bat-species, but I need an ultrasonic speaker to do so, which is difficult to obtain.
Do you have any suggestions on how I can play those sounds?
 
Hello everyone,
I have a question about ultrasonic speakers.
I've built my own bat detector, and now I want to test it using the audio files from https://www.teensybat.com/bat-species, but I need an ultrasonic speaker to do so, which is difficult to obtain.
Do you have any suggestions on how I can play those sounds?
You can play high frequency sounds with a fast USB soundcard (384Khz) and a program lik Audacity, in windows change the sound properties to 384000 Khz for playback.

The USB soundcard can connect to a headphone and you headphone speakers probably have a reasonable high frequency response, but the signal is weak.
Alternatively you could add an amplifier like a TDA20230 board and ribbon tweeter. (I removed the Zobel network from the amplifier)

These USB soundcarsds usually do allow fast playback, but check the specifications. Many do 384Khz, unfortunately recording usually is limited to 44.1 or 48kHz.
 

Attachments

  • ultrasound player.jpg
    ultrasound player.jpg
    85.7 KB · Views: 96
Hello everyone,
I have a question about ultrasonic speakers.
I've built my own bat detector, and now I want to test it using the audio files from https://www.teensybat.com/bat-species, but I need an ultrasonic speaker to do so, which is difficult to obtain.
Do you have any suggestions on how I can play those sounds?
No need for ultrasound playback to test a detector! Just use a key Ring, 🔑 it produces very loud ultrasound.
But of course Edwin is correct: in order to playback ultrasonic wavs, you need considerable effort. But in the northern hemisphere, at this time of the year, there is no lack of bats at night all ready to test your detector. 😀
 
Hi All. I just put together my device and it is working great. So much fun to hear the bats all around my neighborhood. I have a question about the Option #2 switch. I went ahead and added the switch and now I am trying to figure out what it does. In the construction manual it is mentioned 2 times:

"Option 2 is an extra switch to bypass the high-pass filter (the hardware high-pass filter does not cut but only dampen the lower frequencies). (SK12F14 5mm handle)"

and

"2nd An extra swith to bypass the lowpass filter in the hardware. This
lowpass filter is not a very steep and deep filter. I does surpress low
frequency sounds a bitm so there is less chance of harmonics for low
frequencies. This switch can bypass this filter.
If you do not need a switch and do not want a high-pass filter you can
close solder-jumper SJ3"

So which is it and what position does the switch need to be to do the "bypass"?
 
Hey all,

I thought I would document this here. If you are trying to update the firmware on the device without pushing the programming button, first take out the SD Card, and then plug in the Teensy USB to your computer. The device will simply boot up and start running instead of going into Media Transfer Mode. You can then set the Teensy.exe to automatic mode and select the .hex file then use reboot.exe to get the device to reboot. Teensy will then be able to do the programming without having to push the programming button.
 
You might consider using Kaleidoscope full version by WildlifeAcoustics, it has Classification of NA bats built in. Not cheap, however. I do not know about open source classifiers for North America, but there might be ....
 
Well, the main reason I did not buy their device is it cost $349, so to buy their software for the same amount while using the TeensyBat seems like a huge waste. I will try to setup the Open Source classifier in a Docker container and see where I get. Thanks!
 
Hi all,

last night I have for the first time tried to autorecord via the sunset / sunrise parameters and deep sleep.
It worked for the first half of the night, apparently until the date change was due.
I do not find a folder for the following day (today) and no files were recorded after midnight.
Also I can not replay any files but from two folders that are from 2023. When I try to change the root folder, it only shows these two old ones and the number of files keeps blinking (as if it was constantly reading it).
I have looked on the card with an external card-reader and can still see all folder from before.

Does anyone have a recommendation on how to handle this? Do I have to reformat the card? How does it have to be formatted?
And additionally and maybe connected: I am on a Mac and can not see the files on the card when I try to just connect the teensy via usb. It powers up but does not mount as a usb drive. Can I also do something about that?

all the best from south-western germany
Rainer
 
Back
Top