Extension board · Host adapters

ESP32 DevKit expansion host

Plug in an ESP32-DevKitC-32E and connect small modules: five ten-contact sockets (A, S, U, I and P) and a Qwiic or pin-header I²C connector. Your firmware does the work.

Top view of the ESP32 DevKit expansion host.
Top view, drawn from the board’s design files. This is a drawing, not a photograph.
5 socketsA S U I P
100 Ωseries each
100 mA3.3 V total
500 mA5 V total
3 holesM3
52.4 × 56millimetres
All signals are 3.3 V and not 5 V tolerant. Use exactly one DevKit power source, never feed 3.3 V in through a socket, and never cable a socket to a powered controller. There is no current limiter.

Tech specs

PurposeGadgeteer host ports for an ESP32
DevKitESP32-DevKitC-32E (V4) with WROOM-32E, two rows of 19 pins 25.4 mm apart; no WROVER modules
Protection100 Ω and a TPD4E1U06 ESD channel on every signal
3.3 VFrom the DevKit regulator through a ferrite; total load up to 100 mA
5 VThrough a Schottky diode, about 4.4 to 4.6 V on USB power; up to 500 mA
I²C pull-ups4.7 kΩ, removable with JP3 and JP4
I²C connectorJ6: 2.54 mm header, or a Qwiic socket on the same pads
Size52.4 × 56 mm
LicenceCERN OHL-S 2.0

Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.

Board tour

The numbers on the drawing match the list below it.

  1. 1
    Left DevKit row (J7) — pin 1 at the antenna end.
  2. 2
    Right DevKit row (J8) — pin 1 at the antenna end.
  3. 3
    Analog socket (J1) — inputs.
  4. 4
    SPI socket (J2) — type S.
  5. 5
    Serial socket (J3) — type U.
  6. 6
    I²C socket (J4) — type I.
  7. 7
    PWM socket (J5) — type P.
  8. 8
    I²C connector (J6) — 3.3 V.
  9. 9
    3.3 V light (D2) — green.
  10. 10
    5 V light (D3) — green.
Point at a number, or tap it, to read what the part is; the same text is in the list. On a small screen, scroll the drawing sideways.

Lights

LightLit meansDisable it
D2, green3.3 V presentCut JP1
D3, green5 V presentCut JP2

Pinout

Contact 1 is 3.3 V, contact 2 is 5 V and contact 10 ground on J1 to J5; contacts not listed are not connected.

Socket contactESP32 pin
J1: 3, 4, 5, 6GPIO36, 39, 34 (input only), 32
J2: 3, 4, 5GPIO33, 13, 14
J2: 6, 7, 8, 9CS 5, MOSI 23, MISO 19, SCK 18
J3: 3, 4, 5GPIO4, TX 17, RX 16
J4: 3, 8, 9GPIO35 (input only), SDA 21, SCL 22
J5: 3, 6GPIO26, 15
J5: 7, 8, 9GPIO25, 27, 2
J6: 1, 2, 3, 4Ground, 3.3 V, SDA, SCL

GPIO2, 5 and 15 set the boot mode: a module on them must not disturb their level during reset.

What you need

ESP32-DevKitC-32EWith header pins.
This boardAnd a USB lead.
A moduleFor example the Buzzer breakout.

Get started

This example sounds the Buzzer breakout.

Wiring: J5 contact 1 to 3.3 V; J5 contact 2 to 5 V; J5 contact 3 to signal 3; J5 contact 4 to signal 4; J5 contact 5 to signal 5; J5 contact 6 to signal 6; J5 contact 7 to signal 7; J5 contact 8 to signal 8; J5 contact 9 to signal 9; J5 contact 10 to GND.J5J5 on this boardBuzzer breakout 13.3 V1: 3.3 V 25 V2: 5 V 3signal 33: signal 3 4signal 44: signal 4 5signal 55: signal 5 6signal 66: signal 6 7signal 77: signal 7 8signal 88: signal 8 9signal 99: signal 9 10GND10: GND
Cable contact for contact with the power off; bridge the module JP1 pads 1–2 only. Equipment is drawn as a typical unit, not a specific model.
  1. Seat the DevKit

    Power off. Antenna at the ANTENNA mark, USB connector at the USB mark, no offset.

  2. Prepare the module

    Bridge its JP1 pads 1–2 only.

  3. Cable

    Join host J5 to the module’s J1, contact for contact.

  4. Load firmware

    Make GPIO26 an output, low, before driving it high.

  5. Test

    Set GPIO26 high, then low.

    The buzzer sounds, then stops.

Configuration

You wantModuleExample
Use a module from the ESP32Your ESP32 firmware; not a Smoothieboard moduleSetup

Setup

Smoothieware is not involved: the ESP32 is the host and runs your own firmware.

How it works

The two header rows carry the DevKit pins through 100 Ω resistors to the sockets, with ESD protection. A diode stops a 5 V source on a cable from pushing current back into the DevKit.

DevKit pins, from the ESP32 then 100 Ω resistors, with ESD protection then Sockets, cables to modules. Cable carrying 5 V then Diode, no current back into the DevKit.DevKit pinsfrom the ESP32100 Ω resistorswith ESD protectionSocketscables to modulesCable carrying 5 VDiodeno current back into the DevKit
How the signals pass through this board, one path per row.

Troubleshooting

SymptomCheck
DevKit will not flashRemove modules from GPIO2, 5 and 15.
I²C failsOne set of pull-ups on the bus; correct address.

Still stuck? Read how to ask for help or see the general troubleshooting guide.

Downloads

FileWhat it is
Schematic (PDF)The complete circuit diagram
Parts list (CSV)Every component with its value and footprint
Board drawing (WebP)The top view used on this page

Appendix: mounting dimensions

For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side.

Mounting drawing of the es, component side: outline 52.4 by 56 millimetres with 3 mounting holes and 3 cable-tie holes. Hole positions are listed in the table below. COMPONENT SIDE · millimetres 52.4 56 0, 0 X Y 1 26.20, 12.50 2 26.20, 32.50 3 26.20, 52.50 cable tie Numbered rings are mounting holes. Positions are hole centres, X then Y, from the marked corner.
Board outline 52.4 × 56 mm, corners rounded to a 1 mm radius, board thickness 1.6 mm. Drawn from the design files, component side up, in the same orientation as the board tour.
HoleX (mm)Y (mm)DiameterUse
126.2012.503.2 mm, not platedMounting, M3 screw
226.2032.503.2 mm, not platedMounting, M3 screw
326.2052.503.2 mm, not platedMounting, M3 screw
–3.9016.752.5 mm, not platedCable tie
–3.9033.852.5 mm, not platedCable tie
–48.5035.802.5 mm, not platedCable tie

Appendix: electrical specifications

Limits for the whole board.

ParameterApplies toLowerNominalUpperBasis and conditions
3.3 V loadAll sockets——100 mATotal
5 V loadAll sockets——500 mATotal
SignalsAll—3.3 V—Not 5 V tolerant

Appendix: datasheets

The first page of each important chip’s datasheet. Click a page to open the PDF.

First page of the TPD4E1U06 datasheet
TPD4E1U06 four-channel ESD protection array — Texas Instruments, 27 pages.

See all boards on the extension boards page.

This is a wiki! If you'd like to improve this page, you can edit it on GitHub.