Skip to the content
2 layers71.5 × 48.3 mmEsp32-2wd, the printed circuit board in 3D

A simple educational project to build a line following 2WD robot

Size
71.5 × 48.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
32
Pads
131
Tracks, vias
253, 3
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
21 Jul 2019
Updated
20 Aug 2023

Overview

Esp32-2wd is an open-source printed circuit board by nochkin, from the nochkin/esp-line-follower repository on GitHub, published under the MIT licence. It is a 2-layer board of 71.5 × 48.3 mm with 13 parts on 32 nets, routed with 253 tracks and 3 vias.

It is built around the DRV8833PW and IRF9540NS. Its parts include 1 capacitor, 1 IC and 1 transistor. It belongs with the robots and motor control boards and the ESP32 and ESP8266 boards of this library.

Main components

2

README

README.md

esp-line-follower

Purpose

The goal of the project is to teach beginners into robotics without fearing and over-complicated or expensive parts. It's indended to be open enough for future experiments and improvements.

Required skills

  • Basic soldering skills. A few wires need to be soldered here and there, nothing major.
  • Some understanding on how electronic components are connected together Just enough to know the difference between "+" and "-", signal and power lines, etc.
  • Basic knowledge on Arduino IDE and how sketches are uploaded.

Required parts

This is the minimum list of required parts. Basically, these are the parts which are being used in this project. The list should not limit you in case if you wish to add some additional functionality or make other experiments based on that.

  • Microcontroller board. The project uses ESP8266 NodeMCU board with CP2102. Sometimes that board is referenced as "ESP8266 NodeMCU v2 DevKit". There are some variations of ESP8266 NodeMCU board with CH340G chip, but these are too wide to fit into motor driver shield and so can't be used.
  • Motor driver shield. The shield is based on L293DD chip. A single chip contains four half-bridges which can be connected as two full bridges to drive two motors.
  • A pair of Reflective Infrared sensor boards. These are sometimes called "Obstacles avoiding infrared sensor board". Each board contains an infrared LED and infrared photodiode. There are a lot of variations of those boards. I highly recommend to pick those with a small adjustment, this way it can be adjusted according to the current lighting and surrounding contrast.
  • 2WD Robot Chassis. Normally, the chassis comes with two motors with built-in reductors, 4*AA battery holder and enough screws and mounting hardware to put everything together. You will still need some additional mounting/screws to put your ESP8266, Motor shield and Infrared sensors.

Bill Of Materials (BOM)

All prices are approximate and depend on the source where you purchase it. My recommended sources are eBay and AliExpress. You can also find it on Amazon, but it tends to be slightly more expensive. All prices are in USD.

QntyPartCostBuy
1ESP8266 NodeMCU (CP2102)$5.00eBay, AliExpress, Amazon
1L293DD Motor Shield for ESP8266 NodeMCU$2.50eBay, AliExpress, Amazon
2Infrared sensors$1.50eBay, AliExpress, Amazon
12WD Robot Chassis$8.00eBay, AliExpress, Amazon
620cm Dupont Wires F-F to connect Infrared boards$2.00eBay
1Various M3 spacers/standoffs/screws$12.00eBay, AliExpress, Amazon
1Black Cloth Tape, 32mm x 15m$2.00AliExpress

Total: about $20

Connection diagram

Fritzing

Parts

13
QtyValueFootprintReferences
3Conn_1x18_254custom:Conn_1x18_254CONN1, CONN2, CONN3
3Screw_Conn_2p_508custom:Screw_Conn_2p_508Bat1, Motor1, Motor2
1CPCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC1
1DRV8833custom:DRV8833-12DRV2
1ESP32-Devkitc-V4custom:ESP32-DevKitC-V4-bU1
1IRF9540NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1TB6612custom:TB6612-boardDRV1

The 11 most common of 13 parts.

Similar boards

  • 2 layers110 × 110 mmMs pcb, the printed circuit board in 3D

    Ms pcb

    opatiny/micromouse

    Designing a custom micromouse robot.

    39 parts15CERN-OHL-P-2.0
  • 4 layers102 × 100 mmZelvicka, the printed circuit board in 3D

    Zelvicka

    RoboticsBrno/Robutek

    Robůtek je robotická platforma založená na čipu ESP32-S3. Je velice rozšitiřelný, ale ze základu umí jezdit, kreslit fixou, jezdit po čáře, pohybovat se bludištěm. Programování je přes Jaculus.

    214 parts12
  • 2 layers60 × 100 mmRobot boosterpack, the printed circuit board in 3D

    Robot boosterpack

    Hylian/BoosterBot

    Turn your TI LaunchPad into a robot!

    62 parts7
  • 2 layers91.9 × 67.1 mmUpdatedPCB2024, the printed circuit board in 3D

    UpdatedPCB2024

    CWRUbotix/Micromouse-2023-24

    A fully autonomous maze-solving not-quite-mouse-sized robot.

    31 parts6GPL-3.0
  • 2 layers119.4 × 98.9 mmPCB Pami, the printed circuit board in 3D

    PCB Pami

    FIPATECH/CDFR26_PAMI

    Open source firmware and PCB for a differential mobile robot (PAMI) based on ESP32-S3 - Coupe de France de Robotique

    25 parts6
  • 2 layers93.6 × 102.8 mmMote hardware, the printed circuit board in 3D

    Mote hardware

    empriselab/mote

    A low cost, high confidence mobile robot optimized for education.

    75 parts5MIT
  • 2 layers104.1 × 76.2 mmBiotracker tracks, the printed circuit board in 3D

    Biotracker tracks

    interspecifics/ComunicacionesEspeculativas

    Es un proyecto basado en una máquina que es capaz de observar y aprender de microorganismos para crear un score audiovisual a partir de los patrones que encuentre en su comportamiento.

    16 parts4
  • 2 layers175 × 120 mmNanook mb, the printed circuit board in 3D

    Nanook mb

    burgrp/nanook-mb

    NANOOK geothermal heat pump main board

    83 parts2

Questions

How big is the Esp32-2wd PCB?

It measures 71.5 × 48.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Esp32-2wd use?

13 parts, built around the DRV8833PW and IRF9540NS. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Esp32-2wd KiCad files?

From the nochkin/esp-line-follower repository on GitHub, at the commit this page was made from: the board is kicad/esp32-2wd.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Esp32-2wd design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).