<aside> 💡 Craft your own interactive Microbit project that responds to your voice!
</aside>
<aside> 👉 Try it out here: https://ttseng.github.io/micropal/
</aside>
<aside> 💻 System Requirements
• Microbit • 1-2 servo motors • Microbit Servo Board (if using more than 1 servo motor) • USB programming cable / batteries
• Laptop or desktop computer running Chrome
</aside>
<aside> 🌐 Tools Used
• Teachable Machines (for creating audio machine learning model) • MicroPal App (for programming)
</aside>
<aside> ⚠️ Note that this project is actively under development! If you have feedback or suggestions, please share here.
</aside>
An ~5 min walkthrough presented at Microbit Live
An ~5 min walkthrough presented at Microbit Live
MicroPal uses Web Bluetooth to connect to your Microbit. To use Web Bluetooth, you must open the website in Chrome on Desktop (mobile and tablet is not supported - sorry!)
You'll first upload a custom Hex file to your Microbit and then pair using the MicroPal website.
Pair Microbit
buttontest
after adding a design:https://s3-us-west-2.amazonaws.com/secure.notion-static.com/3ee7f616-3c10-44c4-8881-5e48de41bacf/DEMO.mp4
Open Teachable Machines, where you'll build your own audio machine learning model. With machine learning, you teach a computer to recognize different events by providing examples, or data samples.
When designing your own Micropal, think about different sounds or commands you'll want your pet to respond to, such as a greeting (hi
, goodbye
) or a sound effect (clap
, humming a tune
).
Mic
button under Background Noise to record and extract a 20s sample.Add a Class
button to define a new sound you want your MicroPal to recognize. Give it a name, and click Mic
to record samples. Each new sound, or class
, requires at least 8 samples. After you Record 2 seconds
, click Extract Sample
to add to your total number of audio samples.train model
and test out how well it works.When you repeat any of the sounds you trained, you should see the percentage spike.
Export Model
button.Upload my Model
, which will give you a sharable link you can add to the MicroPal website. Click Copy
to copy the URL.Now you'll be able to program your Microbit using the MicroPal website.
Load Model