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

Electrical improvements to pi-hat board #46

Open
thvortex opened this issue Oct 13, 2020 · 0 comments
Open

Electrical improvements to pi-hat board #46

thvortex opened this issue Oct 13, 2020 · 0 comments

Comments

@thvortex
Copy link
Member

I've had some ideas about electrical and layout improvements to the pi-hat board:

  1. All the empty space on the board should be converted into a ground plane with additional ground traces running in-between the signal traces. One benefit is that less etchant gets consumed during the manufacture process because less copper has to be removed. The other benefit is improved EMI protection. I've heard one anecdotal report that if the authbox is brought close enough to a GAST air pump, the Raspberry Pi may spontaneously reboot. No idea if that was caused by the pi-hat board, but we do have long signal traces that can potentially act as an antenna.

  2. Add room for a debouncing capacitor between each Bn_LOGIC line and GND. The board still works without them thanks to the GPIO.add_event_detect(... bouncetime=150) we have in software, but that's just a simple delay. If you hold the button down longer than 150ms and release it, it will register as a 2nd press due to bounce caused by opening button contacts. There's no need for separate resistors since we enable internal pull-ups in the Raspberry Pi for the Bn_LOGIC lines.

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

No branches or pull requests

1 participant