Skip to content
/ twc Public

Trace Width Calculator to calculate the required trace width for PCB traces. Uses three different methods.

License

Notifications You must be signed in to change notification settings

ymich9963/twc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trace Width Calculator (TWC)

badge Coverity Scan Build Status

A calculator tool used to assist designing rigid PCB traces. Implements both the IPC2221 and IPC2152 standards and has the ability to choose between the two, with the latter having two methods available for the outputs. Each method used for the standards was derived from one of the various websites that claim to implement a trace width calculator. The initial purpose of this tool was to collect the available methods for calculating trace widths and to have them all in one place. Any improvements please let me know!

Methods

One method is implemented for IPC2221 and two methods for IPC2152. The tool defaults to the IPC2152 standard, Method A.

IPC2221

IPC2152

Installing

To install and use the twc command. Make sure to have the latest version, place it in a folder, and add that folder path to your Enviroment Variables.

Building

Clone the repository and got to this directory. Using make simply run in a command line,

make

And twc should be build in a new build/ directory.

Tests and Coverage

Running the tests or coverage can be done by running,

make test
make coverage

Testing suite used is Unity and LLVM-COV for coverage.

Sources

Some sources for creating the tool are listed below,

About

Trace Width Calculator to calculate the required trace width for PCB traces. Uses three different methods.

Resources

License

Stars

Watchers

Forks

Packages

No packages published