eclipse-kuksa / kuksa-hardware

Apache License 2.0
23 stars 8 forks source link

Why there four BOM files? #10

Open aricwang88 opened 1 year ago

aricwang88 commented 1 year ago

We're planing to mass produce the PCB board, found four BOM files. Which files to be used? Please add more comments, or remove unused files.

aricwang88 commented 1 year ago
Bill of Materials-Layer separated-CANOPi_BaseBoard(BASIC).xlsx(File) | More info in Documentation, BOM xls and Pick and Place Files |   -- | -- | --  

[Bill of Materials-Layer separated-CANOPi_BaseBoard(BASIC).xlsx](https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-Layer%20separated-CANOPi_BaseBoard(BASIC).xlsx) (File) [More info in Documentation, BOM xls and Pick and Place Files](https://github.com/eclipse/kuksa.hardware/commit/fbc9e568fca608d3130e48750aaae04275a14b98) [Bill of Materials-Layer separated-CANOPi_TopBoard(BASIC).xlsx](https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-Layer%20separated-CANOPi_TopBoard(BASIC).xlsx) (File) [More info in Documentation, BOM xls and Pick and Place Files](https://github.com/eclipse/kuksa.hardware/commit/fbc9e568fca608d3130e48750aaae04275a14b98) [Bill of Materials-all-CANOPi_BaseBoard(BASIC).xlsx](https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-all-CANOPi_BaseBoard(BASIC).xlsx) (File) [More info in Documentation, BOM xls and Pick and Place Files](https://github.com/eclipse/kuksa.hardware/commit/fbc9e568fca608d3130e48750aaae04275a14b98) [Bill of Materials-all-CANOPi_TopBoard(BASIC).xlsx](https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-all-CANOPi_TopBoard(BASIC).xlsx)
SebastianSchildt commented 1 year ago

Hi Aric, let me try to sort this out for you (maybe we should add a readme).

There are 4 xls Files in https://github.com/eclipse/kuksa.hardware/tree/main/manufacturing/BOM

as you have probably noticed, a CANOPI is composed of two PCBs "TopBoard" and "BaseBoard" that are stacked together.

So https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-all-CANOPi_TopBoard(BASIC).xlsx contains the BOM for all components on TopBoard and https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-all-CANOPi_BaseBoard(BASIC).xlsx everything for the baseboard.

So do build one complete CANOPi parts from both are needed

Now you may have noticed the "layer-seperated" files, those have an extra column showing whether a specific part goes to top or bottom of the PCB. The files have more lines, because then some components are listed twice.

For example in line 22 of https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-all-CANOPi_TopBoard(BASIC).xlsx you have

image

while the same component in https://github.com/eclipse/kuksa.hardware/blob/main/manufacturing/BOM/Bill%20of%20Materials-Layer%20separated-CANOPi_TopBoard(BASIC).xlsx is in lines 6 and 7

image

because 6 resistors of that type are place on bottom of the PCB, 7 on top, leading to a total of 13 for that board, as you saw in the other file.

Hope that makes sense to you. If you just want to find out what parts are needed for one CANOPi, ignore the "Layer-separated" files and just combine the other two files

aricwang88 commented 1 year ago

I also hope to custom a BOX, what's the recommended size ?

aricwang88 commented 1 year ago

Please help list the , CM4 configuration,(4G 8G RAM, with eMMC or without eMMC), and LTE module detail modle.

SebastianSchildt commented 1 year ago

I also hope to custom a BOX, what's the recommended size ?

Currently we have no 3D model for a suitable case. In the PDFs in hw_doc you can find renderings, for reference the width of the PCB (short side) is 55 mm.

SebastianSchildt commented 1 year ago

Please help list the , CM4 configuration,(4G 8G RAM, with eMMC or without eMMC), and LTE module detail modle.

Not sure I get the question. Any CM4 is supported. Usually for experimentation versions without eMMC (i.e. they boot from SD Card) are easier, becasue for alternating between flashing and running eMMC modules you need to always change a hard to mount jumper (see here https://github.com/eclipse/kuksa.hardware/blob/main/sw_doc/flash-emmc.md or remove the CM4 and flas it e.g. in the official Raspberrry IO Baord). furthermore, not matter how you flash the eMMC version, notice that flashing them is SLOW, so being able to switch between SD cards is much faster.

Due to technical reasons any CM4 with eMMC can NOT use an external SD Card (this is not a CANOPi limitation, but a general CM4 limitation, that holds true for all CM4 carrier boards)

RAM: All variants work, depnding on requriements. For some "SDV-like" things with containers I would suggest using a tleast a 4GiB version

Also the CM4 version with integrated WiFi are helpful (as there is not other network port on the CANOPi), but it works without as well. The CM4 versions with WiFi do not need an external antenna, as they have a PCB antenna, so it is pretty plug and play.

For LTE module any Linux supported M.2 module should work (had success with a Sierra Wireless EM7455 and some "unknown" Huawei card harvested from an old laptop). In any case, if it works on a Laptop with e.g. Ubuntu, most likely it works on CANOPi as well.

aricwang88 commented 1 year ago

How much each piece of STN2120 chip, we're struggling with order the chip? Or recommended price ?

SebastianSchildt commented 1 year ago

Hi, STN2120 is a bit of a challenge. It was over 5 usd a pice (but we only ordered small quantities).

Main issue is, there is no second supplier. I suggest contacting https://www.obdsol.com/ (the manufacturer) directly. Depending on their availability maybe some of their other variants may be available, if pin compatible (not sure)

CanoPi itself can boot without OBD chip as well, however it is one of the most accessible features for developers,to get data from OBD directly by just plugging the dongle in without having to „cut CAN Lines“. So just leaving it out is probably not a good option

Theroetically an ELM327 (clone) could be used, but that demands a change in PCB Layout, i.e. changing the Altium files. While the STN are software compatible with ELM327, they are not drop in replacements from hw layout perspective. We have so far never looked into this.