When reading about cool projects and products, it’s common to see wiring plugs labelled “JST connector.” This looks fine until we start getting hands-on and begin hacking things together.
Below is the specification for the JCTC connector housing but note that the diagram shows the 8-pin model. Below is the specification for the JCTC connector terminal. Or, you can use JST connector ...
Here is a diagram of the connections to the ESP32. Crimp the wires according to this. I use 2 10-pin JST-EH connectors on the TinyPICO. JST-EH connectors are awesome, lower profile than JST-XH, more ...