element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum circuit connexion of potentiometer and external speaker
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 44 replies
  • Subscribers 386 subscribers
  • Views 6268 views
  • Users 0 members are here
Related

circuit connexion of potentiometer and external speaker

naimlion
naimlion over 2 years ago

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

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 2 years ago in reply to naimlion +3
    Hi, There's just two or three wires on the potentiometer. I strongly suggest you just wire it up (in any way you think fit, you can google this), and see what happens. You'll learn more from that experience…
  • JWx
    JWx over 2 years ago in reply to phoenixcomm +2
    In the end it turned out that it was software task - potentiometer was supposed to drive software based volume control, which the author finally achieved...
  • shabaz
    shabaz over 2 years ago in reply to naimlion +1
    Hi, You're not bothering me, this is genuinely the best advice I can think of. It's the best way to learn, just to try it, because in this particular instance, you're very unlikely to damage anything…
Parents
  • JWx
    JWx over 2 years ago

    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...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    hi again

    i have this one

    www.google.com/url

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • naimlion
    naimlion over 2 years ago in reply to JWx

    hi again

    i have this one

    www.google.com/url

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • JWx
    JWx over 2 years ago in reply to naimlion

    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...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JWx
    JWx over 2 years ago in reply to naimlion

    Have you ever had it working correctly? Only speaker module and microbit? And volume regulation using builtin potentiometer (this blue one)?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    thx good question ,my answer is yes .i connected pin sig to p1 of microbit and gnd to gnd and vcc to 5v and i desativate microbit speaker and all works good

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JWx
    JWx over 2 years ago in reply to naimlion

    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?)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JWx
    JWx over 2 years ago in reply to JWx

    like this (but without capacitor) - as I have written previously - exactly like potentiometer that is at module's input (you can checkk schematics on the page you have provided):

    module schematic's fragment

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    so i understand that i connect out pin of potentiometer to sig pin of speaker?

    yes?   or to vcc pin of speaker that´s exactly what i search 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JWx
    JWx over 2 years ago in reply to naimlion

    ok - so: set working system only with microbit and speaker module and check it.

    then: disconnect only connection between microbit output and speaker module input

    get potentiometer of proper value (what resistance is yours? it should be  printed somewhere on the case)

    potentiometer has three pins - find which one is regulated (let's call it "center pin")

    connect one pin (not "center pin") to microbits output

    connect another pin (not "center pin") to the ground

    connect "center pin" to speaker module's input

    is it clear or is it something that needs additional explanation?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to JWx

    yes thx i will connect out pin of potentiometer to p2 of microbit and sig pin of speaker to p1 so i make this program shared and i will try

    i hope it will work

    i´m eager to know

    makecode.microbit.org/_JKPMof632HH7

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube