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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs IO, IO, it's off to work we go! [micro:bit].
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jc2048
  • Date Created: 20 Sep 2016 11:04 AM Date Created
  • Views 602 views
  • Likes 6 likes
  • Comments 1 comment
  • micro:bit
  • big ideas
Related
Recommended

IO, IO, it's off to work we go! [micro:bit].

jc2048
jc2048
20 Sep 2016

I am now the proud owner of a micro:bit. Yippee! I'm a bit old to be running around shouting "Yippee!" really, but why shouldn't us oldies have a bit of fun too.

 

Over on this thread,

 

https://www.element14.com/community/community/stem-academy/microbit/blog/2016/06/08/10-bbc-microbit-projects-in-10-days-day-three-making-music

 

jlucas suggested connecting an 8 ohm speaker to one of the IO pins. Instinctively, I flinched: 3.3V into 8 ohms would be a current of 413mA [if the IO pin could hold up under the strain, which it wouldn't - "Cap'n, the IO pins, they cannae take the strain"]. That would far exceed the absolute

maximum for the pin. Now that I have a micro:bit of my own I can see for myself, and the good news is that you can safely connect an 8 ohm loudspeaker. The pins have a 220 ohm resistor in series with them.

 

Here's a picture of my micro:bit driving a small speaker.

 

image

 

And here is the waveform across the speaker

 

image

 

We'd expect the amplitude to be 116mV. 8/(220+8) x 3.3V. It's slightly less than that because the IO driver (inside the chip) isn't a perfect switch and has some resistance too which adds to the 220 outside the chip.

 

The current is a modest 15mA (calculation: I didn't measure it) and the dissipation in the speaker would be a mere 1.8mW.

 

There's also a weak pull-up resistor at the edge connector, but that's difficult to measure accurately in circuit.

 

Sorry about all this - I'm doing electronics when I should be learning to code (old habits die hard). Now where's that Python book got to...

  • Sign in to reply
Parents
  • jw0752
    jw0752 over 9 years ago

    Great writing style and I am enjoying your exploration of the Microbit

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jw0752
    jw0752 over 9 years ago

    Great writing style and I am enjoying your exploration of the Microbit

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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