Example Of Actuator Control Through; Arduino Ide; Overview; Ex. -2 Position Control - iRobot IR-CT01 User Manual

Ez controller
Table of Contents

Advertisement

Example of Actuator Control
3
through Arduino IDE
Actuator control via the Arduino IDE's data communication protocol (RS-485 or TTL). This is for the advanced users of
Arduino who want to control actuators more freely through data communication of Arduino.

3.1 Overview

Here are Arduino examples to control mightyZAP through EZ Controller. The examples are for serial data
communication (TTL or RS-485 communication) and do not support PWM communication.
The EZ Controller is designed based on Arduino Leonardo, and the Arduino API provided by us is based on Arduino
Leonardo / Uno. For detailed description of each parameter function, please refer to the mightyZAP user manual.
3.2. Example - 2 Position Control (RS-485/TTL)
The EZ controller contains two variable resistors (Figures 3 and 4) that can assign two positional points and two buttons
(Figures 9 and 10) that commands to reach the assigned points. (Alternatively, it is also possible to reach the assigned
points with 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 positions which is set by position setting variable resistors (#3&4) through
2 switches (#9&10).
Select [Example] - [IRROBOT_EZ Controller] - [EZ]–[EZ Controller_2Positions]
[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).
-
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, B button (#9, 10 ) to make positional command to the assigned goal positions.
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.
EZ Controller User Manual_EN_V.1.0
Make sure correct input voltage(7.4V or 12V) and correct
7

Advertisement

Table of Contents
loading

Table of Contents