First I want to apologize if any information is missing, please let me know if I can improve regarding that.
Basically I ordered a PCB from JLCPCB for an arduino project with sensors.
The issue is that I can't get the arduino to detect my sensors.
I soldered the arduino on the PCB with the sensors, and I see that current is arriving the sensors pins, however I can't get a signal of the sensors from the Protenta H7. If I directly use a circuit board and connect the sensors via wiring to the arduino it works, the arduino is able to detect the sensors. I guess the issue is with my PCB, which I attach the schematic. Im a newbie to electronics, so it may be an obvious issue but I can't figure out which one.
Thank you for your answer
it was supposed to be 10k resistors, my bad.
Is it possible that those resistors impact the whole circuit ? Or only the SPS30 sensor ?
Ok that's clearer thank you
In that case I should redesign the board so that I include directly the sensors without using external boards. Is there a way to compute the values of the pair of resistors I should use ?
My PCB is a 10cmx10cm square, with all the sensors on it. Is it fine ? How long are we talking ?
Have you removed the 10 ohm resistors and see if it worked?
Not so easy to design a PCB. You need to read up on how I2C works, read and understand the datasheets for all the sensors, calculate the power requirements of all the components, etc...
How long are we talking ?
I2C was not intended to drive long wires.
However 20-25cm maximum to ONE module only may be OK.
I would breadboard first before making a new PCB.
I have tried removing the resistors (first only the pair of 10 Ohm, and then also the pair of 4.7kOhm) but to no avail.
It works fine on a breadboard, but not on the PCB. Some sensors are soldered directly on the PCB but they arent detected either. MAybe I shoud also attach the dxf ?
Here is an example of a good layout using easyEDA
Traces for power and ground are 50mils. You should make them as wide as possible.
The smallest trace is 20mils.
No copper pour/areas.
No small SMT parts
Orientation of parts clearly marked on silkscreen
Use largest grid and snap size that makes placing/routing easy
Can you explain to me why I shouldn't use copper pouring for empty areas ? Cause I always heard that it was a good thing to avoid short circuit and increase power efficiency.
Also you said no small SMT parts, but that's how the sensors are. You mean I should choose bigger sensors ?
I'm going to remake the PCB and try again, will let you know If I run in another issue.
I'm using EasyEDA for the moment, but is there a software I could use to check, at least partially, if there isn't any big issue with my board before ordering it ? Because If I need to order again each time there is an issue, my project may take months to complete.
Read the documentation on setting-up and using DRC (Design Rule Checking).
Use a gerber viewer like Gerbv to check your gerber files. Check ALL the layers. including solder paste and mask, silkscreen and drill.