Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can build a Wi-Fi-controlled camera robot with an ESP32-CAM, a wheeled chassis, DC motors, and a separate dual-channel motor driver. The key is to choose parts that match electrically, wire them to the exact pin map used by your firmware, and test motion before driving the robot. The project examples below show workable approaches, not a single universally compatible parts list or a tested recipe.

How the robot works

The ESP32-CAM provides the camera and Wi-Fi connection. A motor driver switches the higher current needed by the chassis motors; ESP32 GPIO pins provide control signals rather than powering the motors directly. Firmware brings the pieces together: it connects to Wi-Fi, serves a camera stream, and provides a way to control movement from a browser or app.

A two-wheel differential-drive design turns by running its left and right motors at different speeds or directions. Four-wheel kits add motors and chassis space, but require a driver and power system suited to the actual motor load. The examples include both 2WD and 4WD designs; they do not provide a controlled comparison of their mobility.

Choose compatible parts before assembly

  • ESP32-CAM with OV2640 camera: Confirm the board variant and its camera pinout. An ESP32-CAM board may need a USB-to-serial adapter for programming.
  • Chassis and DC gear motors: Choose a 2WD or 4WD chassis, then check each motor’s rated voltage and current.
  • Dual-channel H-bridge driver: Select a board rated for the motors’ electrical requirements. The examples use L298N and DRV8833 drivers, but their wiring and pin maps are not interchangeable by default.
  • Power components: Plan a motor supply and a regulated supply suitable for the particular ESP32-CAM. Check battery chemistry, cell holder, charging and protection components against the expected load.
  • Wiring and mounting: Use suitable jumper wires and secure the board, driver, and battery holder to the chassis.
  • Optional pan/tilt mount: A two-servo mount or an SG90 turret servo can move the camera, but adds GPIO and power requirements.
  • Programming adapter: Use an appropriate USB-to-serial adapter if the board has no onboard USB programming interface.

The 2020 Arduino Project Hub build lists an L298N, FT232RL FTDI mini USB adapter, MB102 breadboard supply module, 18650 holder, ESP32-CAM, and Adafruit PID 3244 2WD chassis, plus a two-servo pan/tilt platform. These are that author’s selections, not a universal bill of materials: Arduino Project Hub build. A separate open-source controller uses a DRV8833 and SG90 servo and notes that its pin arrangement repurposes GPIO functions associated with the SD card: matiyas/esp32-robot documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
FREENOVE 4WD Car Kit for ESP32 CAM (Included), Dual-core 32-bit 240 MHz Microcontroller, Camera, Dot Matrix, Obstacle Avoidance, Line Tracking, Light Tracing, Colorful Light, App
  • Multiple Functions: This car has four drive wheels, the rotatable head has a camera and a dot matrixe module (Assembly required) (Battery NOT included)
  • ESP32 WROVER: Dual-core 32-bit microprocessor up to 240 MHz, 4 MB Flash, 8 MB PSRAM, onboard 2.4 GHz Wi-Fi and Bluetooth 4.2 (LE), camera
  • Detailed Tutorial: Provide step-by-step assembly guide and complete code (The download link can be found on the product box) (No paper tutorial)
  • Control Methods: Controlled wirelessly by your Android phone or tablet, iPhone (with Freenove App) and computer (run Windows or macOS)
  • Battery NOT Included: Please refer to the downloaded tutorial to buy

Pick the chassis, driver, camera mount, and power approach

Choice What to weigh What the examples establish
2WD or 4WD Mechanical simplicity, chassis space, motor count, and motor load 2WD appears in the Arduino example; a ShillehTek kit manual documents a 4WD design. Neither source provides a controlled mobility comparison. Arduino Project Hub; ShillehTek kit manual.
L298N or DRV8833-class driver Motor voltage and current ratings, wiring, heat and power behavior, and available GPIO Both driver families appear in project examples; the cited sources do not compare their performance. Check the driver documentation against your motors. Arduino Project Hub; matiyas/esp32-robot; FokaKefir/ESP32-robot.
Fixed camera or pan/tilt Simplicity versus adjustable field of view, plus servo current and GPIO use The Arduino example lists a two-servo mount; the matiyas controller documents an SG90 servo. Arduino Project Hub; matiyas/esp32-robot.
Battery pack or bench supply Mobility versus tethering, motor load, regulated logic supply, and battery charging and protection Examples list differing power arrangements, including cells and a 12V supply; they do not establish one compatible prescription for every build. Arduino Project Hub; ShillehTek kit manual; matiyas/esp32-robot; FokaKefir/ESP32-robot.

Do not select a battery by copying another project’s cell count or voltage. First identify the motors’ ratings and the driver’s requirements; then choose a suitable motor supply and a regulated ESP32-CAM supply. Follow the board and power-component documentation, and ensure the circuit has a common reference ground where the design requires one.

Assemble the chassis and wire the electronics

  1. Assemble the frame. Fit the wheels and motors according to the chassis instructions. Secure the driver, battery holder or supply connection, and ESP32-CAM so they cannot shift during movement. Aim the camera forward. The ShillehTek kit manual advises keeping the antenna clear of metal: kit assembly guidance.
  2. Connect the motors to the driver. Wire each motor to a driver output channel and follow that driver’s terminal and supply documentation.
  3. Connect control signals. Wire the driver’s logic, control, and enable pins to GPIO pins supported by your firmware and the exact ESP32-CAM board. Do not borrow pin numbers from another project without checking conflicts, including camera and SD-card functions.
  4. Connect power deliberately. Provide motor power through the appropriately rated driver path and regulated power to the ESP32-CAM as its board requires. Join grounds where the circuit design requires a shared reference. Do not route motor current through ESP32 GPIO pins.
  5. Add a servo only if needed. For a pan/tilt mount, check the servo’s supply needs and firmware pin assignment before connecting it; servo demand can affect the power design.

The matiyas controller uses a DRV8833, while the FokaKefir tank robot example uses an L298N and documents differential drive, MJPEG video, and a web interface. Their distinct layouts illustrate why a working project’s GPIO map should be treated as specific to its board and firmware, not as a universal ESP32-CAM wiring diagram: matiyas/esp32-robot; FokaKefir/ESP32-robot.

Rank #2
KEYESTUDIO ESP32-CAM Vision Smart Car Kit for Arduino,Educational Camera Coding Kit(Battery not Included
  • [Enhanced Video Smart Car]: This is not just a car; it's a powerful ESP32-CAM development platform. Based on the ESP32-CAM module, it supports real-time video transmission and remote control via Wi-Fi. Ideal for learning IoT, robotics, and programming, it’s a complete STEM kit for both beginners and advanced makers.
  • [Powerful ESP32-CAM Core & Integrated Design]: Equipped with a low-power 32-bit CPU running up to 160MHz (total computing power up to 600 DMIPS), 520 KB SRAM, and external 4M PSRAM. Unlike other kits, our motor driver board integrates the ESP32-CAM download circuit and battery charging function, greatly simplifying the setup and enhancing convenience
  • [Quick Assembly & Strong Expandability]: Designed for a frustration-free experience. Quick to assemble – just install the directional wheel and wheels. Strong expandability – uses IIC to control motors, saving more IO ports for your own sensors and modules. Plus, reserved Building Blocks compatible holes allow for endless creative add-ons and mechanical integrations.
  • [Complete Arduino Tutorial & Open-Source Code]: We provide a detailed, step-by-step Wiki guide and complete code (downloadable) to get you started quickly. From controlling LEDs and motors to building a full video smart car, the tutorial covers it all. It's a perfect project for learning Arduino IDE and ESP32 programming
  • [What You Need to Know]: Battery is NOT included (sold separately). Assembly is required. Please note, this is an educational kit for users with basic DIY and programming interest. All necessary technical support and documentation are available through our official Wiki.

Flash firmware and connect the camera

  1. Identify your board and adapter. Match the firmware’s camera model and board configuration to your ESP32-CAM variant. The matiyas repository lists FT232RL, CP2102, and CH340 USB-to-serial adapter options; confirm compatibility with your adapter and board.
  2. Enter flash mode as the board requires. The matiyas instructions say to connect GPIO 0 to ground before powering the board for flashing. That procedure is board-specific: verify the boot instructions for your exact module before connecting power.
  3. Upload matching firmware. Use the project’s documented build and upload process, with the correct board and camera configuration. The Arduino Project Hub code selects CAMERA_MODEL_AI_THINKER and comments that its configuration needs a PSRAM-enabled board selection. Treat those as requirements of that firmware setup, not universal settings for every ESP32-CAM variant: Arduino Project Hub code and parts.
  4. Configure Wi-Fi and open the stream. Follow the firmware’s instructions to connect the ESP32-CAM to your Wi-Fi and locate its camera page or stream. The cited projects demonstrate MJPEG streaming and browser or app control; the ShillehTek manual describes a phone- or browser-steered 4WD kit: ShillehTek kit manual; matiyas/esp32-robot.
  5. Enable the matching motor interface. Use the control page or app workflow supplied by the firmware you installed. A camera stream alone does not configure motor control; the interface, GPIO map, and driver wiring must agree.

The ShillehTek manual lists up to 1600×1200 resolution and live MJPEG for its specific kit. That is vendor documentation, not an independently verified guarantee for another board, firmware, network, or build. The examples do not establish a guaranteed wireless range, runtime, frame rate, or image quality for a new robot.

Test movement and video safely

  1. Start with the wheels raised. Power the robot in a stable position and check whether the camera page or stream loads.
  2. Check each motor separately. Use short control inputs to confirm the expected wheel turns in the expected direction. If a motor runs backward, power down and correct the wiring or adjust the firmware’s direction mapping.
  3. Verify stop behavior. Confirm that releasing the control or using the stop action actually halts movement. Investigate unexpected motion, resets, or a disappearing stream before placing the robot on the floor.
  4. Try a clear private area. Once the controls behave predictably, drive slowly in an unobstructed place where other people, pets, and fragile objects are not at risk.
  5. Recheck the power system under load. If movement disrupts the camera or resets the board, stop and inspect supply capacity, regulation, wiring, and grounding against the component documentation rather than assuming a software issue.

Keep camera access limited

Use the camera only with consent and in places where recording is appropriate. Surveillance and recording rules vary by location; these project examples do not establish what is lawful where you live.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
LAFVIN R3 Camera Smart Robot Car Compatible with Arduino IDE with Tutorial
  • 【FPV First-Person View】It provides real-time video streaming via Wi-Fi and enables remote control of the robot car's movements.
  • 【Wireless transmission and control】The car with the built-in ESP32-S3 module, it supports WIFI connection. Users can receive real-time video streams through mobile devices and remotely control the movement of the vehicle and the angle of the pan-tilt unit.
  • 【Five Intelligent Operation Modes】Includes Obstacle Avoidance, Infrared Remote Control, Line Following, Object Following, and FPV Video Transmission.
  • 【DIY Assembly】Requires full self-assembly to cultivate hands-on skills, logical thinking, and focus; sensors have easy-to-connect interfaces, minimizing incorrect wiring and simplifying the building process for beginners.
  • 【Open-Source Learning Platform】Based on an open-source ecosystem, it provides a wealth of free learning resources, project tutorials, and open-source code.

Keep the control page and stream on a trusted local network unless you deliberately set up secure remote access. A project demonstrating Wi-Fi video or a browser control page is not evidence that its interface is secure, and forwarding an unauthenticated control endpoint to the public internet can let others view or move the robot.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What the project examples do—and do not—show

The Arduino Project Hub article, published February 5, 2020, provides an L298N-based 2WD parts list and firmware example. The two GitHub projects document other controller arrangements, including DRV8833 or L298N-based designs. The ShillehTek manual describes a specific 4WD kit. Each is useful as a reference for its own hardware, but their components, GPIO assignments, and power arrangements should not be combined without checking compatibility.

Rank #4
Freenove ESP32 Kit ESP32 Camera Board Ultimate Starter Kit
  • ESP32 camera board: Dual-core 32-bit microprocessor up to 240 MHz, 4 MB flash, 8 MB PSRAM, onboard 2.4 GHz Wi-Fi and Bluetooth 4.2 (LE), USB code uploader, camera, memory card slot (Comes with 1GB memory card and card reader)
  • 3 sets of code: MicroPython, C and Processing (Java). Python is one of the most popular languages, and C is one of the most classic languages. Processing code needs to run on computers to provide graphical interfaces
  • Detailed tutorial: Can be downloaded (in English, 795-page in total) or viewed online (original in English, can be translated into other languages by browsers) (The tutorial link can be found on the product box, no paper tutorial)
  • 122 projects from simple to complex: Provides step-by-step guide with electronics and components knowledge, each project has schematics, wiring diagrams, complete code and detailed explanations
  • 240 items in total: This ultimate kit includes the most commonly used electronic components, modules, sensors, wires and other compatible items

Espressif’s 2026 FOFOCA article discusses a more complex architecture that separates real-time physical control from higher-level systems. It is design background, not a finished equivalent ESP32-CAM surveillance robot build: Espressif Developer Portal: Building FOFOCA.

Best Value
LAFVIN Camera Robot Car Kit for ESP32, WiFi Real-Time Video Streaming 4WD Smart Robot Car, L298N Motor Driver DIY STEM Programming Robot Kit with Complete Tutorial
  • 【Real-Time Video Control】Equipped with ESP32-CAM & OV2640 camera plus external WiFi antenna. Connect phone hotspot, input IP in browser to view live streaming.
  • 【Stable 4WD Driving Hardware】Features L298N motor driver and 4 high-torque TT gear motors for smooth steering. Thickened chassis, anti-slip wheels and full assembly hardware are all included, easy to build the robot car from scratch.
  • 【Full Learning Materials】Comes with open-source code, assembly videos and programming guides. Zero learning threshold, ideal for beginners to learn ESP32, WiFi transmission and motor control programming.
  • 【Expandable Modular Design】The ESP32-CAM board is an affordable developmentboard that combines an ESP32-S chip, an OV2640 camera,several GPIOs to connect peripherals and a microSD cardslot.
  • 【Fun STEM education kit】Perfect for school STEM class, science fair, maker competition and DIY electronics projects. Cultivate teens’ hands-on skills and coding thinking.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.