Post questions, comments, reviews or errors in the comment box below.
Your File is Ready … Download PDF
ELECTRONICS CHASSIS PANELS 2x 1x FIXINGS
Upload WHAT THIS MEANS STEP 16: Download Download
This code shows a colour changing pattern when button A is pressed and stops when button B is pressed. STEP 17: Press A and watch the light show! BUILDING THE WHEELS 3 2x STEP 1: Stretch the O-Ring round the wheel, this will act as a tyre for :MOVE mini. Press fit the wheel onto the servo shaft and repeat for the opposite side. 4 kitronik.co.uk 13 14 SERVOS The continuous rotation servos used in the :MOVE mini are controlled in the same manner as normal remote control servos. These servos are controlled by a repeating pulse, whose width commands the servo to turn to a position. For a normal servo, position is measured from the output shaft and used to determine what angle the servo should stop at. NORMAL SERVO 0 0 DEGREES DEGREES 90 90 DEGREES DEGREES 180 180 DEGREES DEGREES CONTINUOS ROTATION SERVO A continuous rotation servo is slightly different. Instead of the signal telling the servo how far to move, it tells the servo how fast to move. SPEED: STOPDEGREES: Because of component tolerances, we may need to set the centre point on the :MOVE mini servos to ensure it will stop when commanded. This is done with a trimmer, which is explained later on. TESTING THE SERVOS 4 STEP 1: Plug the servos into the Servo:Lite board. The board connections are: STEP 2: With both wheel servos plugged in, it is time to write some test code. Set out the servos like below. This will allow trimming/calibration of the servos. This means they will stop and travel at the same speed when commanded. WIRE BOARD LOCATION COLOUR TOP GROUND BROWN MIDDLE POWER RED BOTTOM SIGNAL ORANGE 4 kitronik.co.uk 15 WHAT IT DOES 16STEP 3: Bring up MakeCode Blocks Editor (makecode.microbit.org). STEP 4: Create the following code. When button A is pressed, both servos should turn anti-clockwise (looking from the wheel side). When button B is pressed both servos should turn clockwise (looking from the wheel side). When buttons A + B are pressed the servos should stop turning. If they do not then the centre point trimmer will need adjustment. On the bottom of the servo, there is a small hole. This is used to access the trimmer. STEP 5: STEP 6: Test out the buttons. Download Upload CALIBRATING THE SERVOS 5 STEP 1: Press buttons A+B, Then with a small screwdriver (through the hole) gently move the centre point trimmer until the servo completely stops. There should also be no sound coming from the servos. STEP 2: Once the servos are calibrated unplug them from the board and detach the wheels from the servos. TRIMMER NOTE: The diagram below shows how the number of degrees set in the code relates to the speed of the servo. SPEED: STOP DEGREES: 4 kitronik.co.uk 17 18 NOTE: During assembly take care not to overtighten the screws as this can damage :MOVE mini. STEP 1: Slot one of the servos into the base plate as shown to the left. STEP 2: Slot one of the internal side panels over the top of the servos. Drop an M3 Nut into the T-Joint and secure in place with a 16mm bolt. Ensure that the nut is fully inserted into the joint before tightening. STEP 3: Repeat Step 1 & 2 for the opposite side. ASSEMBLING THE CHASSIS 6 STEP 4: Snap the pen mounting plate in between the two vertical plates, just above the servo. The servo cables should pass out of the rear of the chassis. STEP 6: Repeat for opposite side. STEP 5: Turn the assembly upside down, align the smaller rectangular holes of the side panels up with the protruding bars on the base plate, and slot them together. Drop M3 nuts into the T-joints, and secure with the 16mm bolts. 4 kitronik.co.uk 19 20 STEP 7: Add a wheel (built earlier) and screw the smallest servo screw through the middle to secure it to the servo. STEP 8: Repeat for the opposite side. The chassis is now complete. 4 kitronik.co.uk 21 22 STEP 1: Plug the servo cables back into the Servo:Lite board. The left servo should plug into the left-hand side of the board and vice versa. The cables should be threaded down the gaps on either side as shown below. STEP 2: Clip the Servo:Lite board under the hooks on the inner side plates and slide it between the outer plates. ATTACHING ELECTRONICS 7 STEP 3: Push the Servo:Lite board fully back inside the :MOVE mini. STEP 4: Secure the Servo:Lite board and micro:bit with the :MOVE T-piece. STEP 5: Excess wires can then be fed into the servo compartment at the rear. 4 kitronik.co.uk 23 24 STEP 1: Create this code. NOTE: If the move mini does not travel in a straight line then you can adjust the values to make the servos run at the same speed. You may also need to re- adjust the trimmer (see pg.17). NOTE: Because the servos are mounted on opposite sides of the :MOVE mini, one has to turn clockwise (Value 0), and one anti-clockwise (Value 180) to drive the :MOVE mini in a straight line. STEP 2:
CODE :MOVE MINI TO MOVE 8 DRIVE IN A STRAIGHT LINE WHAT THIS MEANS When button A is pressed, drive full speed forwards. When button B is pressed, drive full speed backwards.
Upload STEP 4: Download Download
STEP 9: Upload Download Download
Now we have the building blocks to make the :MOVE mini draw a shape! To draw a square, we will need to drive forward and turn left four times over. STEP 10: Under ‘onButtonPressed(Button.A, () ’ change the code to what is shown below:
STEP 11: Download Upload Upload
YOUR TURN: Write code to make the MOVE mini turn right, and drive backwards. Then combine that code to draw other shapes/pictures. 4 kitronik.co.uk 29 30 GO 10 ONLINE! For additional tutorials, add-on packs & resources, scan the QR Code or visit: kitronik.co.uk/5652 Kitronik have created custom blocks for the MakeCode coding environment, these make it ultra simple to code your :MOVE mini. Give it a try by adding the ‘Servo:Lite’ blocks from the Extensions tab in MakeCode! CODE EXAMPLES - Use your phone as a remote control! - Use a second micro:bit as a remote control! - Output to a third servo, such as a bulldozer! - Personalise the :MOVE mini with extra ZIP LED strips! :MOVE mini PIN OUT - GROUND - 3V - P2 LEFT SERVO OUTPUT - P1 RIGHT SERVO OUTPUT - P0 ZIP LED OUTPUT TROUBLESHOOTING If you are having issues with the :MOVE mini, try the steps below! THE SERVOS ARE MISBEHAVING - Is the orange servo wire at the bottom of the connector? - Check all connections are secure. - Are the screws holding the electronics together tight? - Review your code, are you outputting to the correct pin(s)? :MOVE MINI WON’T DRIVE IN A STRAIGHT LINE - You may need to recalibrate your servos (see page 17). - Review your code, are you outputting the correct values? ZIP LED ISSUES - Check all screw connections are tight. - Review your code, are you outputting to the correct pin? POWER ISSUES - Is it switched on? - Are the batteries flat? - Check all screw connections are tight. DRAWING ISSUES - Try a felt tip pen, these tend to work best. - Try adding some weight to the top of the pen. - Try using a rubber band to secure the pen. If this hasn’t solved your issue, visit kitronik.co.uk/5652 or contact us at firstname.lastname@example.org. 31 4 kitronik.co.uk 31 The Kitronik :MOVE mini for the BBC micro:bit provides an introduction to robotics. The mini is a 2 wheeled robot, suitable for both remote control and autonomous operation. A range of add on boards can expand the capabilities to include more advanced functionality. The :MOVE mini board included in this pack can also be used in conjunction with a BBC micro:bit to build other movement based projects. Visit kitronik.co.uk/5652 for more details. Product Code: 5652 ( ) RoHS
32 THIS IS NOT A TOY.
FREE ENGLISH PDF
USER GUIDE - USER MANUAL
OWNER GUIDE - OWNER MANUAL
REFERENCE GUIDE - REFERENCE MANUAL
INSTRUCTION GUIDE - INSTRUCTION MANUAL