New bom gen repo

This commit is contained in:
Hermes 2024-07-30 11:45:13 -04:00
parent 2ad4ca5a80
commit c226ee65ee
19 changed files with 3289 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# AllSpice Running common Actions workflow
# Action triggers on push and issues
# Action runs "generate-bom-altium" action
# .allspice/workflows/generate_bom.yml
name: Generate BOM
on:
push:
issues:
types: [opened, closed, reopened]
jobs:
Generate_BOM:
runs-on: ubuntu-latest
steps:
# Checkout is only needed if columns.json is committed in your Altium project repo.
- name: Checkout
uses: actions/checkout@v3
- name: Generate BOM
uses: https://hub.allspice.io/Actions/generate-bom@v0.5
with:
# The path to the project file in your repo (.PrjPcb for Altium, .DSN for OrCad).
source_path: Archimajor.PrjPcb
# [optional] A path to a YAML file mapping columns to the component attributes
# This file must be provided.
# Default: 'columns.json'
columns: .allspice/columns.yml
# [optional] The path to the output file that will be generated.
# Default: 'bom.csv'
output_file_name: bom.csv
# [optional] A comma-separated list of columns to group the BOM by. If empty
# or not present, the BOM will be flat.
# Default: ''
group_by: 'Part Number'
# [optional] The variant of the project to generate the BOM for. If empty
# or not present, the BOM will be generated for the default variant.
# Default: ''
variant: ''
# Print bom.csv to terminal
- name: Show BOM
run: cat bom.csv
- name: Upload file as artifact
uses: actions/upload-artifact@v3
with:
name: BOM.csv
path: bom.csv

5
.gitattributes vendored Normal file
View File

@ -0,0 +1,5 @@
*.[oO][uU][tT][jJ][oO][bB] binary linguist-detectable
*.[pP][cC][bB][dD][oO][cC] diff=allspice linguist-detectable
*.[pP][rR][jJ][pP][cC][bB] binary linguist-generated
*.[sS][cC][hH][dD][oO][cC] diff=allspice linguist-detectable
*.cmp diff=allspice linguist-detectable

24
.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
# Git Ignore File - Altium Projects
# Altium files
**.PrjPcbStructure
**.SchDocPreview
**.PcbDocPreview
**.PcbDoc.htm
**.SchDoc.htm
**.DS_Store
**.$$$
IDFReport*
# Altium data directories
**/__Previews/
**/History/
# Altium default output directories
**/Project\ Outputs*/
**/ProjectOutputs*/
**/Project\ Logs*/
**/Assembly\ Exports*/
*.dontinclude

867
Archim.OutJob Normal file

File diff suppressed because one or more lines are too long

Archimajor.PcbDoc
Normal file
View File

LOADING design file

2089
Archimajor.PrjPcb generated Normal file

File diff suppressed because it is too large Load Diff

Archimajor.SchDoc
Normal file
View File

LOADING design file

Connectors.SchDoc
Normal file
View File

LOADING design file

EndStops.SchDoc
Normal file
View File

LOADING design file

Fans.SchDoc
Normal file
View File

LOADING design file

View File

LOADING design file

Mosfets.SchDoc
Normal file
View File

LOADING design file

Motors.SchDoc
Normal file
View File

LOADING design file

Power.SchDoc
Normal file
View File

LOADING design file

63
README.md Normal file
View File

@ -0,0 +1,63 @@
# Archimajor ![ ](https://img.shields.io/badge/-Altium-EEBF3F?labelColor=gray&style=flat&logo=altiumdesigner&link=https://www.altium.com)
<img align="left" width="500" height="300" src="./.allspice/PCB.PNG">
### Altium DEMO
This is an AllSpice demo showcasing the Archimajor board. With this repo you can explore all the functionalities and compatibility of AllSpice with the Altium ECAD tool .
Board is an all in one 3D printer motherboard. It is an original RAMBo style design with the 32bit Atmel SAM3X8E processor (same as Arduino Due) and TMC2130 stepper drivers all on one integrated PCB. Archim is named after the mathematician Archimedes. The RAMBo stands for (R)epRap (A)rduino-compatible (M)other (Bo)ard.
UltiMachine is a leading 3D Printer component manufacturer. They develop systems that drive additive manufacturing. Specializing in electronics and consumables, they service 3D printing manufacturers, researchers, hobbyists and hackers.
<br>
## Board Tech Specs
| Feature | Description |
|--------------------------------|----------------------------------------------------|
| Motor Drivers | 5 x integrated 256 microstep motor drivers |
| Outputs | 6 total PWM Mosfet outputs |
| Inputs | 4 thermistor inputs |
| Motor Current Control | SPI |
| Power Rails | 3 ATC fuse protected power rails |
| USB Protection | Native Full Speed USB protected by an ADUM isolator|
| Arduino IDE Support | Native |
| Input Power Supply | 12V - 24V DC, 16A+ |
| Operating Temperature Range | 0°C ~ 70°C |
## Component library
[Archimajor Component Library](https://hub.allspice.io/Allspice-demos/Altium-component-library-demo)
## Firmware Repo
[Current FW image](https://github.com/ultimachine/Marlin/commit/2f9e3b771e2669118cce922ad52785165e16d1e9)
## To Do List
To make the most out of this demo we suggest you to:
- [ ] Clone this repo to your local env
- [ ] Review the schematics and PCB files within AllSpice and your local env.
- [ ] Take a look at the board prints in [this file](https://hub.allspice.io/AllSpice-Demos/Altium-Demo/src/branch/main/Archim2_2.2b_PCB_Prints.PDF)
- [ ] Review the issues tab and create a new one from the templates.
- [ ] Review the Design reviews tab and the comments left
- [ ] See the releases for the [repo](https://hub.allspice.io/AllSpice-Demos/Altium-Demo/releases)
- [ ] Fork the repo and make an update yourself to later do a resign review
## Documentation
- [Git 101](https://learn.allspice.io/docs/git-101)
- [AllSpice Crash Course](https://learn.allspice.io/docs/allspice-crash-course)
- [Design review and merging guide](https://learn.allspice.io/docs/design-reviews-and-merging)
- Importance of [.gitignore](https://learn.allspice.io/docs/git-101) and [.gitattributes](https://learn.allspice.io/docs/how-to-minimize-files-in-design-review-by-file-pattern-or-extension) files.
## Sources
- [Original Archimajor Board](https://github.com/ultimachine/Marlin4due/tree/Archim2)
- [Altium tool](https://www.altium.com/altium-designer)
## License
[MIT](https://choosealicense.com/licenses/mit/)

Thermistors.SchDoc
Normal file
View File

LOADING design file

Thermocouples.SchDoc
Normal file
View File

LOADING design file

USB.SchDoc
Normal file
View File

LOADING design file

194
cern_ohl_v_1_2.md Normal file
View File

@ -0,0 +1,194 @@
Note: this licence applies to hardware designs. Firmware and software designs are covered by their respective licenses.
Note2: URL reference for CERN Open Hardware License v1.2
https://ohwr.org/project/licences/wikis/cern-ohl-v1.2
CERN Open Hardware Licence v1.2
============
Preamble
Through this CERN Open Hardware Licence ("CERN OHL") version 1.2, CERN
wishes to provide a tool to foster collaboration and sharing among
hardware designers. The CERN OHL is copyright CERN. Anyone is welcome
to use the CERN OHL, in unmodified form only, for the distribution of
their own Open Hardware designs. Any other right is reserved. Release
of hardware designs under the CERN OHL does not constitute an
endorsement of the licensor or its designs nor does it imply any
involvement by CERN in the development of such designs.
1. Definitions
In this Licence, the following terms have the following meanings:
“Licence” means this CERN OHL.
“Documentation” means schematic diagrams, designs, circuit or circuit
board layouts, mechanical drawings, flow charts and descriptive text,
and other explanatory material that is explicitly stated as being made
available under the conditions of this Licence. The Documentation may
be in any medium, including but not limited to computer files and
representations on paper, film, or any other media.
“Documentation Location” means a location where the Licensor has
placed Documentation, and which he believes will be publicly
accessible for at least three years from the first communication to
the public or distribution of Documentation.
“Product” means either an entire, or any part of a, device built using
the Documentation or the modified Documentation.
“Licensee” means any natural or legal person exercising rights under
this Licence.
“Licensor” means any natural or legal person that creates or modifies
Documentation and subsequently communicates to the public and/ or
distributes the resulting Documentation under the terms and conditions
of this Licence.
A Licensee may at the same time be a Licensor, and vice versa.
Use of the masculine gender includes the feminine and neuter genders
and is employed solely to facilitate reading.
2. Applicability
2.1. This Licence governs the use, copying, modification,
communication to the public and distribution of the Documentation, and
the manufacture and distribution of Products. By exercising any right
granted under this Licence, the Licensee irrevocably accepts these
terms and conditions.
2.2. This Licence is granted by the Licensor directly to the Licensee,
and shall apply worldwide and without limitation in time. The Licensee
may assign his licence rights or grant sub-licences.
2.3. This Licence does not extend to software, firmware, or code
loaded into programmable devices which may be used in conjunction with
the Documentation, the modified Documentation or with Products, unless
such software, firmware, or code is explicitly expressed to be subject
to this Licence. The use of such software, firmware, or code is
otherwise subject to the applicable licence terms and conditions.
3. Copying, modification, communication to the public and distribution
of the Documentation
3.1. The Licensee shall keep intact all copyright and trademarks
notices, all notices referring to Documentation Location, and all
notices that refer to this Licence and to the disclaimer of warranties
that are included in the Documentation. He shall include a copy
thereof in every copy of the Documentation or, as the case may be,
modified Documentation, that he communicates to the public or
distributes.
3.2. The Licensee may copy, communicate to the public and distribute
verbatim copies of the Documentation, in any medium, subject to the
requirements specified in section 3.1.
3.3. The Licensee may modify the Documentation or any portion thereof
provided that upon modification of the Documentation, the Licensee
shall make the modified Documentation available from a Documentation
Location such that it can be easily located by an original Licensor
once the Licensee communicates to the public or distributes the
modified Documentation under section 3.4, and, where required by
section 4.1, by a recipient of a Product. However, the Licensor shall
not assert his rights under the foregoing proviso unless or until a
Product is distributed.
3.4. The Licensee may communicate to the public and distribute the
modified Documentation (thereby in addition to being a Licensee also
becoming a Licensor), always provided that he shall:
a) comply with section 3.1;
b) cause the modified Documentation to carry prominent notices stating
that the Licensee has modified the Documentation, with the date and
description of the modifications;
c) cause the modified Documentation to carry a new Documentation
Location notice if the original Documentation provided for one;
d) make available the modified Documentation at the same level of
abstraction as that of the Documentation, in the preferred format for
making modifications to it (e.g. the native format of the CAD tool as
applicable), and in the event that format is proprietary, in a format
viewable with a tool licensed under an OSI-approved license if the
proprietary tool can create it; and
e) license the modified Documentation under the terms and conditions
of this Licence or, where applicable, a later version of this Licence
as may be issued by CERN.
3.5. The Licence includes a non-exclusive licence to those patents or
registered designs that are held by, under the control of, or
sub-licensable by the Licensor, to the extent necessary to make use of
the rights granted under this Licence. The scope of this section 3.5
shall be strictly limited to the parts of the Documentation or
modified Documentation created by the Licensor.
4. Manufacture and distribution of Products
4.1. The Licensee may manufacture or distribute Products always
provided that, where such manufacture or distribution requires a
licence under this Licence the Licensee provides to each recipient of
such Products an easy means of accessing a copy of the Documentation
or modified Documentation, as applicable, as set out in section 3.
4.2. The Licensee is invited to inform any Licensor who has indicated
his wish to receive this information about the type, quantity and
dates of production of Products the Licensee has (had) manufactured
5. Warranty and liability
5.1. DISCLAIMER The Documentation and any modified Documentation are
provided "as is" and any express or implied warranties, including, but
not limited to, implied warranties of merchantability, of satisfactory
quality, non-infringement of third party rights, and fitness for a
particular purpose or use are disclaimed in respect of the
Documentation, the modified Documentation or any Product. The Licensor
makes no representation that the Documentation, modified
Documentation, or any Product, does or will not infringe any patent,
copyright, trade secret or other proprietary right. The entire risk as
to the use, quality, and performance of a Product shall be with the
Licensee and not the Licensor. This disclaimer of warranty is an
essential part of this Licence and a condition for the grant of any
rights granted under this Licence. The Licensee warrants that it does
not act in a consumer capacity.
5.2. LIMITATION OF LIABILITY The Licensor shall have no liability
for direct, indirect, special, incidental, consequential, exemplary,
punitive or other damages of any character including, without
limitation, procurement of substitute goods or services, loss of use,
data or profits, or business interruption, however caused and on any
theory of contract, warranty, tort (including negligence), product
liability or otherwise, arising in any way in relation to the
Documentation, modified Documentation and/or the use, manufacture or
distribution of a Product, even if advised of the possibility of such
damages, and the Licensee shall hold the Licensor(s) free and harmless
from any liability, costs, damages, fees and expenses, including
claims by third parties, in relation to such use.
6. General
6.1. Except for the rights explicitly granted hereunder, this Licence
does not imply or represent any transfer or assignment of intellectual
property rights to the Licensee.
6.2. The Licensee shall not use or make reference to any of the names
(including acronyms and abbreviations), images, or logos under which
the Licensor is known, save in so far as required to comply with
section 3. Any such permitted use or reference shall be factual and
shall in no event suggest any kind of endorsement by the Licensor or
its personnel of the modified Documentation or any Product, or any
kind of implication by the Licensor or its personnel in the
preparation of the modified Documentation or Product.
6.3. CERN may publish updated versions of this Licence which retain
the same general provisions as this version, but differ in detail so
far this is required and reasonable. New versions will be published
with a unique version number.
6.4. This Licence shall terminate with immediate effect, upon written
notice and without involvement of a court if the Licensee fails to
comply with any of its terms and conditions, or if the Licensee
initiates legal action against Licensor in relation to this
Licence. Section 5 shall continue to apply.