Cant get the sound sensor to work[solved]


I was following this tutorial ( they eventually start talking about a potentiometer i dont see in the schematic they themselves put in there. My wiring is pretty much the exact same as far as i can tell. i copy pasted the code they posted and tried it. Didnt work. Also the serial plotter gives something weird. Have a look:

Here's the setup i got.

Any help?

Which analog port are you plugged into? It looks like A3 or A2 not A0.

yeah realised that too, i tried that too had pretty much the same result. i had it plugged into A2 for a pot meter i also tried on this setup

The blue thingy on the microphone PCB.

Don't waste our time by not mentioning things like that. I wasted time finding it and wasted time posting about it.

you mean the blue box with the screw like thingy on it?

Yes, these are usually 10 turn potentiometers, i.e. it takes 10 complete turns for the wiper to go from one side to the other side of the potentiometer.

10 turns? feels like a lot more than that and the serial monitor keeps wiggling around 10 now. the ED1 and ED2 lights are both on if that adds anything.

What does the serial monitor show now ?

Threads should be self contained, i.e. don’t make volunteers jump all over the internet to find out what you are doing.

Show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

In the Arduino IDE, use Ctrl T or CMD T to format your code then copy the complete sketch.

Use the </> icon from the ‘reply menu’ to attach the copied sketch.

Yes the Pot can be more than 10 turns.

BTW, these do not have a mechanical stop at the limits.

ok turns out im an idiot. I thought i reached the (i didnt know at the time) non-existent physical limit of the pot on one side(i didnt) and nothing happened so i started turning to the other side until it was just wiggling around 10 according to the serial monitor. So i just tried turning it back the other way and at about 500-520(on the serial monitor) is when the ED2 light turns off and it seems to work. sorry for the late reply i was trying to figure out eagle for the schematic you asked. you still want it btw? cuz i consider this solved.

I don't. But you don't need any fancy software to make simple schematics. All the ones that I do, are done with pencil and paper except for a few projects that are destined for PCB layout and a few that need Spice emulation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.