Breadboard Shield for Arduino Mega Fritzing part

Hello,

We would like to share the Fritzing part for DIYables Breadboard Shield for Arduino Mega.

DIYables Breadboard Shield for Arduino Mega

You can download them here — Import into Fritzing to draw wiring diagrams and breadboard layouts with this board:

Or download from the product pages:

1 Like

@DIYables The part has 2 major critical errors and likely it is corrupted.

The schematic view has an error (it can’t move), and PCB too

The schematic itself has 80 pins (connector0 to connector79).

However, in your .fzp file you actually declared

    <connector id="connector79" type="male" name="D53">
      <description>Mega header pin D53 (the pin under the shield plugs into the Arduino Mega header)</description>
      <views>
        <breadboardView><p svgId="connector79pin" layer="breadboard"/></breadboardView>
        <schematicView><p svgId="connector79pin" layer="schematic" terminalId="connector79terminal"/></schematicView>
        <pcbView><p svgId="connector79pin" layer="copper0"/><p svgId="connector79pin" layer="copper1"/></pcbView>
      </views>
    </connector>
    <!-- This is where the problem starts -->
    <connector id="connector80" type="male" name="GND">
      <description>Mega header pin GND (the pin under the shield plugs into the Arduino Mega header)</description>
      <views>
        <breadboardView><p svgId="connector80pin" layer="breadboard"/></breadboardView>
        <schematicView><p svgId="connector80pin" layer="schematic" hybrid="yes"/></schematicView>
        <pcbView><p svgId="connector80pin" layer="copper0"/><p svgId="connector80pin" layer="copper1"/></pcbView>
      </views>
    </connector>
    <connector id="connector81" type="male" name="GND">
      <description>Mega header pin GND (the pin under the shield plugs into the Arduino Mega header)</description>
      <views>
        <breadboardView><p svgId="connector81pin" layer="breadboard"/></breadboardView>
        <schematicView><p svgId="connector81pin" layer="schematic" hybrid="yes"/></schematicView>
        <pcbView><p svgId="connector81pin" layer="copper0"/><p svgId="connector81pin" layer="copper1"/></pcbView>
      </views>
    </connector>

Specifically

<schematicView><p svgId="connector80pin" layer="schematic" hybrid="yes"/></schematicView>

Technically using hybrid=“yes” should work, but no idea why for you its failing (I tested using a simple part at the bottom of this post no idea why this is happening). Banging on “tried and tested” I recommend that you change every

<schematicView><p svgId="connector#pin" layer="schematic" hybrid="yes"/></schematicView>

to

<schematicView></schematicView>

and

<pcbView><p svgId="connector#pin" layer="copper0" hybrid="yes"/><p svgId="connector#pin" layer="copper1" hybrid="yes"/></pcbView>

to

<pcbView></pcbView>

Simple example


So to debug I tried to make this edge-case part

svg.breadboard.prefix0000_e374d048356204bd52af81577aff4eba_1_breadboard

In this unusual part (obviously real ICs aren’t like this), (from left to right), pins 1, 2, 3, 4 all appear in all views but pins 5, 6, 7 are breadboard and PCB only, with pin 8 breadboard only.

svg.pcb.prefix0000_e374d048356204bd52af81577aff4eba_1_pcb
svg.breadboard.prefix0000_e374d048356204bd52af81577aff4eba_1_breadboard
svg.schematic.prefix0000_e374d048356204bd52af81577aff4eba_1_schematic


The hybrid approach

example-bbonlyelements-hybrid.fzpz (4.2 KB)

So for this part, using the hybrid="yes" approach, where the .fzp file:

example-bbonlyelements-hybrid.fzp (5.5 KB)

 <connectors>
  <connector id="connector0" name="pin1" type="male">
   <description>pin 1</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector0pin" terminalId="connector0terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector0pin" terminalId="connector0terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector0pin"/>
     <p layer="copper1" svgId="connector0pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector1" name="pin2" type="male">
   <description>pin 2</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector1pin" terminalId="connector1terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector1pin" terminalId="connector1terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector1pin"/>
     <p layer="copper1" svgId="connector1pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector2" name="pin3" type="male">
   <description>pin 3</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector2pin" terminalId="connector2terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector2pin" terminalId="connector2terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector2pin"/>
     <p layer="copper1" svgId="connector2pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector3" name="pin4" type="male">
   <description>pin 4</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector3pin" terminalId="connector3terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector3pin" terminalId="connector3terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector3pin"/>
     <p layer="copper1" svgId="connector3pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector4" name="pin5" type="male">
   <description>pin 5</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector4pin" terminalId="connector4terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector4pin" terminalId="connector4terminal" hybrid="yes"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector4pin"/>
     <p layer="copper1" svgId="connector4pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector5" name="pin6" type="male">
   <description>pin 6</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector5pin" terminalId="connector5terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector5pin" terminalId="connector5terminal" hybrid="yes"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector5pin"/>
     <p layer="copper1" svgId="connector5pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector6" name="pin7" type="male">
   <description>pin 7</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector6pin" terminalId="connector6terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector6pin" terminalId="connector6terminal" hybrid="yes"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector6pin"/>
     <p layer="copper1" svgId="connector6pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector7" name="pin8" type="male">
   <description>pin 8</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector7pin" terminalId="connector7terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector7pin" terminalId="connector7terminal" hybrid="yes"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector7pin" hybrid="yes"/>
     <p layer="copper1" svgId="connector7pin" hybrid="yes"/>
    </pcbView>
   </views>
  </connector>
 </connectors>

produced

example-bbonlyelements-hybrid.fzpz (4.2 KB)


My approach

where the .fzp file:

example-bbonlyelements-myappr.fzp (5.0 KB)

 <connectors>
  <connector id="connector0" name="pin1" type="male">
   <description>pin 1</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector0pin" terminalId="connector0terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector0pin" terminalId="connector0terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector0pin"/>
     <p layer="copper1" svgId="connector0pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector1" name="pin2" type="male">
   <description>pin 2</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector1pin" terminalId="connector1terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector1pin" terminalId="connector1terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector1pin"/>
     <p layer="copper1" svgId="connector1pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector2" name="pin3" type="male">
   <description>pin 3</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector2pin" terminalId="connector2terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector2pin" terminalId="connector2terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector2pin"/>
     <p layer="copper1" svgId="connector2pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector3" name="pin4" type="male">
   <description>pin 4</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector3pin" terminalId="connector3terminal"/>
    </breadboardView>
    <schematicView>
     <p layer="schematic" svgId="connector3pin" terminalId="connector3terminal"/>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector3pin"/>
     <p layer="copper1" svgId="connector3pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector4" name="pin5" type="male">
   <description>pin 5</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector4pin" terminalId="connector4terminal"/>
    </breadboardView>
    <schematicView>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector4pin"/>
     <p layer="copper1" svgId="connector4pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector5" name="pin6" type="male">
   <description>pin 6</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector5pin" terminalId="connector5terminal"/>
    </breadboardView>
    <schematicView>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector5pin"/>
     <p layer="copper1" svgId="connector5pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector6" name="pin7" type="male">
   <description>pin 7</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector6pin" terminalId="connector6terminal"/>
    </breadboardView>
    <schematicView>
    </schematicView>
    <pcbView>
     <p layer="copper0" svgId="connector6pin"/>
     <p layer="copper1" svgId="connector6pin"/>
    </pcbView>
   </views>
  </connector>
  <connector id="connector7" name="pin8" type="male">
   <description>pin 8</description>
   <views>
    <breadboardView>
     <p layer="breadboard" svgId="connector7pin" terminalId="connector7terminal"/>
    </breadboardView>
    <schematicView>
    </schematicView>
    <pcbView>
    </pcbView>
   </views>
  </connector>
 </connectors>

resulting in this

example-bbonlyelements-myappr.fzpz (4.1 KB)



Again t be honest I don’ty know if the hybrid thuingy is affecting your part, but maybe you can try using my approach. @KjellM any idea why their part doesn’t work

Did you run this with the fzp_checker , what are the results? Note that since about a year the script also supports directly checking fzpz files.

If the script runs clean, and the part still doesn’t behave as expected, it could be considered a bug in each: The script, the part, and Fritzing itself . The script should alert, the part should not indrodcue the issue, and Fritzing itself should either refuse the part or work as expected. So, worth a check.

I think the hybrid markers are essential here, since it is a breadboard part, without any representation in schematic or PCB.

PS The syntax and the naming “hybrid” are both a bit messy, but that shouldn’t deter you from using it. hybrid in schematic and hybrid in PCB basically means “this connector is breadboard only”.