Download Print this page

Robolink CoDrone Mini User Manual

Controlling codrone mini with rokit brick
Hide thumbs Also See for CoDrone Mini:

Advertisement

Quick Links

CoDrone Mini
Rokit Brick
ENG
for

Advertisement

loading
Need help?

Need help?

Do you have a question about the CoDrone Mini and is the answer not in the manual?

Questions and answers

Summary of Contents for Robolink CoDrone Mini

  • Page 1 CoDrone Mini Rokit Brick...
  • Page 2 Controlling CoDrone Mini with Rokit Brick Introduction...
  • Page 3 1. Enter coding mode from PC Drone Simulator & Rokit Brick Connect the cable (micro 5 pin) Connect the USB cable to your PC to the controller port USB serial device(COM 13) Occasionally, a bad ‘Micro 5 pin’ Check the COM PORT number in may prevent ‘COM PORT number’...
  • Page 4 2. What’s the ‘Rokit Brick’ Rokit Brick is based on "Snap" and has existing Scratch programs such as robots, drones and others. Scratched SW developed by combining various control functions. The method used is almost the same as Scratch. HWs such as ‘Rokit Smart Series’ and ‘CoDrone’ can be controlled in Scratch format.
  • Page 5 3. Run the ‘Rokit Brick for CoDrone’ (1) Run ‘RBCodrone.exe’ in the installation path of ‘Rokit Brick for CoDrone’ (2) When the program is running, Run ‘Rokit Brick’ with the ‘< >’ Button on the left screen (3) ‘Rokit Brick’ runs normally, as shown in the image on the right...
  • Page 6 4. Connection between Rokit Brick and CoDrone If you have connected your PC and remote control, please make sure your USB drive is installed successfully. After installing the drive and verifying the COM number, run Rokit Brick for Codrone (RBCodrone, Rokit Brick CoDrone). Click on the bottom left palette to see the drone control blocks and check the two buttons...
  • Page 7 5. Screen configuration for Rokit Brick The basic menu and screen layout is similar to 'Scratches in MIT' Start/Stop Block Palette Menu Tab list Zoom in/Out Stage Script Window Sprite List...
  • Page 8 Control CoDrone with motion block CoDrone Block Description...
  • Page 9 1. Import Image From the menu, you can get the desired image using the 'look tab' You can resize the stage by dragging the "boundary line" with the mouse.
  • Page 10 2. Example of moving sprites 1) Move drone sprite (Go straight to CoDrone) Import from the motion block group to the script screen. Each time the mouse clicks on the block on the script screen, the drone moves forward by as much as 10.
  • Page 11 You can see it right away by clicking on the mouse, and it's usually in the control block group. You start driving using Connect Block , and click on the green flag to move. Drone Homeward Movement If the drone disappears to the point where it cannot be seen, then it's on the tab [Move to x:0, y:0] Click on block to start the home position return to...
  • Page 12 2) Move drones (move drones continuously) Connect the infinite repeat block in the control block group to A. To drive. To travel to where the drone is not seen as a click. ∞ To have the drone repeat bouncing on the wall without disappearing out of the screen: Use Block ∞...
  • Page 13 3) Move drones (take-off and landing) If the drone is to move as shown in Figure 1, it can be coded using the coordinate values and (Delay) as shown in Figure 2. 그림2 그림1 To change the distance of the drone shown in Figure 1, the blocks shown in Figure 3 are: Change the x, y coordinate values.
  • Page 14 4) Move Drones (Use variables) Let's create a program that only "repeats three times" the following movements, rather than "no uniform." Try to minimize the number of blocks used. Create a variable to change the movement value of the block. Variable block group In , press the Create Variables button and create a variable named A.
  • Page 15 Creating a variable named A creates a variable block group as shown below and creates a variable on the stage. Drag the A-parameter block created on the left to the part where you want to change it. Right-click the variable that appears on the stage to select the slider. And after you've run the stage, you can move the A variable slider on the stage with your mouse, and you can change the variable in real time.
  • Page 16 3. Move drones (take-off and landing) 1) Create a "Drone moves back and forth motion reflecting the wall" and make a variable. Use to adjust the "moving speed." 2) Let's create a program that only "repeats three times" the following movements, rather than "no uniform."...
  • Page 17 To control CoDrone with motion blocks CoDrone Block Description To control a CoDrone with an operating blocks of motion...
  • Page 18 1.CoDrone Mini Block Description:Motion Block All flight movements of the drones start with this block. Drone landings. Drones Stop Motion ※ The control block value below has a value between -100 and 100 and the output (%) Up/down (altitude) vertical...
  • Page 19 1.CoDrone Mini Block Description:Motion Block Connecting a board from the CoDrone tab results in CoDrone blocks that can control the CoDrone. If the drone doesn't stop at a strange direction, press the button at any time to stop the motion.
  • Page 20 1.CoDrone Mini Block Description:Motion Block throttle : Vertical Move Up and Down Rise+ yaw : Turn left, move right. Turn right+ pitch : Forward, Reverse Movement Forward+ Rightward roll : Left, right, right. movement...
  • Page 21 2. CoDrone mini-block description – drone information and sensor block Shows the flight status of the drones. (atmospheric/landing/take-off/flight, etc.) Shows what direction the drone's flight is based on. (Headless / Normal) Shows the value of the fine adjustment for the pitch.
  • Page 22 3. CoDrone Mini-block description – fine-tuning block Hovering, drone moving backwards. Click to adjust. Hovering, drone moving forwards. Click to adjust. Hoverling, drone moving left. Click to adjust. Hoverling, drone moving right. Click to adjust. Resets fine adjustment values. (back to 0)
  • Page 23 When the drone goes to the left When the drone goes to the right When the drone runs back When the drone goes forward Fine-tuned values are CoDrone Mini- control Appears on the block palette. P: pitch value R: roll value...
  • Page 24 - Level3: Maximum speed control. Demonstrating dexterity (dumbling) Block (forward / back / right / left) The speed level values are displayed on the CoDrone Mini Control Block palette (SPD). T I P Equal pitch value for speed level 1 and 3 Even if it's 50 it's a big difference in speed.
  • Page 25 5. CoDrone Mini Block Description – LED Control Block Turns off the drone’s LED. Turns on the drone’s LED in the specified color. Blinks the drone’s LED to assigned colors. Flashes the drone’s LED twice. Dims the drone’s LED. Brightens the drone’s LED.
  • Page 26 Controlling CoDrone Mini with Rokit Brick Example of CoDrone Mini Lab Make sure to check the items below before practicing CoDrone. 1) Check the hover status. 2) Check the gas mode. 3) Clear the angle value of the block to zero.
  • Page 27 1. Example of flying CoDrone Mini-spaces The CoDrone Mini-tab has drone / yaw / pitch / roll / dexterity. There are several drone control blocks to operate. Let's combine these and existing scratch blocks to code your own drones. Example of a green flag button popping up in the air for a while and...
  • Page 28 2. Example of Mini-movement of a CoDrone with Rokit Brick. An example of a green flag button that pops up in the air for a while and lands in the hand. Pitch (+30) take-off order One second Landing 3 seconds later. after the command.
  • Page 29 3. Example of Mini-movement of a CoDrone with Rokit Brick. When you click on the green flag button, the drone takes off, moves forward, and then moves on. I want you to fly sideways (left) Roll 50% Peach 50% Take-Off Landing 1.5 sec 1.5 sec...
  • Page 30 F A Q In the example above, before changing the direction of movement of the drone to the left, why did you clear the value of the forward direction to zero? Advance if not cleared to zero when turning like this (peach) The velocity of the direction is still left, so we give it a left-hand roll value to the left.
  • Page 31 4. Example of Mini-movement of a CoDrone with Rokit Brick. Adjusting the hover condition of the drone (fine tuning exercise) For precise control using coding, after the drone takes off and is in place, wait and make sure that it does not move in any direction as much as possible.
  • Page 32 5. Example of flying CoDrone acrobatics Example of flying and landing in a circle, right after CoDrone take-off Rotary Flight Take-off Landing 4 Repetitions 2 sec ①take- off ② Rotary Flight 4 repetitions ③ Landing Changing the yaw value and the deviation value at the same time >...
  • Page 33 6. LED Animation Example Control the LEDs in a drone for different color and animation effects Example of slowly turning on and off, changing colors at intervals of 2 seconds...
  • Page 34 7. to Queen during the flight to (Dumpling) A drone that takes off goes back and forth and does a trick-or-treating in the air. Back Front Reverse Forward Flip Flip 3 - repetitions ① Forward ② Front Flip ③ Reverse ④...
  • Page 35 – Attitude control values Example of receiving and utilizing control values related to CoDrone Mini's posture 1) Receiving the position control value of the CoDrone Mini The magnetic field on the bottom of the CoDrone. If there is an object that stands out, The YAW angle is continuous.
  • Page 36 T I P Create Variable Block To use a variable, you must create a variable block. Click on Variables tab > Create Variables Block > Enter variable name > Create variable block Click!
  • Page 37 The battery value variable you want to save: You must create a new one. 2) Controlling CoDrone Mini with Rokit Brick We're receiving battery values, and we're going to use a variety of blocks to check the flight status. You can check it.
  • Page 38 Controlling CoDrone Mini with Rokit Brick Manipulate Using the Controller Use the controller buttons or joysticks to create a script that performs interesting actions.
  • Page 39 Controller Block: Appears by clicking on the Controller tab on the palette. SPPED LED/FLIP LEFT RIGHT ON/OFF DOWN RESET PAIRING Button status notification : -UP: No button on the controller is pressed -PRESS: One of the controller's buttons is pressed -DOWN: One of the controller's buttons is just being pressed.
  • Page 40 Left / Right joystick status indication -X-axis direction change from -100 to +100 ( - : Left, + : Right) -Y-axis direction change from -100 to +100 (+: Up, - : Down) Direction: The direction (position) of the joystick towards is abbreviated as shown below. Reminders Event : Detects and displays the direction of the joystick changing...
  • Page 41 1. Move the sprite with the directional key of the controller Confirm the button first Click on the button > Appearance > click on the rollink > Select harry_1 2. Take-off: R1 Button, L1 Button: Landing H Button: Return to Origin...
  • Page 42 Start the script when the controller's button is pressed Check which button is pressed 3. Create a drone virtual-control exercise program with the controller - Left joystick Y-axis: Drone sprite. take-off or landing control - Left joystick X-axis: Drone sprite. left and right rotation - Right joystick X-axis: Drone sprite.
  • Page 43 Create left joystick partial script (take-off and left-hand rotation) To make a sprite smaller or larger. The effect of the drone rising or falling Create a startup script Adjusting sprit size and orientation Zeroed Left / Right Joystick Script Runs at the same time...
  • Page 44 Full Screen 4. Write a script to control a drone like RC mode with the controller Create a script to adjust the value of the Euler angle with the left and right joysticks X:pitch X: throttle Y:yaw Y:roll...
  • Page 45 To write a script for 'landing' and 'take-off function buttons' L1 Button : All Euler values are set to zero before landing. Script is executed when the controller's button is pressed R1 button : After takeoff, adjust the oiler angle and run the script, (Joystick-controlled) T I P When L1 is pressed (landed) the roll/ pitch/yow/roll value is set to...
  • Page 46 Controlling CoDrone Mini with Rokit Brick Appendix...
  • Page 47: Appendix 1 - Pairing

    Appendix 1 – Pairing Pairing means connecting the drone and the controller with the same communication settings. Pairing allows only two devices to communicate without interference from other devices. Pairing may be disabled during use, or a drone or controller must be purchased and used with the existing device.
  • Page 48 Appendix 2 – Charge drone battery With the drone connected, check the remaining battery indication, such as the controller If charging is required, the battery must be charged using the specified battery charger. (See image below) When the battery is connected, the LED on the charger illuminates and turns off when the charge is complete.
  • Page 49 Youtube.com/CoDrone • Download manuals and programs from online sites, Please check educational materials. • 'Robolink SW / Arduino' is provided as an open source...