You are on page 1of 5

MAGICIAN: ROBOT EXPERIMENTS

1. Prerequisite
a. The tasks are based on the values retrieved from Infra red sensor, Light dependent sensor
[CDS]
b. Sample values based on which the following programs are done
i. IROut1: < 50 is inferred as an obstacle
ii. IROut2: < 380 is inferred as an obstacle
iii.
c. Read the values for the sensors by using the code
i. Load the file named SensorRead
ii. Use Tools->SerialMonitor to read the values in Arduino
iii. This is an arduino file and not generated using Ardublock. Take help from
instructor as necessary

2. Obstacle Sensing: IR Sensor 1


a. File Name: IR1TurnRight.abp
b. Purpose: Obstacle sensing
c. Requisites:
i. Connect IROut1 to A0
MAGICIAN: ROBOT EXPERIMENTS

3. Obstacle Sensing: IR Sensor 2


a. File Name: IR2TurnRight.abp
b. Purpose: Obstacle sensing
c. Requisites:
i. Connect IROut2 to A1
MAGICIAN: ROBOT EXPERIMENTS

4. Line Follower: IR Sensor 1


a. File Name: LineFollowerIR1RightTurn.abp
b. Purpose: Following line / lane
c. Requisites:
i. Connect IROut1 to A0
ii. Determine the sensitivity of the sensor on empty floor and then with black coated
material or equivalent
iii. Provide the sensitivity level in analog read. See test symbol in following diagram
MAGICIAN: ROBOT EXPERIMENTS

5. LightFollower
a. File Name: LightFollowerCDS.abp
b. Requisites:
i. Connect CDS out to A3
MAGICIAN: ROBOT EXPERIMENTS

6. Shadow follower: Straight line


a. File Name: ShadowFollowerCDS.abp
b. Requisites:
i. Connect CDS out to A3

You might also like