Notifications
Clear all

i2s hearing aid question

8 Posts
3 Users
1 Reactions
358 Views
(@joefly)
Member
Joined: 5 months ago
Posts: 4
Topic starter  

Hi all, your video on I2S audio on the ESP32 was very thorough and informative. 

Made me think if I can improve on my previous project on a simple hearing aid/amplifier using the I2S on the ESP32. 

 

So question, for in theory before I go forward.

 

Can I some how use the I2S input from a MEM mic to the ESP32 and the manipulate the data, such as frequency manipulation (filtering and gain adjustment).  Then can I use this manipulated data to amplify to bluetooth output?  I ask about the bluetooth because when I previously used a bluetooth headset from  standard signal it was too low volume for hearing assist, no need to somehow amplify prior to sending out over Bluetooth.

 

 

Thanks for any "input"

 

 


   
Ron reacted
Quote
noweare
(@noweare)
Member
Joined: 5 years ago
Posts: 135
 

You can manipulate the data because you will be reading the data from the dma_rx_buffers into your own buffer. There you can apply what ever modifiications you like. Then send your modified data to the  output device ie. blue tooth, DAC etc...

This post was modified 5 months ago by noweare

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7700
 

@joefly I don't see any major issues with that approach. As a hearing aid user I am amazed at what these little computers in my ear can do. 

I am not sure where you will do the processing my hearing aids do to implement the various modes (TBH tho, I hardly ever use anything but smart mose). Of course the aids have mics facing in several directions and the difference in signal is constantly analyzed.

I will be curious to see what you come up with.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@joefly)
Member
Joined: 5 months ago
Posts: 4
Topic starter  

@noweare Thanks for the info, gives me the confidence to go ahead with the project


   
ReplyQuote
(@joefly)
Member
Joined: 5 months ago
Posts: 4
Topic starter  

@zander Hi Ron,  As you have experienced, no hearing aid is as good as the original ear, what I learned playing around with this project is that a lot of the filtering is done within the brain, as it adjust to the environment.  But my previous simple amplifier was cheap and useable.  But now want to take advantage of the numerous cheap bluetooth earbud available on the market (previously I could not get the signal to be loud enough) and also improvement of potentially adjusting frequency and filtering through the ESP32. at least that  is the idea.  Will be a while before I tackle this project though as I am little busy to have the brainpower to pursue this immediately.  

 

But I am confident someone smarter than me can do this quickly, I am surprised someone else has not done this given that the ESP32 is so small and cheap.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7700
 

@joefly The esp32 is certainly cheaper than my hearing aids that cost more than my first new car. However the esp32 is several times larger and needs a beefy power supply.

I am unsure what it is you want to build.

BTW, I don't see my aids listed on the Bluetooth panel. My phone is an iPhone and my aids are iPhone compatible. They are called MFI, not sure what that means.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote
(@joefly)
Member
Joined: 5 months ago
Posts: 4
Topic starter  

@zander MFI is an Apple certified compatible device or accessory.  So I am guessing your hearing aids are Bluetooth and specifically compatible with the iPhone. You probably don’t see it as you need to pair it somehow. I would do a quick internet search about Bluetooth pairing and your brand and model of your hearing aids or speak to your dealer.

https://mfi.apple.com

the ESP32 will be a separate wireless mic that you can put closer to the speaker or clip on your shirt and then you can choose any Bluetooth headsets you like. So sure it will not be miniature in ear, but the esp32 will be cheaper, customizable frequency response without going to doctor, and will not be so hard to handle/ manipulate for seniors and charge overnight compared to in ear.  Not prone to be broken, or lost and of course cost !  And plus the satisfaction of making my own and not getting ripped off by big firms!  

This post was modified 4 months ago 2 times by Joefly

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7700
 

@joefly I do have that remote mic thing but have never been able to use it effectively.

I just turned off the Bluetooth on my iPhone and nothing changed same for WiFi.

I have not looked at all the settings to do with hearing in a few years and especially since I got the iPhone 14 vs my old iPhone 7. WOW so many and I don't understand 99% of them.

Nothing to do with your project, but using made for Apple hearing aids apparently uses some sort of other radio. Most likely in addition to Bluetooth or WiFi for those who have an Android  phone. I tested the hearing aid to hearing aid communication and it still works. I tested using the iPhone as a mic and it still works. The only thing that Bluetooth affects is the Background noise (mine is set to rain) It is not something I use and don't really understand why it is there.

Back to your project, can you use one of the smaller form factor devices? I have a seeeduino that is the size of my thumbnail AND I also have a similar sized camera that mounts on top of it. VERY tiny but there are also the ESP-01, 07, 12 families as well

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
ReplyQuote