BhavithiranSC Lim
Published © MIT

EDU:BIT Bubble Blower | Micropython

Guide to program Bubble Blower with EDU:BIT (project kit for micro:bit) using MicroPython

BeginnerFull instructions provided30 minutes892
EDU:BIT Bubble Blower | Micropython

Things used in this project

Hardware components

EDU:BIT
Cytron Technologies EDU:BIT
×1

Software apps and online services

Mu
Python Editor for micro:bit

Story

Read more

Code

Bubble Blower

Python
This tutorial's full code
from edubit import *

while True:
    init()                                    # initialize EDU:BIT
    brake_motor(M1)                           # stops the motor
    sets_servo_position(S1, position=30)      # sets servo position to down
    brake_motor(M1)
    sleep(1500)
    run_motor(M1,Forward, speed=255)          # runs motor
    sets_servo_position(S1, position=130)     # sets servo position to up
    sleep(4000)

Credits

Bhavithiran

Bhavithiran

16 projects • 7 followers
SC Lim

SC Lim

13 projects • 11 followers
Husband · Dad | Loves tinkering & making

Comments