ERC/DRC common errors and how to use it like TDD // KiCad

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ค. 2024
  • #erc #drc #kicad
    When designing my recent project with PCBWay www.pcbway.com/, I had to run ERC (Electrical Rules Check) and DRC (Design Rules Check) in the schematic and routing. In this video, I go through 3 common errors for ERC and DRC each and how to solve them with KiCad. I end with a discussion on using Test-Driven Development philosophy in ERC/DRC. Is that better? Let's discuss!
    ‣ Some links below are affiliate. I receive a small commission at no extra cost to you.
    ⏰ TIMESTAMPS AND RESOURCES
    0:00 Intro
    0:40 ERC: conflict between pins
    2:28 ERC: pin not connected
    3:11 ERC: pin not driven
    4:57 DRC: pad too close
    7:04 DRC: courtyard overlaps
    7:57 DRC: unconnected items with zone outline
    9:21 Using ERC/DRC like TDD
    10:46 Outro
    🛍️ PRODUCTS MENTIONED
    Waveshare 1.54inch E-Ink display black/white e-paper 200x200 resolution amzn.to/3BrwFW4
    s.click.aliexpress.com/e/_Aa47iU
    HopeRF LoRa RFM95 module
    amzn.to/3BvDgis
    s.click.aliexpress.com/e/_A49mJI
    Arduino UNO Rev 3
    amzn.to/3iF50sp
    s.click.aliexpress.com/e/_AdpwZE
    Screw Set various sizes
    s.click.aliexpress.com/e/_9wQHfq
    amzn.to/3xUvsUZ
    🎩 DEMO FILES
    KiCad files hutscape.com/oak/hardware
    📺 WATCH NEXT
    From Rats Nest to a complete PCB layout in 10 steps // Designing a LoRa-GPS tracker in KiCad • From Rats Nest to a co...
    Online PCB manufacturing and the checklist manifesto // KiCad, PCBWay • Online PCB manufacturi...
    Version control for hardware developers // Git, GitHub, KiCad • Version control for ha...
    Tips for creating schematic symbols // KiCad, E-Ink module, GPS module • Tips for creating sche...
    🔗 LINKS SHOWN
    ErrType(3): Pin connected to some others pins but no pin to drive it forum.kicad.info/t/errtype-3-...
    PCBWay Capabilities www.pcbway.com/capabilities.html
    KiCAD DRC For Travis forum.kicad.info/t/kicad-drc-...
    KiBot github.com/INTI-CMNB/KiBot
    kicad-exports github.com/marketplace/action...
    🔌 TOOLS USED
    hutscape.com/tools
    🎶 MUSIC
    Spring Field by Godmode in TH-cam Music library
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 26

  • @eldorado3523
    @eldorado3523 2 ปีที่แล้ว +1

    Very interesting look into these tools. I use them to keep my own distractions in check, too often have I swapped TX and RX pins accidentally only to discover the issue after the PCB layout is designed or worse, when the PCB prototypes come from the manufacturer. I do have to say though, the quality of the ERC/DRC output is directly linked to the quality of the footprint. If a pin is wrongly identified in the footprint the ERC won't know about it, so it's good to keep that in check, especially when you're the one making the footprints.
    I liked your methodology of doing the checks at specific stages and then do version control with them. Where did you learn about these design process techniques, like TDD? It seems like a major flaw in my engineering degree because I never really learned these things.

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      "Where did you learn about these design process techniques, like TDD?"
      I had spent some good years in between in web development that made me comfortable with programming, version control, documentation, and concepts like TDD, CI/CD and agile development.
      Coming from the school of engineering, I did not learn these concepts initially and they certainly petrified me 😅

    • @eldorado3523
      @eldorado3523 2 ปีที่แล้ว

      @@sayanee Yes, my background is very academic (physics eng.), so when I got to work in the industry it was a whole different way of doing work. Unfortunately none of the companies I worked for exposed those troubleshooting techniques to me, it was usually someone else's job to do the testing, so I guess I have to learn it by doing it myself haha. Thanks for the reply! Keep up the good work!

  • @matthewmorgenstern1556
    @matthewmorgenstern1556 2 ปีที่แล้ว

    Thank you for such a clear and well spoken tutorial. It was refreshing to have someone cover all of this information with clarity and in an articulate manner. Sooo helpful! Thanks 🙏 🙏

  • @Avionics1958
    @Avionics1958 ปีที่แล้ว

    Absolutely helpful to me. Thank you!

  • @chmanie
    @chmanie 2 ปีที่แล้ว

    Thank you again for another great video. Looking forward to seeing a video about a KiCad CI pipeline ;)

  • @KD0MOO
    @KD0MOO ปีที่แล้ว

    thanks for posting this

  • @tasmedic
    @tasmedic 2 ปีที่แล้ว

    Thank you ever so much for covering all the errors I'm coming across as a newbie starting with Kicad.
    You're so clear and to the point. Excellent video.
    I'm not sure why Kicad continues, even in Version 6.0, this hopeless "power flag" system. It really does need replacing with something more intuitive, and/or, easier to find in the libraries.

  • @cozycactus
    @cozycactus 2 หลายเดือนก่อน

    you are great! i was using altium designer before and want to try kicad 7

  • @DonLyso
    @DonLyso ปีที่แล้ว

    thank you so much for this Video!
    You saved me a lot of time and frustration.

  • @rovaidkhan476
    @rovaidkhan476 2 ปีที่แล้ว

    Thank you for such a Great video

  • @Ahmed-nz2vp
    @Ahmed-nz2vp 3 หลายเดือนก่อน

    you have fixed my mistake, thank youuuuuuuuuuuuuuu

  • @DaveHines1
    @DaveHines1 2 ปีที่แล้ว

    Ok , that’s a couple more dialogs I wasn’t aware of , Thanks 😃

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      I'm always discovering hidden features I never knew 😅

  • @debrajdas8464
    @debrajdas8464 2 ปีที่แล้ว +1

    Ami ai first akjon bengali lady pcb designer (kicad special my favorite)🤩🤩🤩 k dehklam khub khub khusi holam + amr problem o solve hoa geche , thank you mam.

    • @sayanee
      @sayanee  2 ปีที่แล้ว +1

      Very nice to meet you too! Glad it helped you :)

  • @ChirawatNg
    @ChirawatNg 2 ปีที่แล้ว

    Thank you

  • @sergiosouza8230
    @sergiosouza8230 หลายเดือนก่อน

    Voce e maravilhosa ! otimo video, me ajudou muito !

  • @roguesecurity
    @roguesecurity 2 ปีที่แล้ว

    Your videos are really informative and helpful. Thanks 🙏🏻 for the contents. I am an electronic hobbyists trying to learn how pcbs are designed. Really liking your tips on schematic designs. Do you have a discord server? I think that will be great platform for discussion rather than TH-cam comments.

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      I don't have any discord server at the moment 😅 I usually go to the respective forums like KiCad or GitHub and post my questions there.

    • @roguesecurity
      @roguesecurity 2 ปีที่แล้ว

      @@sayanee having something like discord will be great to have conversations with your subscribers/viewers where everyone can exchange their ideas. Please consider having one, that will be awesome 🙂

  • @botak333
    @botak333 2 ปีที่แล้ว +1

    Hi ms, i have problem conflict pin ms, conector usb output gnd with ams117(3.3v) output power ms. I have change like your but still error. And now i have change electrical type conector usb gnd from power output to passive, and work ms. I will ask you, if change lile that in future will get problem when pcb was done printed ms??

  • @Ferreira019760
    @Ferreira019760 2 ปีที่แล้ว

    This has absolutely nothing to do with the video’s thematic but I’m curious about your MacBook. Let me explain why. I’ve finally started entering the apple universe and I still lack an apple computer. My windows Lenovo was cunningly nicked by my dear wife in order to work remotely, and my budget is a little bit on the low side. The things we do for love… My question then is, how far back is it advisable to purchase an iMac or MacBook in order to be able to run these applications like kicad , vc or arduino ide and getting a couple of years of support from apple regarding updates. I’m not into video editing, the goal here is to be able to make some projects and learn along the way. I would be quite happy with that. I’m not interested at this point in having to learn several side things like knowing how to setup a Linux distro and make it work with every single little thing. Just have something I turn on and it works so I can focus on my goals. Thanks in advance.

    • @sayanee
      @sayanee  2 ปีที่แล้ว

      Well, in this case, you will be happy to know that my MacBook is very old 😅
      It's a MacBook Pro (Retina, 13-inch, Early 2015), processor 2.9 GHz Dual-Core Intel Core i5, and memory 16 GB.
      And I use it for coding, firmware development, KiCad, video, and photo editing. So you have lots of choices and hopefully a much more modern machine. I have also duat booted it with Linux and Windows in the past.
      "Just have something I turn on and it works so I can focus on my goals." Yep, I have gone past the stage of trying to build everything from scratch and having something that just works, so MacBook is great for that in my opinion. 🤪

    • @Ferreira019760
      @Ferreira019760 ปีที่แล้ว

      @@sayanee As a bit of a joke, back in the day parents would give their kids the old PC's when they were no longer useful for work, so the kids could have something to play with. These days, it's the other way around. When the computers are no longer viable for gaming, they go to the parents so that they can work.
      Your hardware is far more advanced than what I'm using, an old HP Compaq 6005 Pro SFF with AMD Phenom II X3 B75 and 8 Gb of RAM. Threw in a 240Gb SSD drive, and it's running Linux mint like a charm. What I did invest in was in a 29" ultrawide screen. I am not at all regretful, it has the huge advantage of allowing me to have two documents open side by side in full scale, and it makes creating documents while consulting others so much easier. I hadn't acquired this PC at the time I asked you about your Mac, and my idea was to get one for myself. But here lies the problem, when you cannot update the software any more, perfectly good hardware becomes useless, or so I thought. Now, seeing that you installed Linux in it, it could become a possibility once more. Thank you for your reply, it was very enlightening.

  • @codejclown927
    @codejclown927 7 หลายเดือนก่อน

    Kicad clearence violation (netclass default clearence 0.2000mm; actual 0.1800mm) can u solve this ...?