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…
  • naimlion
    naimlion over 2 years ago in reply to phoenixcomm

    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

    • Cancel
    • Vote Up -1 Vote Down
    • Sign in to reply
    • Cancel
  • naimlion
    naimlion over 2 years ago in reply to naimlion

    here my code in makecode

    makecode.microbit.org/_iPWXs1d3o0v4

    • 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
  • naimlion
    naimlion over 2 years ago in reply to naimlion

    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

    • 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
  • naimlion
    naimlion over 2 years ago in reply to phoenixcomm

    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

    • 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
  • JWx
    JWx over 2 years ago in reply to phoenixcomm

    it has turned out that this is not a "speaker" but LM386 module with speaker (and builtin pot for volume regulation)...

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