Manual Lss05
Manual Lss05
Manual Lss05
LSS05
Users Manual
V1.2
September 2011
Information contained in this publication regarding device applications and the like is intended through suggestion only and may
be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No
representation or warranty is given and no liability is assumed by Cytron Technologies Incorporated with respect to the accuracy
or use of such information or infringement of patents or other intellectual property rights arising from such use or otherwise. Use
of Cytron Technologiess products as critical components in life support systems is not authorized except with express written
approval by Cytron Technologies. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
Index
1. Introduction and Overview
2. Packing List
5. Installation (hardware)
6. Getting Started (from user get the item until using it)
13
17
Note: Red color is very bright to IR sensor, thus LSS05 has difficulties in red white pair
color line follow.
2. PACKING LIST
Please check the parts and components according to the packing list. If there is any part
missing, please contact us at sales@cytron.com.my immediately.
Specifications
Parameter
Min
Typical Maximum
Unit
940
nm
0.8
Output Signal
Typical
Maximum
Unit
Operating voltage
20
mA
cm
Sensing distance
Minimum
Top
D
E
Label
Function
Label
Function
PIC16F819
Calibration button
A Sensor indicator LEDs (red) will light up showing that it detects line.
B Calibration button is used to enter different modes. Press once to enter the calibration
mode. Press twice to set the line sensor bar into dark line following mode and press 3 times to
set the line sensor bar into bright line mode.
C Mode indicator LED (orange) is for indication of the mode. LED will light up if LSS05
is in bright line detection mode. Otherwise, it is off.
D PIC16F819 PIC microcontroller for data processing.
E Power and output signal connector
F Power indicator LED (green) showing the board is supplied with power. Maximum input
power is 5V.
Bottom
C
Label
Function
Pairs of IR sensor
5. INSTALLATION (HARDWARE)
Connect to
microcontroller
Pin pitch for 2020H connector is not standard size for donut board pin pitch. To use LSS05
with donut board, simply cut the end of connector and solder another type of connector like
2510 or 3960 connector. Following figure is showing the step to connect LSS05 to others
type of connector.
Created by Cytron Technologies Sdn. Bhd. All Rights Reserved
10
11
12
6. GETTING STARTED
LSS05 need to be calibrated to retrieve the dark and bright value of the surface that it
will do the line follow. Every of the IR sensor pairs need to be exposed to the dark and bright
surface for it to read the value and save it. LSS05 will save the value in EEPROM, it will
retrieve back the data from the EEPROM every time its switch on. Hence, only one time
calibration is needed for the same surface and line. To calibrate LSS05, simply press the
calibration push button once or pulling down the Cal. for few milliseconds. Calibration will
be start by exposing the sensor to the bright surface and then to the dark surface as indicated
by the LEDs. 3 LEDs blinking means the bright calibration (2.5 seconds) and 2 LED blinking
means the dark calibration (2.5 seconds). Calibration is normally done by crossing every
sensor across the line that it will follow as shown in the figure below. Sensors will save the
brightest value in the bright calibration process and darkest value in dark calibration. User
can calibrate by simply swinging the sensors across the dark and bright surface in order to
expose every sensor to the dark and bright surface. Calibration of every sensor is
independent and value of each sensor will be saved.
13
LED
Output
ON
ON
OFF
OFF
OFF
OFF
ON
ON
ON
OFF
OFF
OFF
OFF
ON
ON
OFF
OFF
OFF
OFF
OFF
14
5V GND 01 02 03 04 05 Cal
One falling edge pulse for calibration mode as shown in figure below. After the
falling edge pulse the sensor will start calibration.
Two falling edges for setting the LSS05 into dark line mode. The 2 falling edges need
to be in range of 1.5 seconds.
1.5s
15
The usage of the calibration signal pin is optional. The pin (TTL, 5V) can be connected to a
microcontroller if user want to use it. The Calibration signal pin has the same functions as the
Cal button. Instead of manually pushing the Cal button for the settings of LSS05, user can
use a microcontroller to pull down the signal to get into the settings. It is similar to the Cal
button, pulling down signal pin once set the sensor bar into calibration mode, pulling down
the signal pin twice consecutively to set the sensor into dark line mode and pulling down the
signal pin 3 times consecutively set the sensor into bright line mode. The timing requirement
for the consecutive signals is 1.5 seconds (refer to the timing diagram).
Pin 8 which is Cal signal pin is connected to push button. Then the push button is connect to
microcontroller through a transistor.
Reminder: Please keep the Cal. signal at high logic level 5V if its not generating pulse
for the function of the signal.
16
8. WARRANTY
Prepared by
Cytron Technologies Sdn. Bhd.
19, Jalan Kebudayaan 1A,
Taman Universiti,
81300 Skudai,
Johor, Malaysia.
Tel:
Fax:
+607-521 3178
+607-521 1861
URL: www.cytron.com.my
Email: support@cytron.com.my
sales@cytron.com.my
17