News Download Tutorial FAQ Reference Buy

Entry : Block List for Multiple Robots

Index of Robot
The "Multiple Robots" mode of the Entry is available since the Robot Coding Software version 1.5.3, not supported by the Entry Hardware Connection program.

The Hamster robot is numbered from 0, 1, 2, 3, 4, 5, ... in order from the first connected to the PC. If the order of the hardware robots is important, turn on the robots one by one. When the first robot is turned on, it will be robot #0. After confirming that the first robot is connected, turn on the second robot, and when it is connected, it becomes robot #1. This way, you can set the order of hardware robots by turning them on one by one.

If you do not need to distinguish hardware robots, you can turn on the robots at once. In this case, you do not know which one will be connected first, but they are numbered in order from the first connected to the PC.

This number is the index distinguishing the robots. If you enter the index of the robot in each block, the command is sent to the robot. The index of the robot can be also found in the list of robots on the right side of the Robot Coding Software.

If there is a hand or object in front of the left or right proximity sensor, it is judged as 'True', otherwise 'False'.
If the hand or object is too close (within 1cm), it will not be detected.

Parameter


The sensor value of a Hamster robot

First Parameter

Second Parameter

Moves one space forward on the board composed of black grids.
The board can be downloaded from the Tutorial - Classroom Materials - Worksheet.

Parameter

Turn left/right 90 degrees in place on the board composed of black grids.
The board can be downloaded from the Tutorial - Classroom Materials - Worksheet.

First Parameter

Second Parameter

Move forward for the number of seconds entered.

First Parameter

Second Parameter

Move backward for the number of seconds entered.

First Parameter

Second Parameter

Turn left/right in place for the number of seconds entered.

First Parameter

Second Parameter

Third Parameter

Add the values you entered to the current speed (%) of the left wheel and the right wheel respectively.
If the result is positive, the wheel rotates forward; if negative, the wheel rotates backward.

First Parameter

Second Parameter

Third Parameter

Set the speed of the left wheel and the right wheel to the entered value (-100 to 100%), respectively.
If you enter a positive value, the wheel rotates forward. If you enter a negative value, the wheel rotates backward. Entering the number 0 stops it.
The value you entered is the % value based on the maximum speed.

First Parameter

Second Parameter

Third Parameter

Add the value you entered to the current speed (%) of the left/right/both wheels.
If the result is positive, the wheel rotates forward; if negative, the wheel rotates backward.

First Parameter

Second Parameter

Third Parameter

Set the speed of the left/right/both wheels to the entered value (-100 to 100%).
If you enter a positive value, the wheel rotates forward. If you enter a negative value, the wheel rotates backward. Entering the number 0 stops it.
The value you entered is the % value based on the maximum speed.

First Parameter

Second Parameter

Third Parameter

Move along the black/white line by using the left/right/both floor sensors.

First Parameter

Second Parameter

Third Parameter

Move along the black/white line on the left/right/front/rear, then stops when it encounters the intersection.
When you first start, it is best to choose the 'front' or 'rear' intersection for the second parameter. The robot may not turn left or right if the first starting position is not exactly on the intersection. If the robot encounters an intersection while moving, it will stop at the correct location, so you can choose anything for the second parameter from hereafter.

First Parameter

Second Parameter

Third Parameter

Set the speed (1 to 8) to move along the line. The greater the number, the faster the movement.

First Parameter

Second Parameter

Stop both wheels.

Parameter

Turn on the left/right/both LEDs to the selected color.

First Parameter

Second Parameter

Third Parameter

Turn off the left/right/both LEDs.

First Parameter

Second Parameter

The buzzer sound of 440 Hz sounds short (0.2 seconds).

Parameter

Add the value you entered to the current pitch (Hz) of the buzzer sound. You can enter up to two decimal places.

First Parameter

Second Parameter

Set the pitch of the buzzer sound to the value (Hz) you entered. You can enter up to two decimal places. Entering the number 0 turns off the buzzer sound.

First Parameter

Second Parameter

Turn off buzzer sound.

Parameter

It sounds the note of the selected pitch and octave as much as the beat you entered.

First Parameter

Second Parameter

Third Parameter

Fourth Parameter

Rest as much as the beat you entered.

First Parameter

Second Parameter

Add the value you entered to the current BPM (beats per minute) of playing or rest.

First Parameter

Second Parameter

Set the speed of playing or rest to the BPM (beats per minute) you entered.

First Parameter

Second Parameter

Set the input/output mode of the external extension port.

First Parameter

Second Parameter

Third Parameter

Add the value you entered to the current output value of the external extension port. The result will have the following range depending on the mode of the external extension port.

First Parameter

Second Parameter

Third Parameter

Set the output value of the external extension port to the value you entered. The input value has the following range depending on the mode of the external extension port.

First Parameter

Second Parameter

Third Parameter
Contents
Hardware
  1. Hamster robot
  2. USB dongle
Preparation for Class
  1. Software installation   Windows · MacOS · Linux
  2. Robot to PC connection
  3. Software execution   Windows · MacOS · Linux
  4. Block list for single robot
  5. Block list for multiple robots
Basic
  1. Standing and singing
  2. My precious ass
  3. Moving an object with the accelerometer
Advanced
  1. Moving an object with the accelerometer
  2. Line follower with one sensor
Previous Lectures
  1. Ordering in sequence
  2. Repeat
  3. Debugging
  4. Repeat until hand found
  5. Move a robot
  6. Use sensors
  7. Use the default board
  8. Braitenberg's robot
Copyright Robot Software Education Institute. All rights reserved.
Please contact prof. Kwang-Hyun Park (akaii@kw.ac.kr) if you have any problem.