Motors, Servo Motors, and Motor Drivers
Design and implement robust motor control systems
Configure and design Simulink® models with motors, servo motors, and motor drivers to implement robust motor control systems for a wide range of applications.
Blocks
| Servo Write | Set servo motor to specified angle | 
| M1M2DCMotors | Control power and direction of DC motor on port M1 or M2 | 
| M3M4DCMotors | Control power and direction of DC motor on port M3 or M4 | 
| Encoder | Measure rotation of motor in ticks | 
| Battery Read | Read voltage of battery | 
| L293D DC Motor | Control power and direction of a DC motor (Since R2023a) | 
| PCA9685 DC Motor | Control power and direction of a DC motor (Since R2023a) | 
| Continuous Servo Write | Set direction and speed of continuous rotation servo motor | 
| Standard Servo Read | Measure shaft position of standard servo motor in degrees | 
| Standard Servo Write | Set shaft position of standard servo motor to angle specified in degrees | 
Topics
- Use Arduino Engineering Kit Rev 2 with Preconfigured Projects in Support PackageLearn how to use Arduino® Engineering Kit Rev 2 with the support package. 







