mirror of
https://github.com/D-Modem/hardware.git
synced 2026-11-28 17:48:05 -08:00
Licensing: hardware under CERN-OHL-S-2.0 or a commercial licence
- hardware/LICENSE: CERN-OHL-S-2.0 text (SPDX license-list-data) - SPDX lines on the hardware scripts and specs, and in the generated NETLIST.md and placement.md; the schematic's title block names the licence and the Source Location - Notice under section 4: products display the Source Location; the hood has github.com/Neo-Desktop/pico-serial and CERN-OHL-S-2.0 debossed underneath, and SPEC.md asks for both on the silkscreen - LICENSING.md: hardware section, Source Location, what's covered, the KiCad library exception, Available Components; notes the repository must be public before products are shared Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
This commit is contained in:
20 files changed
+199091
-58448
No files matched your search
+42
-6
@@ -36,16 +36,52 @@ its licence on an `SPDX-License-Identifier` line. This also covers:
|
||||
|
||||
## Hardware (`hardware/`, `SPEC*.md`)
|
||||
|
||||
Not yet decided. Until a licence is chosen and stated here, the hardware
|
||||
design files are not offered under an open licence. This covers:
|
||||
- the netlist and schematic scripts and their outputs;
|
||||
- the enclosure model and its print files;
|
||||
- the specifications.
|
||||
The hardware design is available under either of two licences:
|
||||
|
||||
- the **CERN Open Hardware Licence Version 2, Strongly Reciprocal**
|
||||
(CERN-OHL-S-2.0), in [hardware/LICENSE](hardware/LICENSE); or
|
||||
- a **commercial licence** from Neo-Desktop, for uses that cannot meet
|
||||
CERN-OHL-S's terms, such as shipping a product made from a modified
|
||||
design without publishing that design. Ask Neo-Desktop for its terms.
|
||||
|
||||
### What it covers
|
||||
|
||||
- the netlist, schematic and enclosure scripts;
|
||||
- everything they generate:
|
||||
- the netlist and parts lists;
|
||||
- the KiCad schematic and symbols;
|
||||
- the hood's STEP/STL files, board outline and placement rules;
|
||||
- the specifications (`SPEC.md`, `SPEC-W.md`).
|
||||
|
||||
Each source file names its licence on an `SPDX-License-Identifier` line.
|
||||
|
||||
### Source Location
|
||||
|
||||
The Source Location (CERN-OHL-S-2.0 section 1.9) is
|
||||
<https://github.com/Neo-Desktop/pico-serial>.
|
||||
|
||||
The repository must be **public**, and expected to stay reachable for at
|
||||
least three years, before any Product made from the design is given to
|
||||
anyone (section 1.9). It is private as of this writing.
|
||||
|
||||
**Notice under section 4:** a Product made from this design must visibly
|
||||
and securely display that Source Location, and the licence name. This is
|
||||
already done on the original design:
|
||||
- on the PCB silkscreen;
|
||||
- debossed in the hood's underside: `github.com/Neo-Desktop/pico-serial`,
|
||||
`CERN-OHL-S-2.0`.
|
||||
|
||||
A modified design must point to its own Source Location instead, and
|
||||
carry a modification notice (section 3.3).
|
||||
|
||||
### Not ours
|
||||
|
||||
`hardware/schematic/lib/symbol-cache.sexp` and the symbols embedded in
|
||||
the schematic come from KiCad's official library. They are under
|
||||
CC-BY-SA-4.0 with the KiCad libraries' exception, which lets designs use
|
||||
them under any licence.
|
||||
them under any licence. The parts (RP2040, transceivers, connectors and
|
||||
so on) are Available Components in CERN-OHL-S's terms, under their
|
||||
makers' own terms.
|
||||
|
||||
## Contributions
|
||||
|
||||
|
||||
@@ -8,4 +8,4 @@ Wireless variant (Bluetooth LE for iPhone, classic Bluetooth serial for Android)
|
||||
|
||||
## Licence
|
||||
|
||||
Firmware: AGPL-3.0-only, or a commercial licence from Neo-Desktop. Hardware: not yet decided. See [LICENSING.md](LICENSING.md).
|
||||
Firmware: AGPL-3.0-only, or a commercial licence from Neo-Desktop. Hardware: CERN-OHL-S-2.0, or a commercial licence from Neo-Desktop. See [LICENSING.md](LICENSING.md).
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial W — wireless variant (draft 0.1)
|
||||
|
||||
pico-serial with a Bluetooth radio, so a phone can be the modem without a
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial — hardware spec (draft 0.3)
|
||||
|
||||
A USB-C to DB25 RS-232 adapter built on a bare **RP2040** (the chip on the
|
||||
@@ -482,6 +484,10 @@ The hood is the MH Connectors **MHDPPK25-K** (LCSC C22372846):
|
||||
TX/RX (logic side).
|
||||
- Silkscreen: name, revision, "DCE / DTE auto", DB25 pin 1, "male–male
|
||||
gender changer for DTE".
|
||||
- Silkscreen must also carry the licence notice: `CERN-OHL-S-2.0` and
|
||||
`github.com/Neo-Desktop/pico-serial`. This is the Source Location
|
||||
required by the licence (LICENSING.md); the W board's hood also has it
|
||||
debossed underneath.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,289 @@
|
||||
CERN Open Hardware Licence Version 2 - Strongly Reciprocal
|
||||
|
||||
|
||||
Preamble
|
||||
|
||||
CERN has developed this licence to promote collaboration among
|
||||
hardware designers and to provide a legal tool which supports the
|
||||
freedom to use, study, modify, share and distribute hardware designs
|
||||
and products based on those designs. Version 2 of the CERN Open
|
||||
Hardware Licence comes in three variants: CERN-OHL-P (permissive); and
|
||||
two reciprocal licences: CERN-OHL-W (weakly reciprocal) and this
|
||||
licence, CERN-OHL-S (strongly reciprocal).
|
||||
|
||||
The CERN-OHL-S is copyright CERN 2020. Anyone is welcome to use it, in
|
||||
unmodified form only.
|
||||
|
||||
Use of this Licence does not imply any endorsement by CERN of any
|
||||
Licensor or their designs nor does it imply any involvement by CERN in
|
||||
their development.
|
||||
|
||||
|
||||
1 Definitions
|
||||
|
||||
1.1 'Licence' means this CERN-OHL-S.
|
||||
|
||||
1.2 'Compatible Licence' means
|
||||
|
||||
a) any earlier version of the CERN Open Hardware licence, or
|
||||
|
||||
b) any version of the CERN-OHL-S, or
|
||||
|
||||
c) any licence which permits You to treat the Source to which
|
||||
it applies as licensed under CERN-OHL-S provided that on
|
||||
Conveyance of any such Source, or any associated Product You
|
||||
treat the Source in question as being licensed under
|
||||
CERN-OHL-S.
|
||||
|
||||
1.3 'Source' means information such as design materials or digital
|
||||
code which can be applied to Make or test a Product or to
|
||||
prepare a Product for use, Conveyance or sale, regardless of its
|
||||
medium or how it is expressed. It may include Notices.
|
||||
|
||||
1.4 'Covered Source' means Source that is explicitly made available
|
||||
under this Licence.
|
||||
|
||||
1.5 'Product' means any device, component, work or physical object,
|
||||
whether in finished or intermediate form, arising from the use,
|
||||
application or processing of Covered Source.
|
||||
|
||||
1.6 'Make' means to create or configure something, whether by
|
||||
manufacture, assembly, compiling, loading or applying Covered
|
||||
Source or another Product or otherwise.
|
||||
|
||||
1.7 'Available Component' means any part, sub-assembly, library or
|
||||
code which:
|
||||
|
||||
a) is licensed to You as Complete Source under a Compatible
|
||||
Licence; or
|
||||
|
||||
b) is available, at the time a Product or the Source containing
|
||||
it is first Conveyed, to You and any other prospective
|
||||
licensees
|
||||
|
||||
i) as a physical part with sufficient rights and
|
||||
information (including any configuration and
|
||||
programming files and information about its
|
||||
characteristics and interfaces) to enable it either to
|
||||
be Made itself, or to be sourced and used to Make the
|
||||
Product; or
|
||||
ii) as part of the normal distribution of a tool used to
|
||||
design or Make the Product.
|
||||
|
||||
1.8 'Complete Source' means the set of all Source necessary to Make
|
||||
a Product, in the preferred form for making modifications,
|
||||
including necessary installation and interfacing information
|
||||
both for the Product, and for any included Available Components.
|
||||
If the format is proprietary, it must also be made available in
|
||||
a format (if the proprietary tool can create it) which is
|
||||
viewable with a tool available to potential licensees and
|
||||
licensed under a licence approved by the Free Software
|
||||
Foundation or the Open Source Initiative. Complete Source need
|
||||
not include the Source of any Available Component, provided that
|
||||
You include in the Complete Source sufficient information to
|
||||
enable a recipient to Make or source and use the Available
|
||||
Component to Make the Product.
|
||||
|
||||
1.9 'Source Location' means a location where a Licensor has placed
|
||||
Covered Source, and which that Licensor reasonably believes will
|
||||
remain easily accessible for at least three years for anyone to
|
||||
obtain a digital copy.
|
||||
|
||||
1.10 'Notice' means copyright, acknowledgement and trademark notices,
|
||||
Source Location references, modification notices (subsection
|
||||
3.3(b)) and all notices that refer to this Licence and to the
|
||||
disclaimer of warranties that are included in the Covered
|
||||
Source.
|
||||
|
||||
1.11 'Licensee' or 'You' means any person exercising rights under
|
||||
this Licence.
|
||||
|
||||
1.12 'Licensor' means a natural or legal person who creates or
|
||||
modifies Covered Source. A person may be a Licensee and a
|
||||
Licensor at the same time.
|
||||
|
||||
1.13 'Convey' means to communicate to the public or distribute.
|
||||
|
||||
|
||||
2 Applicability
|
||||
|
||||
2.1 This Licence governs the use, copying, modification, Conveying
|
||||
of Covered Source and Products, and the Making of Products. By
|
||||
exercising any right granted under this Licence, You irrevocably
|
||||
accept these terms and conditions.
|
||||
|
||||
2.2 This Licence is granted by the Licensor directly to You, and
|
||||
shall apply worldwide and without limitation in time.
|
||||
|
||||
2.3 You shall not attempt to restrict by contract or otherwise the
|
||||
rights granted under this Licence to other Licensees.
|
||||
|
||||
2.4 This Licence is not intended to restrict fair use, fair dealing,
|
||||
or any other similar right.
|
||||
|
||||
|
||||
3 Copying, modifying and Conveying Covered Source
|
||||
|
||||
3.1 You may copy and Convey verbatim copies of Covered Source, in
|
||||
any medium, provided You retain all Notices.
|
||||
|
||||
3.2 You may modify Covered Source, other than Notices, provided that
|
||||
You irrevocably undertake to make that modified Covered Source
|
||||
available from a Source Location should You Convey a Product in
|
||||
circumstances where the recipient does not otherwise receive a
|
||||
copy of the modified Covered Source. In each case subsection 3.3
|
||||
shall apply.
|
||||
|
||||
You may only delete Notices if they are no longer applicable to
|
||||
the corresponding Covered Source as modified by You and You may
|
||||
add additional Notices applicable to Your modifications.
|
||||
Including Covered Source in a larger work is modifying the
|
||||
Covered Source, and the larger work becomes modified Covered
|
||||
Source.
|
||||
|
||||
3.3 You may Convey modified Covered Source (with the effect that You
|
||||
shall also become a Licensor) provided that You:
|
||||
|
||||
a) retain Notices as required in subsection 3.2;
|
||||
|
||||
b) add a Notice to the modified Covered Source stating that You
|
||||
have modified it, with the date and brief description of how
|
||||
You have modified it;
|
||||
|
||||
c) add a Source Location Notice for the modified Covered Source
|
||||
if You Convey in circumstances where the recipient does not
|
||||
otherwise receive a copy of the modified Covered Source; and
|
||||
|
||||
d) license the modified Covered Source under the terms and
|
||||
conditions of this Licence (or, as set out in subsection
|
||||
8.3, a later version, if permitted by the licence of the
|
||||
original Covered Source). Such modified Covered Source must
|
||||
be licensed as a whole, but excluding Available Components
|
||||
contained in it, which remain licensed under their own
|
||||
applicable licences.
|
||||
|
||||
|
||||
4 Making and Conveying Products
|
||||
|
||||
You may Make Products, and/or Convey them, provided that You either
|
||||
provide each recipient with a copy of the Complete Source or ensure
|
||||
that each recipient is notified of the Source Location of the Complete
|
||||
Source. That Complete Source is Covered Source, and You must
|
||||
accordingly satisfy Your obligations set out in subsection 3.3. If
|
||||
specified in a Notice, the Product must visibly and securely display
|
||||
the Source Location on it or its packaging or documentation in the
|
||||
manner specified in that Notice.
|
||||
|
||||
|
||||
5 Research and Development
|
||||
|
||||
You may Convey Covered Source, modified Covered Source or Products to
|
||||
a legal entity carrying out development, testing or quality assurance
|
||||
work on Your behalf provided that the work is performed on terms which
|
||||
prevent the entity from both using the Source or Products for its own
|
||||
internal purposes and Conveying the Source or Products or any
|
||||
modifications to them to any person other than You. Any modifications
|
||||
made by the entity shall be deemed to be made by You pursuant to
|
||||
subsection 3.2.
|
||||
|
||||
|
||||
6 DISCLAIMER AND LIABILITY
|
||||
|
||||
6.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products
|
||||
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 any Source or Product to the
|
||||
maximum extent permitted by law. The Licensor makes no
|
||||
representation that any Source or Product does not or will not
|
||||
infringe any patent, copyright, trade secret or other
|
||||
proprietary right. The entire risk as to the use, quality, and
|
||||
performance of any Source or Product shall be with You 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.
|
||||
|
||||
6.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to
|
||||
the maximum extent permitted by law, 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 Covered Source, modified Covered Source
|
||||
and/or the Making or Conveyance of a Product, even if advised of
|
||||
the possibility of such damages, and You 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.
|
||||
|
||||
|
||||
7 Patents
|
||||
|
||||
7.1 Subject to the terms and conditions of this Licence, each
|
||||
Licensor hereby grants to You a perpetual, worldwide,
|
||||
non-exclusive, no-charge, royalty-free, irrevocable (except as
|
||||
stated in subsections 7.2 and 8.4) patent license to Make, have
|
||||
Made, use, offer to sell, sell, import, and otherwise transfer
|
||||
the Covered Source and Products, where such licence applies only
|
||||
to those patent claims licensable by such Licensor that are
|
||||
necessarily infringed by exercising rights under the Covered
|
||||
Source as Conveyed by that Licensor.
|
||||
|
||||
7.2 If You institute patent litigation against any entity (including
|
||||
a cross-claim or counterclaim in a lawsuit) alleging that the
|
||||
Covered Source or a Product constitutes direct or contributory
|
||||
patent infringement, or You seek any declaration that a patent
|
||||
licensed to You under this Licence is invalid or unenforceable
|
||||
then any rights granted to You under this Licence shall
|
||||
terminate as of the date such process is initiated.
|
||||
|
||||
|
||||
8 General
|
||||
|
||||
8.1 If any provisions of this Licence are or subsequently become
|
||||
invalid or unenforceable for any reason, the remaining
|
||||
provisions shall remain effective.
|
||||
|
||||
8.2 You shall not use any of the name (including acronyms and
|
||||
abbreviations), image, or logo by which the Licensor or CERN is
|
||||
known, except where needed to comply with section 3, or where
|
||||
the use is otherwise allowed by law. Any such permitted use
|
||||
shall be factual and shall not be made so as to suggest any kind
|
||||
of endorsement or implication of involvement by the Licensor or
|
||||
its personnel.
|
||||
|
||||
8.3 CERN may publish updated versions and variants of this Licence
|
||||
which it considers to be in the spirit of this version, but may
|
||||
differ in detail to address new problems or concerns. New
|
||||
versions will be published with a unique version number and a
|
||||
variant identifier specifying the variant. If the Licensor has
|
||||
specified that a given variant applies to the Covered Source
|
||||
without specifying a version, You may treat that Covered Source
|
||||
as being released under any version of the CERN-OHL with that
|
||||
variant. If no variant is specified, the Covered Source shall be
|
||||
treated as being released under CERN-OHL-S. The Licensor may
|
||||
also specify that the Covered Source is subject to a specific
|
||||
version of the CERN-OHL or any later version in which case You
|
||||
may apply this or any later version of CERN-OHL with the same
|
||||
variant identifier published by CERN.
|
||||
|
||||
8.4 This Licence shall terminate with immediate effect if You fail
|
||||
to comply with any of its terms and conditions.
|
||||
|
||||
8.5 However, if You cease all breaches of this Licence, then Your
|
||||
Licence from any Licensor is reinstated unless such Licensor has
|
||||
terminated this Licence by giving You, while You remain in
|
||||
breach, a notice specifying the breach and requiring You to cure
|
||||
it within 30 days, and You have failed to come into compliance
|
||||
in all material respects by the end of the 30 day period. Should
|
||||
You repeat the breach after receipt of a cure notice and
|
||||
subsequent reinstatement, this Licence will terminate
|
||||
immediately and permanently. Section 6 shall continue to apply
|
||||
after any termination.
|
||||
|
||||
8.6 This Licence shall not be enforceable except by a Licensor
|
||||
acting as such, and third party beneficiary rights are
|
||||
specifically excluded.
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial hardware
|
||||
|
||||
`netlist/build_netlist.py` defines every part and every connection on the
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial W hood
|
||||
|
||||
A 3D-printed DB25 hood for the wireless board (see `../../SPEC-W.md` §2.2).
|
||||
|
||||
+124058
-53908
File diff suppressed because it is too large.
Load diff
@@ -493,7 +493,7 @@ $SKPOLY
|
||||
9
|
||||
$TDCREATE
|
||||
40
|
||||
2461331.7819097224
|
||||
2461332.0283680554
|
||||
9
|
||||
$TDUCREATE
|
||||
40
|
||||
@@ -501,7 +501,7 @@ $TDUCREATE
|
||||
9
|
||||
$TDUPDATE
|
||||
40
|
||||
2461331.7819097224
|
||||
2461332.0283680554
|
||||
9
|
||||
$TDUUPDATE
|
||||
40
|
||||
@@ -933,11 +933,11 @@ $PSTYLEMODE
|
||||
9
|
||||
$FINGERPRINTGUID
|
||||
2
|
||||
{D46E1DE6-7C48-4563-A7FE-B231197775A2}
|
||||
{E791CF2A-D818-4260-B307-9CAC398F7854}
|
||||
9
|
||||
$VERSIONGUID
|
||||
2
|
||||
{687957D9-6BD0-4FE6-994D-959677DEDF76}
|
||||
{B94AF8A5-25F9-4445-A666-B0CF963CA197}
|
||||
9
|
||||
$EXTNAMES
|
||||
290
|
||||
@@ -3397,7 +3397,7 @@ DictionaryVariables
|
||||
280
|
||||
0
|
||||
1
|
||||
1.4.5 @ 2026-10-17T18:45:57.605633+00:00
|
||||
1.4.5 @ 2026-10-18T00:40:51.591199+00:00
|
||||
0
|
||||
DICTIONARYVAR
|
||||
5
|
||||
@@ -3409,7 +3409,7 @@ DictionaryVariables
|
||||
280
|
||||
0
|
||||
1
|
||||
1.4.5 @ 2026-10-17T18:45:57.611053+00:00
|
||||
1.4.5 @ 2026-10-18T00:40:51.598063+00:00
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
|
||||
+74639
-4516
File diff suppressed because it is too large.
Load diff
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
ISO-10303-21;
|
||||
HEADER;
|
||||
FILE_DESCRIPTION(('Open CASCADE Model'),'2;1');
|
||||
FILE_NAME('Open CASCADE Shape Model','2026-10-17T18:45:55',('Author'),(
|
||||
FILE_NAME('Open CASCADE Shape Model','2026-10-18T00:40:48',('Author'),(
|
||||
'Open CASCADE'),'Open CASCADE STEP processor 7.9','Open CASCADE 7.9'
|
||||
,'Unknown');
|
||||
FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial W: placement fixed by the hood
|
||||
|
||||
Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, +x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. Board top = the side facing the hood's top half.
|
||||
|
||||
@@ -493,7 +493,7 @@ $SKPOLY
|
||||
9
|
||||
$TDCREATE
|
||||
40
|
||||
2461331.7819097224
|
||||
2461332.0283680554
|
||||
9
|
||||
$TDUCREATE
|
||||
40
|
||||
@@ -501,7 +501,7 @@ $TDUCREATE
|
||||
9
|
||||
$TDUPDATE
|
||||
40
|
||||
2461331.7819097224
|
||||
2461332.0283680554
|
||||
9
|
||||
$TDUUPDATE
|
||||
40
|
||||
@@ -933,11 +933,11 @@ $PSTYLEMODE
|
||||
9
|
||||
$FINGERPRINTGUID
|
||||
2
|
||||
{3BF75882-4C5A-4AC6-B532-8F67C1DDEB04}
|
||||
{D1018710-54CB-4565-9B89-E6C4314BECBD}
|
||||
9
|
||||
$VERSIONGUID
|
||||
2
|
||||
{77AB4B5A-F6E8-49BB-98C0-D4E82A8B625D}
|
||||
{A366D70C-EA48-43E9-9316-3049F8E37EC7}
|
||||
9
|
||||
$EXTNAMES
|
||||
290
|
||||
@@ -3145,7 +3145,7 @@ DictionaryVariables
|
||||
280
|
||||
0
|
||||
1
|
||||
1.4.5 @ 2026-10-17T18:45:57.619834+00:00
|
||||
1.4.5 @ 2026-10-18T00:40:51.604896+00:00
|
||||
0
|
||||
DICTIONARYVAR
|
||||
5
|
||||
@@ -3157,7 +3157,7 @@ DictionaryVariables
|
||||
280
|
||||
0
|
||||
1
|
||||
1.4.5 @ 2026-10-17T18:45:57.622736+00:00
|
||||
1.4.5 @ 2026-10-18T00:40:51.607135+00:00
|
||||
0
|
||||
ENDSEC
|
||||
0
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
# Copyright (C) 2026 Neo-Desktop
|
||||
"""pico-serial W: 3D-printed DB25 hood (two halves), board outline and checks.
|
||||
|
||||
Coordinates (mm): x runs from the DB25 flange's front face (x = 0) toward
|
||||
@@ -162,9 +164,24 @@ def split(body):
|
||||
bot = bot.union(cyl_z(x, y, -0.01, 1.6, 1.9))
|
||||
top = top.cut(cyl_z(x, y, -0.01, 2.0, 2.3))
|
||||
top = label(top)
|
||||
bot = label_bottom(bot)
|
||||
return top, bot
|
||||
|
||||
|
||||
SOURCE_LOCATION = "github.com/Neo-Desktop/pico-serial"
|
||||
|
||||
|
||||
def label_bottom(bot):
|
||||
"""CERN-OHL-S-2.0 section 4: the product shows its Source Location."""
|
||||
try:
|
||||
wp = cq.Workplane(cq.Plane(origin=(0, 0, -Z_OUT), xDir=(1, 0, 0), normal=(0, 0, -1)))
|
||||
bot = bot.cut(wp.center(29.0, 6.0).text(SOURCE_LOCATION, 2.6, -0.5, kind="bold", halign="center", valign="center"))
|
||||
bot = bot.cut(wp.center(29.0, 11.0).text("CERN-OHL-S-2.0", 2.6, -0.5, kind="bold", halign="center", valign="center"))
|
||||
except Exception as e: # noqa: BLE001
|
||||
print("note: bottom labels skipped:", e)
|
||||
return bot
|
||||
|
||||
|
||||
def label(top):
|
||||
"""Debossed text on the top face; skipped if no font is available."""
|
||||
try:
|
||||
@@ -322,7 +339,8 @@ def main():
|
||||
|
||||
|
||||
def write_placement(engage):
|
||||
L = ["# pico-serial W: placement fixed by the hood", "",
|
||||
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 Neo-Desktop -->",
|
||||
"# pico-serial W: placement fixed by the hood", "",
|
||||
"Generated by `w_hood.py`. Coordinates in mm; x = 0 at the DB25 flange's front face, "
|
||||
"+x toward the USB-C end; y = 0 on the hood's centre line, +y toward the USB-C side. "
|
||||
"Board top = the side facing the hood's top half.", "",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
|
||||
<!-- Copyright (C) 2026 Neo-Desktop -->
|
||||
# pico-serial netlist
|
||||
|
||||
Generated by `build_netlist.py`; edit that script, not this file.
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
# Copyright (C) 2026 Neo-Desktop
|
||||
"""pico-serial netlist: every part and connection on the board, in one place.
|
||||
|
||||
Writes, next to this script:
|
||||
@@ -490,7 +492,8 @@ def write_kicad(path):
|
||||
|
||||
|
||||
def write_md(path):
|
||||
L = ["# pico-serial netlist", "",
|
||||
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 Neo-Desktop -->",
|
||||
"# pico-serial netlist", "",
|
||||
"Generated by `build_netlist.py`; edit that script, not this file.", "",
|
||||
f"{len(parts)} parts, {len(nets)} nets. DNP = not fitted by default.", "",
|
||||
"## Nets", "", "| Net | Pins |", "|---|---|"]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
# Copyright (C) 2026 Neo-Desktop
|
||||
"""pico-serial schematic, generated from ../netlist/build_netlist.py.
|
||||
|
||||
Writes, next to this script:
|
||||
@@ -640,7 +642,9 @@ def build(syms):
|
||||
[Sym("title_block"), [Sym("title"), "pico-serial: USB-C to DB25 RS-232 (DCE/DTE)"],
|
||||
[Sym("date"), datetime.date.today().isoformat()], [Sym("rev"), "0.3"],
|
||||
[Sym("comment"), 1, "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25"],
|
||||
[Sym("comment"), 2, "See SPEC.md; parts and nets come from hardware/netlist/build_netlist.py"]],
|
||||
[Sym("comment"), 2, "See SPEC.md; parts and nets come from hardware/netlist/build_netlist.py"],
|
||||
[Sym("comment"), 3, "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)"],
|
||||
[Sym("comment"), 4, "Source: https://github.com/Neo-Desktop/pico-serial"]],
|
||||
[Sym("lib_symbols")] + [syms[k] for k in sorted({lib_id(r) for r in N.parts} | set(POWER.values()) | {"power:PWR_FLAG"})]]
|
||||
sch += items
|
||||
sch += [[Sym("sheet_instances"), [Sym("path"), "/", [Sym("page"), "1"]]], [Sym("embedded_fonts"), Sym("no")]]
|
||||
|
||||
@@ -6,10 +6,12 @@
|
||||
(paper "A2")
|
||||
(title_block
|
||||
(title "pico-serial: USB-C to DB25 RS-232 (DCE/DTE)")
|
||||
(date "2026-10-17")
|
||||
(date "2026-10-18")
|
||||
(rev "0.3")
|
||||
(comment 1 "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25")
|
||||
(comment 2 "See SPEC.md; parts and nets come from hardware/netlist/build_netlist.py")
|
||||
(comment 3 "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)")
|
||||
(comment 4 "Source: https://github.com/Neo-Desktop/pico-serial")
|
||||
)
|
||||
(lib_symbols
|
||||
(symbol "Connector:DB25_Socket"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: CERN-OHL-S-2.0
|
||||
# Copyright (C) 2026 Neo-Desktop
|
||||
"""Minimal reader/writer for KiCad's s-expression files.
|
||||
|
||||
A node is a Python list whose first item is its keyword. Atoms are Sym
|
||||
|
||||
Reference in new issue
Block a user