Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

review layout before fab #15

Open
pdp7 opened this issue Jan 13, 2020 · 20 comments
Open

review layout before fab #15

pdp7 opened this issue Jan 13, 2020 · 20 comments

Comments

@pdp7
Copy link
Contributor

pdp7 commented Jan 13, 2020

Thanks so much to @mwelling for finishing routing the badge:
#14

Michael used 2 layers for the initial prototypes so we can fab them faster. There are only 8 weeks left until the Open Hardware Summit on March 13th.

6027611578881921156
799391578881913118

For those without KiCad:

OSH Park renders:

Related Hackaday.io post:
https://hackaday.io/project/168483-open-hardware-summit-2020-badge/log/172923-help-review-layout-before-fab

@pdp7
Copy link
Contributor Author

pdp7 commented Jan 13, 2020

@Junes-PhD @Anool @acamilo @morganrallen please post any review feedback

@Anool
Copy link
Contributor

Anool commented Jan 13, 2020

  1. MIC1 hole needs to be 1mm per the datasheet

  2. Some of the legend text is getting subtracted by Via's. You might want to move them around a bit for better visibility.

  3. You might want to add some descriptive text/link about the project on the PCB silk legend.

I'll get time to take a closer look tonight,

@Anool
Copy link
Contributor

Anool commented Jan 13, 2020

  1. U7 Gesture sensor has silk outline on both sides of the PCB

@ShawnHymel
Copy link

I believe that Q1 needs to be a P-channel MOSFET (as opposed to an N-channel). The body diode on the FET needs to allow current from +BATT to VBUS when the USB is not plugged in. I usually use Jim's design here for reference when I'm doing similar power circuitry: https://cdn.sparkfun.com/assets/learn_tutorials/5/0/7/esp32-thing-schematic.pdf

@ShawnHymel
Copy link

ShawnHymel commented Jan 13, 2020

Are 2 10uF capacitors needed at the output of U2? The datasheet for the S-1318 (https://www.mouser.com/pdfdocs/S1318_E.pdf) claims that you only need a single 1.0 uF at the output, so 2x 10uF might be overkill (and 10uFs can be a little pricey).

EDIT: they might be needed for the APDS-9960. That thing needs like a billion* uF decoupling to work right. *billion being somewhere in the 10-100uF range.

@ShawnHymel
Copy link

ShawnHymel commented Jan 13, 2020

Can the S-1318 produce enough power? The datasheet says that it's limited to 100mA. In my experience, for the APDS-9960 to detect gestures, it needs to enable a "BOOST" IR LED that can suck up to 100 mA in short bursts.

EDIT: And you've got what looks like 2x tri-color LEDs in there, which, I'm assuming, will pull nearly 60 mA each at full brightness.

@ShawnHymel
Copy link

According to 6.1 in the BME680 datasheet (https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets_1/bst-bme680-ds001.pdf), you need to pull CSB up for I2C mode. Pulling it down activates SPI comms and disables I2C on the device.

@ShawnHymel
Copy link

C15 may not be necessary if you've got bulk decoupling from the other 10uFs all over the board.

@ShawnHymel
Copy link

What purpose do the D+ and D- test points serve? Will you actually be probing/sniffing USB traffic? I recommend not having test points for these lines, as they can create stubs on the differential pair for your data lines, which can cause reflections and mess up USB traffic.

@schneider42
Copy link

schneider42 commented Jan 13, 2020

Major:

  • Display IM0,IM1,IM2 usage is different from the one in the Rev G schematic from Adafruit
  • CSB of BME680 needs to be tied high to select I2C
  • Partnumber of SPI flash does not match package (should be W25Q32JVZP I guess)

Minor:

  • Maybe put the output of D3 onto a pad
  • Check size of solder mask defined pads of 0402s when doing a VCC/GND pour

Questions:

  • LDO has abs. max of 120 mA. I guess it is enough. Just wanted to verify.
  • Is 3.0 V enough for the backlight? Datasheet says 3.0 V typical

I didn't check much in the layout yet. Might have some more time tomorrow.

Edit:
Oops, @ShawnHymel already found some of that :)

A note: The LEDs got to VBUS. They do not load the LDO.

@mwelling
Copy link

It is appears that Q1 and Q3 should both be P-channel MOSFETs. Switched to AO3401A.
Q2 looks wired wrong; switching it to P-channel high side switch as well to keep the BOM simple.

Beefed up U2 by using AP2112K-3.3V which gives us 600mA and 3.3V

CSB is now pulled up instead of down.

Switched the PN of U1 to W25Q32JVZPIQ.

Fixed the wiriing of IM0-IM2.

Looks like LCD_BL is not connected to a GPIO. Adding it.

Microphone pattern was not changes the AP diameter is as specified.

Soldermask defined pads should be okay.

We can tweak silkscreen and soldermask before final cut.

The test pads on the USB I assume are for use with a test fixture. Will check with Alex.

@mwelling
Copy link

Updates are on my fork for verification:
https://github.com/mwelling/Badge-PCB

Please check my changes and make sure I didn't do something stupid.

@mwelling
Copy link

The changes have been merged to this repo as well.

@Junes-PhD
Copy link

Junes-PhD commented Jan 15, 2020 via email

@mwelling
Copy link

Thanks @Junes-PhD! Will take a look.

FYI. I just flipped the source and drain on Q2 on my repo. This makes it a proper load switch.

We need to change the circuitry on the RBG LEDs as it's FET is backwards as well and has 5V going to the BMD inputs. Was thinking we could maybe use a tps22919 or similar for the load switch.

@pdp7
Copy link
Contributor Author

pdp7 commented Jan 15, 2020

@mwelling I've merged in your fix for Q2 d8f25c5 thank you

@mwelling
Copy link

So we sent off the boards to fab for initial protos.

Thank you to everyone that reviewed the design.

@schneider42
Copy link

Good Luck!

@schneider42
Copy link

One more thing from my side:

The AP2112K has a rather high quiescent current of 55 uA when active (which it will be unless the battery is empty). That will limit how long the RTC is be able to run after the software has decided that it is time to go into deep sleep until the next charge. Loosing the current time shortly after the badge shuts down is annoying.

Maybe the TCR2LF30,LM(CT is an option (200 mA)? Of course this can also be evaluated on the prototype itself and changed in the final layout. If the APDS-9960 low pass stays like that I'd be surprised if it goes over about > 70 mA.

Not sure if this is a concern for you. If yes I'm happy to open a new issue.

@mwelling
Copy link

We can evaluate this on the protos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants