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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Super FX Sword using the BBC micro: bit -- Episode 432
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 27 Jan 2020 12:53 AM Date Created
  • Last Updated Last Updated: 7 Feb 2020 8:24 AM
  • Views 2237 views
  • Likes 9 likes
  • Comments 1 comment

Super FX Sword using the BBC micro: bit -- Episode 432

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
 

Frequent thrift shopper, Karen, digs into her to-be-hacked pile and pulls out a plastic sword that has an uncanny resemblance to a piece of the Guts AgroCrag (shout out to the 90s kids in the room!). In this project, Karen uses a BBC micro:bit to level up this toy by adding motion-activated light and sound effects.  

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
KDMG28008 -LOUDSPEAKER, MICRO, 28mm, 8ohm, 200mW Kingstate 2 Buy Now
Battery Holder, AAA Battery Size, 2 Slot, Wire Lead Mount, On / Off Switch Pro Elec 1 Buy Now
Slide Switch, SPDT, Tall, 2.5mm, Through Hole, 30V, 300 mA E-SWITCH 1 Buy Now
BBC micro:bit, w/ battery holder & USB BBC micro:bit 1 Buy Now
Red LED, Through Hole, 5mm, 20 mA, 2.1 V LED TECHNOLOGY 2 Buy Now
LED, Yellow, Through Hole, T-1 3/4 (5mm), 5 mA, 1.9 V, 587 nm Multicomp Pro 2 Buy Now
LED, Orange, Through Hole, T-1 3/4 (5mm), 20 mA, 2 V, 625 nm Multicomp Pro 2 Buy Now
Through Hole Resistor, 1 kohm, 400 mW, ± 1%, Axial Leaded, 200 V Multicomp 6 Buy Now

 

Additional Parts:

 

Product Name

Plastic Sword

Harbor Freight 4pk Fatigue Puzzle Mats

3mm MDF

 



image
Super FX Sword using the BBC micro:bit

element14 presents | About Karen  | Project Videos

  • micro:bit
  • e14p_MK
  • e14presents_karencorbeill
  • e14presents_makerkaren
  • microbit
  • fx_sword
  • loudspeaker
  • bbc microbit
  • led
  • multicomp
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • davedarko
    davedarko over 5 years ago

    There's something seriously wrong here. When the lights go up, the tone should go up image

    Not sure if this is relevant, but the site here says something like "P0 through P4, or P10" are pins for analogWrite? Your code seems to use P11 through P16 but you actually use 7 LEDs when showing it, so I'm not sure if you swapped things in between.
    https://makecode.microbit.org/reference/pins/analog-write-pin


    I don't see anything stated about analogWrite only working on certain pins here though.
    https://microbit-micropython.readthedocs.io/en/latest/pin.html

    A-ha! "The DAL DynamicPWM driver (and the underlying nrF51 timer peripherals) dictate that PWM can only be active on 3 pins simultaneously. Any attempt to allocate a 4th pin for PWM use, will disable one of the existing PWM pins."
    https://tech.microbit.org/hardware/edgeconnector/#pins-and-signals

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