element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
FPGA
  • Technologies
  • More
FPGA
Forum What resistor value do I need?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 20 replies
  • Subscribers 561 subscribers
  • Views 2739 views
  • Users 0 members are here
Related

What resistor value do I need?

andywest
andywest over 7 years ago

I have an 8 ohm, 0.5 watt speaker that I want to drive directly from an IO pin of an FPGA. I just want to generate simple square wave beeps, so I think I can connect like this:

 

FPGA IO pin -> resistor -> speaker -> ground

 

The IO pin is set to 3.3V LVTTL, and I can choose between 4mA and 8mA.

 

My question is what resistor values would I need for 4mA and 8mA to get the loudest volume without drawing too much current?

 

Thanks!

  • Sign in to reply
  • Cancel

Top Replies

  • jw0752
    jw0752 over 7 years ago +6
    Hi Andy, You can try a 470 ohm which will limit the current to the speaker to 8 mA. The problem is that most of the power will be across the resistor and the speaker may not be loud enough to hear. You…
  • dougw
    dougw over 7 years ago +5
    3.3v / 8mA = 412.5 ohms total 412.5 - 8 = 404.5 ohms for the extra resistor You might get double the effective voltage across your speaker by using a bridge tied load configuration. (use 2 output pins…
  • dougw
    dougw over 7 years ago in reply to andywest +4
    You still need the resistor on one pin but no ground.
Parents
  • dougw
    dougw over 7 years ago

    3.3v / 8mA = 412.5 ohms total

    412.5 - 8 = 404.5 ohms for the extra resistor

    You might get double the effective voltage across your speaker by using a bridge tied load configuration.

    (use 2 output pins - the second one goes to the other side of the speaker)

    The two outputs are the inverse of each other.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • dougw
    dougw over 7 years ago

    3.3v / 8mA = 412.5 ohms total

    412.5 - 8 = 404.5 ohms for the extra resistor

    You might get double the effective voltage across your speaker by using a bridge tied load configuration.

    (use 2 output pins - the second one goes to the other side of the speaker)

    The two outputs are the inverse of each other.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
Children
  • andywest
    andywest over 7 years ago in reply to dougw

    Interesting. So two output pins, one set low while the other is high and vice versa, and that's it? Nothing connected to ground, and no extra components?

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dougw
    dougw over 7 years ago in reply to andywest

    You still need the resistor on one pin but no ground.

    • Cancel
    • Vote Up +4 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