keyestudio KS4033

Keyestudio Micro:bit DRV8833 Motor Driver Expansion Board

Manual d'usuari

1. Producte acabatview

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.

Davant i darrere view of the Keyestudio DRV8833 Motor Driver Expansion Board

Figura 2: Davant i darrere view of the Keyestudio DRV8833 Motor Driver Expansion Board, highlighting pin layouts.

2. Especificacions

Atribut Valor
Nom de marca estudi clau
Número de model KS4033
Aplicació For BBC Micro:bit
Entrada Voltage (Supply Voltage) DC 6-12V
Temperatura de funcionament 0-40°C
Package Type (DRV8833 chip) TQFP
Dimensions (L x A x A) 68 mm x 56 mm x 10 mm
Pes 34.7 g
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. Instruccions de configuració

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. Connecteu la font d'alimentació: 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. Verifica les connexions: 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

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

4. Instruccions de funcionament

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

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

  • Mantenir net: Regularly clean the board with a soft, dry brush to remove dust and debris. Avoid using liquids or harsh chemicals.
  • Manejar amb cura: Always handle the board by its edges to avoid touching components or solder joints, which can be sensitive to static electricity or physical damage.
  • Emmagatzematge: 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.
  • Apagar: Always disconnect the power supply before making any changes to wiring or connections.
  • Condicions ambientals: Operate and store the board within the specified operating temperature range (0-40°C) and avoid high humidity.

6. Solució De Problemes

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

6.1 Motors Not Spinning

  • Font d'alimentació: 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.
  • Connexions del motor: 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.
  • Salut motora: 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

  • Indicador d'alimentació: Check if there's any power indicator LED on the board (if available) to confirm it's receiving power.
  • Comprovació de components: 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. Consells d'usuari

  • Comença de manera senzilla: 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.
  • Connexions segures: Ensure all screw terminal connections are tightened sufficiently to prevent intermittent contact, but do not overtighten to avoid damaging the terminals or wires.
  • Potència externa: 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. Garantia i Suport

For warranty information, technical support, or further assistance, please refer to the official Keyestudio weblloc web o contacteu directament amb el seu servei d'atenció al client. Conserveu el rebut de compra com a comprovant de compra.

Documents relacionats - KS4033

Preview KS0428 Keyestudio Mini Tank Robot V2 – Návod a Projekty
Komplexní uživatelský manuál a průvodce projekty pro KS0428 Keyestudio Mini Tank Robot V2. Obsahuje montážní návody, nastavení softwaru a vzdělávací projekty pro Arduino, ideální pro výuku elektroniky a programování.
Preview Keyestudio NANO CH340: Development Board Guide and Arduino IDE Setup
A comprehensive guide to the Keyestudio NANO CH340 development board, covering technical specifications, pinouts, and a step-by-step tutorial for setting up the Arduino IDE and uploading code.
Preview Placa de desenvolupament Keyestudio ESP32: característiques, especificacions i guia d'ús
Explora la placa de desenvolupament Keyestudio ESP32, un microcontrolador versàtil amb WiFi i Bluetooth compatible amb Arduino. Aprèn sobre les seves característiques, especificacions, pinout i codi de prova per a projectes d'IoT i llars intel·ligents.
Preview Keyestudio 4DOF Robot Arm Kit for Arduino DIY
Discover the Keyestudio 4DOF Robot Arm Kit for Arduino DIY. This guide provides step-by-step assembly, features, and control projects using Arduino, joysticks, Bluetooth, and PS2 controllers, ideal for STEM education and hands-on learning.
Preview Keyestudio KS0066 TB6612FNG Dual DC Motor Driver Module
Acabatview of the Keyestudio KS0066 TB6612FNG Dual DC Motor Driver Module, detailing its specifications for controlling two DC motors with up to 1.2A continuous current, PWM speed control, and multiple operating modes.
Preview L298N Motor Driver Module XC4492 Datasheet | Keyestudio
Explore the Keyestudio L298N Motor Driver Module (XC4492) datasheet. Learn about its strong driving ability, low calorific value, and anti-interference features for Arduino projects.