Table of Contents

Light Controlled Robot Activities

To identify the location of components (such as slider switch and sensors), please see the component image at the bottom of this page.

The light controlled robot (program control tracer) operates in two different modes.

1. Programming mode:

The robot will follow the moves you programmed. Use the dedicated software to program your robot.

2. Line tracing mode:

The robot moves along a course. It uses optical sensors to detect black course lines.

PC requirements for the Control Software

OS : Windows (XP SP2 or higher - Win7) Recommended display: 65,000 colors or more with 800 x 600 pixels or higher resolution.

Software code interface

How the optical sensors work

The optical sensors measure the intensity of light reflected from the paper course. Black areas reflect light of a different intensity to white areas. The robot can therefore use its optical sensors to determine where it is on the course.

How the tracing robot works

When the right-hand sensor detects black, the robot determines that the course leads to the right. It stops the right motor, allowing the left motor to turn the robot to the right. (The opposite occurs when the left-hand motor detects black.) When both sensors detect the black finish line, the robot determines that the course is about to end, and stops both motors.

Getting Started: Line Tracing Mode

You can download and print a .pdf format course sheet for line tracing mode and/or create your own course.

To create a line tracing course, use a wide, black marker to draw a 25mm-wide line on a sheet of white paper (min 20mm - max 30mm wide). Place the robot over the lie and see if it will run along the course (as described in next paragraph.

Align sensors Sensor location Line Tracing
Artec line tracing setup track positioning Robot sensor image Line tracing robot

NOTE: The robot cannot follow sharp turns or small curves with a diameter of 100 mm or less. To prevent the robot from running astray, keep these things in mind when you make your own course.

Running in line tracing mode:

  1. Place the robot at the start position.
  2. Align the black course line with the centre of the main body (make sure the sensors are equi-distant on either side of, and not directly over the black line.).
  3. Check that the sliding power switch is set to OFF
  4. Rest one finger on the touch sensor and switch on the power.
    1. You will hear a long beep when Line Tracing Mode activates. (Keep your finger on the touch sensor until the beep stops.)
    2. If the robot does not move after you remove your finger, then moisten your finger and try again (see troubleshooting section below)
  5. Lift your finger off the touch sensor. You will hear a short beep and the robot will start to move.
  6. If light calibration and track have been setup correctly. the robot wil follow the line and stop at the correct end point.

Troubleshooting

Press on the sensor until you hear a beep.

Getting Started: Programming Mode

Your teacher has already installed the control software, find the icon on the desktop or in the APPS folder (http://www.artec-kk.co.jp/

Screen grab of programming software interface Example printable course
Screen Grab Example Course

An example course template can be printed (uses two sheets of A4 paper, or you can make up your own:

When you have finished designing your program, simply send it to the robot via optical communication from the data transfer area. Place the robot on a smooth floor area and slide the switch to ON. The robot will carry out the actions indicated on the icons in the order you place them.

Transferring Control Program from PC to robot

How to transfer a control program The control program you created on the PC can be transferred to the robot via optical communication.

Transfer code from PC to robot

To ensure proper data communication, keep the computer screen out of strong light. Make necessary lighting adjustments if the robot has difficulty reading the flashing lights. It may help to cover the sensor with your hand.

Troubleshooting data transfer problems:

To minimise data transfer problems:

Software download & Resources to print