iRobot IR-CT01 Скачать руководство пользователя страница 9

EZ Controller User Manual_EN_V.1.0 

 

 

 

 

3.3. Example - TogglePosition

 

 
 
This is an example of inverting 2 Positions designated by 1 toggling button. 
Select [Example] - [IRROBOT_EZController] - [EZ]– [EasyControl_TogglePosition] 
 

[Description] 

-

 

Mode switch (#8) can be positioned anywhere. (Mode switch only works in the built-in basic program) 

-

 

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.)   

-

 

Set  two  positional  points  (position  A  &  B)  by  turning  variable  resistors  (#3&4).  (Clockwise  turn  –  Retracting 
direction(short stroke) / Counter clockwise turn-    Extension direction(long stroke))   

-

 

Press  A  or  B  button  (#9  or  10  )  to  make  positional  command  to  the  assigned  goal  positions.  (Either  button 
between A and B)   

-

 

It  is  also  possible  to  reach  the  assigned  points  with  an  external  switch or  external voltage  signal  (#1  or  2).    For 
detailed information about external switch, see 2.3 External switches on page5. 

 

[Program Description] 

 

 
 
 

 
 
 

 
 
 

 

 
 
 
 

Example  in  which  the  two  points  set  as  variable 
resistors  are  reversed  from  point  A  to  point  B  and 
point B to point A when the A or B button is pressed. 

When  the  A  or  B  button  is  pressed,  the  tg_flag  value 
declared as bool is inverted, and when the value is 1, it 
moves to the A point, and when it is 0, it moves to the 
B point. 

Содержание IR-CT01

Страница 1: ...EZ Controller IR CT01 User Manual...

Страница 2: ...2 3 External Switch and Signal Input 5 2 4 Parts Pin Map 6 03 Example of Actuator Control through Arduino IDE 7 3 1 Overview 7 3 2 Ex 2 Position Control 7 3 3 Ex Toggle Position 9 3 4 Ex Manual Posit...

Страница 3: ...d before use See the picture on the right 3 Since the voltage applied to the EZ controller is directly applied to the connected actuator check the operating voltage range of the actuator and check the...

Страница 4: ...external switch or external signal It is same function as push button For position setting use and A Position setting V R A position setting by adjusting variable resistor A position command made by o...

Страница 5: ...Position respectively and then press the white push buttons A B in the center to operate the actuator as Point A and Point B Position Toggle Mode Connect the actuator move the Mode switch to the top...

Страница 6: ...the manual Page 4 Pin Name Arduino Leonardo I O Pin Part No Pin Name Purpose Part No Pin Name Purpose I O10 GPIO A Signal A0 A2 A3 GPIO Analog D3 GPIO B Signal D5 GPIO PWM A4 Analog A Variable resisto...

Страница 7: ...h an external physical switch or external voltage signal Figure 1 or 2 For detailed information about external switch see 2 3 External switches on page5 Here is the example of moving to 2 assigned pos...

Страница 8: ...the variable resistor values of Position A and Position B and assign values to A_stroke_val and B_stroke_val variables respectively The map function maps the variable resistor s resistor value to the...

Страница 9: ...ional points position A B by turning variable resistors 3 4 Clockwise turn Retracting direction short stroke Counter clockwise turn Extension direction long stroke Press A or B button 9 or 10 to make...

Страница 10: ...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...

Страница 11: ...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...

Страница 12: ...r digital terminals and the first second pins from the left can be used The signal terminal is the lowest pin of the 3 pins and the pin has a signal level of 5V See picture below Active Low 5V High Si...

Страница 13: ...refully 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 Among the header pins 12 the right t...

Страница 14: ...according to the pin arrayal If you press the A B button in the example A B is sent as an ASCII value When the board receives A as an ASCII value the actuator moves to the A point set the same as bef...

Страница 15: ...n the operation can be different according to the position of Mode selection switch 8 and the operation can be assigned for each mode Program Description Index values for each mode are defined sequent...

Страница 16: ...to the page 6 to make sure correct polarity Set the position limit by turning the variable resistors Fig 3 and 4 that adjust the position of the max and min points of the stroke in the clockwise and...

Отзывы: