You need to use EasyEDA editor to create some projects before publishing
Invalid PCB
896 10
goatzilla 3 years ago
I'm trying to use this PCB layout: [https://easyeda\.com/module/WeMos\_D1\_Mini\_Shield\_Template\-b369460898614b3881bc0666c6ef0801](https://easyeda.com/module/WeMos_D1_Mini_Shield_Template-b369460898614b3881bc0666c6ef0801)<br> <br> However it keeps saying "Invalid PCB". Why exactly is it invalid, and can we get a better error message?
Comments
UserSupport 3 years ago
This is a PCB module when I Save As this module to myself library, and place it on PCB, work good. please try again?
Reply
andyfierman 3 years ago
Please describe, step by step, what you are doing to produce this message.
Reply
goatzilla 3 years ago
The simplest test case is I'm just creating a new blank PCB and adding the PCB module and hitting "Auto Router".  That gets me the error. Am I using this feature incorrectly?
Reply
andyfierman 3 years ago
@goatzilla, Sorry but you're not giving enough information from which to offer any sensible suggestions other than wild guesses. Please read: [https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a](https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a) then post back with at least some screenshots of your project Schematic and PCB or the url to a public project that demonstrates your issue. Thanks.
Reply
goatzilla 3 years ago
OK, here's the project: [https://easyeda.com/goatzilla/PCBModuleTest](https://easyeda.com/goatzilla/PCBModuleTest)<br> <br> And here's a screenshot after I hit "Auto Router". <br> ![image.png](//image.easyeda.com/pullimage/9oEobA8rWpPNyy5mDdis6dq9DM213pf106AYfOOQ.png)
Reply
andyfierman 3 years ago
Yes, I'd come to the conclusion that that is what you were doing. 1. You are placing a PCB Module not a PCB; 2. You cannot place a PCB module into empty space. You must create a board outline to define the PCB on which you wish to place the module; 3. Running the Autorouter on a PCB with no Board Outline will generate the Invalid PCB error that you see; 4. You have no nets defined from which to route as copper traces. Therefore there is nothing for the Autorouter to route; 5. You have no schematic from which to pass any nets into the PCB. I think it would help you to read (2.2) and then (1) in (2) in: [https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a](https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a)
Reply
goatzilla 3 years ago
You are correct, I was doing what seemed like the most obvious thing. The purple lines in PCB Module from what I understood were the board outline.  The UI completely indicates this.  Like you click on the layer and there it is.  If the PCB has no board outline, the error message might be better off as, "You have no board outline." If it has a board outline, and a bunch of nets that don't need to be routed, you'd think the Auto Router would look at this and go, "Looks good to me, all done." and not "Invalid PCB".  If it has a problem with the nets that should be the DRC's problem. Furthermore, I did actually successfully produce a PCB with this template in my design.  I dropped it into the PCB exactly like you said was wrong and manually routed it.  Everything worked as expected from that point on.  I made sure my nets had the same names as the module and literally everything worked except the Auto Router. So it's hard to understand why this is an "Invalid PCB" from the Auto Router's perspective when from literally every other perspective in the software it's a perfectly functional PCB. None of this follows sensible design, and I'm pretty sure the way I asked the question has nothing to do with this.
Reply
andyfierman 3 years ago
I agree that the messages should be clearer but the same message may be presented in response to different circumstances. Without understanding the context in which they are invoked, it is difficult to see how the error messaging can be improved. Hence my detailed questioning to try to establish your particular context. Plus giving some pointers to help avoid such errors in future until better error messaging may become available. "...I did actually successfully produce a PCB with this template in my design.  I dropped it into the PCB exactly like you said was wrong and manually routed it." If you placed a module into a PCB, manually added tracks and created a board outline around the whole arrangement then it is not surprising that were able to make a functional PCB. Apart from not using the Autorouter you did almost everything necessary to avoid generating any error messages according to the points made in my earlier post. Please note however that we recommend always starting a project with a Schematic which is then converted to a PCB. The reasons for this are explained in (2.2) in (2) in: [https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a](https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a)
Reply
goatzilla 3 years ago
I'm sorry I'm still grappling with the truth of your statements. > If you placed a module into a PCB, manually added tracks and created a board outline around the whole arrangement then it is not surprising that were able to make a functional PCB. Apart from not using the Autorouter you did almost everything necessary to avoid generating any error messages according to the points made in my earlier post. I manually added tracks but _**did not create a board outline around the whole arrangement**_.  You're misrepresenting facts, and I clearly stated **_the template itself has a board outline_**. **_The template has a board outline._** If the problem with the PCB is that it has no board outline, **_THE TEMPLATE HAS A BOARD OUTLINE._** My original project had a schematic that was converted to a PCB and then the module was dropped in.  I only created the MCVE project because you kept asking for it.  Even in that MCVE, the error is just flat out wrong. You've repeatedly referenced an irrelevant "How to ask questions" doc. Do you have a corresponding "How to answer questions" document?  Would you like me to start one for you?  I'd be happy to help on that front.
Reply
goatzilla 3 years ago
Same empty PCB, no changes, with the template thrown in there.  No schematic, no nothing, no referring to irrelevant docs.  3D Viewer seems to think it's legit. ![image.png](//image.easyeda.com/pullimage/zaPDeNOgn1X1aIvvLz7Uh1a6BhtJawvStKI9AEju.png) <br> Again, same empty PCB, no schematic behind it to confuse the issue or cause red herrings: ![image.png](//image.easyeda.com/pullimage/oE7J9S600qE16ZJO63EbPJIOy2UZuLcpQSI5ZCMM.png) That thing's ready to build one for me and sell it to me despite the fact that it's "invalid"? <br> <br>
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice