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
What sort of speaker? Dynamic one can overload arduino pin if connected directly - it can have several ohm resistance (so series connected potentiometer can help limiting current, if never set to zero) - better add additional resistor in series so max. current draw from the pin will not exceed MCU limits...
ok - so it's not simple speaker but module with amplifier and speaker...
So - look at schematics on the page you have provided and do the same (connect your second potentiometer exactly as in input section of this amplifier - it may be 10kOhm [or maybe 1kOhm (but not less) - because when higher values would be used, control linearity will suffer - parallel connection of second potentiometer of similar value], with one contact to the arduino, another to the ground and middle one [connected to the moving contact] - to the speaker module). Do not forget to set builtin potentiometer for max allowable volume.
If you are good at soldering you can even desolder builtin potentiometer and connect your own - I assume you want something you can operate without screwdriver...
hi please i connect my potentiometer to this speaker to control sound volume by microbit but i didn´t succeed .help please
i connected gnd of potentiometer to gnd of microbit ,vcc to 5v and where i will connect out pin
for speaker i connect gnd to gnd ,vcc to vcc and sig to p1 of microbit
help please thx in advance
regards
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?)
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