SC03-C2H5OH - Electrochemical Ethanol Module

SC03-C2H5OH - Electrochemical Ethanol Module

SC03-C2H5OH electrochemical ethanol module is a general-purpose, miniaturized module. Using the electrochemical principle to detect C2H5OH existing in the air has good selectivity and stability. SC03-C2H5OH is a general purpose gas module designed and manufactured by combining mature electrochemical detection technology with sophisticated circuit design. It has digital output and analog voltage output, and is suitable for various application circuit schemes.

Download:

SC03-C2H5OH - Electrochemical Ethanol Module.fzz (15,3,KB)

Manufacturer URL: Sensor De Detecção De Gás 0-500ppm Uart,Sensor De Saída De Álcool Eletroquímico C2h5oh,Sc03-c2h5oh - Buy C2h5oh Alcohol Sensor Module,Electrochemical Ethanol Sensor Module,Figaro Ethanol Gas Sensor Product on Alibaba.com

Your part has a number of problems. FritzingCheckPart.py has this to say about it:

$ FritzingCheckPartw.py ‘part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp’

**** Starting to process file Startup, no file yet

**** Starting to process file part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp

**** Starting to process file svg.breadboard.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_breadboard.svg.bak

**** Starting to process file svg.schematic.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg.bak

**** Starting to process file svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak

File
‘part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp.bak’

This is a through hole part as both copper0 and copper1 views are present.
If you wanted a smd part remove the copper0 definition from line 51

Modified 4: File
‘svg.breadboard.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_breadboard.svg.bak’
At line 5

ReferenceFile

‘ESP32-S3-LCD-Driver-Board_NEW_UPDATED_LAST1_9b35048fd29b2444e1aa64618f980634_2_breadboard.svg’

doesn’t match input file

‘SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_breadboard.svg’

Corrected

Modified 4: File
‘svg.schematic.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg.bak’
At line 5

ReferenceFile

‘ESP32-S3-LCD-Driver-Board_NEW_UPDATED_LAST1_9b35048fd29b2444e1aa64618f980634_2_schematic.svg’

doesn’t match input file

‘SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg’

Corrected

Modified 4: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 6

ReferenceFile

'ESP32-S3-LCD-Driver-Board_NEW_UPDATED_LAST1_9b35048fd29b2444e1aa64618f980634_2_pcb.svg

doesn’t match input file

‘SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg’

Corrected

Warning 6: File
‘part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp.bak’
At line 2

ReferenceFile name

‘ESP32-S3-WROOM-1-N16R8-dev-board_1.fzp’

Doesn’t match fzp filename

‘SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp’

Warning 32: File
‘svg.breadboard.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_breadboard.svg.bak’
At line 3

Scale is not the desirable 1/1000 ratio from width/height to
viewBox width/height.

Warning 32: File
‘svg.schematic.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg.bak’
At line 3

Scale is not the desirable 1/1000 ratio from width/height to
viewBox width/height.

Warning 24: File
‘svg.schematic.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg.bak’
At line 8

Font family ‘DINNextSlabPro-Regular’ is not Droid Sans or OCRA
This won’t render in Fritzing

Warning 32: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 3

Scale is not the desirable 1/1000 ratio from width/height to
viewBox width/height.

Error 53: File
‘part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp.bak’
At line 286

Bus nodeMember connector18 does’t exist

Error 53: File
‘part.SC03-C2H5OH - Electrochemical Ethanol Module_e4edef09d1bbeff43f4b735d8d983617_1.fzp.bak’
At line 290

Bus nodeMember connector17 does’t exist

Error 69: File
‘svg.schematic.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_schematic.svg.bak’
At line 8

Found a drawing element before a layerId (or no layerId)

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 443

Connector connector14pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 444

Connector connector14terminal has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 445

Connector connector13pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 446

Connector connector13terminal has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 447

Connector connector12pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 448

Connector connector12terminal has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 449

Connector connector11pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 450

Connector connector11terminal has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 451

Connector connector10pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 452

Connector connector9pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 453

Connector connector9terminal has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 454

Connector connector8pin has no radius no hole will be generated

Error 74: File
‘svg.pcb.SC03-C2H5OH - Electrochemical Ethanol Module_3d6c130f5103ed2c88216d388420ac06_1_pcb.svg.bak’
At line 455

Connector connector8terminal has no radius no hole will be generated

$

There are likely a number of other problems as well.

The connector which appears to be SMD should be suppressed in pcb as it isn’t through hole as the pads are and thus won’t work there. Schematic is not aligned to the 0.1in grid which it should be (the easy way to do that is to use Randy’s Inkscape schematic extension.)

Pcb looks to be lacking a copper0 layer as the traces for the through hole connectors won’t move to the bottom layer.

It is likely the through hole connectors should be on 0.1in centers like the header connected to them and as noted the SMD connector shouldn’t appear in pcb.

If you wish to fix this up for yourself this tutorial will likely give you the necessary information (as well as were to get a copy of FritzingCheckPart.py and Randy’ Inkscape extension):

Or I can fix up the part for you if you wish.

Peter

I sat down in front of the computer today to try to fix it, but there are so many issues. Could you fix it for me? I’d be very grateful!

Sure, for me it is not so difficult because I have done it a lot. A corrected version will be up in a while.

Peter

Oh, thank you, Peter!!

OK here is a fixed up part and what I did to it to fix it up. Starting with breadboard. Loaded the breadboard svg in to Inkscape then imported the jpeg image of the board (after deleting the images in the svg, in general images are undesirable as they won’t scale as a svg image will) and scaling it to match the size of the actual part.

Then moved the base rectangle to below the image so the base disappears but the elements are above the image and will appear on top of it. I rescaled the image (which I’m not sure is possible in Illustrator which you appear to be using) to match the desired Fritzing value of one drawing unit being 1/1000th inch.

The image is pulled down a bit but aligned in X to the base so we see the connector and the pads need to move right in X to be in the correct place and so the connector clears the mounting hole on the left (which should be in breadboard!)

As well since these appear to be 2mm headers, the pads need to be realigned slightly as they currently are not on 2mm boundaries.

The next pad should be 14.607mm but is 14.631mm

As well the hole is 0.0382in (which is fine for a 0.1in header, but too large for a 2mm connector) so we need to reduce the stroke-width and radius of the pads to match a 2mm header.

with the space between the pads in Y being exactly 2mm.

Then we want to move the connectors to the bottom of the svg and in to the order that Fritzing expects them (connector on the left top if there was a connector there, in this case on the left bottom) and going up from there. I have tools which will renumber pins if the svg is in this format which is why I did this rather than manually renumber the pins.

Here the pins are renumbered and in the correct order and we are finished with breadboard. So now move on to schematic. I chose to use Randy’s Inkscape extension to do schematic so I need to set it up. Here I set the label to “SC03-C2H5OH” and the size to 1in x 1in (as the that will accommodate all the necessary pins.) It may be worth downloading Inkscape just to use the schematic extension to make schemaitcs as it is much easier than doing it manually.

Then I need to set the number of pins for each side, then click apply to start the application. That brings up the pin name dialog window like this

Here I enter the pin names in the panel (it automatically sets the pin number for me) then click finish.

which brings up a similar window for the right side pins

So fill in the right side pin labels and click finish again.

And it will create the schematic svg.

In this case because of the two headers on the right I need to ungroup the image and move the two headers apart then regroup the image.

Now I can save the schematic svg and move on to pcb. To make pcb I copied the breadboard svg in to the pcb svg then edit it with Inkscape. First I ungroup the svg and delete all the parts not needed in pcb (the bottom connector which won’t connect to pcb and all the text.)

Then change the green rectangle in to fill none, stroke #000000 to make a rectangle the size of the board and change the connectors to the colors appropriate for pcb and the fill from #ffffff to none. The mounting hole (which will be in silkscreen) changes from #ffffff to #000000.

The pads change to fill none and copper color

then the various parts get grouped in to the correct groups

and we can save the pcb svg as completed. Note connectors0-7 (the bottom connector) are not in the pcb svg. As a result we need to manually edit the .fzp file to remove the pcb definitions for those pins. Parts editor at present (and possibly in the future) can not do this so you need to edit the fzp file manually (and of course know how to do it!) To start with the connector looks like this:

    <connector id="connector6" type="male" name="Pin 7">
      <description>VCC</description>
      <views>
        <breadboardView>
          <p svgId="connector6pin" layer="breadboard"/>
        </breadboardView>
        <schematicView>
          <p svgId="connector6pin" layer="schematic" terminalId="connector6terminal"/>
        </schematicView>
        <pcbView>
          <p svgId="connector6pin" layer="copper0"/>
          <p svgId="connector6pin" layer="copper1"/>
        </pcbView>
      </views>

we need to remove the pcbView definition entirely as the pin does not exist in pcb view like this:

    <connector id="connector6" type="male" name="Pin 7">
      <description>VCC</description>
      <views>
        <breadboardView>
          <p svgId="connector6pin" layer="breadboard"/>
        </breadboardView>
        <schematicView>
          <p svgId="connector6pin" layer="schematic" terminalId="connector6terminal"/>
        </schematicView>
      </views>

Once that is done for the first 7 pins we need to adjust the bus definitions (which can be done in parts editor although I find it easier to just edit the file!) The current bus definition looks like this:

 <buses>
  <bus id="3V3">
   <nodeMember connectorId="connector0"/>
   <nodeMember connectorId="connector18"/>
  </bus>
  <bus id="GND">
   <nodeMember connectorId="connector1"/>
   <nodeMember connectorId="connector17"/>
  </bus>
 </buses>

But the connector numbers have changed and we need some more buses. So change it to this

  <buses>
    <bus id="TX">
      <nodeMember connectorId="connector1"/>
      <nodeMember connectorId="connector9"/>
    </bus>
    <bus id="RX">
      <nodeMember connectorId="connector2"/>
      <nodeMember connectorId="connector8"/>
    </bus>
    <bus id="VCC">
      <nodeMember connectorId="connector3"/>
      <nodeMember connectorId="connector7"/>
      <nodeMember connectorId="connector11"/>
    </bus>
    <bus id="GND">
      <nodeMember connectorId="connector4"/>
      <nodeMember connectorId="connector10"/>
      <nodeMember connectorId="connector12"/>
    </bus>
  </buses>

Which adds definitions for RX and TX and adds pins to VCC and GND. That completes the changes and results in this part which should do what you want.

SC03-C2H5OH-Electrochemical_Ethanol_Module-fixed.fzpz (7.4 KB)

Peter

1 Like

Hey Peter!! Thank you so much, it seems simple on the surface, but there are a lot of details.

Yes making parts is complex and tends to bite (or simply not work correctly) without warning. It takes a long time to understand all the interactions and get them right. That is why if you only need a part or two it is much easier to let one of us with experience make it for you.

Peter

1 Like