hydrophone with pre-amp connected to Audio board

Good day,

I would like to connect a hydrophone with pre-amp (PIP) to the audio Shield (Audio Shield 4 Rev D). Can I simpy solder the wires to the MIC terminals? Where can I find the commands to set the SGT5000 Mic bias? I assume I will need to scale down gain on amplifiers of the SGT5000 as well?

Thanks
Jaco
 
Good day,

I would like to connect a hydrophone with pre-amp (PIP) to the audio Shield (Audio Shield 4 Rev D). Can I simpy solder the wires to the MIC terminals? Where can I find the commands to set the SGT5000 Mic bias? I assume I will need to scale down gain on amplifiers of the SGT5000 as well?

Thanks
Jaco

I assume you are referring to PIP Series by virgo.
You simply connect to Line-in (not sure about AC coupling)
 
The AudioControlSGTL5000 documentation explains setting source and volumes on the rev D audio shield.

Make sure your preamp can't burn the Audio shield - the line inputs go via dc-blocking capacitors straight into the SGTL5000 chip on
the schematic so the datasheet for the SGTL5000 is the place to check what's safe.
 
Sorry, I should have stated that PIP -> Plug in Power. (I use the hydrophones from Aquarian Audio ...)

I see the Rev D board has a MIC BIAS line, which provides the plug-in power to drive the pre-amp of the microphone.

I see you can set the gain of the amplifiers sgtl5000 object in the code.

How do I adjust the mic bias? According to the SGT5000 datasheet this can be done?

Thanks,
Jaco
 
The Audio shield MIC input is only for an electet mic.

Perhaps provide a link to the hardware you are talking about so we know for sure?
 
Sorry, I should have stated that PIP -> Plug in Power. (I use the hydrophones from Aquarian Audio ...)

I see the Rev D board has a MIC BIAS line, which provides the plug-in power to drive the pre-amp of the microphone.

I see you can set the gain of the amplifiers sgtl5000 object in the code.

How do I adjust the mic bias? According to the SGT5000 datasheet this can be done?

Thanks,
Jaco

OK,
which model are you using, which pre-amp?
 
The Audio shield MIC input is only for an electet mic.

Perhaps provide a link to the hardware you are talking about so we know for sure?

OK for more reference, but there are hydrophone pre-amps that 'simulate' a electret mic. In fact they only have a FET and some protection diodes (ignoring source and bias resistor)
 
Thank you for the replies.

Thank you for the reference to the AudioControlSGTL5000 documentation.

I have both the H1c and H2c hydrophones (https://www.aquarianaudio.com/h1a-hydrophone.html and https://www.aquarianaudio.com/h2a-hydrophone.html )

I prefer to use the H2c, with the built-in amplifier. If I am correct, I can solder it to the Mic solder pads, and the MICBIAS will drive the pre-amplifier of the Hydrophone.

See attached sketch of the REV D where I indicated the MICBIAS line.

Screenshot 2020-07-14 20:07:45 (copy).png

I assume the LINEOUTL and LINEOUTR are Audio lines, and due to capacitors cannot provide "bias / PIP" for the pre-amps.
 
To me it seems OK.
The H2a (not seen H2c) simulates a electret microphone (it has also only 2 lines). So I would simply connect as it were a microphone.
to set the mic go to audio library where you find control_sgtl5000. have a look into audio examples to see how to setup audioboard.
If you ever put this underwater, please provide a noise spectrogram.

Edit: found H2c (is thread mounted version of H2a)
 
The H2A is the only one that is low-impedance output so you need that one I think.
Don't expect miracles from the MIC input of the audio shield, its low quality (I've been playing with
FFT visualization and it clearly shows breakthrough from the headphone output, including obvious harmonics,
and has at least one spurious tone around 17kHz.) The SGTL5000 isn't HiFi quality, alas.
 
Don't expect miracles from the MIC input of the audio shield, its low quality
That is why I'm interested in seeing field data.
OK, I know at least one company that uses SGTL5000 and Teensy for a hydrophone recorder.
 
While the Teensy Audio Shield is amazing for its price, there are alternatives if you want better performance...

* Blackaddr has his "Teensy Guitar Audio Shield". IMO, it sounds much better than the Teensy Audio Shield (primarily, lower noise). Unlike the Teensy Audio Shield, this device also has high impedance inputs, which can be helpful for certain types of sensors. But, I don't believe that it can provide any sort of mic bias, which may or may not be a problem for you. It is quite reasonably priced, which is great. http://blackaddr.com/products/

* Then, there's the "Tympan", which is one of my projects. It also has lower self-noise than the Teensy Audio shield. Its primary appeal is that it is more self-contained by including (A) a bluetooth link for remote control or audio streaming, (B) a LiPo battery with on-board charging, and (C) an SD card slot for recording audio. Taking all three of these features together, you can imagine sealing up your device for safer testing around water. Perhaps this appeals to you with your hydrophone testing? The biggest downside is that it is more expensive. https://shop.tympan.org/collections/all


Chip
 
That is why I'm interested in seeing field data.
OK, I know at least one company that uses SGTL5000 and Teensy for a hydrophone recorder.

Which company uses the SGTL5000 for a hydrophone?

As soon as I get the system working, I will upload Spectrograms. I do have spectrograms from the H2a and a ZOOM H1n containing signature whistles from bottlenose dolphins ...
 
Thanks for all the help so far.

Is there an easy way to add wav write capability to the Teensy 4.1 and Audio board? Alternatively If I write raw data to the SD card, can I use Matlab/Octave to convert the raw data to wav files?

Does the microSoundRecorder run on theTeensy 4.1? (I assume the Teensy 3.6 is maybe more suited because of power consumption if a long-term deployment is envisaged ...)

Also, what is the file output of microSoundRecorder - is it wav or raw?

Also, can I run the Tympan AIC shield straight from a Teensy?
 
Regarding the Tympan, it already has the Teensy 3.6 built into it. We buy the Teensy 3.6 bootloader from Paul (the maker of Teensy) and use the same processor and all that. Therefore, it *is* a Teensy 3.6 with the other stuff added to it.

Chip
 
Regarding SD recording, you can use the Tympan software library with anyone's hardware, as long as it is a Teensy 3.5 or Teensy 3.6. The library is a floating point extension of the Teensy Audio library. One of the extensions is built-in WAV writing to SD card. There are examples that you can use without additional modification. Just use a good SD card!

https://github.com/Tympan/Tympan_Library/tree/master/src

Also, to make it more obvious that you can use any teensy 3.5/3.6 hardware, we've been moving a lot of the good stuff over to the OpenAudio library. So, you could look at that version if that makes you more comfortable.

https://github.com/chipaudette/OpenAudio_ArduinoLibrary

OpenAudio is also in the process of being updated for Teensy 4.x, but I'm not sure that the SD is working satisfactorily for audio-rate writing yet.

Chip
 
Help finding that documentation

The AudioControlSGTL5000 documentation explains setting source and volumes on the rev D audio shield.

Make sure your preamp can't burn the Audio shield - the line inputs go via dc-blocking capacitors straight into the SGTL5000 chip on
the schematic so the datasheet for the SGTL5000 is the place to check what's safe.

Hi MarkT, Is there any chance that you could provide a link to the "AudioControlSGTL5000 documentation" that you are talking about? Is that different from https://www.pjrc.com/teensy/SGTL5000.pdf? I am having trouble parsing out some of the audio connections in the audio

I have searched a bunch but I am in a loop of confusion and figured you might have a preferred documentations source. I am primarily confused about the various line levels discussed here as they relate to the chip.
 
Regarding SD recording, you can use the Tympan software library with anyone's hardware, as long as it is a Teensy 3.5 or Teensy 3.6. The library is a floating point extension of the Teensy Audio library. One of the extensions is built-in WAV writing to SD card. There are examples that you can use without additional modification. Just use a good SD card!

https://github.com/Tympan/Tympan_Library/tree/master/src

Also, to make it more obvious that you can use any teensy 3.5/3.6 hardware, we've been moving a lot of the good stuff over to the OpenAudio library. So, you could look at that version if that makes you more comfortable.

https://github.com/chipaudette/OpenAudio_ArduinoLibrary

OpenAudio is also in the process of being updated for Teensy 4.x, but I'm not sure that the SD is working satisfactorily for audio-rate writing yet.

Chip

I also plan to use teensy 3.6 to collect hydrophone data. Currently, teensy3.6 is not available. Can you port the Microsoundrecorder to Teensy 4.1.
 
Back
Top