Robolink CoDrone Mini User Manual

Robolink CoDrone Mini User Manual

Robolink CoDrone Mini is a small, programmable drone that can be controlled with the Rokit Brick coding platform. It features a variety of sensors and control blocks for flight, including pitch, roll, yaw, throttle, and LED control. Users can create custom flight patterns and animations, and learn about coding and robotics with this fun and engaging device.

advertisement

Assistant Bot

Need help? Our chatbot has already read the manual and is ready to assist you. Feel free to ask any questions about the device, but providing details will make the conversation more productive.

Robolink CoDrone Mini User Manual | Manualzz
CoDrone Mini
Rokit Brick
ENG
for
Controlling CoDrone Mini with Rokit Brick
Introduction
1. Enter coding mode from PC
Drone Simulator & Rokit Brick
Connect the cable (micro 5 pin)
to the controller port
Connect the USB cable to your PC
USB serial device(COM 13)
Occasionally, a bad ‘Micro 5 pin’
may prevent ‘COM PORT number’
from appearing.
(In this case, please replace Cable.)
Check the COM PORT number in
Device Manager - Port
(COM PORT numbers may vary
from PC to PC)
- Windows 10 : The UBB driver will be installed automatically
- Windows 7,8 : UBB drivers must be installed manually
※ The name of the device manager may be marked 'STM32 virtual COMport'
Put a battery in the drone, turn
on the power, and connect the
controller to the drone.
With Rokit brick coding, you can get
the drone flying as much as you want.
3
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.
Rokit Brick Icon
4
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
5
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
Connect the controller to the PC,
then press the 'Connect to drone'
button to connect the PC and the
drone.
Even if the drone is turned off by
removing the battery during use,
there is no need to disconnect the
drone, and it is automatically
connected when the drone is
switched back on.
CAUTION !
• Before pressing the Connect to Drone button, the drones
and controllers must be paired!
• If you have too many ports to connect to, check Device
Manager.
6
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
7
Control CoDrone with motion block
CoDrone Block
Description
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.
9
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.
10
10
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
to
or
, 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
11
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
∞
12
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. Similarly, the amount
of time to wait is entered for the desired time. can be changed into
그림3
13
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.
Variable?
A variable, especially one used a lot in a program, is a non-numeric
character that creates space for storing numbers and allows you to
put the desired number at any time.
e.g. A = 5, Value = 0
14
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. You
can see that the rotating radius of the drone has become larger and
smaller as the value changes.
15
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." Try to minimize the number of
blocks used.
3) After creating a landing site through the addition of a new sprite,
Implementing the drone landing at the landing site in a variety of ways
16
To control CoDrone with motion blocks
CoDrone Block
Description
To control a CoDrone with an operating blocks of motion
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
movement
Left turn, right turn
Forward and backward
(forward/backward) movement
Left-hand, right-hand
movement
Used to change multiple values
at the same time
18
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.
If multiple blocks are difficult to use over time, you can change
several values at the same time to one block below. Values left blank
without input are considered zero.
And when you add a waiting block (delay block), the specified control
value is maintained for a specified period of time before the next
block is operated.
: With the pitch value set to 50%, it
remains intact regardless of the wait
block below (no trailing blocks)
: Set pitch to 50% and continue for 2
seconds before the drone stops working
19
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
roll : Left, right, right.
Forward+
Rightward
movement +
20
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.
Shows the fine adjustment value for
the roll.
Shows the current status of the drone according to
the angle measuring sensor. (Normal / Start Flipping /
Flip)
Shows the remaining battery
percentage of the drone.
Shows how much the drone's gas is
tilted from side to side.
Shows how much the drone's gas is
tilted up and down.
Shows how the drone's fuselage
rotates left and right.
Shows the internal temperature of the
drone.
Shows the air pressure measured by
the drone.
21
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)
22
3. CoDrone Mini-block description
– fine-tuning block
Mastering the Hovering
What is hovering? A movement of floating in the air, maintaining a constant
height and fixed position, which is the basis for all drone movements. For
autonomous flights to work well, the hovering motion should be learnt first.
Steps for Correct Hovering
(a) take off
(b) make sure the drone does not move in any direction.
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 Minicontrol Appears on the block palette.
P: pitch value R: roll value
23
4. CoDrone mini-block description
– speed level adjustment and dexterity
Determines the level of drone speed.
- Level 1: Low speed control
- Level 2: Medium Speed Control
- 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).
TIP
Equal pitch value for speed level 1 and 3
Even if it's 50 it's a big difference in speed.
If you want to control it at dynamic speed, you need to
set the speed level at 3.
If you want a safe speed, you can control it by 1.
24
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.
Turns on the drone’s LED, and
then slowly dim it.
25
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.
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
then stopping (take it by hand)
Five seconds
After take off
Landing
5 Sec
① Take-off
②5s
③ Landing
Spacebar: Emergency
Landing Key
TIP
Wait five seconds after the take-off block, meaning after
the drone has received the take-off order.
27
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.
take-off order
3 seconds later.
Pitch (+30)
One second
after the
command.
Landing
1 sec
① take-off
② 1s
③ Landing
TIP
Even with the same 30% pitch output, the speed of the
drones may vary depending on the speed level setting.
28
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)
Take-Off
order
① take-off
Peach 50%
1.5 sec
Roll 50%
1.5 sec
② Pitch (forward) 1.5 sec
③ Roll( Left movement) 1.5 sec
Landing
④ Landing
1.5 s movement in forward direction (pitch)
Clear the forward direction output (pitch) to zero
Move left (-roll) for 1.5 seconds.
Clear left-hand output (roll) to zero
* Different time or pitch output values can be used to adjust the
travel distance.
29
FAQ
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.
As you move, you move diagonally. Therefore, the forward speed
must be zero.
If the pitch value has not been
cleared to zero
If the pitch value is cleared to zero
30
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. Use the fine-tuning blocks to adjust the hover.
Take-off
Hoverling
Condition
observation
① take-off
② hoverring observation
Adjust by
pressing the
w,a,s,d key
③ fine adjustment
Landing
④ stop
W
A
31
S
D
fine adjustment
5. Example of flying CoDrone acrobatics
Example of flying and landing in a circle, right after CoDrone take-off
Take-off
2 sec
①take- off
Rotary Flight
4 Repetitions
② Rotary Flight 4 repetitions
Landing
③ Landing
Changing the yaw value and
the deviation value at the
same time
> Make it rotate in a circle
32
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
33
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.
Forward
Front
Flip
Back
Flip
Reverse
3 - repetitions
① Forward
② Front Flip
③ Reverse
④ Back flip
Forward at 40% power for 2 Seconds
Exceeding week + requires waiting time
(set to 2 seconds)
Reverse to 40% output for
2 seconds
Exceeding week + requires waiting time
(set to 2 seconds)
34
8. Example of receiving CoDrone sensor values
– 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.
There can be a growing and
decreasing phenomenon.
2) Receive the attitude control value of the CoDrone and
rotate the sprites.
Before coding, I'd like to
put the sprite on it.
Upload CoDrone Image
It should.
3) Receiving the attitude control value of the CoDrone
Depending on the sensor state
of the CoDrone,
The angle you need to subtract
from the YAW,
It can be different.
35
TIP
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!
36
9. Receiving CoDrone Sensor Value Example –
Receiving Battery Value and Drone Status
Examples of receiving battery values and the state of a drone
1) Receiving Codrone Mini's battery value
On the Variables tab before
coding
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.
Variables printed
on canvas
37
Controlling CoDrone Mini with Rokit Brick
Manipulate
Using the Controller
Use the controller buttons or joysticks to create a
script that performs interesting actions.
Controller Block: Appears by clicking on the Controller tab on the palette.
SPPED
LED/FLIP
Y
Y
X
X
UP
LEFT
ON/OFF
RIGHT
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.
Tells which buttons are pressed (see figure above)
39
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
(IN/OUT/STAY)
TM
TR
TL
ML
MR
BL
BM
BR
Controller color change block:
Change the LED color of the controller. Block to change
the color of the drone as shown below.
Set the same LED color for the controller and the drone
when used in conjunction with .I can do it.
40
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
R1
L1
41
H
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.
left and right parallel shift
Sprite is
click > Shap >
Click on rollink > select
codron2_up
- Right joystick Y-axis: Drone sprite.
back and forth movement
A
Create Right Joystick Partial Script (Pre-Left and Left)
42
B
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
C
Create a startup script
Adjusting sprit size and
orientation Zeroed
Left / Right Joystick Script
Runs at the same time
43
D
Full Screen
4. Write a script to control a drone like RC mode with the controller
A
Create a script to adjust the value of the Euler angle with the left and right
joysticks
X: throttle
Y:yaw
44
X:pitch
Y:roll
B
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)
TIP
When L1 is pressed (landed) the roll/ pitch/yow/roll value is set to
zero because the Euler values that were previously executed during
the next run can affect the flight.
If it doesn't clear up to zero, when it lands and takes off again,
The remaining values may cause the drone to fly in an unintended
direction.
45
Controlling CoDrone Mini with Rokit Brick
Appendix
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.
To pair, shake the drone five to six times as shown in the picture below.
When the drone is ready for pairing, the LED on the top of the drone is
red and blue.
It flashes as it repeats. Press the pairing button on the controller as shown
below.
Pairing Button
Now we can control the drones with the controls.
!
- You only need to perform the first pairing once. (Pairing will be maintained)
- If it doesn't work, try again from the beginning.
- Depending on the environment, it may not be paired in a single attempt.
- The drones and controls must be up-to-date
47
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.
Charger
Drone Battery
Specifications
Battery
- Voltage : 3.7V
- Capacity : 220mAh
- Time of use : About 8 minutes
- Charging time : About 30 minutes
Charging cable + Charger + Battery
Charger + smartphone adapter
PC USB Port + Charging Cable
48
www.RobolinkSW.com
Youtube.com/CoDrone
• Download manuals and programs from online
sites, Please check educational materials.
• 'Robolink SW / Arduino' is provided as an
open source

advertisement

Key Features

  • Programmable drone
  • Rokit Brick coding
  • Sensors and controls
  • Custom flight patterns
  • LED control

Frequently Answers and Questions

How do I connect the CoDrone Mini to the Rokit Brick?
Make sure your USB drive is installed successfully. Run Rokit Brick for Codrone (RBCodrone, Rokit Brick CoDrone). Click on the bottom left palette to see the drone control blocks, connect the controller to the PC, and press the 'Connect to drone' button. Refer to Section 4 of the viewed document for detailed instructions.
What is hovering and how do I achieve it?
Hovering is maintaining a constant height and fixed position. It is achieved by adjusting the fine-tuning controls until the drone remains still. Refer to Section 3 of the viewed document for detailed instructions.
What are the different speed levels for the CoDrone Mini?
The CoDrone Mini has three speed levels: Level 1 (low speed), Level 2 (medium speed), and Level 3 (maximum speed). Refer to Section 4 of the viewed document for more information.

Related manuals

Download PDF

advertisement