Sparkfun promotes and I2C connector defacto standard dubbed QWIIC®. I'm looking for an orderable part number for the JST connectors that QWIIC is based on. I want to put them on a board I'm designing.

I've heard that these may be 4-pin SH connectors, and those seem close, specifically the 1mm spacing. However, the Sparkfun pictures always show these connectors in black, while the JST SH datasheet says they come in natural (off-white). Does anyone know for sure what I should layout for?

SparkFun Humidity Sensor Breakout - SHTC3 (Qwiic)

Picture of a QWIIC

  • \$\begingroup\$ Link to the Datasheet from Sparkfun's site. Looks like it's a SM04B-SRSS-TB, but Digikey & Mouser only list them in the off-white option. \$\endgroup\$
    – brhans
    Jan 27, 2021 at 1:57
  • 2
    \$\begingroup\$ Why not just send an email to Sparkfun? \$\endgroup\$
    – Kyle B
    Jan 27, 2021 at 1:59
  • \$\begingroup\$ I find that mouser, digikey etc. actually stock the sparkfun SKU or the equivalent one at Adafruit. Sometimes these are in stock when the JST part isn't. \$\endgroup\$
    – DamienD
    Mar 15, 2022 at 12:19

2 Answers 2


As brhans said, the QWIIC connector is compatible with the SM04B-SRSS-TB from JST, but Sparkfun has a special deal with them, so they can get them in black colour.

For compatible use you can use this:

  1. Horizontal header SMT SM04B-SRSS-TB

enter image description here

  1. Vertical header SMT SM04B-SRSS-TB

enter image description here

  1. Male connector to wire (SHR-04V-S-B)

enter image description here

  1. Socket contact 28-32 AWG (SSH-003T-P0.2H)

enter image description here

The pinout is (pin 1 is on the left)

  1. GND
  2. 3V3
  3. SDA
  4. SCL

That said even at Sparkfun you find white connectors :

enter image description here


As stated above, the QWIIC connector belongs to JST SR family (with 4 positions). In addition, the SR series IDC housings can mate with the SH series headers (1). So, if the SM04B-SRSS-TB header connector is in sort supply, you can use a similar SH header connector variant on our PCB and still be compatible with the QWIIC standard.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.