Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

PCB Designing using Kicad (Part 7/12)

By Venugopal M

Electrical Rules check (ERC):

After creating the schematic and annotating circuit, it is necessary to check whether the circuit has any electrical errors. Like, if Nets are not connected properly, the input is not connected to the input pin, Vcc and GND shorted anywhere in the circuit, or any pin electrical type not selected properly, etc.  All these  are electrical error types. If we have made any such mistake  in schematic, and if we are not performing any ERC, then after completing the PCB we cannot get the desired result from the circuit. So, ERC is mandatory.
  
: The Electrical Rules Check (ERC) tool performs an automatic check of the schematic. The ERC checks for any errors in your sheet, such as unconnected pins, unconnected hierarchical symbols, shorted outputs, etc.
 
To perform ERC on a schematic, we have to click on the ERC icon . If the circuit has no errors, then it shows Errors and warnings as zero. On the other hand, if it finds any errors it will show us the number of errors and warnings. 
 
Screenshot of Electrical Rules Checker Window on KIcad
 
Fig. 1: Screenshot of Electrical Rules Checker Window on KIcad
 
Screenshot of Electrical Rules Checker Window on KIcad
 
Fig. 2: Screenshot of Electrical Rules Checker Window on KIcad
 
If ERC finds any errors or warnings it gives the details like error at which pin,  along with an  appropriate reason. In schematic also it will show a green arrow mark to indicate the error. 
 
 
Screenshot of a Warning or Error Detected by ERC on KIcad
 
Fig. 3: Screenshot of a Warning or Error Detected by ERC on KIcad
 
 
So, there is no need to struggle in order to find out where the error is present and why. But we have to find the solution.
 
I completed a circuit, and got 6 warnings but there were no errors in ERC report. In these warnings, first two warnings  included,  pins not connected. Actually, I did not connect pin 5, 6 of the Component DS1 properly. Remaining warnings  were regarding  not connected and not driven pin warnings. If we look at the green arrows in the schematic, we can realize the mistakes.  
 
Actually, I had not connected LCD 4,5,6, pins properly. I placed Net labels but didn’t connect them properly; So I adjusted labels and nets, and made connections properly. Again I performed ERC. Once again, I got the same errors. After observing schematic thoroughly, I found that LCD 4,5,6 pins  were not connected to microcontroller 10,11,12 pins. Instead, I had placed “not connect” at microcontroller 10, 11, 12 pins. So to solve this, I placed Nets with suitable connecting labels to LCD. Once again I performed ERC. This time, I got only two warnings. 
 
Screenshot of a Warning or Error Detected by ERC on KIcad
 
Fig. 4: Screenshot of a Warning or Error Detected by ERC on KIcad
 
 
To solve these two warnings I spent a lot of time. These  were ‘not driven’ warnings. Finally, I found the solution. The mistake was that while creating an ADC0804 component in library editor, I had selected the wrong electrical type of the “V-in” pin. I had selected V-in pin as power input, but it is power output. After adjusting this, I got one warning in ERC report i.e.   LCD 2nd pin was not connected to pot. So by giving Net and suitable label I solved that  as well. Finally, in ERC report, I got “0” warnings and “0” errors. 
 
ERC configuration:
 
In ERC report window, the optional panel allows us to configure connectivity rules to define electrical conditions, warnings, and check. If we need any modifications in this panel we can do that. In this, we can see that squares are arranged in the matrix. Each square indicates that pin type and pin electrical type. If we need any changes in present configuration, we can  do so by clicking on the desired square in the matrix.
 
 
Screenshot of ERC Configuration in KIcad
 
Fig. 5: Screenshot of ERC Configuration in KIcad
 


Filed Under: Tutorials

 

Questions related to this article?
👉Ask and discuss on Electro-Tech-Online.com and EDAboard.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What is a loop calibrator? 
  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • What was before microcontrollers ?
  • Measure AC current accurateley (100mA to 10A)
  • 74HC595 creating Fake output
  • NEED HELP FOR OP-AMP IN BGR
  • Check undesired substrate mode...

RSS Electro-Tech-Online.com Discussions

  • Control Bare LCD With ATmega328p
  • Need a ducted soldering fan for solder smoke extraction
  • Sla ir li ion
  • Question about ultrasonic mist maker
  • Best way to reduce voltage in higher wattage system?
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering