OSHW-System-On-Module/README.md

7.8 KiB

OSHW-System-On-Module

Abstraction

Fabrication of Printed Circuit Boards ("PCBs") is not very economical as the cost of fabrication raises (among others) with size and the amount of layers and addition to that it also often requires to sign an NDA (such as with NXP) and/or restriction on release of important documents (documentation, reference schematics and gerbers) and often the sources for the product iself (e.g. OLIMEX RK3328-SOM-1G)

Which is a limiting factor for Open-Source Hardware (OSHW) development that I want to address.

Idea

The inspiration comes from OLIMEX's SODIMM-204 project which is a solution of two PCBs:

Module Board

Board with 4~12+ layers of restricted size that includes the chip, RAM and optionally chip-specific components such as the OLIMEX A20-SOM204:

image

Notice that it's a PCB with restricted size that only has the chip, RAM, eMMC, SDCard and then has an edge connector to fit in SODIM-204 connector.

For clarity it's this connector, often used for RAM sticks in notebooks:

image

Platform Board (Evaluation Board)

Board with SODIMM-204 connector that the Module Board slots in such as the OLIMEX A20-SOM204-EVB which then adds various devices (Ethernet, PCIe, GPIO, Battery, HDMI, etc..)

image

which declares the standard for the DDR3 SODIMM 204 pin connector as:

image

that can then be used to design anything from drones, tablets, cluster servers, etc.. on a platform board PCB that is 1~4 layers and costs around 25 EUR to fabricate.

This effectically allows us to make variety of OSHW projects very economically that use hardware comparable to those in raspberry pi and beyond which integrates on difficulty of changing the RAM in a common notebook.

Use of proprietary module boards

Additionally many chips are near impossible to get as OSHW-compatible due to consumer-hostile business plan and strategy until the chip reaches it's peak economical cycle and becomes obsolete.

To allow us to use better hardware this would allow the module boards to be produced in batches of 1000+ to keep the cost down while not affecting the hackability and flexibility of the OSHW project as the user can always use OSHW Module Board and only have the option to use proprietary module board until it's manufacturer decides to release the required documents (documentation for the chips, reference schematics/design, etc..)

Issue

204 pins is not enough which eventually lead to OLIMEX using non-standardized headers per chip that break portability such as the OLIMEX A20-SOM-EVB Using 240 pins.

The obvious solution would be to use DDR5 SODIMM which has 262pins, but that still feels like using the wrong tool for the job -> Is there a better connecting solution for this usecase?

Possible solutions

Use of Edge Connectors on Single Board Computers ("SBCs") boards

Lets imagine that we have OLIMEX OlinuXino-A64 board as an example:

image

Imagine having an edge connector..

For clarity edge connector are contact points on the edge of PCBs designed to slot into a connector, often used on PCIe x16 graphics cards used for desktop computers:

image

.. on one side:

image

(note that contacts are on both sides of the PCB)

This would efectivelly enable OSHW manufacturers to adjust their SBCs so that they can be slotted in this solution.

The issue with this solution is that the edge connectors have to have a bevelled edge to help guide them to the connector:

image

which adds extra cost (seems to be a minor added cost for fabrication)

Projected cost, fabrication, development and usage of OSHW projects utilizing this standard

This standard is a blocker issue for kreyren's (author of this paper) OSHW tablet design for which the abstracted cost and fabrication process is:

  1. Downloading the libre KiCAD designs for the "platform board" and send them them to local PCB fabricator (~25 EUR for 5 PCBs)
  2. Buying the "Module Board" - For reference I bought OLIMEX's A20-SOM (https://www.olimex.com/Products/SOM/A20/A20-SOM) locally for 13 EUR/USD including shipping, first hand costs 35 EUR/USD
  3. Download the chasis implemented in OpenSCAD/LibFive (projected to be generatable depending on what devices and configuration the user wants) and put that on a 3D printer (optionally using pre-optimized print to skip the slicer phase and get reproducible results (for technical materials as the chasis is designed to be printed using a PolyPropylen + GF30 which is very difficult to print)
  4. Source additional components such as touch screen display, etc.. - Projected to have a list of compatible monitors and mediawiki for people to add where these can be bought locally..
  • I can get a 10" touch screen display for <5 EUR from a e-recycling center which usually has a lot of them (and the chasis is functional design that can be generated to fit the display), ~30 EUR from second hand and 30-80 EUR online e.g. OLIMEX sells one for 78 EUR https://www.olimex.com/Products/OLinuXino/LCD/LCD-OLinuXino-10/open-source-hardware
  • Battery seems to be around 15 EUR and is projected to be lower through OSHW battery design and BMS.
  • No other components are abstracted to be needed in bare minimal configuration
  1. Put it all together

To get fully libre tablet for the cost of :

  • ~40 EUR in PCBs
  • cost of the components - 20 EUR ~ 100 EUR
  • 3D print - Assuming that people have access to a 3D printer or makerspace where they can use one (I have access to the 3D printer for free sponsored by city of Brno to all citizens and local makerspace costs ~5 EUR to use for a day outside of membership or asking makerspace member to let you in and print it for them for the cost of fillament), worst case paying for 3D print which is usually fee of ~10 EUR

That you can adjust to any kind of computing you want for ~25 EUR for new platform PCB with community support over e.g. Matrix

In terms of software if the chip has a linux mainline support then the path of least resistance is declaring a configuration file for armbian, example of one for OLIMEX Teres-A64 maintained by kreyren (author of this paper) is https://github.com/armbian/build/blob/main/config/boards/olimex-teres-a64.conf

The closest comparable project would be OLIMEX Teres-A64 which kit costs 240 EUR, the cost of the mainboard from first hand is 80 EUR (https://www.olimex.com/Products/DIY-Laptop/SPARE-PARTS/TERES-PCB1-A64/open-source-hardware) and fabricating board with dimensions 113.5x89mm of 6 layers costs around 68~280 EUR for 5 boards without components.

Additional Notes

Originally discussed in kreyren/kreyren#75

The idea was brainstormed on forum of The Open Source Hardware Association at https://community.oshwa.org/t/standardization-of-oshw-system-on-module-projects/605

References

  1. OLIMEX's SOM204 platform on GitHub -- https://github.com/OLIMEX/SOM204/blob/master/SOM204-EVB/SOM204_EVB_Platform.pdf
  2. Explanation to what is an edge connector by eurocircuits -- https://www.eurocircuits.com/pcb-design-guidelines/edge-connectors