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
microbit
  • Learn
  • Learning Center
  • STEM Academy
  • microbit
  • More
  • Cancel
microbit
micro:bit Blog [PROJECT] BBC Micro:bit – Accelerometer Theremin – version 1 by Cabe
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join microbit to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 26 May 2019 7:04 AM Date Created
  • Views 1928 views
  • Likes 4 likes
  • Comments 2 comments
  • intermediate micro:bit projects
  • theremin
  • project
  • microbit
  • intermediate_microbit_projects
  • diy
  • accelerometer
  • bbc microbit
  • cabeatwell
  • stem projects
  • sensor
Related
Recommended

[PROJECT] BBC Micro:bit – Accelerometer Theremin – version 1 by Cabe

Catwell
Catwell
26 May 2019

image

The Micro:bit Accelerometer Theremin. Cool case, but no lights this time. (All Images: ME)

 

 

Continuing on the theme of the Accelerometer Tone Adjusting project, I want to use the idea of very little hardware in building another Theremin. You can see the Micro:bit Light Based Theremin project after this link. I also made an ADVANCED Light Theremin after this link.

The Theremin is a constantly adjusting tone based on some sort of analog input, in most cases. Instead of using light to adjust what the Theremin is doing, I figure I could use the onboard accelerometer. I liked the accelerometer option a little better than the light one. It’s a bit more dynamic, I suppose.

 

The software works as follows:

- Power it up, it will play tones.

- Move the Micro:bit around to hear the sounds change.

 

 

 

First, let’s gather all the necessary components you’ll need to build this project.

1x BBC Micro:bit

1x 3.5mm Audio Jack

1x 5v 2A power supply

 

Optional:

Laser cutter to cut the case

 

Video demonstration of the project:

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

 

STEP 1

Load the code onto the Micro:bit.

I am providing the hex file you need to drag and drop onto the Micro:bit, and the python code as two separate files. For the below process, just use the hex file.

Plug the MicroUSB cable into the Micro:bit, and plug the other end of the cable to a PC or MAC.

At this point, you are going to copy over the code to the Micro:bit. I am providing the program (code) in this post that needs to be copied over. When the Micro:bit plugs into a computer, it shows up as a USB flash drive. All you have to do is copy the file over to the Micro:bit, like it’s a USB Flash Drive, and the Micro:bit will reset, and the program is active.

You can remove the Micro:bit from the computer at this point. The program will start running, and without the rest of the circuit, it will not function.

●

A little bit about the code:

image

This is the whole program! I was surprised how clear and succinct the concept's code turned out.

 

STEP 2

I like this project a lot, since it doesn’t have a lot of steps and parts. Following is the only wiring you have to do.

image

Wire up the audio connector.

image

 

STEP 3

Setup

- Plug in powered speakers to the 3.5mm jack.

- Power it with a 5V microUSB cable from either a PC, outlet or battery. It will immediately start playing.

- Move the Micro:bit around to hear the sounds.

 

 

Conclusion:

This is somewhat of a proof of concept project. It’s completely possible to make a Theremin this way. Now it’s time to take it to the next level.

Attachments:
Microbit accelerometer theremin by Cabe.zip
  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 6 years ago +1
    A nice, simple and interesting project. I like the concept of trying to achieve as much as possible with the minimal of hardware as it resonates with my onw view of seeking to achieve maximum changes through…
  • crisdeodates
    crisdeodates over 5 years ago +1
    Catwell , very interesting project.
Parents
  • crisdeodates
    crisdeodates over 5 years ago

    Catwell, very interesting project.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • crisdeodates
    crisdeodates over 5 years ago

    Catwell, very interesting project.

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