background image

About the code

The variables 

topAngle

 and 

bottomAngle

 indicate where the arm should start and stop. The bottom angle must 

be such that the arm is able to dip the "soap ring" completely into the water. The top angle must be "low" 

enough for the hand to lift the ring in front of the air from the propeller. 

fanTime

 is how many seconds the arm 

is in front of the propeller before the soap runs out. 

fanPower

 is the speed of the motor and can be up to 1023. 

If the power is too low, the bubbles will not be inflated. Too much force, and the bubbles burst. The running 

variable determines whether the machine should work or go into pause mode, and can be changed with 

buttons A and B. 

To control the servo, we use the block 

servo write

 and select P2 as the servo is connected to P2 (see mounting 

plate). To control the motor, we use 

analog write

 and select P0. To control the LED, we use 

digital write

 and 

select P1. 

Analog write

 can also be used here, as long as the number is between 0 (darkest) and 1023 

(brightest)

Things to try: 

Can you get the machine to start with a loud sound (micro:bit V2) or perhaps with extra bright light from a 

flashlight?

70

º

110

º

Different angles gives different rotation. Please 

note that decreasing the angle makes the servo 

rotate clockwise. Thats why the top angle is 

lower than the bottom angle. 

Содержание Micro:bit Bubble:Bit

Страница 1: ...Micro bit soap bubble machine With rechargeable battery From 11 years Bubble bit...

Страница 2: ...igned and manufactured in the old premises of Tanbergs Radiofabrikk at Skullerud in Oslo Norway We welcome questions and feedback Do not hesitate to contact us Feel free to use our Facebook page as we...

Страница 3: ...it org hardware micro bit is a small computer with prosessor sensors display and radio It has connection pins for external components like LEDs speakers or various sensors Antenna 2 4 gHz Reset button...

Страница 4: ...es like Microphone speaker touch button faster processor and more memory The gold teeth looks different compared to V1 for better grip with crocodile clips Antenna 2 4 gHz Reset button USB Battery 3V...

Страница 5: ...brain Bubble bit is controlled by a micro bit which runs a small program When you press button B the hand will dip the ring in soapy water and the propeller will start A fi lm of soap will form and w...

Страница 6: ...connectors but function for the Bubble Bit is the similar The motors LED and servo should be connected at the same connections for both cards The green board needs no code exension the black board nee...

Страница 7: ...things such as motors and ampli fi es the current It also ensures that the micro bit gets the right amount of power from the battery If the battery is running low the power is turned off to protect th...

Страница 8: ...Blue Charging Green Finished USB Charging power Servo connector Propeller motor Battery plug Black card LED connector Not used on Bubble bit Battery light...

Страница 9: ...charger together Then plug the charger into a USB socket Orange light lights up until the charger is fi nished after 1 2 hours Note For safety reasons lithium batteries must always be charged under su...

Страница 10: ...he grey connector 3 Connect the micro USB into the control board not the microbit 4 Connect the other end into a USB charge outlet 5 Blue light indicates charging Green light indicates charging fi nis...

Страница 11: ...Recommended tools 11 Small philips screwdriver Optional scissors to cut plastic cup Small plastic cup Bubble water or soap recipe Pipe wrench...

Страница 12: ...ble at pharmacies or hobby stores You can also use sugar or syrup instead of glycero l Mix well without creating too much foam Feel free to experiment with different quantities If you mix with more wa...

Страница 13: ...13 Servo horn Servo motor Motor Rechargeable battery Micro bit with usb cable Parts Control board Green or black LED Propeller CW Charger Servo cable...

Страница 14: ...m3x12 nylon screws Blue 10x nylon nuts 2x m3x12 screw white 2 small rubber rings 1 large Rubber ring Rubber band Main plate Birch ply Arm with bubble blower Birch ply Support pin Birch ply Spacer for...

Страница 15: ...tersunk screws Tools Medium philips screwdriver wrench 2x Nylon screws Countersunk 2x Nylon nuts m3 Control board Insert the screws from top Attatch the nuts on the backside of the board where the Mak...

Страница 16: ...16 Parts Spacers 5x Electrical conducting aluminium spacers Insert fi ve screws pointing upwards Thread an aluminum ring onto each screw 5x m3x12 nylonskruer bl Tools...

Страница 17: ...bit over and screw on the fi ve nuts on top Tighten the screws on the underside so that there is a tight and good contact Do not use excessive force as this can damage the nuts 5x nuts micro bit Tools...

Страница 18: ...Band Servo horn On the back of the plate fasten the rubber band from one know around the other and back again With a small rubber ring mount the servo horn to the arm First insert the servo horn then...

Страница 19: ...t s positive to have long legs LED Servo cable The servo cable has three colours black red and white The red cable always outputs power while the white one outputs power if you program it In addition...

Страница 20: ...D Servo cable Insert the LED from the backside of the board On the front side the LED will appear like this Connect the servo cable like the picture shows Make sure you connect all three pins under th...

Страница 21: ...he control unit 2x nuts Mounting plate Place the control unit in place and secure it with two nuts on the back Start screwing with your fi ngers tighten slightly with a socket wrench or nut tool Contr...

Страница 22: ...Mount the support Insert the support from the back like the picture shows Support Lock the pin with a wedge on the front side Wedge...

Страница 23: ...and secure with a large rubber ring from one knob to the other Spacer On the front of the plate attach the spacer as shown in the picture Feed the servo cable through the opening and press the servo i...

Страница 24: ...osening The propeller does not need to be pushed in too hard but should be slightly stuck Propeller Insert a rubber ring around the motor Press the motor into place and lay up the cable as shown in th...

Страница 25: ...he bubble nozzle is in front of the propeller opening Press the arm onto the servo head ATTENTION Do not force the servo to rotate This can damage the gears inside the servo Tip If you need to adjust...

Страница 26: ...ng the micro bit to a PC with the micro USB cable A drive called micro bit should appear Copy over the hex fi le onto this You can also edit the code by going to makecode microbit org and open the cod...

Страница 27: ...he device go to the front side top over micro bit and carefully connect the plug like this When you arent using the machine always unplug the battery Note You must connect the battery even if you are...

Страница 28: ...servo cable on the right side Orange must be up Connect the motor cable at the bottom left where it is marked M0 Attach the battery to the back and connect the power ATTENTION The propeller can spin v...

Страница 29: ...tore Connect the battery Press button B to test Stop with A again If the arm misses the airstream or cup stop the machine lift off the arm from the servo adjust it and press it back into place Do not...

Страница 30: ...nning variable determines whether the machine should work or go into pause mode and can be changed with buttons A and B To control the servo we use the block servo write and select P2 as the servo is...

Страница 31: ...Basic operation micro bit V1 and V2...

Страница 32: ...bles A to stop If loud sound run bubbles for 1 sec See if a shadow appears above the micro bit the shadow must be below the ambient light in the room Control the motors and servo Set the proper topAng...

Страница 33: ...start spinning for a while Gradually the speed slows down Then you can fi ll in soapy water If everything works the machine should now spin around slowly while shooting bubbles in all directions Note...

Страница 34: ...tact us We normally respond within 1 2 working days Suggestions for improvements are also welcome at any time Henning Pedersen Chief product developer www makekit no support makekit no makekit gomakek...

Отзывы: