Design Raspberry Pi "Hat" Printed Circuit Board (PCB) for Sensors #85
Replies: 34 comments 1 reply
-
@lwbantoto has been taking the lead on this, so assigning this task to him :) |
Beta Was this translation helpful? Give feedback.
-
Is this a Pi-Had or a PCB for the compute module? |
Beta Was this translation helpful? Give feedback.
-
@daveb377 it's a Pi-Hat! It will be a stackable PCB |
Beta Was this translation helpful? Give feedback.
-
SO a Pi Hat with a Sensiron sensor and a barometer? What else needs to be on there? Battery Interface/Solar power panel hookup? |
Beta Was this translation helpful? Give feedback.
-
Probably eventually a battery / solar hookup, but we'll need to figure out how to reduce the power consumption from the processor before that makes sense due to the lack of a sleep mode in the Raspberry Pi. Yes the session sensor, barometer, and a GPS sensor are the intent for this hat. |
Beta Was this translation helpful? Give feedback.
-
I spent 20 minutes looking for a Pi hat with those sensors with no success. I'll take a look at a board design, it doesn't look too difficult, although I might have some Pi related questions. First I need to out a Kicad problem with another project, it might be a week or two. |
Beta Was this translation helpful? Give feedback.
-
Sounds good! Reach out with any questions! |
Beta Was this translation helpful? Give feedback.
-
@keenanjohnson - What sort of requirements are there on the CO2 sensor? The Sensirioin part is fairly large and expensive, and I'm wondering if there's a smaller part that would work? I'm trying to fit everything onto a Pi uHat for the Pi Zero, and it looks like it will all fit. |
Beta Was this translation helpful? Give feedback.
-
Hey @daveb377 we don't have any hard requirements on the Sensiroin sensor persay as we're still trying to identify the exact requirements from the data scientists. However, here are the loose requirement set:
If there is another part that fufils these requirements at a lower cost / size, I'm definitely open to it, but haven't found it yet. It's great that you are helping to tackle this, but here's a few other key pieces of information for you that might make the Hat concept obsolete. |
Beta Was this translation helpful? Give feedback.
-
@keenanjohnson Are we satisfied with the humidity and temperature measurements from the Sensirioin part? Perhaps we should add our own temp sensors (thermistor) and humidity sensors on-board. |
Beta Was this translation helpful? Give feedback.
-
They seem reasonably good and I've been told that Sensirion makes the best in class humidity sensors. I'm open to other options though if we feel there is a real advantage to another sensor combination. |
Beta Was this translation helpful? Give feedback.
-
For our application, redundant sensors is unnecessary right?
…On Thu, Sep 23, 2021 at 9:33 PM Keenan Johnson ***@***.***> wrote:
They seem reasonably good and I've been told that Sensirion makes the best
in class humidity sensors. I'm open to other options though if we feel
there is a real advantage to another sensor combination.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXHIJFSUI36CJQJPYLVMGDUDPIPTANCNFSM5COSV2LQ>
.
|
Beta Was this translation helpful? Give feedback.
-
If it's free or very low cost it doesn't hurt I think, but I definitely
don't think it's necessary here. For temperature we already have two
temperature readings: from the barometer and from the SCD30.
On Thu, Sep 23, 2021 at 7:53 PM Lance Bantoto ***@***.***>
wrote:
… For our application, redundant sensors is unnecessary right?
On Thu, Sep 23, 2021 at 9:33 PM Keenan Johnson ***@***.***>
wrote:
> They seem reasonably good and I've been told that Sensirion makes the
best
> in class humidity sensors. I'm open to other options though if we feel
> there is a real advantage to another sensor combination.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#22 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ABXHIJFSUI36CJQJPYLVMGDUDPIPTANCNFSM5COSV2LQ
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATQ3FW4OZAFWCY234H7CJTUDPR3BANCNFSM5COSV2LQ>
.
|
Beta Was this translation helpful? Give feedback.
-
From a $$ point of view, the Sensirion is fairly expensive and large, $67.27/each at Digikey, so it's pricy compared to the Sensirion SCD41, which is $37.10/each at Mouser. I'll compare the specs for the two. I'll also price out the various Raspberry Pi options. From an assembly point of view, fewer wires and interconnects to make is much easier to assemble and build, and causes fewer issues down the road, so it's for sure a better option if you plan to build more than 10 or 20 of these. |
Beta Was this translation helpful? Give feedback.
-
Yeah I definitely agree that a hat form factor would be nice for assembly :). Looking forward to your comparison! I do still think the hat form factor makes sense :) |
Beta Was this translation helpful? Give feedback.
-
@eren-rudy That's a nice summary. I copied that into the compute options spreadsheet, I hope you don't mind. I can remove it you want. The CM4 has a unique connector that's not compatible with the other Pi's, which have a common connector. The CM4 is expensive, and focused for high volume industrial users, so I suspect it's harder to find. It would make for a smaller sensor I think but less each to source. It sounds like adding a GPS receiver to the sensor would be helpful from a wiring point of view. |
Beta Was this translation helpful? Give feedback.
-
@eren-rudy yes we're considering moving the sensors for a few reasons:
These two reasons would seemingly lead us away from a raspberry pi hat format. However, I do see the benefits of standardizing on a form factor. I think what might be the best compromise is to stick with a standard connector like QWIIC which some of our sensors already use. The mechanical design is still a prototype though, and it's not certain if we "need" to decouple the compute from the sensors. What do you all think? |
Beta Was this translation helpful? Give feedback.
-
@daveb377 No worries, its nice to have everything consolidated. Yeah I think I agree that the larger hat form factor makes sense for standardization and sourcing flexibility. @keenanjohnson Thanks for the clarification, that makes a lot of sense to me! I don't really see too much strong reason for single-board consolidation, at least for now. Maybe someday, if there was high enough volume, it would be advantageous to have everything on one PCB to drive costs down (reduce wiring, connectors, and assembly complexity). For now, I think it makes sense to explore multiple avenues to see what works? I'm sure we could find ways to study the effects of those two reasons (thermal coupling and environmental protection of sensitive circuits), but perhaps that is a larger conversation that we can have elsewhere. |
Beta Was this translation helpful? Give feedback.
-
Hmm. A QWIC interface might be very interesting. Have to look into that. |
Beta Was this translation helpful? Give feedback.
-
Yeah I would be curious if we can achieve a cost savings vs buying the individual boards for each sensor! |
Beta Was this translation helpful? Give feedback.
-
Added details on the Raspberry power and interfaces, here's an editable link https://docs.google.com/spreadsheets/d/1TGryxRZgJ1XtoPHgSFU0XBkzrDwEvxxF2vDguaEpcZk/edit?usp=sharing |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Wow this is great @daveb377! Do you have parts list you've chosen for the above? |
Beta Was this translation helpful? Give feedback.
-
Here's a CSV in HTML, just to confuse things. I'm kind of surprised I can past something from Excel into here. Anyway, this uses the same environmental sensors as the original ribbit. I added a different GPS receiver, which has an embedded antenna, eliminating that pain point. I haven't scrubbbed for parts availability, but will look at JLCPCB to build them, but they may not have the sensors, so that would need to be hand soldered down. JLCPCB sends fairly cheap fabricated PCB's from China, and they have a set of "house" parts, which also might be worth looking at.
|
Beta Was this translation helpful? Give feedback.
-
Thanks @daveb377 ! I'll take a look soon! |
Beta Was this translation helpful? Give feedback.
-
Hi @daveb377! Your schematic is a great start. A few nits:
|
Beta Was this translation helpful? Give feedback.
-
Good Question, on my list to check.
My next step with this is to look at adding a solar Charger/Battery bank to provide power without a wall plug. Part of that will be taking a better look at the power supply bypassing
Will do, once I pick caps. 10V might be iffy with ceramics with high dielectric constants, they've got a capacitance loss as the DC voltage goes up.
Not picked yet. Probably 0603 1%, although I was going to look at the JLCPCB house parts.
No. I hate schematics that rely on net labels, I find them difficult to track signal flow.
The components came from SnapEDA. I'm lazy. I should probably figure out how to upload all this to Github. I'm using KiCAD 5.99, so something to figure out. Need to make sure the parts libraries are included.
Can't hurt.
Done
Good question. I had to register for quectel to get the HW docs, waiting to get approved
0603 resistors cost ~ 0
I'll change to DNP
That's a DNP
I'll change to DNP. |
Beta Was this translation helpful? Give feedback.
-
Hey all! Great collaboration here! Seems like a lot of the nitpicks probably aren't high value to discuss until we have a properly finished design that we can do a real design review on :). |
Beta Was this translation helpful? Give feedback.
-
So time to pivot to a Beaglebone design? No worries, it's easy to do. I wonder if we can build a WiFi node on the Beaglebone? |
Beta Was this translation helpful? Give feedback.
-
At least in the short term, we've pivoted to a Beaglebone Black design until Raspberry Pis are readily purchasable (I'm told this will most likely be about 6 months from now). Given that and the current mechanical design, I'm really not sure if this is a priority because the optimal mechanical design orients the computer board in a non-optimal way for a hat format. I think what might be the best compromise is to stick with a standard connector like QWIIC which some of our sensors already use. It's up to you whether you would like to continue work on this or not @daveb377! I don't think it's a priority, but I'm sure we can figure out a way to use it if it exists in the future! |
Beta Was this translation helpful? Give feedback.
-
A big way to drive the cost of the Frog down is to design a custom circuit board that contains some of the electronics, instead of buying multiple dev boards. We should explore this option :)
Beta Was this translation helpful? Give feedback.
All reactions