Reason and understanding are the arms of our souls

Using Haptics for Directional Hearing Part 5a: Results!

After a little bit of modification to both the circuit and the code, I HAVE RESULTS! This set up has the motor in the diagram responding to sounds. I think a little bit of calibration in the script will make it work spectacularly. I am officially at the tinkering step. I will give updates on the calibration as it goes on.

Here is the working diagram:

Microphone Test: SUCCESSFUL!

Microphone Test: SUCCESSFUL!

Here is the working code:

On second thought… Maybe I will make an adjustable calibrator for different situations…

Using Haptics for Directional Hearing Part 5: Test Set Up and Code

So, once I made the decision to move to digital I had to re-work my plan from analog to Digital. To this end I have reconfigured the circuit to use an Arduino Uno. First I am going to perform a simple microphone test to ensure that an LED will vary in brightness based on the input of a microphone. This will allow me to approximate what changes I will see from the vibration motor when I reach that stage of testing.

Here is the Fritzing diagram of the test set up.

Fritzing Diagram of Hearing Aid

The circuit: Fritz’d for your viewing pleasure.

So, a brief overview: the microphone has a 1K ohm pull up resistor and an input line to Analog pin 0. The code will then take this value and modulate it with PWM to the output of Pin 5 which will provide power to an LED via a 1K ohm resistor. For reference, the code is below:

Ideally, if set up correctly, the LED will vary in brightness based on the level of the sound the microphone picks up. I will be testing this over the next day or so; hopefully I will have some good news.

If you have any questions or ideas, leave them in the comments below.

Using Haptics for Directional Hearing part 4: Analog to Digital

After much confusion and fighting with the Analog circuit I had proposed before I, after discussion with a colleague, decided to move to a digital representation. So, now, my goal is to use an Arduino to do the circuit control. I’m currently working on a test script and fritzing diagrams to make this work better. I’ll have updates within the next couple of days, and we will see how things are going.

Hopefully, we will have a working prototype.