background image

22

Battery

Turn the drone upside down

Attach the battery under the rubber band, in the very center of the drone.

To power the drone, connect the battery to the grey connector. 

Disconnect the battery whenever you are not using or charging the drone. 
The battery can su

er over discharge if connected for extensive time.

Parts:

1 Lithium 

(LiPo)-battery 

Summary of Contents for Air:bit 2

Page 1: ...Air bit 2 makekit no The micro bit drone...

Page 2: ...adioGroup in makecode before downloading to micro bit both transmitter and receiver Flying Use an open space close to where you build the drones A soft carpet is better than a hard surface in case of...

Page 3: ...V2 V2 The remote control works great on both micro bit V1 and V2 Air bit 2 relies on the micro bit for high speed calculations and stabilisation Therefore we highly recommend using micro bit V2 on th...

Page 4: ...4 If you experience trouble getting the air bit to fl y please see page 61...

Page 5: ...prevent damage do Don t charge the batteries unattended Don t use a damaged or punctured battery Do not short circuit the battery Avoid temperatures below 10 and 50 degrees celcius Don t use batteries...

Page 6: ...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...

Page 7: ...ster processor and more memory The gold teeth looks different compared to V1 for better grip with crocodile clips Air bit can work on V1 and V2 but V2 gives more processing power for advanced users An...

Page 8: ...osoft make code 1 cell 3 7v 800 mAh LiPo battery Air bit control board with charger Propeller protection mount Expansion ports Servo kamera i2c serial jst picoblade Air bit 2 More info Visit airbit no...

Page 9: ...Hand control micro bit AA battery pack Farnell Holder plywood Throttle indicator Flight directions roll pitch Rotation yaw Motion based control with accelerometer Increase altitude Decrease altitude...

Page 10: ...it i2c sensors Micro servo camera Red Charging Green Finished USB power charging Front right motor Servo connector Back right motor Front left motor Back left motor Battery plug Control board Servo co...

Page 11: ...4 spacers m3x20 2 nylon screw countersunk Control board 4 wedges Micro bit battery box 5 aluminium Spacer rings 2 micro bits 1 micro usb cable 1 Lithium LiPo battery Red silicone ring the universal mi...

Page 12: ...Tools 12 Small philips screwdriver Socket wrenches 5 5mm included...

Page 13: ...plug into the grey connector 3 Connect the micro USB into the Airbit control board not the microbit 4 Connect the other end into a USB charge outlet 5 Red light indicates charging Green light indicat...

Page 14: ...14 Assembly...

Page 15: ...e the micro bit with screen facing up on top of the holder and mount it with the screws somewhat tightened Mount battery box with the silicone ring You can use different battery boxes Tools Philips Sc...

Page 16: ...acers m3x20 Tools Philips Screwdriver Hook the rubber band from one knob under the frame to the next hook over the frame and back Mount the spacers with the screws Notice the text should face up while...

Page 17: ...sert a wedge and wiggle it in place into the frame Then push the motor upwards to click into place All 4 motors Use both hands and both thumbs to push the motor forward Then pull the motor cables trou...

Page 18: ...o the back side of the board where the big letters are Attatch the nuts with a screwdriver and a socket wrench Parts Countersunk screws 2 x Nylon nuts 2 x countersunk screws Control board Tools Philip...

Page 19: ...backside of the board insert the 5 screws Hold the screws with your index fi nger while you fl ip the control board Insert the 5 spacer rings Parts Control board 5 aluminium spacer rings 5 nylon screw...

Page 20: ...the micro bit on the fi ve screws Carefully add the fi ve nuts and mount them loosely before lifting the unit Add some tension using a screwdriver and the socket wrench The screws must be slightly ti...

Page 21: ...ls Wrench 5 5mm Assembling the drone 2x nylon nuts Flip the drone upside down Attach the control board with two nuts underneath the drone Slightly tighten with the wrench Plug each motor in the neares...

Page 22: ...r band in the very center of the drone To power the drone connect the battery to the grey connector Disconnect the battery whenever you are not using or charging the drone The battery can su ff er ove...

Page 23: ...unction When the green light is lit battery has su ffi cent power for fl ight A red light indicates that the battery needs to charge Do not attempt to fl y the drone after this light has been seen Dis...

Page 24: ...24 For your safety Mount the propellers after testing the drone Can you start and stop the motors in a controlled manner...

Page 25: ...Place it on a table able to spin 1 Blow gently straight down above 2 If it rotates with the clock its a CW propeller If it rotates against the clock its a CCW propeller Place all four propeller on the...

Page 26: ...rts 4xBows 8xArms 8xSmall rubber rings Connect the bows and the arms with the rubber rings On each protector insert both arms onto the main frame Adjust so they are straight and do not obstruct the pr...

Page 27: ...27 Ready for coding...

Page 28: ...Coding...

Page 29: ...29 PARTY Five values to control the drone...

Page 30: ...pitch arm roll throttle yaw Arm Start propeller Roll Roll Pitch Pitch Yaw Nose direction Variable Minimum Neutral Maximum Arm 0 1 Throttle 0 50 100 Pitch 45 0 45 Roll 45 0 45 Yaw 30 0 30 Control the d...

Page 31: ...Start coding makecode microbit org...

Page 32: ...ze data Send data Four steps Collecting data for Pitch Arm Roll Throttle Yaw Convert the values to coordinates for the display Send the value over the radio Receive the values and turn the into contro...

Page 33: ...Start at makecode microbit org Chrome is recommended for better connection with the micro bit Select New project PS If you re new to micro bit you should try one of the tutorials above fi rst...

Page 34: ...here On start Code that will run once at startup Code that will repeat forever Name your project Download to micro bit Save a backup Block mode Javascript mode Share your code Main menu Settings Undo...

Page 35: ...35 Get the variables and code the remote Start by giving your project a name like Sender group x This is your unique radio channel If you are fl ying alone you can use channel 7 Sender group 1...

Page 36: ...Code blocks We will be using these blocks 36...

Page 37: ...37 More blocks...

Page 38: ...n the forever loop to verify that throttle is changing correctly When above 40 throttle should only change by 1 for better precision when drone is hovering Roll og Pitch Make a variable called Roll an...

Page 39: ...39 Solution...

Page 40: ...ssing A B change the Arm between 0 and 1 If Arm is 1 make it 0 and visa versa Use Show Number Arm to verify When pressing A B also reset throttle to 0 Disarmed Armert 40 Bryteren setter Arm til 0 og 1...

Page 41: ...41 Solution...

Page 42: ...be handy It will cut off the motors immediately Task Use the On Shake feature to disarm the drone It will detect a shake from the remote control Think twice before using the feature from above 2 mete...

Page 43: ...43 Solution...

Page 44: ...iv Roll Pitch niv We can use the display to show basic information from our PARTY values Arm pixel lights when armed Throttle pixel moves upwards when throttle increases thrust Roll and pitch is the X...

Page 45: ...if the drone is armed Find the forever block Insert a clear screen block Use the if block to check if arm is on armed If armed plot at 0 0 or another place off your choice Visualise Arming Extra chall...

Page 46: ...46 Solution...

Page 47: ...to translate our numbers according to the table below so that 0 gives 4 50 gives 2 and 100 gives 0 Can you solve the equations Hint We need to do a division in the fi rst calculation Then we need to...

Page 48: ...48 Throttle 25 goes in the inner block Solution Pixel Y 4 throttle 25...

Page 49: ...d to translate our numbers according to the table below so that 45 gives 0 0 gives 2 and 45 gives 4 Can you solve the equations Hint We need to do an addition in the fi rst calculation Then we need to...

Page 50: ...tion goes before subtraction and addition automatically You will need parentheses if you want the or to be done fi rst Be careful There is not much room for typing errors in javascript Division before...

Page 51: ...51 We can also map the values using this block An easier alternative to functions Original value Lowest expected value Highest expected value Lowest output value Highest output value Example...

Page 52: ...52 Two solutions With mapping With functions...

Page 53: ...t it in the simulator The center dot follows the mouse arrow s movement The throttle pixel on the left is rising when pressing B multiple times A B results in a lit ARM pixel and throttle will go down...

Page 54: ...called radioGroup or similar and set it to your radio channel Show the number Use radio set group to make the channel take effect We need to transmit a letter string in pair with the number for the r...

Page 55: ...55 Bottom of forever block Remember capital letters Yaw can be skipped Solution Your unique radio group...

Page 56: ...s as a drive 3 Press Download and copy the fi le to the MICROBIT drive 4 Watch the orange light on the back and make sure it fl ashes when code is downloaded Download the code Read more about connecti...

Page 57: ...led Airbit 2 or Wonderbit Airbit 2 Open the fi le in the editor Click import and select the fi le 3 Make sure you have the right radio group to match your transmitter 4 Download the code as seen on th...

Page 58: ...onnect the battery The drone will check for sensors and calibrates If you get no gyro check the 5 top screws and reconnect power If you get no pca disconnect USB and battery and connect only battery G...

Page 59: ...pellers by pressing A B simultaneously Increase throttle step by step until the drone is hovering 10 30 cm above the ground Move the micro bit transmitter to steer the drones roll and pitch As soon as...

Page 60: ...60 How to fl y video https youtu be VMF9uehLfg8...

Page 61: ...No Motor controller the connection is not stable thighten the nuts Disconnect reconnect battery Look for the letters G and M during startup Have you placed the correct propeller on the right motor Pag...

Page 62: ...When conducting electricity from your fi ngers the analog read can be about 800 Using a treshold on about 500 you can detect a fi nger press When a press is detected change the yaw to a negative numbe...

Page 63: ...63 Yaw Solution...

Page 64: ...orwards Pitch by increasing power at the two back motors while decreasing power to the front motors This tilts the drone forward Sideways movement is done by speeding up two motors at one side eg left...

Page 65: ...www makekit no support makekit no makekit gomakekit also twitter Contact Get tips and help in our Facebook community www facebook com groups goairbit...

Reviews: