# Photon PCB design question EMC, keep out and ground loops

**URL:** <https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617>\
**Category:** Hardware\
**Created:** [September 5, 2016, 6:06pm UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617 "2016-09-05T18:06:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kasper](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kasper/32/14366_2.png) [@kasper](https://community.particle.io/u/kasper)\
**Post date:** [September 5, 2016, 6:06pm UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617/1 "2016-09-05T18:06:12Z")

</div>

I'm designing a circular light with a Particle Photon in the middle. I need to make sure it will fall in within the EMC regulations.

I read already interesting about EMC and Ground loops in this forum which already contain good tips from @hfiennes and others:

> [@Product certifications](https://community.particle.io/t/product-certifications/10443/5):
>
> Hi @matt_ri I am guessing the the RI in your username could be a New England state–if so I have used these folks: [http://www.testsiteservices.com/](http://www.testsiteservices.com/) As @hfiennes said, you are much better off having your ferrites and caps already in place on your board before you go for testing. A roll of copper foil tape can be useful too–in my case the plastic enclosure with nickel spray shielding on the inside worked great except at the ends where we need a little redesign.

> [@Photon SMD Antena, keepout zones, and ground loops](https://community.particle.io/t/photon-smd-antena-keepout-zones-and-ground-loops/19655/5):
>
> This is my Rev1, no ground after the antenna, but traces in the non ground planed area (I misunderstood the keepout at the entire photon) And this is my R2 with more beefy traces, but ground plane just above the antenna. Niether of them works with the softAP setup. So I am not convinced we have found the smoking gun yet, as yet more people are being halted by the issue. In my 3rd rev I am planning on replacing the power circuit, but I have halted that for now since its th…

From this topics I understand that ground loops are a problem, and that you have to keep the Photon free at one side. However I see several board designs (like [BrewPi](https://community.particle.io/t/looking-for-feedback-on-brewing-shield-with-touchscreen/7203/37)) that have the Photon in the middle.

The problem is that have a giant ground plane all around the Photon (the design is 40cm/16inch in diameter) with one small keep out area in the middle.

- Does this count as a ground loop or is this only the case with small traces?
- Is the keep out area (a small square field in the middle) good enough to receive WiFi, or is it better to work with an external antenna?
- If I use an external antenna do I need to respect the keep auto area? Or is it only important for the onboard SMD antenna?
- Should I play more with the keep out size. In [this topic](https://community.particle.io/t/photon-softap-mode-mobile-cannot-obtain-address/21551/26) they needed to make it 2mm wider, however they also seemed to have removed a ground loop.

I need the best design for EMC approval, so if that means that it's better to use an wire antenna on the uFL connector I prefer that.

I hope you have some tips.

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 19, 2016, 5:04pm UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617/2 "2016-10-19T17:04:09Z")

</div>

from my experience:  
I’d use only the external antenna, don’t cut out any area for the antenna. Do you use the SMT version of the Photon (or even P1)?

We had some issues during EMC testing with the electron. Some of them caused by the circuit (1-Wire), others caused by the onboard charge regulator.  
As the Electron is THT only (and the socket I use is quite heigh) it seems to be impossible to comply without external components on the “VIN”-line of the Electron.

That said, follow the basic EMC rules, prefer the SMT version over the THT, use a SMT-through-hole socket if you need to stick on the SMT-module of the photon,…

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/1/1c5217190e9603347b9923491cd78d68c73f28ab.jpg)

Let us know if you made already some progress!

---

<div class="post-metadata">

**Author:** ![kasper](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/kasper/32/14366_2.png) [@kasper](https://community.particle.io/u/kasper)\
**Post date:** [October 19, 2016, 8:33pm UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617/3 "2016-10-19T20:33:44Z")

</div>

Thanks for sharing your experience! I’ve designed the board for the two versions (Photon with headers and without). The PCB is manufactured (with keep out zone), however I didn’t test it yet. I’ll update this post when I’ll do a test.

What kind of components did you add on the Vin line?

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 20, 2016, 8:42am UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617/4 "2016-10-20T08:42:46Z")

</div>

Hi,

my emc consultant tried several components, the best was a UKW EMI suppression ferrit from Würth:  
Order No: `74275043`, [https://katalog.we-online.de/pbs/datasheet/74275043.pdf](https://katalog.we-online.de/pbs/datasheet/74275043.pdf)

As the headers are quite long I looked for a different solution. I found those SMT headers:  
[MPE garry Female Header SMD 2,54 mm Series 098](http://www.mpe-connector.de/index.php?lang=en&menu=16&product_group%5B%5D=6&s_parameter%5B1%5D=1&s_parameter%5B11%5D=29&s_parameter%5B16%5D=16&s_parameter%5B36%5D=865&action=Search&id_product=0981 "Female Header SMD 2,54 mm Series 098")

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/d/d7030b3b8ee97e28675638f0fa921a832c359ac1.gif)

The first PCB batch had a lot of issues, together with my emc consultant we identified a lot of improvements such as pulling unused pins to ground, huge vias from bottom to top layer, about 2.000.000 capacitors, ferrites and some esoteric components 😂

BTW: I should point out that I didn’t test the photon yet, but the board and the application is prepared for it,…

Update 1:  
I forgot to mention 1 big thing: We replaced the external LiPo by an 18650 cell (and battery holder). The long wires to the LiPo also emitted signals caused by poor GND and 1-wire communication. We didn’t try LiPo+charging yet,…

---

<div class="post-metadata">

**Author:** ![joky](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@joky](https://community.particle.io/u/joky)\
**Post date:** [October 27, 2016, 2:38pm UTC](https://community.particle.io/t/photon-pcb-design-question-emc-keep-out-and-ground-loops/25617/5 "2016-10-27T14:38:50Z")

</div>

Today we finished the EMC tests. The electron kept alive all required tests even with some caveats in the design. We successfully stopped the uC by applying an electric field of ~24 V/m (!).

Finally we have to do some ESD-tests, but due some design issues I will do the redesign first.

regards
