keyestudio KS4033

Contents

Keyestudio Micro:bit DRV8833 Motor Driver Expansion Board

User Manual

1. Product Overview

The Keyestudio Micro:bit DRV8833 Motor Driver Expansion Board (Model KS4033) is designed to extend the capabilities of your BBC Micro:bit by providing a robust solution for controlling two DC motors. This expansion board integrates the DRV8833 motor driver chip, offering a safe, reliable, and easy-to-expand platform for various robotics and automation projects.

Keyestudio Micro:bit DRV8833 Motor Driver Expansion Board with packaging

Figure 1: Keyestudio Micro:bit DRV8833 Motor Driver Expansion Board with packaging.

The board features pin headers on both sides for convenient operation and expansion. Its compact design and high-quality components ensure stable performance for your Micro:bit projects.

Front and back view of the Keyestudio DRV8833 Motor Driver Expansion Board

Figure 2: Front and back view of the Keyestudio DRV8833 Motor Driver Expansion Board, highlighting pin layouts.

2. Specifications

Attribute Value
Brand Name keyestudio
Model Number KS4033
Application For BBC Micro:bit
Input Voltage (Supply Voltage) DC 6-12V
Operating Temperature 0-40°C
Package Type (DRV8833 chip) TQFP
Dimensions (L x W x H) 68mm x 56mm x 10mm
Weight 34.7g
Dimensions of the Keyestudio DRV8833 Motor Driver Expansion Board

Figure 3: Physical dimensions of the DRV8833 Motor Driver Expansion Board.

Weight measurement of the DRV8833 Motor Driver Expansion Board

Figure 4: Weight of the DRV8833 Motor Driver Expansion Board.

3. Setup Instructions

Follow these steps to connect your DRV8833 Motor Driver Expansion Board to your Micro:bit and DC motors:

  1. Attach the Micro:bit: Carefully insert your BBC Micro:bit into the edge connector slot on the DRV8833 expansion board. Ensure it is seated firmly and correctly.
  2. Connect DC Motors: Identify the motor output terminals on the blue screw terminal block. There are two sets of terminals, typically labeled A1/A2 and B1/B2. Connect one DC motor to A1 and A2, and the second DC motor to B1 and B2. Polarity might affect motor direction, which can be adjusted in code or by reversing connections.
  3. Connect Power Supply: The board requires an external DC power supply between 6V and 12V. Connect the positive (+) terminal of your power supply to the 'VM' terminal and the negative (-) terminal (ground) to the 'GND' terminal on the blue screw terminal block. Ensure the power supply is off before connecting.
  4. Verify Connections: Double-check all connections to ensure they are secure and correctly wired to prevent damage to the board or motors.
Wiring diagram showing how to connect two DC motors and a battery pack to the DRV8833 Motor Driver Expansion Board and a Micro:bit

Figure 5: Example wiring diagram for connecting two DC motors and a battery pack to the DRV8833 board and Micro:bit.

4. Operating Instructions

Once the board is set up, you can program your Micro:bit to control the connected DC motors. The DRV8833 chip allows for independent control of two motors, including direction and speed (via PWM).

4.1 Basic Motor Control

The Micro:bit will send control signals to the DRV8833 board via its GPIO pins. You will typically use two pins per motor for direction control (e.g., IN1/IN2 for Motor A, IN3/IN4 for Motor B) and potentially a PWM pin for speed control. Refer to the DRV8833 datasheet or Keyestudio's official documentation for specific pin mappings and example code for Micro:bit.

  • To drive a motor forward, set one input pin HIGH and the other LOW.
  • To drive a motor backward, reverse the HIGH/LOW states of the input pins.
  • To stop a motor, set both input pins LOW or HIGH (brake).
  • To control speed, apply a Pulse Width Modulation (PWM) signal to the appropriate enable pin or directly to the input pins if the driver supports it.

4.2 Programming Environment

You can use the MakeCode editor, Python, or other Micro:bit compatible programming environments to write your motor control code. Keyestudio often provides libraries or example projects for their expansion boards, which can be a great starting point.

5. Maintenance

To ensure the longevity and optimal performance of your DRV8833 Motor Driver Expansion Board, follow these maintenance guidelines:

  • Keep Clean: Regularly clean the board with a soft, dry brush to remove dust and debris. Avoid using liquids or harsh chemicals.
  • Handle with Care: Always handle the board by its edges to avoid touching components or solder joints, which can be sensitive to static electricity or physical damage.
  • Storage: Store the board in an anti-static bag when not in use, especially for extended periods, to protect it from static discharge and environmental factors.
  • Power Off: Always disconnect the power supply before making any changes to wiring or connections.
  • Environmental Conditions: Operate and store the board within the specified operating temperature range (0-40°C) and avoid high humidity.

6. Troubleshooting

If you encounter issues with your DRV8833 Motor Driver Expansion Board, consider the following troubleshooting steps:

6.1 Motors Not Spinning

  • Power Supply: Verify that the external DC power supply is connected correctly (VM to positive, GND to negative) and is within the 6-12V range. Ensure the power supply is turned on.
  • Motor Connections: Check if the DC motors are securely connected to the A1/A2 and B1/B2 terminals. Ensure no loose wires.
  • Micro:bit Connection: Confirm that the Micro:bit is properly seated in the expansion board's edge connector.
  • Code Check: Review your Micro:bit code to ensure that the correct GPIO pins are being used to send signals to the motor driver and that the logic for motor control (HIGH/LOW states) is correct.
  • Motor Health: Test the motors directly with a battery to ensure they are functional.

6.2 Incorrect Motor Direction

  • Reverse Wiring: If a motor spins in the wrong direction, simply reverse the A1/A2 or B1/B2 connections for that specific motor.
  • Code Adjustment: Alternatively, adjust your Micro:bit code to reverse the HIGH/LOW logic for the motor's input pins.

6.3 Board Not Responding

  • Power Indicator: Check if there's any power indicator LED on the board (if available) to confirm it's receiving power.
  • Component Check: Visually inspect the board for any signs of damage, such as burnt components or broken traces.
  • Micro:bit Functionality: Ensure your Micro:bit is working correctly by testing it with a simple program (e.g., displaying text).

7. User Tips

  • Start Simple: When first using the board, begin with a simple program to test one motor's basic forward and reverse movement before implementing complex control logic.
  • Refer to Documentation: Always consult the official Keyestudio documentation or the DRV8833 datasheet for detailed pin configurations and advanced features.
  • Secure Connections: Ensure all screw terminal connections are tightened sufficiently to prevent intermittent contact, but do not overtighten to avoid damaging the terminals or wires.
  • External Power: Remember that the Micro:bit itself cannot power motors directly. Always use an external power supply (6-12V DC) connected to the DRV8833 board for motor operation.

8. Warranty and Support

For warranty information, technical support, or further assistance, please refer to the official Keyestudio website or contact their customer service directly. Keep your purchase receipt as proof of purchase.

© 2024 Keyestudio. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?