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
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
ok - so take potentiometer of value between 1 and 10 kOhm [1kOhm or 2.2kOhm or 4.7kOhm or 10kOhm) and connect it (assuming center contact is connected to moving contact inside)
- one edge connector to microbit output
- another edge connector to gnd
- central (regulated) connector to speaker module's input
and do not forget to set blue potentiometer on speaker module to max volume (maybe it is set to zero so there is no sound?)
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
i telled you that the speaker works good so the blue knob is not set to zero yes or no.
please can you send me a circuit picture to describe connections
please i have trouble in : where i connect out pin of potentiometer?
where i connect sig pin of speaker and also vcc pin of speaker
yours trully
it has turned out that this is not a "speaker" but LM386 module with speaker (and builtin pot for volume regulation)...