element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Blog New parts, new part PCB Problem
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: camuyano
  • Date Created: 15 Mar 2015 7:34 PM Date Created
  • Views 2366 views
  • Likes 2 likes
  • Comments 8 comments
  • eagle
  • eaglecad
  • cardsoft
  • oshw
  • sparkfun
  • cardsofteagle
  • sparkfun;
  • eaglecad;
Related
Recommended

New parts, new part PCB Problem

camuyano
camuyano
15 Mar 2015

I had a wake up call using Eagle Cad and a third party libraries. And I wanted to share how my ignorance caused my boards to fail (for now).

Just for reference the board uses an Atmega328P SMD and i wanted a smaller and cheaper part than a normal crystal. So I went with a resonator, there are a few very cheap and very small. I am not that good on creating parts layout by myself so I searched on the libraries at hand for a resonator with the footprint similar to the one I wanted to use. And very quickly I found a smd resonator on Sparkfun-FreqCtrl library and the part is RESONATOR-SMD. First I was very happy to actually found this part. So I put the part on my PCB and send it to fab for manufacturing. The board came back beautiful red (I had to pay a little more for color selection). Then I notice that around the resonator there were some solder mask missing, but said to myself this must be a size limitation from that cheap Chinese fab. I am like a little kid whenever I get mail, so I ran to get my iron and started soldering. "No need to do any measurement, I am 99.9% sure the design is correct" I said. If fail then I will test, but I wanted to solder right away. So I did.

Latter after the boards start failing I then went back and did some measurement, just to find some missing solder mask and some exposed copper. The copper exposed then again I thought at first it was because of Chinese fab, but turn to be my mistake not the fab.

Lets see the picture bellow, look the black region is missing red solder mask. And at the borders you can see exposed copper (blue arrows). The missing solder mask (black part) does not causes any problem. However the exposed copper do. It causes my resonator to short to ground making my board fail.

image

 

And what was the cause of all? The actual part on the library had instructions to be constructed exactly as it was done. There is a layer in eagle called tStop. The tStop layer is the one that allows solder areas of copper to be exposed. This layer stops solder mask in a specific area. This part has a rectangle over the entire part. The size of this rectangle plus a small isolation in the board causes this tStop rectangle to go over my ground plane, and causes the copper to be exposed. On the image bellow, the big white hatched rectangle is the tStop that caused the problem. This made my twenty boards order to fail.

image

 

I have three options:

1. Etch (manually)  out that exposed copper to a distance that I can solder the part

2  Cover with heat resistant tape the exposed copper

3. Paint it over with solder mask (that I do not have at hand).

I am going to get a few pieces of tape, and try to cover the exposed copper in order for me to use these boards. But anyhow I edited my design and send a few more to be made, this project need to be finished and quickly. In about two weeks I should be getting them back and hope this issue is water under the bridge.

 

Hardware design has its ups and down, but it is well worth it. You win some and loose some and learn a lot during the process.

I should try to contact SparkFun about the part, or submit a pull request with the fix. I am a noob, this might be the right design and I am the one mistaken. Anyhow for PCB with a big ground plane close to this part this is not working. My guess is that the rectangle is intended to avoid ground plane under the part and not to stop the solder mask. This must be a layer mistake.

 

For the new PCB I did a ground plane cutoff polygon around the resonator, removed the tStop from the part and made the side contacts a little bigger (for easier soldering). When I get the PCB back from fab will post again with the new board. Hope that it work.

 

This PCB eagle files are not posted now, because this board is for a surprise event. After the event all will be posted. If you want to know, the board is just a usbaspLoader using an Atmega328P with an Arduino header footprint. Nothing revolutionary. Oh and of course, instead of a crystal with two capacitors it is using a 16Mhz resonator.

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 10 years ago in reply to camuyano +1
    Hi Javier, We are really sorry to hear you had this problem with your boards. Thanks for posting about this and we appreciate your efforts to fix it in the library! As you have come to see (and it never…
  • Former Member
    Former Member over 10 years ago in reply to camuyano +1
    Javier, You are very welcome! We are always happy to help. And we are glad that you see your mistake as learning experience - that's a great outlook on life in general! The picture above of the part, is…
  • camuyano
    camuyano over 10 years ago in reply to Former Member

    You my friend are correct it should be closer. Also since I do not know how to solder and measure very well what I did is enlarged the outside pads to fit my resonator. My part works and it is easy to solder, but it could be better. From the picture you can see it is not perfectly aligned. I am learning as I go. I am already in the process of building the boards, so for this one, I hope  it is not an issue but it has to stay this way. Here is a picture of this same board as well as an album of the almost final version of the board.

    image

     

    A gallery of picture of the almost final version of the board is here:

    https://plus.google.com/photos/114378675842551786487/albums/6136495950227474657

     

    This board will be the badge for a convention we are hosting this may in Puerto Rico. Is BSides Puerto Rico, and the convention may be about Infosec but we are trying to get people involved in hardware as well. So we hope giving away an Arduino compatible badge to every participant ignite the creativity spark we all have deep inside.

    It is pretty much a USBAspLoader board but with a little sprinkles of my inexperience to make it our own.

    To get people attention we have a simple keyboard emulator sketch video where the boards sends Win+R and opens notepad and starts typing stuff.

    here is the video for it:

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

     

    Again, thanks for all your comments, your reply means a lot to me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to camuyano

    Hi Javier,

    Nice work! Glad to hear your final design worked out. Indeed the best way to learn Eagle library work is to dive right in. For anyone that might like a little more guidance, or simply wants somewhere to start, please feel free to check out our online tutorials.

     

    Here is a page that contains all of our eagle tutorials:

    https://learn.sparkfun.com/tutorials/tags/eagle

     

    And here is a tutorial specifically working within an eagle library:

    https://learn.sparkfun.com/tutorials/designing-pcbs-smd-footprints

     

    Hope this helps!

     

    PS. I did notice that your traces off the resonator look a little long (can't see the IC in the picture above). We usually try to keep those traces between the resonator and the IC as short as possible. It sounds like it worked out just fine for ya, but it might be something to keep in mind for future layouts.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • camuyano
    camuyano over 10 years ago

    Final boards came in, and now they are looking great.

    I modified the part footprint a bit for my resonators to work. Since I have not much experience, I did not wanted to move the other pads closer to the middle. Instead I made them wider, that but wider enable me to use my resonator. This might not be a high quality join but it gets the job done. Here is a picture of the resonator in the fixed board.

    I also added a cutoff of the ground layer around the resonator just in case, that's why the surrounding area looks dark green.

    image

    Overall I am very happy with the results. Modifying a part in Eagle was a great learning experience. And I say to others, if your part is not exactly in Eagle you can improvise and create it, just look for a similar part and start modifying.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to camuyano

    Javier, You are very welcome! We are always happy to help. And we are glad that you see your mistake as learning experience - that's a great outlook on life in general!

    The picture above of the part, is from an actual design and it does not exposes a bit of the top copper plate?

    You are right, according to the eagle file, it does look like a tiny sliver of copper would be exposed. Looking at a physical board with a monocle, I can see that the mask actually ends up covering up the ground pour and extending over about 2 or 3 mil. I suppose this is just because mask is like silk screening and it starts as a liquid of sorts. And so there will always be the slightest amount of bleed.

     

    Regardless, I do think that is is bad practice to have this overlap in the package, so I have adjusted our library to include some tRestrict.

     

    image

    Just commited it to our library, so you can see it in eagle if you like. These tRestrict rectangles will cause any polygon pours around the part to back off by your isolate amount. I put some underneath as well, just to make it very clear that I want no top copper under or around this part. I hope future users don't run into this problem. The new tRestrict should help. Ultimately, I hope any new eagle users can use a larger isolate. It sure helps avoid any fab house errors. On our test jigs, we usually set our isolate to 16 or sometimes 20!


    Thanks for your pina colada offer. Likewise, if you're ever in Colorado, please stop on by. Good luck with your next round of PCBs, and I hope your event goes well!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • camuyano
    camuyano over 10 years ago in reply to Former Member

    First, thanks for the response. This is a pretty well explanation of the part and it make sense why the part is like that. Actually I think I will take back the pull request.

    I read from several places (I think it was dangerous prototypes) about the isolation. So I'm using 0.016 to be on the safe side and still it happened. But my boards are being made in the cheapest china service I could find, so these are not like production quality.

    Since I remove my tStop rectangle, I hope the solder mask size don't mess up my alignment. I am soldering this by hand so it might not be so bad a little offset in my case.

     

    This board was my mistake and somehow I am happy that it happened, I learn more from mistakes than for successes. And to top that, your explanation. Again, thanks for the  comment and now I can understand why the part was like it is.

    What you guys do at Sparkfun is really great, I am using your libraries, schematics and videos as my learning tools. Specially from your According to Pete videos.

     

    Question:

    The picture above of the part, is from an actual design and it does not exposes a bit of the top copper plate? The tStop looks pretty close on the top side, the bottom side has more than enough space.

     

    Again thanks for the response, I didn't expect so good feedback. If you ever come down to Puerto Rico, your first Pina Colada is on me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube