Adafruit Motor Shield V2: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoAdafruitMotorShieldV2.png == Summary == I2C motor control shield supporting DC motors, servos, and PWM channels with configurable drivers and pulse modulation. == Description == The Adafruit Motor Shield V2 component provides comprehensive motor control capabilities through I2C interface. It supports two driver channels each controlling two DC motors, multiple servo outputs, and 16 PWM channels. The shield features configurable motor parameters includ..."
 
(No difference)

Latest revision as of 01:01, 16 September 2025

File:TArduinoAdafruitMotorShieldV2.png

Summary

I2C motor control shield supporting DC motors, servos, and PWM channels with configurable drivers and pulse modulation.

Description

The Adafruit Motor Shield V2 component provides comprehensive motor control capabilities through I2C interface. It supports two driver channels each controlling two DC motors, multiple servo outputs, and 16 PWM channels. The shield features configurable motor parameters including slope control, PWM frequency adjustment, and servo pulse customization. Typical applications include robotics, CNC systems, automated controls, and any project requiring precise motor and servo management.

Diagram:

Properties

  • Motors – Motor driver configuration.
    • Address – I2C device address (Default: 0x60).
    • Driver1 – First motor driver.
      • Motor1 – Motor 1 settings.
        • Enabled – Enables motor (Default: True).
        • Initial Value – Initial speed value (Default: 0.5).
        • Slope Run – Acceleration slope (Default: 0).
        • Slope Stop – Deceleration slope (Default: 0).
      • Motor2 – Motor 2 settings.
        • Enabled – Enables motor (Default: True).
        • Initial Value – Initial speed value (Default: 0.5).
        • Slope Run – Acceleration slope (Default: 0).
        • Slope Stop – Deceleration slope (Default: 0).
    • Driver2 – Second motor driver.
      • Motor1 – Motor 1 settings.
        • Enabled – Enables motor (Default: True).
        • Initial Value – Initial speed value (Default: 0.5).
        • Slope Run – Acceleration slope (Default: 0).
        • Slope Stop – Deceleration slope (Default: 0).
      • Motor2 – Motor 2 settings.
        • Enabled – Enables motor (Default: True).
        • Initial Value – Initial speed value (Default: 0.5).
        • Slope Run – Acceleration slope (Default: 0).
        • Slope Stop – Deceleration slope (Default: 0).
  • PWM Channels – Pulse Width Modulation settings.
    • PWM0 – PWM channel 0.
      • Enabled – Enables channel (Default: True).
      • Initial Value – Initial PWM value (Default: 0).
      • On Value – Active PWM value (Default: 1).
    • PWM11 – PWM channel 11.
      • Enabled – Enables channel (Default: True).
      • Initial Value – Initial PWM value (Default: 0).
      • On Value – Active PWM value (Default: 0).
    • PWM14 – PWM channel 14.
      • Enabled – Enables channel (Default: True).
      • Initial Value – Initial PWM value (Default: 0).
      • On Value – Active PWM value (Default: 1).
    • PWM15 – PWM channel 15.
      • Enabled – Enables channel (Default: True).
      • Initial Value – Initial PWM value (Default: 0).
      • On Value – Active PWM value (Default: 1).
    • PWM Frequency (Hz) – PWM frequency (Default: 1600Hz).
    • Sleep – Sleep mode (Default: False).
  • Servo – Servo motor configuration.
    • Servo – Servo channel 1.
      • Enabled – Enables servo (Default: True).
      • Initial Value – Initial position (Default: 0.5).
      • Max Pulse – Maximum pulse width (Default: 2400μs).
      • Min Pulse – Minimum pulse width (Default: 544μs).
      • Reversed – Reverse direction (Default: False).
      • Use PWM Library – PWM library usage (Default: False).
    • Servo – Servo channel 2.
      • Enabled – Enables servo (Default: True).
      • Initial Value – Initial position (Default: 0.5).
      • Max Pulse – Maximum pulse width (Default: 2400μs).
      • Min Pulse – Minimum pulse width (Default: 544μs).
      • Reversed – Reverse direction (Default: False).
      • Use PWM Library – PWM library usage (Default: False).

Pins

Input Pins

  • SDA (i2c) – I2C data line (Digital 18/Analog 4).
  • SCL (i2c) – I2C clock line (Digital 19/Analog 5).
  • Servo In (pwm) – Servo control input (Digital 9-10).
  • Motor1 In (pwm) – Motor 1 control input.
  • Motor2 In (pwm) – Motor 2 control input.
  • PWM0 In (pwm) – PWM channel 0 input.
  • PWM1 In (pwm) – PWM channel 1 input.
  • PWM14 In (pwm) – PWM channel 14 input.
  • PWM15 In (pwm) – PWM channel 15 input.

Output Pins

  • Digital Out (digital) – Digital signal output.
  • Analog (PWM) Out (pwm) – PWM signal output.
  • Servo Out (servo) – Servo signal output.
  • Motor1 Out (motor) – Motor 1 drive output.
  • Motor2 Out (motor) – Motor 2 drive output.

Categories

  • File:I2C.png – I2C communication interface components.
  • File:Motor.png – Motor control components.
  • – Servo motor components.
  • File:PWM.png – Pulse Width Modulation components.
  • – Expansion shield components.
  • File:Adafruit.png – Adafruit product components.
  • – Robotics and automation components.