adding folder structure and READMEs

This commit is contained in:
2025-05-21 16:55:03 +07:00
parent 9fd6816f41
commit 9447812de0
34 changed files with 205 additions and 1 deletions

107
README.md
View File

@@ -1,2 +1,107 @@
# b4l-project-template # B4L Open Hardware Project Template
Welcome to the **Build4Life (B4L)** Open Hardware Project Template!
This repository provides a standardized structure for developing and sharing high-quality open hardware designs.
Use this template to kickstart your own B4L-compatible project.
---
## 📁 Folder Structure
```
hardware/ # Schematics, PCB layout, BOM, manufacturing files
mechanical/ # Mechanical designs and 3D printable enclosures
firmware/ # Microcontroller firmware
software/ # PC-side tools or GUIs
docs/ # User guides, images, datasheets
tests/ # Test plans and reports
ci/ # Continuous Integration config
tools/ # Development and debug tools
certs/ # Certification and compliance documentation
manufacturing/ # Production-level data for fab and assembly
meta/ # Project metadata and changelog
```
---
## 📂 Folder Descriptions
### `/hardware/`
Contains all electrical design files:
- `schematics/`: KiCad or EDA schematic files
- `pcb/`: PCB layout files
- `bom/`: Bill of Materials
- `manufacturing/`: Gerbers, pick-and-place, drill files
- `simulations/`: Simulation circuits (e.g. SPICE)
### `/mechanical/`
Mechanical or enclosure design:
- `enclosure/`: STL/STEP files for 3D-printable parts
- `cad/`: Editable CAD models (FreeCAD, Fusion360)
- `drawings/`: 2D drawings for fabrication or documentation
- `stl/`: Final 3D-printable export files
### `/firmware/`
Firmware source code:
- `src/`, `include/`, `lib/`: Microcontroller code and dependencies
- Example: PlatformIO, STM32Cube, Arduino, Zephyr
### `/software/`
Optional software tools, GUI, or helper scripts:
- `gui/`: Any frontend or desktop apps
- `scripts/`: CLI or backend support tools
### `/docs/`
Project documentation:
- `overview.md`, `quickstart.md`, photos, diagrams
- `datasheets/`: PDFs of important components
### `/tests/`
Hardware and firmware testing:
- `hardware/`: Test jigs, test instructions
- `firmware/`: Unit and integration test code
- `reports/`: Test results, logs, and photos
### `/ci/`
Automation and CI pipelines:
- GitHub Actions, GitLab CI, etc.
### `/tools/`
Developer tools, flashing utilities, debug helpers
### `/certs/`
Regulatory and certification documents (e.g., CE, FCC)
### `/manufacturing/`
Everything needed for production:
- `assembly/`: Instructions for assembly/test stations
- `fab/`: Files needed by PCB fab houses
### `/meta/`
Project metadata:
- `b4l_manifest.json`: Name, version, tags, license
- `authors.md`, `changelog.md`
---
## 📝 License
This template is open source. Choose a license appropriate for your project.
Recommended: [CERN-OHL-W](https://gitlab.com/ohwr/project/cernohl/) for open hardware.
---
## 🤝 Contributing
If youre creating a new B4L-compatible project, click “Use this template” or clone this repository.
Youre encouraged to submit improvements to this template!
---
## 📡 About Build4Life
**Build4Life** is a community-driven initiative designing durable, open, and maintainable electronics.
Website: [https://b4l.co.th](https://b4l.co.th)

3
certs/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /certs
Certification and regulatory documents (e.g., CE, FCC).

3
ci/.github/README.md vendored Normal file
View File

@@ -0,0 +1,3 @@
# /ci/.github
GitHub Actions or CI workflows.

3
ci/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /ci
Continuous Integration configurations and automation scripts.

3
docs/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /docs
Documentation files for users and developers.

View File

@@ -0,0 +1,3 @@
# /docs/datasheets
Datasheets for key components.

3
docs/images/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /docs/images
Diagrams, photos, and figures.

3
firmware/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /firmware
Microcontroller firmware source code and libraries.

View File

@@ -0,0 +1,3 @@
# /firmware/include
Header files for the firmware.

3
firmware/lib/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /firmware/lib
External libraries used in firmware.

3
firmware/src/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /firmware/src
Main firmware source code.

3
hardware/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /hardware
Electrical design files including schematics, PCB layout, BOM, and simulations.

3
hardware/bom/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /hardware/bom
Bill of Materials in CSV or spreadsheet format.

View File

@@ -0,0 +1,3 @@
# /hardware/manufacturing
Gerbers, pick-and-place files, and drill files.

3
hardware/pcb/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /hardware/pcb
PCB layout design files.

View File

@@ -0,0 +1,3 @@
# /hardware/schematics
KiCad or other EDA schematic files.

View File

@@ -0,0 +1,3 @@
# /hardware/simulations
Simulation files for circuit behavior (e.g., SPICE).

3
manufacturing/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /manufacturing
Production and assembly files.

View File

@@ -0,0 +1,3 @@
# /manufacturing/assembly
Assembly instructions and test jigs.

View File

@@ -0,0 +1,3 @@
# /manufacturing/fab
Files for PCB fabrication houses.

3
mechanical/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /mechanical
Mechanical design including enclosures and 3D files.

3
mechanical/cad/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /mechanical/cad
Editable CAD files (e.g., FreeCAD, Fusion360).

View File

@@ -0,0 +1,3 @@
# /mechanical/drawings
2D mechanical drawings (e.g., DXF, PDF).

View File

@@ -0,0 +1,3 @@
# /mechanical/enclosure
STL/STEP files for 3D-printable enclosures.

3
mechanical/stl/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /mechanical/stl
Exported STL files ready for printing.

3
meta/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /meta
Project metadata, changelog, and contributor info.

3
software/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /software
Optional PC-side applications and scripts.

3
software/gui/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /software/gui
Graphical user interface applications.

View File

@@ -0,0 +1,3 @@
# /software/scripts
Command-line tools or automation scripts.

3
tests/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /tests
Test plans and validation reports.

3
tests/firmware/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /tests/firmware
Firmware unit and integration tests.

3
tests/hardware/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /tests/hardware
Hardware test setups and instructions.

3
tests/reports/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /tests/reports
Test logs, CSVs, and validation photos.

3
tools/README.md Normal file
View File

@@ -0,0 +1,3 @@
# /tools
Developer tools, flashing utilities, and debug helpers.