Detailed Explanation about the Chips
Regular chips
1.1 Start Chip: Start Chip
1.2 DC Motor Chip : DC Motor Chip
1.3 Servo Chip : Servo Motor Chip
1.4 Voice Chip: Voice Chip
1.5 Dot Matrix Chip : Dot Matrix Chip
1.6 On Chip: Port Opening Chip
1.7 Off Chip: Port Closing Chip
1.8 Variable Chip: Variable Chip
1.9 Calculate Chip: Calculate Chip
Delay : Delay management chip
2.1 Delay Chip: Delay Chip
While : Repetition related chips
3.1 While Chip: Repeated Chip
3.2 Break Chip: Repeated Stop Chip
3.3 Loop Chip: Circular Chip
If Else : Conditions related chip
4.1 If Else Chip: Condition Chip
4.2 IR Remote Control 5 Chip: 5 button infrared remote control chip
4.3 IR Remote Control 8 Chip: 8-Burton Infrared Remote Control Chip
4.4 Bluetooth R/C 10 Chip: 10 button Bluetooth remote control chip
4.5 Bluetooth R/C 12 Chip: 12- Button Bluetooth Remote Chip
4.6 Contact S/W Chip: Access Switch Chip
4.7 Rand Chip: Random Chip
Sensors: Sensor-related chips
5.1 IR Sensor Chip: Infrared Sensor Chip
5.2 Magnetic Chip: Magnetic Sensor Chip
5.3 PIR Sensor Chip: Human Body Sensors Chip
5.4 Tilt Sensor Chip: Tilt Sensor Chip
5.5 Color Sensor Chip: Color Sensor Chip
5.6 Color Sensor (New) Chip: Color Sensor (New) Chip
Function Chip: a function-related chip
6.1 New Function Chip: Creating a New Function
▶Regular Chips
_____________________________________________________________
1.2 DC Motor Chip
Main Function
-A chip that decides speed and direction of the DC Motor
Specific Explanation
-Press the option button on the DC motor chip to display the DC motor setup dialog box as follows.
How to use the Chatbox
-When the DC motor chip is set, the robot's DC motor moves as set until the next DC motor chip is released.
-To specify how long the set DC motor will move, typically place a delay chip after the DC motor chip.
-In the Port Selection area, you can select the port to which the motor is connected by selecting the check box.
-The direction selection area allows you to select the rotation direction of the motor using the triangle icon.
-The speed selection area allows you to select the operating speed of the motor. The speed can be set from 0 to 15, where 0 represents a stop..
Example
1. The motor operates only when the direction and speed of the DC motor are set and the delay chip is used to allow time for the motor to move.
2. The motor does not stop automatically after the operation time has elapsed, so a DC motor chip with zero speed must be inserted to stop the motor. The example below shows how the motor changes in the direction of rotation every one second.
1.3 Servo Chip
Key Features
-It is a chip that moves the servo motor. The servo motor is designed to move by a given angle, and it can split 220 movements into numbers from a minimum of 1 to a maximum of 214, providing detailed settings.
Detailed description
-Press the option button on the servo motor chip to display the DC Motor Settings dialog box as follows.
dialog box and usage description
-If you check and activate the servo motor on the corresponding output port among the numbers Servo 1 through 5, you can display the scale.
-The semicircular scales represent the servomotor's moving radius, which allows you to click the scale using your mouse or enter a value directly.
precautions
-The triangular grooves on the servo motor shaft (the dents on the white motor shaft) indicate the reference points (zero) on the servo motor.
-The radius of movement of the servo motor is 220 degrees, so 107 steps of the servo motor chip is 90 degrees as shown below.
A sufficient amount of time (approximately 1 second) is required to set the desired angle on the servo motor chip and then move to the target angle.
If the program is made using only the servo motor chip, the servo motor shaft will not reach the target angle and will take the next action.
Reference
-The radius of movement of the servomotor:
-To set the starting point for the servo motor:
Plug the connecting parts into the axis of the servo motor and turn right to the end.
Pull out the connected parts and match the starting point (1 step) as the operating reference.
In the logic program, set the servomotor chip to one step and download it,
By operating the robot, you can see that the servo motor shaft moves to the starting point.
-Real-time movement:
You can connect communication to move the selected servo motor in real-time.
Select the moving servo motor and press the connect button in the upper right corner.
After confirming that the button has been changed to the connected state, you can confirm that the servo motor is moving by changing the value of the selected motor.
1.4 Voice Chip
Key Features
-This chip activates the Voiceboard
Specific Explanation
-The voice chip exports an output signal that operates the voice board to the output port that you set.
-When you press the option button on the voice chip, the voice setting dialog box appears as follows.
How to use the Voicebox
-The voiceboard must be connected to one of the robot's output ports (PORT1 to PORT5) and you can select the port to be connected in the voice setting dialog box.
1.5 Dot Matrix Chip
Key Features
-This chip activates the Dot Maxtrix Board
Specific Explanation
-Dot matrix chips are responsible for printing letters, numbers, symbols, and images on the dot matrix board.
-The output of the dot matrix board is largely divided into character mode and image mode, which outputs alphabets, numbers, and symbols, and image mode freely draws and outputs images beyond the fixed character mode.
-Click the options button located in the upper right corner of the dot matrix chip to display the dot matrix board settings dialog as follows
How to use the Chatbox
-Specific Explanation
-a table where you can enter letters, numbers, and symbols
Color Selection Area, Rotation Button
Display screen
Output Port Settings
-How to Use
If you select green in the color selection area and press A in the table, A is displayed on the display screen.
After that, if you specify an output port to which the dot matrix board is connected, a program chip with a green character A output to that port is completed.
The figure you enter can rotate 90 degrees. The figure above shows the result of rotating 90 degrees clockwise.
The table stores letter, number, and symbol information, so you can select the color you want and select the contents of the table.
The picture above shows the result of selecting orange and entering the symbol Heart (♥).
It can be drawn and displayed directly, as well as in the form stored in the table. Unlike in character mode, where fixed characters are entered through a table, in image mode, you can draw any shape on the display screen by combining colors. The example above is the shape of a house with red and green colors.
Caution
-When setting up a dot matrix chip, be sure to select the output port to which the dot matrix board is connected.
-And if you want to keep changing the output when using the dot matrix board, you need to give the delay for at least 0.6 seconds to work correctly.
1.6 On Chip
Key Features
-It is a chip that turns on the LED or buzzer.
Specific Explanation
-Used when an LED or buzzer connected to the CPU board is turned on by the program.
-When you press the option button on the port opening chip, the port opening dialog box appears as follows.
How to use the Chatbox
-The port opening dialog box represents the robot's output ports (PORT1 to PORT5)
-There are five check buttons.
-If four LEDs are connected from output ports 1 to 4, to operate the LEDs
-You must check port 1, port 2, port 3, port 4.
Cautions
-The port opening chip should always be used with the port closing chip.
-If you opened the port and used it, closing the port is the correct way to program the chip.
1.7 On Chip
Key Features
The chip that turns off the LED or the Buzzer.
Specific Explanation
-Used to turn off an LED or buzzer connected to the CPU board by a program.
-When you press the option button on the port opening chip, the port opening dialog box appears as follows.
How to use the Chatbox
-The Port Close dialog box has five check buttons indicating the robot's output ports (PORT1 to PORT5).
-If four LEDs are connected from output ports 1 to 4, port 1, port 2, port 3, and port 4 must be checked to turn off the LEDs.
Caution
-The port close chip should always be used with the port open chip.
-If you opened the port and used it, closing the port is the correct way to program the chip.
Example
If the LED is not turned off after it is turned on, it will remain on.
The example on the left is an example of turning on the LEDs in ports 1 and 2 and holding them for 1 second, turning off the LEDs in ports 1 and 2, and turning on the LEDs in ports 3 and 4 for 1 second and then turning off,
The example on the right is an example of turning on the LEDs on ports 1 and 2 and holding them for 1 second, and then turning on the LEDs on ports 3 and 4.
1.8 Variable Chip
Key Features
-A chip that creates a new variable and sets an initial value, or sets a new value for an existing variable.
Specific Explanations
-A variable is a number whose value changes and can be changed by the program.
-A maximum of 16 variables can be used in logic.
-The user can use variables to store the data received from the sensor.
-Variables are created, initialized, and changed by variable chips and calculation chips, and condition chips and repetition chips
-They're compared, so to use variables, you can use variable chips, computational chips, conditional chips, repetitive chips
-You need to know how to use it.
-Click the option button located in the upper right corner of the variable chip to set the variable as follows
-The dialog appears.
How to Use the Chatbox
First, select the Combo box to generate a variable, then select Create a new variable (New Var.).
A dialog box appears asking if you want to create a new variable.
Click the Yes button.
In New Name, enter the name of the variable you want to use.
Variable names can be up to two characters, only alphabetic and numeric characters.
Type a variable name and click Confirm
The part that sets the initial value of the variable.
Enter the initial value of the variable to be created, and then click Confirm.
An A1 variable with an initial value of 10 was created.
The conditional chip or repeat chip attached under this variable chip can be compared/judged/repeated using variable A1.
Caution
Variable names can be up to two characters, only English characters and numbers. If you enter a variable name of more than three characters, the above warning appears.
The first letter of a variable name must start with an English letter. If you start with a number, you'll see the above warning.
Variables can only be integers; variables can also be entered from -128 to 127.
1.9 Calculate Chip
Key Features
-It's a chip that calculates variables and variables and variables and variables and constants
Specific Explanations
-A computational chip is a chip that adds, subtracts, multiplies, and divides variables and constants generated by variable chips.
-If you click the options button located in the upper right corner of the calculation chip, the calculation chip settings dialog appears as follows.
How to use the Chatbox
The user can specify two operands and an operator and a variable to store the results of the Gricho operation.
The operand can choose either a variable or a constant (normal number); the following example uses an A1, AD variable that has already been created.
If a variable is created, the variable appears in the list of operands as above.
If you select A1 or AD, the variable is selected as operand, and if you select Value, the constant is selected as operand. If you select a constant, you must enter the constant value you want to calculate next to the operand.
The figure above is an example of storing the value of variable A1 plus the value of variable AD in variable A1.
If 10 was stored in A1 and 5 in AD, the calculation result would be 15 in A1.
When you click an operator, the addition (+) operation changes to the subtraction (-) operation.
If 10 was stored in A1 and 5 in AD, the calculation result would be stored in A1.
If you keep clicking on the operator, you can also perform multiplication and division.
If there were 10 in A1 and 5 in AD, the multiplication result would be 50 in A1 and the division result would be 2 in A1.
In addition, you can perform arithmetic operations using only one variable.
Caution
Variables can only be integers; variables can also be entered from -128 to 127.
As a result, special care should be taken to ensure that the operation results of the variables do not exceed the input range.
▶Delay
_____________________________________________________________
2.1 Delay Chip
Key Features
-A chip that delays the status for a specified time.
Specific Explanations
-Proper delay is required to operate the robot.
-A delay chip is a chip used to delay a robot's condition for a certain period of time.
-Press the option button on the delay chip to display the delay setting dialog box as follows.
How to use the Chatbox
The unit is 0.1 seconds, with a delay of 0.1 to 25 seconds.
There are two methods of typing on the keyboard and one method of typing on the increase and decrease buttons.
▶While
_____________________________________________________________
3.1 While Chip
Key Features
-It is a chip that repeats a particular chip.
Specific Explanations
-Robots will perform a lot of simple repetitive tasks.
-Repetition chips are chips used to perform these iterations, which repeat normal chips placed between the chip () indicating the beginning of the repetition and the chip () indicating the end of the repetition.
How to use the Chatbox
-Repeated chips have infinite repetition mode and condition repetition mode.
The mode of the repeat chip can be set by pressing the option button.
-If you set it to '∞' as shown in the picture on the left below, the repeat chip will be set to infinite repeat mode
The chips placed between the repeating chips are repeated indefinitely.
-If the condition is set as shown in the right side below, it is set to the condition repetition mode and only when the condition is true
You repeat the chip placed between the repeat chips.
Caution
-If you use a repeating chip in infinite repetition mode, you will repeat it indefinitely unless you use the repeating stop chip to escape.
-At this time, the chips underneath the repeat chip are not executed
Example
This program is configured to allow the robot to advance indefinitely by repeating the command chip advancing for 0.1 seconds.
Example of using a repeat chip with a variable chip.
Each time A repeats the while statement, it increases by 1 through the calculation chip, so the DC motor operates on the first and second iterations and repeats until the third iteration is performed before the program is terminated.
3.2 Break Chip
Key Features
-It's a chip that stops repeating.
Specific Explanations
-If you encounter a repeat stop chip inside the repeat chip, it stops repeating and exits the repeat chip.
Caution
-Repeated interruption chips must be used inside the repeat chip.
Example
This is an example of a recurring chip, which performs a sensor check inside the recurring chip and exits the recurring chip if the result is true.
3.3 Loop Chip
Key Features
-A chip that circulates a specified number of times.
Specific Explanations
-A repeat chip is used for infinite repetition or condition repetition using a variable. However, in order to repeat a condition by repeating a condition on a repeat chip a set number of times, it must go through a complicated process such as defining, initializing, calculating, and comparing conditions.
-A Loop Chip is a chip that simplifies this complex process and repeats the regular chips placed between the chip () representing the beginning of the cycle and the chip () representing the end of the cycle.
-The number of repetitions of a circular chip can be set by pressing the option button as shown below. Below is an example of a chip placed between circular chips set to repeat three times
How to use the Chatbox
Caution
-Loop Count can be from 0 to 127.
Example
This is an example in which 1 forward second and 1 backward second are operated three times.
▶If Else
_____________________________________________________________
4.1 If Else Chip
Key Features
-Compare input port values or conditions and run the programmed chip according to the result.
Specific Explanations
-The robot needs a sensor to respond to the external environment. In other words, it uses a condition chip to allow the robot to perform different actions depending on the sensor value. When you press the option button on the condition chip, the conditioning dialog box (If Setting) appears as follows.
How to use the Chatbox
-If 'Sensor Port' is checked, the chips placed on each YES and NO are executed according to the input port value, and if 'Compare' is checked, the chips placed on each YES and NO are executed according to the conditions.
Example
A simple example of a condition chip.
If the value of the sensor connected to input port 1 is true, the left wheel will reverse for one second, and if the value of the sensor is false, both wheels will move forward.