Real Sound Meter Tie
- rexchao
- May 12, 2020
- 2 min read
I finally finished the sound meter tie!
First things first, the video of it working is here:
This is what it looks like:

How it works:
This tie uses these components: An arduino flora board, 7 RGB lights, and a microphone chip, the tie of course, and a battery.
The RGB lights were sewed onto the tie using steel thread and it really is a pain to do. I especially put a lot of effort into hiding all the threads under the fabric at the back of the tie. This class almost doesn't feel like an electronics class, more like a sewing class because we literally spend 90% of the time sewing the threads and the electronic components onto the tie. Each RGB light includes a + and a - port, meaning the positive and negative side. The negatives are grounded and the positives are connected to a pin on the arduino board. Then we have two other ports called DI and DO, the inputs and outputs of the light. I simply have to connect the inputs of one light to the output of another light to string the entire thing together. These will be connected to another pin on the board, where we will use code to control when and how to power each light. The microphone is also connected. This is where the board would get input from the microphone and know how to light the LEDs up.
The code is fairly simple. We simply have a threshold for when each light should light up. When the noise or the voice the microphone collects is louder (since the microphone is an analog we have a range of numbers). We use the numbers that the microphone output to determine how many lights should light up. The lights are simply an array from index 0~6. "0" lights up the first light, and "6" lights up the last one. Everything else is basically just using code from the Arduino documentary to know how to for example output electricity.
This project took about a month of work in class ( we have three classes each week, each class is 40 minutes) so it really is quite a hassle to do. But I was amazed at how complete the end result is and how it actually worked. I was extremely nervous that I would end up sewing everything and finding a loose connection somewhere and I'll have to restart everything. That wasn't the case and I'm quite proud, to be honest.
Ok, see you next time!
-Rex
Comentarios