Ex. - Basic Function - iRobot IR-CT01 User Manual

Ez controller
Table of Contents

Advertisement

3.5. Example –Basic Function
Switching control mode and controlling actuator through Mode selection slide switch.
Select [Example] - [IRROBOT_EZController] - [EZ]-[EasyControl_BasicFunction] 선택
[Description]
-
Supply power to the input power terminal (#7). Make sure correct input voltage(7.4V or 12V) and correct
polarity.(GND and VCC)
-
Carefully insert the connector suitable for the selected communication. (#14 PWM / #15 TTL / #16 RS-485)
(For PWM connector (#14), refer to the page 6 to make sure correct polarity.)
-
Switch the mode with the mode slide switch (#8) to operate the actuator.
1) Mode0 : Manual Control (Switch Bottom)
2) Mode1 : 2 Position Control (Switch Center)
3) Mode2 : Toggle Control (Switch Top)
-
When operating in Mode1 (Manual Control), note that the position
setting variable resistor values by # 3 and 4 are set to the limit value
of the movable range of the variable linear potentiometer (# 17).
[Program Description]
MODE_0 : Manual Position(Potentiometer)
MODE_1 : Position Select(A, B Position)
MODE_2 : Position Toggle(A,B Position)
EZ Controller User Manual_EN_V.1.0
The bottom, middle, and top of the Slide Switch
are defined as MODE_0, MODE_1, and MODE_2 in
each order.
Debouncing by variable counting
Sw_status : Recognizing if the switch is pressed
sw_cnt: When SW is On, recognizing after debouncing
cnt: When SW is off, recognizing after determining
"off operation".
11

Advertisement

Table of Contents
loading

Table of Contents