Make ESPrtk board from any ESP32 development board 1.0.0

It is easier for the same purpose to create an ESPrtk module with custom elements (shape or size is not important) as long as the end result is a board ESPrtk circuit with 18 output pins and function as the original version V1.


ESPrtk diagram.


Let’s have a look again at ESPrtk diagram circuit. esprtk circuit diagram v1esprtk circuit diagram v1 (Full size)


ESPrtk board V1 pinout mappingESPrtk board V1 pinout mapping (Full size)

Minimum requirements for ESPrtk to operate:

– Main ingredient :

+ 1 module ESP32 .

+ 2 Led single .

+ 1 power supply 3.3V .

+ 4 Neopixel WS28128B.

+ 2 buttons (Reset and CWB).

+ Some resistor and capacitor …

– The recommended ESP32 module should be the development board supporting the output pins as much as possible.

For ease of use, the output pins should be welded. USB cable support, Auto program load, compact size will be the criteria when choosing.

The modified version of silicon on the ESP32 core should be the latest (currently Rev 1). To check ESP32 status you can view this post: WebConfigure :About.  




Where to buy these electrical components?


You can almost buy it in every electronic store in the world. They are definitely on some e-commerce websites like Ebay, Amazon or Alibaba-Aliexpress. The total amount to create an ESPrtk DIY development board like this is about $20 or less.

screencapture-es-aliexpress-af-esp32-252dnodemcu-html-2019-03-25-21_21_31-1.png?w=616


There are some development boards that are suitable for use.


ESP32 DEVKITC board : (Full size)

ESP32 GEEKCREIT board :(Full size)

ESP32 GEEKNET32 board: (Full size)

ESP32 NODEMCU32S : (Full size)

and many other boards ….


Component wiring for NODEMCU32S.


Component :

  • ESP32 NODEMCU32S board : 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

NodeMCU32S.jpg?w=1662&h=1368

(Full size)

Wiring as bellow image:

esprtk_nodemcu-1.png?w=616&h=428

(Full size)


Component wiring for DEVKITC


Component :

  • ESP32 DEVKITC board : 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

DEVKITC.png?w=1984&h=1612

(Full size)

Wiring as bellow image:

devkitc-esprtk.png?w=616&h=434

(Full size)


Component wiring for ESP32S IO Adapter Base Board Pinboard Converter With 4 Row Pins


Component :

  • ESP32 IO Adapter Base board : 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2.
  • ASM1117 3.3V: 1 .
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

esp32-esp32s-io-adapter-base-board-pinboard-converter.jpg?w=616&h=213

(Full size)

Wiring as bellow image:

esprtk-esp32-esp32s-io-adapter-base-board-pinboard-converter.jpg?w=616&h=649

(Full size)


Component wiring for ESPDUINO-32 & Wemos D1 R32 ESP32 Boards – Arduino UNO Shields


Component :

  • ESPDUINO-32 & Wemos D1 R32 ESP32 Boards -Arduino UNO Shields: 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2.
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

ttgo-esp32-rev1-wifi-y-bluetooth-4-mb-flash-uno-d1-r32-1.jpg?w=616&h=215

(Full size)

Wiring as bellow image:

esp32-r3-uno-esprtk-esp32-rtk-ntrip-mqtt-bluetooth-wifi-ethernet.png?w=616&h=617

(Full size)


Component wiring for Espressif_ESP32-PICO-KIT V4


Component :

  • ESP32 PICO V4 board : 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2.
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

espressif_esp32-pico-kit_v4_phototop.jpg?w=616&h=560

(Full size)

Wiring as bellow image:

esp32-pico-kit-v4-v4.1-to-esprtk-esp32-rtk-ntrip-mqtt.png?w=616&h=716

(Full size)


Component wiring for ESP32 Thing Plus


Code
Note: This module is missing the output pin GPIO0, GPIO02, TX_UART0, RX_UART0 on the main board. You need to connect directly to ESP32 module if you want to use those pins.We need to remove LED (that connect to  pin GPIO13 on ESP32) because GPIO13 will use for CBW button .

Component :

  • ESP32 Thing Plus : 1.
  • Neopixel Strip 4 LED WS28128B: 1 .
  • Push button :2.
  • Resistor 220 Ohm :3.
  • Resistor 10K Ohm : 1.
  • Single LED (Blue /Red) : 2.

esp32thingplus_graphicaldatasheet-page-0019.jpg?w=616&h=476

(Full size)

Wiring as bellow image:

Note: This module is missing the output pin GPIO0, GPIO02, TX_UART0, RX_UART0 on the main board. You need to connect directly to ESP32 module if you want to use those pins.

We need to remove LED (that connect to pin GPIO13 on ESP32) because GPIO13 will use for CBW button .

remove-led-onpin-13-esp32-thing-plus-to-esprtk-esp32-rtk-ntrip-mqtt-bluetooth-wifi-ethernet-copy.png?w=616&h=625

(Full size)

esp32-thing-plus-to-esprtk-esp32-rtk-ntrip-mqtt-bluetooth-wifi-ethernet.png?w=616&h=691


(Full size)







Component wiring for another boards.


The ESP32 development boards are quite similar because they use the same single chip as the ESP32 WROOM 32S. They differ only in the arrangement of the output locations, just look at the pinout mapping table on that board and then match the original ESPrtk schematic provided at the top of the page to be able to connect success.

If your ESP32 board does not support USB port, you need to buy additional USB to UART module, like CP2102-USB-TTL-UART-Module-V2 as below , it will help you upload firmware to ESP32 and also helpful to use it to configure Ublox (or Navspark) module .

CP2102-USB-TTL-UART-Module-V2

(Full size)


Testing.


After completing the component soldering, load the firmware for the ESP32 module.

Read this tutorial to Flash ESP32 : Flash/upload -Update Firmware for ESPrtk. 

After pressing the reset button, 4 neopixel LEDs will change to 4 colors Green_Blue_White_Red, 2 blue status LEDs (Blue -Connect Status and Red-Error Status) will blink.


Some note.


Proper polarity of the input data of the Neopixel strip.

neo_pixel_BLAC_STRIP-1.png?w=616&h=194

(Full size)

neopixel_white_strip.jpg?w=3200&h=852

(Full size)

Make sure the components work well before connecting them together.

Use a good power source.

It is not allowed to power the “5V_in” pin at the same time while connecting the circuit board to the USB cable that is connected to another power source. (You should only use 1 of 2 ways).

For complete applications, power should be supplied to the 5V pin instead of the power supplied via the USB cable, (because the USB cable is usually loose, the plated-steel contacts are rusted, resulting in poor electrical performance of voltage and Logic Level problem).

Make sure the connections are of the best quality to your current capabilities:

+ Use standard wire, not broken.

+Do not use jump wire or breadboard, you will fail because they will be extremely bad quality after a long time in used.

esp32-with-breadboard-BY-Techmartian.jpg?w=616&h=411

(Full size)

The best way to avoid these problems (and many unpredictable problems) is soldering electrical connections together !.

esprtk esp32 rtk

(Full size)

solder.jpg?w=616

(Full size)