# Part for SHT30 (SHT3X-D1S)

**URL:** <https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396>\
**Category:** parts submit\
**Created:** [June 22, 2025, 4:34am UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396 "2025-06-22T04:34:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dapostol73](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/d26b3c/32.png) [@dapostol73](https://forum.fritzing.org/u/dapostol73)\
**Post date:** [June 22, 2025, 4:34am UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/1 "2025-06-22T04:34:11Z")

</div>

I create another part for an SHT30 (SHT3X-D1S) and not sure if I set the terminalId correctly in the Part Editor. If not, is there any documentation on how to do this?

[GY-SHT30\_HumidityTemperatureSensor.fzpz](https://forum.fritzing.org/uploads/short-url/5uxHxVWcQbUJBOhdD7mnjZYxU7l.fzpz) (6.0 KB)

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [June 22, 2025, 5:21am UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/2 "2025-06-22T05:21:17Z")

</div>

I’ll check the part once I have time

Again part editor not very reliable. For me I use generic ICs as a base for parts.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [June 22, 2025, 12:17pm UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/3 "2025-06-22T12:17:12Z")

</div>

Nope, same error.

$ FritzingCheckPartw.py part.GY-SHT30\_29995a4b642655a3a2c1ebb389d9c66a\_5.fzp

… (warnings deleted as irrelevant)

Warning 14: File  
‘part.GY-SHT30\_29995a4b642655a3a2c1ebb389d9c66a\_5.fzp.bak’  
At line 61

terminalId missing in schematicView (likely an error)

In theory (although it rarely works for me) you can do it in parts editor like this:

 ![capture](https://forum.fritzing.org/uploads/default/original/3X/0/e/0ea798eb02527a8d1e3c938f71a49d05f7798775.jpeg)

select pin 1 (which is really connector0 in the .fzp file which you are changing to confuse matters) and click on the “w” (for west) icon to select the orientation of the terminalId and that should do it. As noted for me it rarely does. This is probably covered in Old\_Grey’s video tutorials (as he unlike me was able to make it work, although I could not even with his explanations!) The way I make parts (and FritzingCheckPart.py) is covered in my tutorial.

[Fritzing PART CREATION Video Tutorial Series](http://forum.fritzing.org/t/fritzing-part-creation-video-tutorial-series/2647)

> [@Part creation howto part 1 breadboard and pcb](https://forum.fritzing.org/t/part-creation-howto-part-1-breadboard-and-pcb/7692):
>
> Someone in this forum post requested help to fix up a part. So while doing that I decided to record what I needed to do in order to fix the part to provide a tutorial to create new / fix broken parts. If you start from the Tarjeta S4A EDU.fzpz file posted in the above thread, you should be able to recreate my improved part posted in the same thread. I started by loading the original part in to Fritzing, that indicates breadboard is (at first look anyway) pretty good, but schematic and pcb are…

I lately learned there aren’t links to the videos in Old\_Grey’s tutorial so you need to do a google search for the title and then they come up on YouTube.

Peter

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [June 22, 2025, 1:41pm UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/4 "2025-06-22T13:41:37Z")

</div>

Hi Peter also discovered some prblems

## @dapostol73 Couple of problems here

The part

[GY-SHT3-\_HumidityTemperatureSensor-fixed.fzpz](https://forum.fritzing.org/uploads/short-url/vcGXmjmIXkfWzqWqgM8LmMt8jct.fzpz) (5.1 KB)

* * *

First unzip your `.fzpz` file to get

 ![image](https://forum.fritzing.org/uploads/default/original/3X/a/8/a82c6c464049d93572905729650d861ede58ca25.png)

## Breadboard

* * *

First, there’s a stray element here

 ![image](https://forum.fritzing.org/uploads/default/original/3X/e/d/ed13423b95f44237f5a48a17e7b4b9bf9b49a66f.png)

To solve that issue, delete it

Next, the connectors are slightly off by 0.001in. To fix set the SCL connector to 0.163

 ![image](https://forum.fritzing.org/uploads/default/original/3X/4/1/41458c9f738e794f3a07d88320179368feaf2a8b.png)

 ![image](https://forum.fritzing.org/uploads/default/original/3X/3/9/397fe9a8db4aebdf8b61c8651fd3bfe7fa7660f1.png)

Do the same for the GND connector.

## Schematic

* * *

The terminalIDs are a little suspicious

See that crooket wire

 ![image](https://forum.fritzing.org/uploads/default/original/3X/2/0/207aad31d6862632b8d012b2d6828b7e1295ab4a.png)

To fix, delete the entire schematic and redo with Randy’s Inkscape Schematic Extension

 ![image](https://forum.fritzing.org/uploads/default/original/3X/b/b/bbcf89ddb8753d696379f3ebe834a796461a0c5c.png)

 ![image](https://forum.fritzing.org/uploads/default/original/3X/d/7/d7a21695b11b78fb3e81d0b78880594af0df5f1d.png)

Set the connectors

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

Click apply and you’ll get this

 ![image](https://forum.fritzing.org/uploads/default/original/3X/5/b/5bf94c5a23ecb5421e55b1f247759efa33afb088.png)

Save the file and done

## PCB

* * *

Another bout of more severe problems

First start with breadboard and `Ctrl+Shift+G` or `Cmd+Shift+G` to ungroup everything

Next, delete everything except the connectors, board and the holes

 ![image](https://forum.fritzing.org/uploads/default/original/3X/4/f/4fee0f48c305d40a880c645c863f39a276188666.png)

Next go to XML editor and (with connector0pin selected) change from

 ![image](https://forum.fritzing.org/uploads/default/original/3X/4/4/446f9dbf5a53d750ee1fa849c84bdb455583c22c.png)

to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/8/e/8e4c3fc56b1eb849f835c5d7801859cd8b553b47.png)

Do the same for the others

Next go to the hole and change from

 ![image](https://forum.fritzing.org/uploads/default/original/3X/0/5/05ca17506c5255cf8907f2ed23e3827892d47d03.png)

to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/a/d/adcdf7f39495b030e81e02117e3e9fdf515a2f29.png)

Do the same for the other screw.

For the rectangle, change from

 ![image](https://forum.fritzing.org/uploads/default/original/3X/b/1/b11780e6b4f26f68225c8d8986cbf638dd1abd25.png)

to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/1/5/154de3b9a73656054d25716afb1fa78c12654e0c.png)

Now go to edit → select all → ctrl/cmd+G to group

Reset the viewbox

 ![image](https://forum.fritzing.org/uploads/default/original/3X/1/6/1631a4e7b1754788b2c7112b5cca020ec750c6ef.png)

then ungroup to remve the transforms

 ![image](https://forum.fritzing.org/uploads/default/original/3X/4/1/4194fa28c09bddf3a41d1401eceb69cad23d339c.png)

 ![image](https://forum.fritzing.org/uploads/default/original/3X/2/d/2d15ee8fc4fa073e9cea05bfc8d87bd39316b5a9.png)

Group the connectors twice

 ![image](https://forum.fritzing.org/uploads/default/original/3X/7/0/7075aa3dc82316fb4eecfb13460cc222af7ff9a6.png)

and rename to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/c/5/c574546f184d0a6609d2b738a8a8916865815734.png)

Group the rest

 ![image](https://forum.fritzing.org/uploads/default/original/3X/b/3/b3d71e2f483586a4a731ab7ae236f38e5b12b72e.png)

and rename to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/f/a/faf440d0d2741bfba760128961071c55ab6f75b4.png)

On to `.fzp` file

## `.fzp` file

Some changes – please change from

```xml
<tags>
 <tag>GY-SGP30 Breakout</tag>
 <tag>contrib</tag>
 <tag>fritzing user</tag>
</tags>

```

to

```xml
<tags>
 <tag>GY-SHT30 Breakout</tag>
 <tag>contrib</tag>
 <tag>fritzing user</tag>
</tags>

```

Remove the description (change from

```xml
<description>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;meta charset="utf-8" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: "\2610"; }
li.checked::marker { content: "\2612"; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">GY-SHT30 Breakout&lt;/p>&lt;/body>&lt;/html></description>

```

to

```xml
<description></description>

```

Now for the views change from

```xml
 <views>
  <iconView>
   <layers image="icon/GY-SHT30_61be972a4551105667655573f7b57362_1_icon.svg">
    <layer layerId="icon"/>
   </layers>
  </iconView>
  <breadboardView>
   <layers image="breadboard/GY-SHT30_61be972a4551105667655573f7b57362_1_breadboard.svg">
    <layer layerId="breadboard"/>
   </layers>
  </breadboardView>
  <schematicView>
   <layers image="schematic/GY-SHT30_61be972a4551105667655573f7b57362_1_schematic.svg">
    <layer layerId="schematic"/>
   </layers>
  </schematicView>
  <pcbView>
   <layers image="pcb/GY-SHT30_61be972a4551105667655573f7b57362_1_pcb.svg">
    <layer layerId="silkscreen"/>
    <layer layerId="copper1"/>
    <layer layerId="copper0"/>
   </layers>
  </pcbView>
 </views>

```

to

```auto
<views>
  <iconView>
   <layers image="breadboard/GY-SHT30_61be972a4551105667655573f7b57362_1_breadboard.svg">
    <layer layerId="icon"/>
   </layers>
  </iconView>
  <breadboardView>
   <layers image="breadboard/GY-SHT30_61be972a4551105667655573f7b57362_1_breadboard.svg">
    <layer layerId="breadboard"/>
   </layers>
  </breadboardView>
  <schematicView>
   <layers image="schematic/GY-SHT30_61be972a4551105667655573f7b57362_1_schematic.svg">
    <layer layerId="schematic"/>
   </layers>
  </schematicView>
  <pcbView>
   <layers image="pcb/GY-SHT30_61be972a4551105667655573f7b57362_1_pcb.svg">
    <layer layerId="silkscreen"/>
    <layer layerId="copper1"/>
    <layer layerId="copper0"/>
   </layers>
  </pcbView>
 </views>

```

Next in the `.fzp` fike there are missing connectorIDs, which why I say the part editor won’t change. To fix, change from

```auto
<connector id="connector0" name="Pin 1" type="male">
   <description>VCC</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector0pin"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector0pin"/>
    </schematicView>
    <pcbView>
     <p layer="copper1" svgId="connector0pin"/>
     <p layer="copper0" svgId="connector0pin"/>
    </pcbView>
   </views>
  </connector>

```

to

```auto
<connector id="connector0" name="Pin 1" type="male">
   <description>VCC</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector0pin"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector0pin"/>
    </schematicView>
    <pcbView>
     <p layer="copper1" svgId="connector0pin"/>
     <p layer="copper0" svgId="connector0pin"/>
    </pcbView>
   </views>
  </connector>

```

to

```auto
 <connectors>
  <connector id="connector0" name="Pin 1" type="male">
   <description>VCC</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector0pin"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector0pin" terminalID="connector0terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper1" svgId="connector0pin"/>
     <p layer="copper0" svgId="connector0pin"/>
    </pcbView>
   </views>
  </connector>

```

After which save the file, zip the folder into a .fzpz file.

---

<div class="post-metadata">

**Author:** ![dapostol73](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/d26b3c/32.png) [@dapostol73](https://forum.fritzing.org/u/dapostol73)\
**Post date:** [June 22, 2025, 5:36pm UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/5 "2025-06-22T17:36:16Z")

</div>

Thanks for the @RAPTOR7762 still learning. Currently I’ve been hand editing the SVG, what editor are you using to create/modify them? And good to know the fzpz is just a zip file.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [June 22, 2025, 6:36pm UTC](https://forum.fritzing.org/t/part-for-sht30-sht3x-d1s/29396/6 "2025-06-22T18:36:40Z")

</div>

Inkscape is open source (and thus free) and gives the best control of the svg is what I use. Illustrator works, but older versions will only dimension svgs in px which causes scaling issues. you can import them to parts editor and it will convert them, but it is extra work.

Peter
