hi please i want to change the sound volume using potentiometer and a speaker with arduino.can you help me to do the connection circuit .thx in advance
kind regards
hi please i want to change the sound volume using potentiometer and a speaker with arduino.can you help me to do the connection circuit .thx in advance
kind regards
You just cant pick a random pot. The problem you have is called impedance. You need to know what the impedance of the speaker is. 4, 8, 16 ohms This part is an L-pad, Where the L-pads resistance has to match the speakers. There are also T-pads, Basically, the pad keeps the impedance constant value. so in an L-pad, there are two pots wired together like the letter L, so while one pot goes up the other goes down. if you want a more detailed explanation go to the wiki
You just cant pick a random pot. The problem you have is called impedance. You need to know what the impedance of the speaker is. 4, 8, 16 ohms This part is an L-pad, Where the L-pads resistance has to match the speakers. There are also T-pads, Basically, the pad keeps the impedance constant value. so in an L-pad, there are two pots wired together like the letter L, so while one pot goes up the other goes down. if you want a more detailed explanation go to the wiki
so if it´s difficult to use this speaker ok no problem forget it .can we use microbit speaker and potentiometer to change sound volume
regards
here my code in makecode
we can also use an other speaker with 2 pins only :gnd to gnd of microbit and the other pin to p1 for exp and i desactivate the microbit speaker and all works well.
the issue appears when i want to use potentiometer to change sound volume that´s it
please pin NC in my speaker do you know what??
because i don´t use it but when i worked without potentiometer and i don´t connect this pin all works well and i listen music
it has turned out that this is not a "speaker" but LM386 module with speaker (and builtin pot for volume regulation)...
Then this Arduino schematics will help