Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Robotics
  4. ›Waveshare General Driver Board for Robots (ESP32)

Component guide · Intermediate · 3 min read

Waveshare General Driver Board for Robots (ESP32)

Motors, Bus Servos and IMU

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat the Waveshare general driver board for robots isWaveshare general driver board for robots pinoutWiring the Waveshare general driver board for robotsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The Waveshare general driver board is an ESP32-based robot controller. It has dual DC motor drivers with encoder inputs, a serial bus servo port, a 9-axis IMU, an OLED header, battery monitoring and Wi-Fi. It accepts JSON commands over serial or Wi-Fi, so a Raspberry Pi or Jetson can act as the brain while the board handles motors.

Key specs at a glance

MCU
ESP32-WROOM-32
DC motors
2 channels with encoder inputs
Servos
Serial bus servo port (ST/SC)
IMU
9-axis (accel, gyro, magnetometer)
Power
3S Li-ion input (about 9 to 12.6 V), INA219 monitor
Control
JSON over UART, USB or Wi-Fi
01

What the Waveshare general driver board for robots is

The Waveshare General Driver for Robots is an ESP32-based board that drives DC motors with encoders, serial bus servos, an IMU and an OLED, used in Waveshare robot kits and custom rovers.

It is the base board of Waveshare's UGV and robot arm kits, so the open firmware already understands commands like move, set speed and servo position. You can also flash your own Arduino code.

Keep the motor battery within range and add a fuse; stalled motors can draw several amps.

02

Waveshare general driver board for robots pinout

The pins on the Waveshare general driver board for robots and what each one does.

PinFunction
Battery in3S pack
Motor A / BDC motor outputs with encoder headers
Bus servo portST/SC servos
40-pin / UARTLink to Raspberry Pi or Jetson
I2COLED and sensors
PinFunction
Battery in
3S pack
Motor A / B
DC motor outputs with encoder headers
Bus servo port
ST/SC servos
40-pin / UART
Link to Raspberry Pi or Jetson
I2C
OLED and sensors
03

Wiring the Waveshare general driver board for robots

Connect the Waveshare general driver board for robots like this.

Waveshare general driver board for robots pinWith Raspberry PiStandalone
UARTPi GPIO 14/15 to board RX/TXUSB to PC
MotorsMotor A and B terminalsSame
Battery3S packSame
UART
With Raspberry Pi:
Pi GPIO 14/15 to board RX/TX
Standalone:
USB to PC
Motors
With Raspberry Pi:
Motor A and B terminals
Standalone:
Same
Battery
With Raspberry Pi:
3S pack
Standalone:
Same
04

Example code

Command numbers depend on the firmware version; see the Waveshare wiki JSON command list.

Drive forward from a Raspberry Pi (JSON) · MicroPython
import serial, json, time

s = serial.Serial('/dev/serial0', 115200, timeout=1)

def send(cmd):
    s.write((json.dumps(cmd) + '\n').encode())

send({"T": 1, "L": 0.2, "R": 0.2})   # left and right speed
time.sleep(2)
send({"T": 1, "L": 0, "R": 0})
05

Setup and tuning

Power

feed 7 to 12.6 V from a 2S or 3S battery pack.

Firmware

flash Waveshare's open-source firmware or your own ESP32 code.

Control

send JSON commands over USB, UART or Wi-Fi from a Raspberry Pi or Jetson.

Motors

connect encoder motors to the motor ports with correct polarity.

Servos

connect ST-series bus servos to the servo port.

06

What you need

Shop this list3 of 3 found in our store · ₹4,170

  • Waveshare General Driver Board for Robots (ESP32): the part this guide coversWaveshare General Driver Board for Robots (ESP32)₹3,300
  • Waveshare serial bus servo driver board: to drive bus servos from USB or an ESP32Waveshare Serial Bus Servo Driver Board₹481
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
07

Alternatives and when to choose them

  • ✓Waveshare serial bus servo driver: servos only.
  • ✓Motor drivers overview.
  • ✓Motor encoders.
08

Common mistakes to avoid

  • !Wrong battery voltage.
  • !Reversed motor polarity.
  • !Weak battery for servos.
  • !Overwriting firmware without backup.
09

Frequently asked questions

How do I control the driver board from a Raspberry Pi?

Send JSON commands to it over USB serial or the UART pins.

Can I use it with ROS?

Yes. Write a ROS node that sends serial commands and reads feedback.

Why do the motors turn the wrong way?

Swap motor wires or change direction in the firmware.

What battery should I use?

A 2S or 3S Li-ion pack within the input range.

Can it drive bus servos?

Yes. It drives Waveshare ST-series serial bus servos on its servo port.

Parts for this guide

  • Waveshare General Driver Board for Robots (ESP32)
    ₹3,300View
  • Waveshare Serial Bus Servo Driver Board
    ₹481View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
Shop DC Motor Drivers

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 1 dayQuadruped spider robot: centre the servos, then code a walking gaitView project
Browse all 1 project

Keep learning

ComparisonBeginnerMotor Drivers ExplainedA motor driver lets a low-power microcontroller control the speed and direction of motors using an H-bridge.4 min read · Motors & MotionConcept explainerIntermediateMotor Encoders and Speed FeedbackA motor encoder reports how far and how fast a shaft has turned.3 min read · Motors & MotionComponent guideIntermediateSerial Bus ServosA serial bus servo, or smart servo, takes position commands over a shared serial line instead of a PWM pulse.3 min read · Motors & Motion

Sources

  • Waveshare general driver for robots wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the Waveshare general driver board for robots isWaveshare general driver board for robots pinoutWiring the Waveshare general driver board for robotsExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide2 items · ₹3,781

Waveshare General Driver Board for Robots (ESP32) · Waveshare Serial Bus Servo Driver Board

Run itChange the inputs and watch the output

Sends JSON commands to the driver board: both wheels at 0.2 for 2 s, then stop. The script prints nothing.

Left fwd 20%
Right fwd 20%

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question