4 minute read

Presentation What is a PCB Fritzing breadboard example Fritzing schematic example Fritzing PCB example custom board shapes small boards
Fritzing Usage Examples

Introduction

Creating printed circuit boards (PCBs) can be both fun and useful in automation model railroad layouts. Fritzing is a powerful open-source tool that simplifies the process of designing and creating these PCBs for hobbyists. During the NMRA 2023 Texas Express convention I did a 2 hour presentation on using Fritzing to create a timing circuit. The presentation covers all aspects of a timing circuit, from creating schematics, breadboards and actual PCB designs. It finishes with how to actually order a working PCB for a timing circuit.

Even though I’ve used Fritzing for the last 3 years to create a large number of circuit boards for my NMRA LCC projects, I still learned a lot in doing the presentation. Hopefully you’ll get a chance to use the presentation to get started on a PCB for your layout.

Why Fritzing?

So, why did I choose Fritzing vs other PCB fabrication tools?

Fritzing is user-friendly and allows for quick prototyping with a wide range of components at your disposal. Here are some reasons why it’s a great choice:

  • Ease of Use: Fritzing has a drag-and-drop interface that is intuitive for beginners.
  • Community: There’s a large community of users who contribute to the parts library.
  • Versatility: You can design not just PCBs, but also create breadboard visuals and schematics.

Exploring Fritzing for PCB Design

Fritzing is a tool for designing PCBs, which are like the brains of electronics. It’s affordable and powerful. Here’s what I’ve discovered using Fritzing for my projects that involve creating PCBs for automated controls:

  • Affordable PCBs: There are companies like JLCPCB that make high-quality PCBs for less than a dollar. They’ve even started offering fast shipping for a low price.

  • Custom PCB Shapes: For my specific layout automation needs, for the LCC Node and I/O boards, I made unique-shaped PCBs that fit into card edge connectors in only one direction to prevent costly mistakes from electrical shorts. To create the custom PCB shape, I used a program called Inkscape to draw the shape and then imported it into Fritzing.

  • Specialized PCB - after learning the basics of creating PCBs, I realized it might be more user friendly when implementing LCC automation to have specialized boards. For example, one PCB used as an LCC Node, and different PCBs for each of the I/O types (button, RFID, signals, voice, sound, etc). This prevents overloading a single board with too many capabilities, which leads to confusion during configuration.

  • Creation and modification of ‘parts’ - when working with some of the existing parts, I found it necessary to use the Fritzing Parts Editor to either change the part’s silkscreen text or to tweak the copper pads. Since I found it to be a tedious process, I only did it when necessary, but was rewarded with a better part design.

  • Custom PCB silkscreen - I found it useful to standardize the silkscreens for both the top and bottom of the PCBs. I used Inkscape, to update the silkscreen layers for the PCB image (SVG file) that can then be loaded into Fritzing.

  • Small PCBs for Signal Heads and Masts - With Fritzing, I could make really thin PCBs, perfect for signal mast and also for inserting into the back of commerical signal heads. The PCBs were cheap and could be customized for different types of LEDs for the lamps. Plus, they made wiring really easy. The signal mast were also designed to have attached wires or insert into a socket (to allow for quick removal).

  • Custom boards for wiring - I found that are many types of wiring techniques used in layouts; plugs (JST, Molex, RJ45), PCB pads or holes, and terminal connectors (screw, spring). To accommodate mixing these techniques, I created small PCBs to allow for connections between different connector types. For example, an RJ45 connector (CAT5 / CAT6 cables) connection to a spring terminal with (8) connections.

  • LCC Testing PCB - after mastering customer PCB shapes, silkscreen, and NMRA sessions on testing LCC hardware, I decided to create a board that supports testing signaling with a turnout and blocks. Setup is done by inserting 2(2) I/O PCBs, (5) signal mast PCBs, a Tortoise Switch Machine(TM) (inserted into a custom PCB). Note that the PCB provides solder pads for mounting the turnout rails. The rails are isolation into (4) blocks and connected via PCB traces to a socket connector for a single custom Block Occupancy Board (BOD). There is also a connector for the Signal Heads board, which is connected via PCB traces to (6) signal mast PCB socket connectors. The I/O boards are CAT6 cabled to a custom Node PCB. Both layout and accessory terminal connections provide power via PCB traces to the rails and the appropriate BOD and Turnout, and signal masts PCBs.

Remember, the presentation will cover all of these points in more detail.

The Presentation

In the presentation, the following topics are covered in detail:

  1. Why Create Custom PCBs
  2. What is a PCB?
  3. What is Fritzing?
  4. From Design to Production and Test
  5. Circuit Designs
  6. Explore Fritzing
  7. Flasher Circuit Example
  8. Order a PCB
  9. What’s Next for You?
  10. Problem Solving
  11. Useful tools for PCB soldering
  12. Techniques for soldering Surface Mounted Device (SMD) parts

And More…

In addition to the presentation (ppt, pdf, zip and mp4 formats), I’ve also provided:

  1. the Fritzing design for the timing circuit PCB
  2. Arduino sketch for using the timing circuit
  3. Videos (download to view, from the presentation):

Conclusion

Designing PCBs with Fritzing can be a rewarding experience. I hope this guide helps you bring your electronic projects to life. For more details, check out my full presentation attached below.

Resources