Waveshare General Driver for Robots

Waveshare General Driver Board for Robots Instruction Manual

Model: General Driver for Robots

1. Introduction

The Waveshare General Driver Board for Robots is a versatile control board designed for robotics applications. It integrates an ESP32-WROOM-32 module, offering wireless communication capabilities such as WiFi, Bluetooth, and ESP-NOW. This board is compatible with host computers like Raspberry Pi and Jetson Nano, providing extensive peripheral interfaces for motor control, servo management, sensor integration, and more. It serves as a central hub for building and controlling various types of robots.

2. Features

  • ESP32-WROOM-32 Module: Supports wireless communication including WiFi, Bluetooth, and ESP-NOW.
  • Motor Control: Onboard interfaces for 2x DC motors with encoders or 4x DC motors (2 groups) without encoders.
  • Serial Bus Servo Control: Interfaces for controlling up to 253 ST3215 serial bus servos with feedback.
  • 9-Axis IMU: Integrated for obtaining attitude and heading information.
  • Power Input: Supports 7-13V, compatible with 2S or 3S lithium battery modules.
  • Automatic Download Circuit: Facilitates easy program uploading.
  • Voltage/Current Monitoring: Onboard support for power status monitoring.
  • TF Card Slot: For data storage and WiFi configurations.
  • Laser Lidar Interface: Dedicated interface for Lidar modules.
  • UART to USB Function: Integrated for communication.
  • IIC Interface: For connecting peripherals like OLED displays and other IIC devices.
  • Multi-functional Extended Header: For additional functions, such as controlling servos or relays.
  • 40PIN GPIO Header: For connecting and powering host computers (Raspberry Pi/Jetson Nano) via serial port or IIC.
  • Open-Source Demos & Tutorials: Provided to assist with development.

3. Package Contents

Verify that all items listed below are included in your package. If any components are missing or damaged, please contact your vendor.

Waveshare General Driver Board package contents including the board, USB monitor, screws, and Bluetooth antenna.

Image: Package contents of the Waveshare General Driver Board, showing the main board, a 2.8-inch USB monitor, a screw pack, and a Bluetooth antenna.

  • General Driver Board for Robots x1
  • 2.8-inch USB Monitor x1
  • Screws Pack x1
  • Bluetooth Antenna x1

4. Board Overview

This section provides a detailed overview of the components and interfaces on the General Driver Board.

Detailed diagram of the Waveshare General Driver Board with numbered components and their functions.

Image: Detailed diagram illustrating the various components and interfaces on the General Driver Board.

  1. ESP32-WROOM-32 controller module
  2. IPEX1 WiFi connector
  3. LIDAR interface
  4. I2C peripheral expansion interface
  5. Reset Button
  6. Download button
  7. DC-DC 5V voltage regulator circuit
  8. Type-C port (LADAR)
  9. Type-C port (USB)
  10. XH2.54 power port
  11. INA219 voltage/current monitoring chip
  12. Power ON/OFF switch
  13. ST3215 serial bus servo interface
  14. Motor interface PH2.0 6P (Group B for motor with encoder)
  15. Motor interface PH2.0 6P (Group A for motor with encoder)
  16. Motor interface PH2.0 2P (Group A for motor without encoder)
  17. Motor interface PH2.0 2P (Group B for motor without encoder)
  18. AK09918C 3-axis electronic compass
  19. QMI8658C 6-axis motion sensor
  20. TB6612FNG Motor Control Chip
  21. Serial bus servo control circuit
  22. TF card slot
  23. 40PIN GPIO header
  24. 40PIN extended header
  25. CP-2102 (UART to USB for radar data transmission)
  26. CP-2102 (UART to USB for ESP32 communication)
  27. Automatic download circuit

5. Specifications

Key technical specifications for the General Driver Board.

Table of specifications for the Waveshare General Driver Board.

Image: Table detailing the control module, power supply, antenna, wireless communication, control chip, power interface, download interface, dimensions, mounting hole spacing, and diameter.

ParameterValueParameterValue
Control ModuleESP32-WROOM-32Control ChipESP32
Power SupplyDC 7-13VPower InterfaceXH2.54
Antenna ConnectorIPEX1Download InterfaceType-C
Wireless CommunicationWiFi, ESP-NOWDimensions65 × 65mm
Mounting Hole Spacing49 × 58mmMounting Hole Diameter3mm
Operating SystemLinuxRAM Memory TechnologyPSRAM
Processor BrandEspressif SystemsWireless CompatibilityBluetooth
Outline dimensions of the Waveshare General Driver Board.

Image: Diagram showing the physical dimensions of the General Driver Board in millimeters.

6. Setup

6.1 Power Connection

Connect a DC power source (7-13V) to the XH2.54 power port. Alternatively, a 2S or 3S lithium battery module can be used. Ensure the power switch (12) is in the OFF position before connecting power, then switch to ON.

6.2 Host Computer Connection

The 40PIN GPIO header (23) allows connection to host computers such as Raspberry Pi or Jetson Nano. Communication can be established via serial port or IIC. Ensure proper pin alignment to prevent damage.

6.3 Initial Programming

Connect the board to your computer via the Type-C USB port (9). Utilize the automatic download circuit (27) for easy program uploading to the ESP32. Refer to the Waveshare wiki for detailed instructions on setting up your development environment (e.g., Arduino IDE).

7. Operating Instructions

7.1 Motor Control

The board supports various motor configurations. Connect DC motors with encoders to the PH2.0 6P motor interfaces (14, 15) or DC motors without encoders to the PH2.0 2P motor interfaces (16, 17). The TB6612FNG Motor Control Chip (20) manages motor operation.

7.2 Serial Bus Servo Control

Connect ST3215 serial bus servos to the dedicated interface (13). The serial bus servo control circuit (21) allows for controlling up to 253 servos and obtaining feedback. Ensure adequate power supply for multiple servos.

Diagram showing multiple serial bus servos connected to the Waveshare General Driver Board.

Image: Illustration of how multiple serial bus servos are connected to the board for control.

7.3 IMU and Navigation

The onboard 9-axis IMU (AK09918C electronic compass (18) and QMI8658C motion sensor (19)) provides real-time attitude and heading information. This data is crucial for robot navigation and stabilization.

Diagram illustrating the 9-axis IMU on the Waveshare General Driver Board and its measurement axes (Roll, Pitch, Yaw).

Image: Representation of the 9-axis IMU, showing its ability to detect acceleration, magnetic fields, and angular velocity across X, Y, and Z axes.

7.4 Wireless Communication

The ESP32-WROOM-32 module (1) supports WiFi, Bluetooth, and ESP-NOW. Connect the provided Bluetooth antenna to the IPEX1 WiFi connector (2) for enhanced wireless range. Configure wireless settings via the ESP32 programming environment.

7.5 Peripheral Connections

The board offers various interfaces for connecting external peripherals:

  • LIDAR: Connect Lidar modules to the LIDAR interface (3) and Type-C port (8).
  • IIC Devices: Use the I2C peripheral expansion interface (4) for OLED displays, IMU sensors, and other IIC-compatible devices.
  • TF Card: Insert a TF card into the slot (22) for storing data or WiFi configurations.
Diagram showing various peripheral connections to the Waveshare General Driver Board, including motors, servos, Lidar, and host computers.

Image: Overview of the board's rich peripheral interfaces, demonstrating connections for tracked robots, robotic arms, and other robot types.

7.6 Voltage and Current Monitoring

The INA219 voltage/current monitoring chip (11) allows for real-time monitoring of the power supply status. This feature helps in managing battery life and detecting power anomalies.

Image showing the voltage and current monitoring feature of the Waveshare General Driver Board, displaying battery voltage, current, power, and remaining capacity.

Image: Display of voltage and current monitoring, indicating battery voltage, current draw, power consumption, and estimated remaining capacity.

7.7 Open-Source Demos and Tutorials

Waveshare provides open-source demos and detailed tutorials to assist users in getting started and utilizing the board's full functionality. These resources cover various aspects, including motor control, IMU data reading, servo control, and more.

Screenshot of Waveshare's open-source demos and tutorials for the General Driver Board.

Image: Screenshot showing the range of open-source demos and detailed tutorials available, including examples for motor control, TF card reading, OLED screen control, PWM servo control, IMU data reading, ST3215 serial bus servo control, INA219 voltage and current monitoring, WEB key control, WEB JSON control, WEB robot status display, serial JSON control, closed-loop speed control, and WiFi status reading and connection settings.

8. Maintenance

  • Handling: Always handle the board by its edges to avoid touching components, especially the ESP32 module, to prevent electrostatic discharge.
  • Environment: Operate the board in a clean, dry environment. Avoid exposure to moisture, dust, and extreme temperatures.
  • Cleaning: If necessary, gently clean the board with a soft, dry brush or compressed air. Do not use liquids or abrasive materials.
  • Power Off: Disconnect all power sources before making any physical connections or disconnections to the board.

9. Troubleshooting

  • Board Not Powering On: Ensure the power supply is within the 7-13V range and correctly connected to the XH2.54 port. Check the power ON/OFF switch (12).
  • Programming Issues: Verify the Type-C USB connection (9) and ensure the correct drivers are installed on your computer. Confirm the automatic download circuit (27) is functioning. Refer to the Waveshare wiki for specific programming environment setup.
  • Peripheral Not Responding: Check all physical connections for motors, servos, and IIC devices. Ensure the correct code is uploaded and that the peripheral is compatible with the board's interfaces.
  • Wireless Connectivity Problems: Ensure the Bluetooth antenna is securely connected to the IPEX1 WiFi connector (2). Verify WiFi credentials and network settings in your code.
  • Unexpected Behavior: Review your code for logical errors. Consult the Waveshare official documentation and community forums for similar issues and solutions.

10. Support & Resources

For further assistance, detailed documentation, and community support, please refer to the official Waveshare resources:

  • Official Waveshare Website: www.waveshare.com
  • Product Wiki/Documentation: Search for "General Driver Board for Robots" on the Waveshare wiki for comprehensive guides, schematics, and example code.
  • Technical Support: Contact Waveshare's customer support through their official website for specific technical inquiries.

11. Warranty Information

For information regarding the product warranty, please refer to the warranty policy available on the official Waveshare website or contact your point of purchase. Warranty terms and conditions may vary by region and retailer.

Related Documents - General Driver for Robots

Preview ST3215 Servo User Manual - Waveshare
Comprehensive user manual for the Waveshare ST3215 Servo driver board, detailing setup with ESP32, usage, AT commands, servo types, WiFi connectivity, and development examples for Arduino, Raspberry Pi, and Jetson.
Preview Waveshare 2.13-inch E-Paper HAT User Manual and Guide
Comprehensive user manual for the Waveshare 2.13-inch E-Paper HAT, detailing its features, parameters, working principles, and integration with development boards like Raspberry Pi, Arduino, and Jetson Nano. Includes setup instructions, code examples, and troubleshooting FAQs.
Preview Waveshare E-Paper ESP32 Driver Board: Features, Demos, and Guide
Explore the Waveshare E-Paper ESP32 Driver Board. This guide details its features, hardware connection, Bluetooth and WiFi demos, and common FAQs for e-paper display projects.
Preview ESP32-C6-Touch-LCD-1.47: Development Guide for Arduino IDE & ESP-IDF
Explore the ESP32-C6-Touch-LCD-1.47 development board with this comprehensive guide. Learn to use Arduino IDE and ESP-IDF, set up your environment, and run various demos for your IoT and embedded projects.
Preview Waveshare ESP32-S3-Touch-LCD-4.3 Development Board: Features & Guide
Explore the Waveshare ESP32-S3-Touch-LCD-4.3, a powerful microcontroller development board featuring a 4.3-inch capacitive touch display, WiFi, BLE 5, and multiple interfaces like CAN, RS485, and I2C. Learn about its hardware, setup, and sample demos for HMI development.
Preview ESP32-S3-Touch-LCD-2 Development Board Guide
A comprehensive guide for the Waveshare ESP32-S3-Touch-LCD-2 development board, covering setup and usage with Arduino IDE and ESP-IDF, including detailed examples and resources.

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.