Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 35 of 35

Thread: Teensy Hearing Aid

  1. #26
    Member
    Join Date
    Nov 2015
    Location
    Norway
    Posts
    69
    Thank you both! That works perfectly =)

  2. #27
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    I made an enclosure for our device. Enclosures are hard!

    Basically, I had to give up on making something attractive and I simply had to focus on making it functional.

    Click image for larger version. 

Name:	Enclosed Tympan in Hand.png 
Views:	90 
Size:	758.5 KB 
ID:	10638

    More pictures and a link to CAD files: http://openaudio.blogspot.com/2017/0...ectronics.html

    It sure does take special skills to make something both functional and attractive. Electronics and software is way easier than industrial design. Wow.

    Chip

  3. #28
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    I tested the Tympan with three different microphones.

    Click image for larger version. 

Name:	three mics.png 
Views:	66 
Size:	51.0 KB 
ID:	10646

    I measured their frequency response and scale factor. It was interesting to see how the microphones performed similarly and how they performed differently.

    Click image for larger version. 

Name:	Calibration for All Mics.png 
Views:	62 
Size:	42.9 KB 
ID:	10647

    If you want more details on how I did the calibration (including Arduino sketches, spectrograms and whatnot), you can check it out here: http://openaudio.blogspot.com/2017/0...th-tympan.html

    What other kinds of microphones might people find interesting?

    Chip

  4. #29
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    8,592
    That PCB mic looks worthy of a test buy, Thanks for the info. Can you show the parts and circuit on the output to get the gain of 20?

  5. #30
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    Quote Originally Posted by defragster View Post
    That PCB mic looks worthy of a test buy, Thanks for the info. Can you show the parts and circuit on the output to get the gain of 20?
    The mic is connected directly to our audio codec (TI 3206). The codec has a built-in PGA that you simply command to +20 dB and you're done. Codecs are a pain to setup but, man, they sure do integrate a ton of good functionality.

    The schematic is here: https://github.com/Tympan/Tympan_Lib...are/Tympan_PCB

    Chip

  6. #31
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    After calibrating the system with different microphones, I turned to look at the output side of things. So, I calibrated the output of the system with a pair of my earbuds (inexpensive Klipsch S4). I used an ANSI-standard 2cc coupler and got the following response:

    Click image for larger version. 

Name:	Klipsch Earphone Calibration.png 
Views:	49 
Size:	19.8 KB 
ID:	10680

    More details: http://openaudio.blogspot.com/2017/0...th-tympan.html

    Does anyone have any experience calibrating earbuds? What kind of test fixture did you use? 2cc coupler? Artificial ear? Some sort of homebrew thing?

    Chip

  7. #32
    Junior Member
    Join Date
    Apr 2018
    Posts
    11
    Hi,

    In your circuit you have directly connected the mic to the line in pins. I wanted to know if there is a requirement of pre-amplification stage for that or connecting the mic to line in directly gives a good quality output?

  8. #33
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    I see that my old GitHub link isn't correct anymore. Here are updated links:

    "Rev C", which is the audio board as add-on to Teensy 3.6: https://github.com/Tympan/Tympan_Rev..._Schematic.pdf

    "Rev D", which is the audio board and Teensy 3.6 integrated into one PCB: https://github.com/Tympan/Tympan_Rev...0Schematic.pdf

    Chip

  9. #34
    Senior Member
    Join Date
    Oct 2015
    Location
    Vermont, USA
    Posts
    167
    Quote Originally Posted by Kavyashree View Post
    Hi,

    In your circuit you have directly connected the mic to the line in pins. I wanted to know if there is a requirement of pre-amplification stage for that or connecting the mic to line in directly gives a good quality output?
    The Texas Instruments AIC3206 has a programmable gain pre-amp. So, yes, you can connect a microphone directly to this chip without any additional amplification. For electret microphones, you do need to be sure that you provide a microphone bias (which can be either from the AIC or from your own bias voltage supply), but no additional amplification is needed.

    Chip

  10. #35
    Quote Originally Posted by chipaudette View Post
    The Texas Instruments AIC3206 has a programmable gain pre-amp. So, yes, you can connect a microphone directly to this chip without any additional amplification. For electret microphones, you do need to be sure that you provide a microphone bias (which can be either from the AIC or from your own bias voltage supply), but no additional amplification is needed.

    Chip
    Hi

    The invensense ICS-40730 has about 9db more SNR than you're PCB mic, but listens from the bottom.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •