Official Hobby Components Online Store | Buy Electronic Kits, Components, Boards, Shields, Modules

Wemos/Lolin SH1.0 JST 4 Pin Cable Pinout and Uses

Wemos/Lolin SH1.0 JST 4 Pin Cable Pinout and Uses

By Official Hobby Components Online Store | Buy Electronic Kits, Components, Boards, Shields, Modules | Published: 2026-10-25

Category: How-to Guides

Learn the pinout of the Wemos/Lolin SH1.0 JST 4 Pin Cable and how to use it with I2C modules and D1 mini boards for clean, reliable connections.

Quick answer

The Wemos/Lolin SH1.0 JST 4 Pin Cable uses a standard pinout: VCC, GND, SDA, and SCL. It connects I2C modules to Wemos D1 mini boards without soldering.

Why use a dedicated cable instead of jumper wires?

The SH1.0 JST connector is compact and locks securely, making it ideal for projects where space is tight or vibration could loosen standard dupont wires. The 10 cm length keeps wiring tidy inside enclosures.

Because the pinout is fixed, you can plug modules directly without double-checking each wire. This reduces wiring errors when prototyping with multiple I2C devices.

How to identify and use the Wemos SH1.0 JST 4 Pin Cable

  1. Check the connector orientation: The SH1.0 JST connector has a small locking tab on one side. Insert the cable so the tab clicks into the receptacle on your Wemos I2C module or D1 mini shield. Forcing the connector backwards can bend the pins. Always align the tab before pressing.
  2. Verify the pinout order: From the tab side, the standard order is VCC (3.3V), GND, SDA, SCL. Confirm this matches your module's silkscreen labels. Some third-party modules may swap SDA and SCL. If your module doesn't respond on the I2C bus, swap the two middle wires (SDA and SCL) to fix a reversed pinout.
  3. Connect to the D1 mini board: Plug the female end of the cable onto the male header pins of your Wemos D1 mini. The 4-pin header is usually located near the USB port. Match VCC to 3.3V, GND to GND, SDA to D2 (GPIO4), and SCL to D1 (GPIO5). Do not connect VCC to 5V unless your module explicitly supports it. The D1 mini's logic is 3.3V.
  4. Test the connection with an I2C scan: Upload an I2C scanner sketch to your D1 mini. Open the Serial Monitor. If the cable is wired correctly, you'll see the module's I2C address appear. If nothing shows, recheck the pinout and connector seating. A loose or partially inserted connector is a common cause of intermittent scan results. Push until you hear the click.

Product details

  • Wemos/Lolin SH1.0 JST 4 Pin Cable: 4-pin female to female SH1.0 JST cable, 10 cm length, designed for Wemos/Lolin I2C modules and development boards with the Wemos I2C connector. The pre-crimped connector matches the pin spacing on Wemos I2C shields, so you don't need to crimp or solder your own connector.
    Wemos/Lolin SH1.0 JST 4 Pin Cable
    Wemos/Lolin SH1.0 JST 4 Pin Cable

Shop Related Products

Wemos/Lolin SH1.0 JST 4 Pin Cable

Wemos/Lolin SH1.0 JST 4 Pin Cable

$0.31 $0.49

Shop Now