Initial commit after public rebase.

This commit is contained in:
Sasa Karanovic
2021-12-25 22:38:19 -05:00
committed by Sasa Karanovic
commit baa42a4ccb
61 changed files with 42588 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
# This is the name of the workflow, visible on GitHub UI.
name: Build Code Base
# Here we tell GitHub to run the workflow when a commit
# is pushed or a Pull Request is opened.
on:
pull_request:
branches: [master, main]
push:
branches: [master, main]
# paths:
# - "**.ino"
# - "**.h"
# - "**.c"
# - "**.platformio.ini"
# This is the list of jobs that will be run concurrently.
# Since we use a build matrix, the actual number of jobs
# started depends on how many configurations the matrix
# will produce.
jobs:
Build-Platformio:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@v2
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@v2
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Run PlatformIO
run: pio run
working-directory: Firmware/platformio
+36
View File
@@ -0,0 +1,36 @@
# This is the name of the workflow, visible on GitHub UI.
name: Lint Code Base
# Here we tell GitHub to run the workflow when a commit
# is pushed or a Pull Request is opened.
on:
pull_request:
branches: [master, main]
# push:
# branches: [master, main]
# paths:
# - "**.ino"
# - "**.h"
# - "**.c"
# - "**.cpp"
# - "**.hpp"
# - "**.platformio.ini"
# This is the list of jobs that will be run concurrently.
# Since we use a build matrix, the actual number of jobs
# started depends on how many configurations the matrix
# will produce.
jobs:
Lint-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.13
with:
source: './Firmware'
# exclude: './third_party ./external'
extensions: 'c,h,ino'
clangFormatVersion: 13
# style: 'file'
+91
View File
@@ -0,0 +1,91 @@
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
.tmp_versions/
modules.order
Module.symvers
Mkfile.old
dkms.conf
### PlatformIO ###
.pioenvs
.piolibdeps
.clang_complete
.gcc-flags.json
.pio
# Various Altium files
*.PrjPCBStructure
*.SchDocPreview
*.PcbDocPreview
__Previews
*.PrjPcbStructure
*.Dat
*.REP
*.TLT
*.LOG
*.log
*.htm
*.$$$
#useless dirs
Project\ Outputs
Project\ Logs
Project Outputs for*
#History
History
#Exports, but not manual ones
exports/*
!exports/manual
#Python stuff
scripts/__pycache__/
*.bak
*.dwl
*.dwl2
+150
View File
@@ -0,0 +1,150 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortEnumsOnASingleLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
SortPriority: 0
- Regex: '.*'
Priority: 1
SortPriority: 0
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentPPDirectives: None
IndentExternBlock: AfterExternBlock
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
BitFieldColonSpacing: Both
Standard: Latest
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
WhitespaceSensitiveMacros:
- STRINGIZE
- PP_STRINGIZE
- BOOST_PP_STRINGIZE
...
+89
View File
@@ -0,0 +1,89 @@
# How to build firmware
For our firmware development, we are going to use Arduino. Mainly because it's user friendly, easy to use and
most hobbyists are familiar with it or have already used it. While we could build te same or even more efficient
firmware using C and ESP-IDF, we are going to stick with Arduino and hope that this allows the project to be
more friendly and easier to use/modify by wider DIY/hacker community.
## How can I build/compile firmware?
Arduino has many third party libraries that you can use and also build firmware for many different boards.
However, depending for which board you are building firmware and also which libraries your project (sketch) uses,
you might need to manually install them or download them trough board/library manager.
While above mentioned solution works fine, it can lead to issues like installing the "wrong/different" version
of the library, different board files, "wrong/different" build/upload tools and so on. On top of that, since board files
and libraries are shared, we could install a library or a board file while working on another project that breaks our current project.
Hopefully you can see why this is not so great for open-source open-hardware project where we want everyone to be able to easily
checkout a repository and hit the ground running without spending hours setting up and debugging what library or board files are missing.
Luckily we can automate/avoid this by using a build system like PlatformIO. So below we will have two ways of building
the firmware, one will be "easy" by leveraging PlatformiIO build system, and the other one will be a manual one by using
Arduino IDE and manually searching and downloading all the board/library files.
## - The super easy way - Compile and upload using PlatformIO build system -
### 1. Install PlatformIO
Installing PlatformIO CLI is pretty straight-forward and also well documented for Windows, Linux and MacOS.
You will need to follow few steps and get PlatformIO CLI installed, detailed tutorial can be found at https://platformio.org/install/cli
Make sure to install [PlatformIO Core](https://docs.platformio.org/en/latest//core/installation.html#installation-methods 'https://docs.platformio.org/en/latest//core/installation.html#installation-methods') and allso that it is available trough [shell](https://docs.platformio.org/en/latest//core/installation.html#piocore-install-shell-commands 'PlatformIO Core - Install Shell Commands¶').
### 2. Build firmware
Open shell/command-prompt and navigate to 'Firmware/platformio' folder.
1. Compile the firmware by typing `pio run`, PlatformIO will download all the required board files and libraries and finally compile the firmware.
2. Upload the firmware with `pio run --target upload --upload-port <COM-PORT>`. Make sure to replace `<COM-PORT>` with your ESP32's COM port (ie COM1 or /dev/ttyACM0)
3. Upload the file system (Web page) with `pio run --target uploadfs --upload-port <COM-PORT>`, again replace `<COM-PORT>` with your ESP32's COM port.
Every time you make a firmware change, you need to run steps #1 and #2.
Every time you make a change to the web page (anything inside `data` folder) you only need to run step #3.
## - The less easy way - Compile using Arduino IDE and manually install all board files and libraries
### 1. Install Arduino IDE
Download and install Arduino IDE from https://www.arduino.cc/en/software
### 2. Install ESP32 board files
Add ESP32 board files to you Arduino IDE
1. Go to `File -> Preferences`
2. Find `Additional Board Manager URLs:` and add `https://dl.espressif.com/dl/package_esp32_index.json`
3. Go to `Boards -> Board manager`.
4. Search for `esp32`.
5. Find a board package title `esp32 -> by Espressif Systems` and install it.
(Currently we are using version 1.0.6, in case you have any issues, try installing this exact version)
### 3. Install libraries used by the project
Install third party libraries that required
1. Go to `Sketch -> Include Library -> Manage Libraries... (CTRL+SHIFT+I)`
2. Find libraries from the list below and install them one by one
- Adafruit SHT31 Library (version 2.0.0)
- Adafruit Si7021 Library (version 1.5.0)
- DallasTemperature (version 3.9.0)
- OneWire (version 2.3.6)
### 4. Install some more libraries
You will manually have to install following libraries.
One way is to create a `Libraries` folder in your sketch folder. Then download the libraries and place them in Libraries folder.
- https://github.com/me-no-dev/AsyncTCP
- https://github.com/me-no-dev/ESPAsyncWebServer
### 5. Select build board
You need to tell Arduino IDE for which board we want to build the firmware.
Go to `Tools -> Board: -> ESP32 Arduino` and select `ESP32 Dev Module`
Go to `Tools -> Port` and select your ESP32 COM port
### 6. Compile and upload the firmware
You need to compile and upload firmware.
Go to `Sketch -> Upload`
You will need to do this step every time you make a change to the firmware.
### 7. Upload the file system
You need to tell Arduino IDE which partition scheme we want to use
Go to `Tools -> Partition Scheme` and select `1MB APP / 3MB SPIFF`
Now you can go upload file system trough `Tools -> ESP32 Sketch Data Upload` menu item.
If you are missing above menu item, you will need to manually install [ESP32 Sketch Data Upload tool](https://github.com/me-no-dev/arduino-esp32fs-plugin).
You will need to do this step every time you make a change to the web page (or anything inside the data folder)
[<- Go back to repository root](../README.md)
+23
View File
@@ -0,0 +1,23 @@
board_manager:
additional_urls: ["https://dl.espressif.com/dl/package_esp32_index.json"]
daemon:
port: "50051"
directories:
data: C:\Users\Sasa\AppData\Local\Arduino15
downloads: C:\Users\Sasa\AppData\Local\Arduino15\staging
user: C:\Users\Sasa\Documents\Arduino
library:
enable_unsafe_install: true
logging:
file: ""
format: text
level: info
metrics:
addr: :9090
enabled: true
output:
no_color: false
sketch:
always_export_binaries: false
updater:
enable_notification: true
File diff suppressed because one or more lines are too long
+8
View File
@@ -0,0 +1,8 @@
/*!
* Bootstrap Reboot v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}
+273
View File
@@ -0,0 +1,273 @@
body {
padding-top: 120px;
background-color: #212529;
}
pre {
background: #f7f7f9;
}
iframe {
overflow: hidden;
border: none;
}
@media (min-width: 768px) {
body > .navbar-transparent {
box-shadow: none;
}
body > .navbar-transparent .navbar-nav > .open > a {
box-shadow: none;
}
}
.dark-bg {
background-color: #212529;
}
.light-bg {
background-color: #212529;
}
#home,
#help {
font-size: 0.9rem;
}
#home .navbar,
#help .navbar {
background: #349aed;
background: linear-gradient(145deg, #349aed 50%, #34d8ed 100%);
transition: box-shadow 200ms ease-in;
}
#home .navbar-transparent,
#help .navbar-transparent {
background: none !important;
box-shadow: none;
}
#home .navbar-brand .nav-link,
#help .navbar-brand .nav-link {
display: inline-block;
margin-right: -30px;
}
#home .nav-link,
#help .nav-link {
text-transform: uppercase;
font-weight: 500;
color: #fff;
}
#home {
padding-top: 0;
}
#home .btn {
padding: 0.6rem 0.55rem 0.5rem;
box-shadow: none;
font-size: 0.7rem;
font-weight: 500;
}
.bs-docs-section {
margin-top: 4em;
}
.bs-docs-section .page-header h1 {
padding: 2rem 0;
font-size: 3rem;
}
.dropdown-menu.show[aria-labelledby="themes"] {
display: -ms-flexbox;
display: flex;
width: 420px;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.dropdown-menu.show[aria-labelledby="themes"] .dropdown-item {
width: 33.333%;
}
.dropdown-menu.show[aria-labelledby="themes"] .dropdown-item:first-child {
width: 100%;
}
.bs-component {
position: relative;
}
.bs-component + .bs-component {
margin-top: 1rem;
}
.bs-component .card {
margin-bottom: 1rem;
}
.bs-component .modal {
position: relative;
top: auto;
right: auto;
left: auto;
bottom: auto;
z-index: 1;
display: block;
}
.bs-component .modal-dialog {
width: 90%;
}
.bs-component .popover {
position: relative;
display: inline-block;
width: 220px;
margin: 20px;
}
.source-button {
display: none;
position: absolute;
top: 0;
right: 0;
z-index: 100;
font-weight: 700;
}
.source-button:hover {
cursor: pointer;
}
.bs-component:hover .source-button {
display: block;
}
#source-modal pre {
max-height: calc(100vh - 11rem);
background-color: rgba(0, 0, 0, 0.7);
color: rgba(255, 255, 255, 0.7);
}
.nav-tabs {
margin-bottom: 15px;
}
.progress {
margin-bottom: 10px;
}
#footer {
margin: 5em 0;
}
#footer li {
float: left;
margin-right: 1.5em;
margin-bottom: 1.5em;
}
#footer p {
clear: left;
margin-bottom: 0;
}
.splash {
padding: 12em 0 6em;
background: #349aed;
background: linear-gradient(145deg, #349aed 50%, #34d8ed 100%);
color: #fff;
text-align: center;
}
.splash .logo {
width: 160px;
}
.splash h1 {
font-size: 3em;
color: #fff;
}
.splash #social {
margin: 2em 0 3em;
}
.splash .alert {
margin: 2em 0;
border: none;
}
.splash .sponsor a {
color: #fff;
}
.section-tout {
padding: 6em 0 1em;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
background-color: #eaf1f1;
text-align: center;
}
.section-tout .icon {
display: -ms-flexbox;
display: flex;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-align: center;
align-items: center;
width: 80px;
height: 80px;
margin: 0 auto 1rem;
background: #349aed;
background: linear-gradient(145deg, #3b9cea 50%, #3db8eb 100%);
border-radius: 50%;
font-size: 2rem;
color: rgba(0, 0, 0, 0.5);
}
.section-tout p {
margin-bottom: 5em;
}
.section-preview {
padding: 4em 0;
}
.section-preview .preview {
margin-bottom: 4em;
background-color: #eaf1f1;
}
.section-preview .preview .image {
position: relative;
}
.section-preview .preview .image::before {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: "";
pointer-events: none;
}
.section-preview .preview .options {
padding: 2em;
border: 1px solid rgba(0, 0, 0, 0.05);
border-top: none;
text-align: center;
}
.section-preview .preview .options p {
margin-bottom: 2em;
}
.section-preview .dropdown-menu {
text-align: left;
}
.section-preview .lead {
margin-bottom: 2em;
}
.sponsor #carbonads {
max-width: 240px;
margin: 0 auto;
}
.sponsor .carbon-text {
display: block;
margin-top: 1em;
font-size: 12px;
}
.sponsor .carbon-poweredby {
float: right;
margin-top: 1em;
font-size: 10px;
}
@media (max-width: 767px) {
.splash {
padding-top: 8em;
}
.splash .logo {
width: 100px;
}
.splash h1 {
font-size: 2em;
}
#banner {
margin-bottom: 2em;
text-align: center;
}
}
.btn-group {
font-size: 13px;
}
.tooltip {
display: none;
position: absolute;
padding: 10px;
color: #777;
background-color: #fff;
border: 1px solid #777;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.5);
border-radius: 3px;
}
File diff suppressed because one or more lines are too long
+5
View File
@@ -0,0 +1,5 @@
/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+186
View File
@@ -0,0 +1,186 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Filament Dry Box - Sasa Karanovic</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/custom.min.css" />
<link href="css/fontawesome.min.css" rel="stylesheet">
<link href="css/brands.min.css" rel="stylesheet">
<link href="css/solid.min.css" rel="stylesheet">
<link rel="shortcut icon" type="image/jpg" href="img/favicon.png" />
</head>
<body class="d-flex flex-column min-vh-100">
<div class="navbar navbar-expand-lg fixed-top navbar-dark dark-bg">
<div class="container">
<a href="#" class="navbar-brand">Filament Dry Box</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="https://sasakaranovic.com/projects/diy-filament-dry-box/">How it works?</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://sasakaranovic.com/projects/diy-filament-dry-box/">Project Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/SasaKaranovic/DIY-Filament-Dryer" target="_blank">Source Code</a>
</li>
</ul>
</div>
</div>
</div>
<!-- Container -->
<div class="container">
<!-- Content - First row -->
<div class="row">
<!-- Left column -->
<div class="col-lg-5 col-md-5 col-sm-5">
<!-- DryBox status title -->
<div class="page-header">
<h2>DryBox Status</h2>
</div>
<!-- DryBox status title end -->
<!-- DryBox status -->
<div class="row">
<div class="col-lg-12">
<div class="table-responsive">
<table class="table table-sm table-borderless">
<tr>
<td colspan="4"><span id="status-box" class="badge badge-pill badge-warning">Dry box is ??</span></td>
</tr>
<tr>
<th scope="col"></th>
<th scope="col">Inside</th>
<th scope="col">Outside</th>
<th scope="col"></th>
</tr>
<tr>
<td>Temperature</td>
<td><span id="status-temp-inside">??</span>°C</td>
<td><span id="status-temp-outside">??</span>°C</td>
<td></td>
</tr>
<tr>
<td>Humidity</td>
<td><span id="status-humidity-inside">??</span>%</td>
<td><span id="status-humidity-outside">??</span>%</td>
<td></td>
</tr>
<tr>
<td colspan="4"></td>
</tr>
<tr>
<th scope="col"></th>
<th scope="col">Current</th>
<th scope="col">Limit</th>
<th scope="col"></th>
</tr>
<tr>
<td>Heater Temperature</td>
<td><span id="status-temp-heater">??</span>°C</td>
<td><span id="status-temp-heater-max">??</span>°C</td>
<td></td>
</tr>
<tr>
<td>Temperature Inside</td>
<td><span id="status-temp-inside2">??</span>°C</td>
<td><span id="status-temp-inside-target">??</span>°C</td>
<td></td>
</tr>
<tr>
<td colspan="1">Fan speed</td>
<td colspan="3"><span id="status-fan-speed">??</span>%</td>
</tr>
</table>
</div>
</div>
</div>
<!-- DryBox status END -->
</div>
<!-- Left column END -->
<!-- Right column -->
<div class="col-lg-5 col-md-5 col-sm-5 offset-lg-1">
<div class="row">
<!-- DryBox control -->
<div class="col-lg-12">
<h2>Control</h2>
</div>
<!-- DryBox control END -->
<div class="col-lg-12">
<legend>Temperature</legend>
<fieldset class="form-group">
<label for="labelSetTemperature">Target temperature: 25°C</label>
<div class="float-right">
<a href="#" id="pop-temp"><img src="img/help.png" /></a>
</div>
<input type="range" class="custom-range" id="sliderTemperature" min="15" max="80" step="1" value="25" />
</fieldset>
<legend>Fan speed</legend>
<fieldset class="form-group">
<label for="labelSetFanSpeed">Fan speed: 50%</label>
<div class="float-right">
<a href="#" id="pop-fan"><img src="img/help.png" /></a>
</div>
<input type="range" class="custom-range" id="sliderFanSpeed" min="0" max="100" step="5" value="50" />
</fieldset>
<legend>Max Heater Temperature</legend>
<fieldset class="form-group">
<label for="labelSetHeaterTemperature">Max heater temperature: 55°C</label>
<div class="float-right">
<a href="#" id="pop-heater"><img src="img/help.png" /></a>
</div>
<input type="range" class="custom-range" id="sliderHeaterTemperature" min="30" max="80" step="1" value="55" />
</fieldset>
</div>
<div class="col-lg-12">
<div class="btn-group btn-group-md mr-2" role="group">
<button type="button" id="btnSet" class="btn btn-primary mr-2"><i class="fas fa-fire"></i> Turn ON</button>
<button type="button" id="btnTurnOff" class="btn btn-primary"><i class="fas fa-power-off"></i> Turn OFF</button>
</div>
</div>
</div>
</div>
<!-- Right column END -->
</div>
<!-- Content - First row END -->
</div>
<!-- Container END -->
<!-- FOOTER -->
<footer class="w-100 py-2 flex-shrink-0 mt-auto dark-bg">
<div class="container py-2">
<div class="row gy-4 gx-5">
<div class="col-lg-6 col-md-6">
<p class="small text-muted">
Dry box controller by <a href="https://SasaKaranovic.com/" target="_blank">Saša Karanović</a><br>
Released as open-source and open-hardware for you to hack and enjoy! :)<br>
</p>
</div>
<div class="col-lg-6 col-md-6">
<a class="m-2" href="https://sasakaranovic.com/" target="_blank"><i class="fas fa-home"></i> Blog</a>
<a class="m-2" href="https://youtube.com/c/sasakaranovic" target="_blank"><i class="fab fa-youtube"></i> YouTube</a>
<a class="m-2" href="https://twitter.com/_sasakaranovic_" target="_blank"><i class="fab fa-twitter"></i> Twitter</a>
<a class="m-2" href="https://github.com/sasakaranovic" target="_blank"><i class="fab fa-github"></i> GitHub</a>
<a class="m-2" href="https://buymeacoffee.com/sasakaranovic" target="_blank"><i class="fas fa-mug-hot"></i> Buy me a coffee</a>
</div>
</div>
</div>
</footer>
<script src="js/jquery-3.6.0.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/drybox.js"></script>
</body>
</html>
File diff suppressed because one or more lines are too long
+144
View File
@@ -0,0 +1,144 @@
// Shorthand for $( document ).ready()
$(function() {
$('#sliderTemperature').on('input change', function(){
$("label[for='labelSetTemperature']").text("Target temperature: " + parseInt(this.value) +"°C");
});
$('#sliderHeaterTemperature').on('input change', function(){
$("label[for='labelSetHeaterTemperature']").text("Max heater temperature: " + parseInt(this.value) +"°C");
});
$('#sliderFanSpeed').on('input change', function(){
$("label[for='labelSetFanSpeed']").text("Fan speed: " + parseInt(this.value) +"%");
});
$('#btnSet').on('click', function(){
var temperature = $("#sliderTemperature").val();
var heater = $("#sliderHeaterTemperature").val();
var fanspeed = $("#sliderFanSpeed").val();
// Send
$.ajax({
url: "/set",
type: "get", //send it through get method
data: {
temperature: temperature,
heater: heater,
fanspeed: fanspeed,
},
success: function(response) {
//Do Something
console.log(response);
update_status(false);
},
error: function(xhr) {
//Do Something to handle error
}
});
});
$('#btnTurnOff').on('click', function(){
// Send
$.ajax({
url: "/off",
type: "get", //send it through get method
success: function(response) {
console.log(response);
update_status(false);
},
error: function(xhr) {
//Do Something to handle error
}
});
});
$('a#pop-temp').popover({
trigger : 'click',
placement : 'top',
html: true,
title : 'Target Temperature',
content : 'This is the maximum/desired temperature we want inside the box.<br>\
The system will try to reach and then maintain this temperature.',
});
$('a#pop-fan').popover({
trigger : 'click',
placement : 'top',
html: true,
title : 'Fan speed',
content : 'Set the speed of the internal fan used to circulate the air inside the dry box.<br><br>\
0% = Off<br>\
50% = 50% of fan\'s maximum RPM<br>\
100% = Full speed',
});
$('a#pop-heater').popover({
trigger : 'click',
placement : 'top',
html: true,
title : 'Max heater temperature',
content : 'Maximum allowed temerature heater can reach.<br>This limit should be set to avoid damage to your filament or the box/heater itself.<br>\
For example; Let\'s say that your heater could reach max temperature of 150°C. However this could start to melt your filament, melt the dry box or start a fire.<br>\
In order to avoid this, we set a heater temperature limit to make sure heater never passes this set temperature during normal operation.<br>\
This limit will also affect how long it takes to reach target temperature.',
});
// Finally update status
update_status(true);
});
function update_status(rearm)
{
var ajaxTime= new Date().getTime();
$.ajax({
url: "/status",
type: "get", //send it through get method
success: function(response) {
console.log(response);
var res = jQuery.parseJSON(response);
$('#status-temp-target').text(res.target_temp_in);
$('#status-fan-speed').text(res.fan_speed);
$('#status-temp-inside').text(res.temp_in.toFixed(1));
$('#status-temp-inside2').text(res.temp_in.toFixed(1));
$('#status-temp-inside-target').text(res.target_temp_in.toFixed(1));
$('#status-temp-heater').text(res.temp_heater.toFixed(0));
$('#status-temp-heater-max').text(res.max_temp_heater.toFixed(0));
$('#status-humidity-inside').text(res.humid_in.toFixed(0));
$('#status-temp-outside').text(res.temp_out.toFixed(0));
$('#status-humidity-outside').text(res.humid_out.toFixed(0));
// Homed status
if(res.status == 1) {
$('#status-box').text('Dry box is on').addClass('badge-success').removeClass('badge-warning').removeClass('badge-danger');
}
else {
$('#status-box').text('Dry box is off').addClass('badge-warning').removeClass('badge-success').removeClass('badge-danger');
}
},
error: function(xhr) {
$('#status-box').text('Dry box is unreachable!').addClass('badge-danger').removeClass('badge-success').removeClass('badge-warning');
}
}).done(function () {
var totalTime = new Date().getTime()-ajaxTime;
// Here I want to get the how long it took to load some.php and use it further
});;
if(rearm) {
rearm_status();
}
}
function rearm_status()
{
setTimeout(function () {
update_status(true);
}, 2000);
}
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
+32
View File
@@ -0,0 +1,32 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = esp32dev
[env:esp32dev]
framework = arduino
platform = espressif32
board = esp32dev
board_build.partitions = noota_3g.csv
upload_protocol = esptool
Monitor_speed = 115200
lib_deps=
SPI
SPIFFS
FS
WiFi
Adafruit SHT31 Library
Adafruit Si7021 Library
ESP Async WebServer
me-no-dev/AsyncTCP
DallasTemperature
PaulStoffregen/OneWire
+58
View File
@@ -0,0 +1,58 @@
#ifndef _DIY_DRYBOX_CFG_H_
#define _DIY_DRYBOX_CFG_H_
// clang-format off
#define MDNS_NAME "drybox"
#define PIN_ONE_WIRE_BUS 18
#define PIN_HEATER_CTL 16
#define PIN_FAN_PWM 17
#define PIN_FAN_TACHO 5
#define PIN_LED_RED 27
#define PIN_LED_GREEN 14
#define PIN_LED_BLUE 12
#define LED_ON(x) do{digitalWrite(x, LOW);}while(0)
#define LED_OFF(x) do{digitalWrite(x, HIGH);}while(0)
#define LED_ALL_OFF() do{digitalWrite(PIN_LED_RED, HIGH);\
digitalWrite(PIN_LED_GREEN, HIGH);\
digitalWrite(PIN_LED_BLUE, HIGH); }while(0)
#define LED_ALL_ON() do{digitalWrite(PIN_LED_RED, LOW);\
digitalWrite(PIN_LED_GREEN, LOW);\
digitalWrite(PIN_LED_BLUE, LOW); }while(0)
#define LED_STATUS_WIFI PIN_LED_GREEN
#define LED_STATUS_HEATER PIN_LED_RED
#define PID_SAMPLES 5
#define PID_TEMP_PROXIMITY 5
#define PID_KP 65
#define PID_KI 81
#define PID_KD 50
#define PWM_HEATER_INVERT_VALUES 1
#define PWM_FREQ_HEATER 500
#define PWM_FREQ_FAN 25000
#define PWM_RESOLUTION 10
#define PWM_MAX_VALUE 1024L
#define HEATER_DUTY_OFF 0
#define HEATER_PWM_OFF PWM_MAX_VALUE
#define PWM_CH_HEATER 0
#define PWM_CH_FAN 2
#define TEMPERATURE_PRECISION 10
#define LIMIT_TEMP_IN_MIN 20
#define LIMIT_TEMP_IN_MAX 70
#define LIMIT_TEMP_HEATER_MIN 20
#define LIMIT_TEMP_HEATER_MAX 75
#define LIMIT_FAN_SPEED_MIN 0
#define LIMIT_FAN_SPEED_MAX 100
#define WIFI_CHECK_CONNECTION_MS 10000
#define DEF_USE_WEB 1
#define DEF_DEBUG_CALIBRATE_ADC 0
#define DEF_DEBUG_PID 0
#define DEF_DEBUG_HETER_SAMPLES 0
#define DEF_DEBUG_SENSOR_SAMPLES 0
#define DEF_DEBUG_PWM_VALUES 0
#define DEF_DEUG_SPIFFS 0
// clang-format on
#endif
+640
View File
@@ -0,0 +1,640 @@
#include "Adafruit_SHT31.h"
#include "Adafruit_Si7021.h"
#include "ESPAsyncWebServer.h"
#include "SPIFFS.h"
#include "WiFi.h"
#include <DallasTemperature.h>
#include <ESPmDNS.h>
#include <OneWire.h>
#include <Wire.h>
// Local import
#include "config.h"
#include "wifi_credentials.h"
OneWire oneWire(PIN_ONE_WIRE_BUS);
DallasTemperature oneWireSensors(&oneWire);
DeviceAddress heaterSensor;
AsyncWebServer server(80);
int WiFi_status = WL_IDLE_STATUS;
Adafruit_SHT31 temp_sensor_in = Adafruit_SHT31();
Adafruit_Si7021 temp_sensor_out = Adafruit_Si7021();
float temperature_samples_in[PID_SAMPLES] = {0};
float temperature_samples_heater[PID_SAMPLES] = {0};
uint8_t ts_pos = 0;
float target_temperature_in = 0.0;
float max_temperature_heater = 0.0;
float target_fan_percent = 10.0;
uint8_t box_status = 0;
float temperature_in = 0;
float temperature_out = 0;
float temperature_heater = 0;
float humidity_in = 0;
uint8_t fan_duty = 0;
uint8_t humidity_out = 0;
unsigned long wifi_tick_previous = 0;
unsigned long pid_first_millis = 0;
unsigned long pid_last_millis = 0;
void setup()
{
Serial.begin(115200);
Serial.println("Setting up GPIO");
pinMode(PIN_HEATER_CTL, OUTPUT);
pinMode(PIN_FAN_PWM, OUTPUT);
pinMode(PIN_LED_RED, OUTPUT);
pinMode(PIN_LED_GREEN, OUTPUT);
pinMode(PIN_LED_BLUE, OUTPUT);
LED_OFF(PIN_LED_RED);
LED_OFF(PIN_LED_GREEN);
LED_ON(PIN_LED_BLUE);
// Heater PWM -- Make sure heater is initially OFF
ledcSetup(PWM_CH_HEATER, PWM_FREQ_HEATER, PWM_RESOLUTION);
ledcAttachPin(PIN_HEATER_CTL, PWM_CH_HEATER);
ledcWrite(PWM_CH_HEATER, HEATER_PWM_OFF);
// FAN PW -- Make sure FAN PWM is set to maximum (fan OFF)
ledcSetup(PWM_CH_FAN, PWM_FREQ_FAN, PWM_RESOLUTION);
ledcAttachPin(PIN_FAN_PWM, PWM_CH_FAN);
ledcWrite(PWM_CH_FAN, PWM_MAX_VALUE);
// Setup temperature and humidity oneWireSensors
if (!temp_sensor_out.begin())
{
Serial.println("Can't find Si7021 sensor! (out sensor)");
LED_ALL_OFF();
while (1)
{
LED_ON(PIN_LED_BLUE);
delay(250);
LED_OFF(PIN_LED_BLUE);
delay(250);
}
}
Wire.setClock(10000);
if (!temp_sensor_in.begin(0x44))
{
Serial.println("Can't find SHT31! (in sensor)");
LED_ALL_OFF();
while (1)
{
LED_ON(PIN_LED_GREEN);
delay(250);
LED_OFF(PIN_LED_GREEN);
delay(250);
}
}
oneWireSensors.begin();
if (!oneWireSensors.getAddress(heaterSensor, 0))
{
Serial.println("Unable to find address for Device 0 (heater sensor)");
while (1)
{
LED_ON(PIN_LED_RED);
delay(250);
LED_OFF(PIN_LED_RED);
delay(250);
}
}
// set the resolution to 9 bit (Each Dallas/Maxim device is capable of
// several different resolutions)
oneWireSensors.setResolution(heaterSensor, TEMPERATURE_PRECISION);
#if DEF_USE_WEB
delay(1000);
// Connect to WiFi
Serial.print("Connecting to SSID: ");
Serial.println(ssid);
while (WiFi_status != WL_CONNECTED)
{
Serial.print(".");
WiFi_status = WiFi.begin(ssid, password);
// wait 5 seconds and check again
delay(5000);
}
Serial.println("");
if (!MDNS.begin(MDNS_NAME))
{
Serial.println("Error starting mDNS");
}
else
{
Serial.println((String) "mDNS http://" + MDNS_NAME + ".local");
}
// Initialize SPIFFS
if (!SPIFFS.begin(true))
{
Serial.println("An Error has occurred while mounting SPIFFS");
while (1)
{
LED_ON(PIN_LED_RED);
delay(500);
LED_OFF(PIN_LED_RED);
delay(500);
}
}
Serial.print("WiFi IP: ");
Serial.println(WiFi.localIP());
setupWebServer();
server.begin();
#if DEF_DEUG_SPIFFS
debug_spiffs_files();
#endif
#endif
Serial.println("Ready to go.");
LED_OFF(PIN_LED_BLUE);
}
//
// ** Main loop **
//
void loop()
{
// Sample temperature and humidity from all available sensors
if (!readHeaterTemperature(&temperature_heater))
{
// Handle heater sensor error
Serial.println("Failed to read heater temperature!");
}
sample_sens_in_and_out();
// Debug
#if DEF_DEBUG_HETER_SAMPLES
Serial.println((String)temperature_in + "\t" + temperature_heater + "\t" +
target_temperature_in);
#endif
// Check if we have WiFi connection, if not try to reconnect
check_wifi_connection();
// Dry box is active
if (box_status)
{
LED_ON(LED_STATUS_HEATER);
// Sample temperature values
if (sample_temperatures(temperature_in, temperature_heater))
{
// Recalculate PWM value for the heater
heater_recalc_pwm();
}
}
// Drybox is off. Turn/Keep off the heater
else
{
LED_OFF(LED_STATUS_HEATER);
set_heater_duty(HEATER_DUTY_OFF);
}
}
void debug_spiffs_files(void)
{
File root = SPIFFS.open("/");
File file = root.openNextFile();
while (file)
{
Serial.print("FILE: ");
Serial.println(file.name());
file = root.openNextFile();
}
}
void sample_sens_in_and_out(void)
{
float tmp_temp = 0.0;
float tmp_humid = 0.0;
uint8_t i = 5;
while (i--)
{
tmp_temp = temp_sensor_out.readTemperature();
// delay(5);
tmp_humid = temp_sensor_out.readHumidity();
if (!isnan(tmp_temp) && !isnan(tmp_humid))
{
break;
}
delay(50);
}
// Make sure final values are valid
if (!isnan(tmp_temp) && !isnan(tmp_humid))
{
temperature_out = tmp_temp;
humidity_out = tmp_humid;
#if DEF_DEBUG_SENSOR_SAMPLES
Serial.println((String) "TempOut:" + temperature_out +
" - HumidOut:" + humidity_out);
#endif
}
// Otherwise we have a problem
else
{
Serial.println("Out sensor: I2C error!");
}
// Read SHT temperature and humidity
while (i--)
{
tmp_temp = temp_sensor_in.readTemperature();
// delay(5);
tmp_humid = temp_sensor_in.readHumidity();
if (!isnan(tmp_temp) && !isnan(tmp_humid))
{
break;
}
delay(50);
}
// Make sure final values are valid
if (!isnan(tmp_temp) && !isnan(tmp_humid))
{
temperature_in = tmp_temp;
humidity_in = tmp_humid;
#if DEF_DEBUG_SENSOR_SAMPLES
Serial.println((String) "TempIn:" + temperature_in +
" - HumidIn:" + humidity_in);
#endif
}
// Otherwise we have a problem
else
{
Serial.println("In sensor: I2C error!");
}
}
bool readHeaterTemperature(float *fpTemp)
{
float tempC;
uint8_t i = 5;
while (i--)
{
oneWireSensors.requestTemperatures();
delay(20);
tempC = oneWireSensors.getTempC(heaterSensor);
if (tempC != DEVICE_DISCONNECTED_C)
{
*fpTemp = tempC;
#if DEF_DEBUG_SENSOR_SAMPLES
Serial.print("Temp C: ");
Serial.println(tempC);
#endif
return true;
}
else
{
#if DEF_DEBUG_SENSOR_SAMPLES
Serial.println((String) "Heater sensor fault: " + tempC);
#endif
}
delay(20);
}
return false;
}
void set_fan_duty(uint8_t duty)
{
if (duty > 100)
{
duty = 100;
}
fan_duty = duty;
uint32_t pwm_raw_fan = ((PWM_MAX_VALUE * (100 - duty)) / 100.0);
#if DEF_DEBUG_PWM_VALUES
Serial.println((String) "Setting fan to " + pwm_raw_fan);
#endif
ledcWrite(PWM_CH_FAN, pwm_raw_fan);
}
void set_heater_duty(uint8_t duty)
{
uint32_t pwm_raw_heater = 0;
if (duty > 100)
{
duty = 100;
}
pwm_raw_heater = ((PWM_MAX_VALUE * duty) / 100.0);
#if DEF_DEBUG_PWM_VALUES
Serial.println((String) "Setting heater duty " + duty + "%");
#endif
set_heater_pwm(pwm_raw_heater);
}
void set_heater_pwm(uint32_t pwm)
{
if (pwm > PWM_MAX_VALUE)
{
pwm = PWM_MAX_VALUE;
}
#if PWM_HEATER_INVERT_VALUES
pwm = PWM_MAX_VALUE - pwm;
#endif
#if DEF_DEBUG_PWM_VALUES
Serial.println((String) "set_heater_duty: " + pwm + "/" + PWM_MAX_VALUE);
#endif
ledcWrite(PWM_CH_HEATER, pwm);
}
bool sample_temperatures(float in, float heater)
{
temperature_samples_in[ts_pos] = in;
temperature_samples_heater[ts_pos] = heater;
ts_pos++;
if (ts_pos == 0)
{
// Record milliseconds of our first sample
pid_first_millis = millis();
}
if (ts_pos >= PID_SAMPLES)
{
pid_last_millis = millis();
ts_pos = 0;
return true;
}
else
{
return false;
}
}
void heater_recalc_pwm(void)
{
// We are using a simple PID-like control loop to calculate PWM value for a
// heater Heater is heating up our box to a target temperature and keeping
// it steady after/if that temperature is reached. At the same time we have
// to ensure heater does not go beyond our "safe" temperature and start
// damaging itself/fillament/cables/enclosure etc.
//
// As a simple solution, we will use the following flow
// 1. Check if heater temperature is higher or equal to the maximum set
// heater temperature
// - if True, use heater max temperature as the target for our PID
// controller
// - if False, use enclosure maximum temperature as the target for
// our PID controller
float average = 0;
float pid_del_p;
float pid_del_i;
float pid_del_d;
int32_t pid_val_p;
int32_t pid_val_i;
int32_t pid_val_d;
int32_t pwm_val;
float pid_target_temperature = 0.0;
float pid_temperature = 0.0;
float pid_temperature_previous = 0.0;
unsigned long pid_time_diff;
// Make sure values are valid
if (isnan(temperature_heater))
{
Serial.println("Invalid temperature values");
Serial.println((String) "temp_heater:" + temperature_heater);
Serial.println((String) "target_temperature_in:" +
target_temperature_in);
set_heater_duty(HEATER_DUTY_OFF);
return;
}
// Inside temperature has NOT reached the target temperature
// However, heater temperature is approaching it's maximum allowed
// temperature. Then, regulate heater max temperature
if ((temperature_heater >= (max_temperature_heater - PID_TEMP_PROXIMITY)) &&
(temperature_in < target_temperature_in))
{
Serial.println("Using HEATER temperature as target.");
for (uint8_t i = 0; i < PID_SAMPLES; i++)
{
average += temperature_samples_heater[i];
}
average = average / PID_SAMPLES;
pid_target_temperature = max_temperature_heater;
pid_temperature = temperature_heater;
pid_temperature_previous = temperature_samples_heater[PID_SAMPLES - 1];
}
// Heater is not close to it's maximum allowed temperature
// Or, inside temperature has already reached the target value
else
{
Serial.println("Using IN temperature as target.");
for (uint8_t i = 0; i < PID_SAMPLES; i++)
{
average += temperature_samples_in[i];
}
average = average / PID_SAMPLES;
pid_target_temperature = target_temperature_in;
pid_temperature = temperature_in;
pid_temperature_previous = temperature_samples_in[PID_SAMPLES - 1];
}
// P
pid_del_p = pid_target_temperature - pid_temperature;
pid_val_p = (uint32_t)(pid_del_p)*PID_KP;
// I
pid_del_i = pid_target_temperature - average;
pid_val_i = (uint32_t)(pid_del_i)*PID_KI;
// D
pid_del_d = pid_target_temperature - pid_temperature_previous;
pid_time_diff = pid_last_millis - pid_first_millis;
if (pid_time_diff > 0)
{
pid_val_d = (uint32_t)(pid_del_d) / pid_time_diff;
pid_val_d = (uint32_t)(pid_val_d)*PID_KD;
}
else
{
pid_val_d = 0;
}
// P + I + D
pwm_val = pid_val_p + pid_val_i + pid_val_d;
#if DEF_DEBUG_PID
Serial.println((String) "Pd: " + pid_del_p);
Serial.println((String) "Pv: " + pid_val_p);
// Serial.println((String)"Ia: "+ sum);
Serial.println((String) "Id: " + pid_del_i);
Serial.println((String) "Iv: " + pid_val_i);
Serial.println((String) "Dd: " + pid_del_d);
Serial.println((String) "Dv: " + pid_val_d);
Serial.println((String) "Calc PWM val: " + pwm_val);
#endif
if (pwm_val > PWM_MAX_VALUE)
{
pwm_val = PWM_MAX_VALUE;
}
else if (pwm_val < 0)
{
pwm_val = 0;
}
#if DEF_DEBUG_PID
Serial.println((String) "New PWM val: " + pwm_val);
#endif
set_heater_pwm(pwm_val);
}
void setupWebServer(void)
{
server.onNotFound([](AsyncWebServerRequest *request) {
Serial.println("404:");
Serial.println(request->url());
request->send(404);
});
// // send a file when /index is requested
server.on("/index.html", HTTP_ANY, [](AsyncWebServerRequest *request) {
request->send(SPIFFS, "/index.html");
});
// send a file when /index is requested
server.on("/", HTTP_ANY, [](AsyncWebServerRequest *request) {
request->send(SPIFFS, "/index.html");
});
server.serveStatic("/img/", SPIFFS, "/img/");
server.serveStatic("/css/", SPIFFS, "/css/");
server.serveStatic("/js/", SPIFFS, "/js/");
server.serveStatic("/webfonts/", SPIFFS, "/webfonts/");
// Get dry box status
server.on("/status", HTTP_GET, [](AsyncWebServerRequest *request) {
char buff[200] = {0};
int len;
len =
snprintf(buff, 200,
"{\"status\":%d, \"target_temp_in\":%f, "
"\"max_temp_heater\":%f, "
"\"temp_in\":%f, \"temp_heater\":%f, \"humid_in\":%f, "
"\"fan_speed\":%d, \"temp_out\":%f, \"humid_out\":%d}",
box_status, target_temperature_in, max_temperature_heater,
temperature_in, temperature_heater, humidity_in, fan_duty,
temperature_out, humidity_out);
if (len)
{
request->send(200, "text/plain", buff);
}
else
{
request->send(500, "text/plain",
"{\"status\": \"Internal server error\"}");
}
});
// Turn OFF dry box
server.on("/off", HTTP_GET, [](AsyncWebServerRequest *request) {
box_status = 0;
set_fan_duty(0);
set_heater_duty(HEATER_DUTY_OFF);
target_temperature_in = 0;
max_temperature_heater = 0;
request->send(200, "text/plain", "{\"status\": \"OK\"}");
});
// Turn ON dry box and set target temperature, max heater temperature and fan speed
server.on("/set", HTTP_GET, [](AsyncWebServerRequest *request) {
// Check if temperature, heater temperature and fan speed arguments are present
if (request->hasParam("temperature") && request->hasParam("heater") &&
request->hasParam("fanspeed"))
{
String str_temperature;
String str_heater;
String str_fanspeed;
int32_t temperature = 0;
int32_t heater = 0;
int32_t fanspeed = 0;
str_temperature = request->getParam("temperature")->value();
temperature = str_temperature.toInt();
str_heater = request->getParam("heater")->value();
heater = str_heater.toInt();
str_fanspeed = request->getParam("fanspeed")->value();
fanspeed = str_fanspeed.toInt();
#if DEF_DEUG_WEB_API
Serial.println((String) "Target temp: " + temperature +
"C Heater: " + heater + "C Fan Speed: " + fanspeed);
#endif
// Check drybox temperature and heater temperature limit
if ( (temperature <= LIMIT_TEMP_IN_MAX) && (heater <= LIMIT_TEMP_HEATER_MAX) )
{
target_temperature_in = temperature;
max_temperature_heater = heater;
set_fan_duty(fanspeed);
box_status = 1;
request->send(200, "text/plain", "{\"status\": \"OK\"}");
return;
}
// If either of them are out of range, return bad request status
else
{
request->send(400, "text/plain", "{\"status\": \"Bad request. Limit error!\"}");
return;
}
}
// Not all arguments are present in the request
else
{
request->send(400, "text/plain", "{\"status\": \"Bad request\"}");
return;
}
});
}
void check_wifi_connection(void)
{
unsigned long currentMillis = millis();
// Check WiFi status every WIFI_CHECK_CONNECTION_MS miliseconds
if ((currentMillis - wifi_tick_previous) >= WIFI_CHECK_CONNECTION_MS)
{
if (WiFi.status() == WL_CONNECTED)
{
LED_ON(LED_STATUS_WIFI);
LED_OFF(PIN_LED_BLUE);
}
else
{
LED_OFF(LED_STATUS_WIFI);
LED_ON(PIN_LED_BLUE);
Serial.println("Reconnecting to WiFi...");
WiFi.disconnect();
WiFi.reconnect();
}
wifi_tick_previous = currentMillis;
}
}
@@ -0,0 +1,7 @@
#ifndef __WIFI_CRED_CFG_
#define __WIFI_CRED_CFG_
// clang-format off
const char* ssid = "Your-WiFi";
const char* password = "wifi-password";
// clang-format on
#endif
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
+300
View File
@@ -0,0 +1,300 @@
[OutputJobFile]
Version=1.0
Caption=
Description=
VaultGUID=
ItemGUID=
ItemHRID=
RevisionGUID=
RevisionId=
VaultHRID=
AutoItemHRID=
NextRevId=
FolderGUID=
LifeCycleDefinitionGUID=
RevisionNamingSchemeGUID=
[OutputGroup1]
Name=MFGOutput.OutJob
Description=
TargetOutputMedium=PDF
VariantName=[No Variations]
VariantScope=1
CurrentConfigurationName=
TargetPrinter=Virtual Printer
PrinterOptions=Record=PrinterOptions|Copies=1|Duplex=1|TrueTypeOptions=3|Collate=1|PrintJobKind=1|PrintWhat=1
OutputMedium1=Print Job
OutputMedium1_Type=Printer
OutputMedium1_Printer=
OutputMedium1_PrinterOptions=Record=PrinterOptions|Copies=1|Duplex=1|TrueTypeOptions=3|Collate=1|PrintJobKind=1|PrintWhat=1
OutputMedium2=PDF
OutputMedium2_Type=Publish
OutputMedium3=Folder Structure
OutputMedium3_Type=GeneratedFiles
OutputMedium4=Video
OutputMedium4_Type=Multimedia
OutputType1=Schematic Print
OutputName1=Schematic Prints
OutputCategory1=Documentation
OutputDocumentPath1=[Project Physical Documents]
OutputVariantName1=
OutputEnabled1=1
OutputEnabled1_OutputMedium1=0
OutputEnabled1_OutputMedium2=1
OutputEnabled1_OutputMedium3=0
OutputEnabled1_OutputMedium4=0
OutputDefault1=0
PageOptions1=Record=PageOptions|CenterHorizontal=True|CenterVertical=True|PrintScale=1.00|XCorrection=1.00|YCorrection=1.00|PrintKind=0|BorderSize=5000000|LeftOffset=0|BottomOffset=0|Orientation=2|PaperLength=1000|PaperWidth=1000|Scale=100|PaperSource=7|PrintQuality=-3|MediaType=1|DitherType=10|PrintScaleMode=1|PaperKind=A4|PaperIndex=9
Configuration1_Name1=OutputConfigurationParameter1
Configuration1_Item1=Record=SchPrintView|ShowNoERC=True|ShowParamSet=True|ShowProbe=True|ShowBlanket=True|NoERCSymbolsToShow="Thin Cross","Thick Cross","Small Cross",Checkbox,Triangle|ShowNote=True|ShowNoteCollapsed=True|ShowOpenEnds=True|ExpandDesignator=True|ExpandNetLabel=False|ExpandPort=False|ExpandSheetNum=False|ExpandDocNum=False|PrintArea=0|PrintAreaRect.X1=0|PrintAreaRect.Y1=0|PrintAreaRect.X2=0|PrintAreaRect.Y2=0|DocumentPath=[Project Physical Documents]
OutputType2=Pick Place
OutputName2=Generates pick and place files
OutputCategory2=Assembly
OutputDocumentPath2=
OutputVariantName2=
OutputEnabled2=0
OutputEnabled2_OutputMedium1=0
OutputEnabled2_OutputMedium2=0
OutputEnabled2_OutputMedium3=1
OutputEnabled2_OutputMedium4=0
OutputDefault2=0
Configuration2_Name1=OutputConfigurationParameter1
Configuration2_Item1=Record=PickPlaceView|Units=Imperial|GenerateCSVFormat=False|GenerateTextFormat=True|ShowUnits=True|Separator=.|ExcludeFilterParam=False|IncludeVariations=False|Filter= |FilterActive=False|Column#1=Name:Designator,Fixed:True,Metric:False,Visible:True,Sort:None,Position:0|Column#2=Name:Comment,Fixed:True,Metric:False,Visible:True,Sort:None,Position:1|Column#3=Name:Layer,Fixed:True,Metric:False,Visible:True,Sort:None,Position:2|Column#4=Name:Footprint,Fixed:True,Metric:False,Visible:True,Sort:None,Position:3|Column#5=Name:Footprint Description,Fixed:True,Metric:False,Visible:False,Sort:None,Position:4|Column#6=Name:Center-X,Fixed:True,Metric:True,Visible:True,Sort:None,Position:5|Column#7=Name:Center-Y,Fixed:True,Metric:True,Visible:True,Sort:None,Position:6|Column#8=Name:Rotation,Fixed:True,Metric:False,Visible:True,Sort:None,Position:7|Column#9=Name:Description,Fixed:True,Metric:False,Visible:True,Sort:None,Position:8|Column#10=Name:ComponentKind,Fixed:True,Metric:False,Visible:False,Sort:None,Position:9|Column#11=Name:Height,Fixed:True,Metric:True,Visible:False,Sort:None,Position:10|Column#12=Name:Ref-X,Fixed:True,Metric:True,Visible:False,Sort:None,Position:11|Column#13=Name:Ref-Y,Fixed:True,Metric:True,Visible:False,Sort:None,Position:12|Column#14=Name:Pad-X,Fixed:True,Metric:True,Visible:False,Sort:None,Position:13|Column#15=Name:Pad-Y,Fixed:True,Metric:True,Visible:False,Sort:None,Position:14|Column#16=Name:Variation,Fixed:True,Metric:False,Visible:False,Sort:None,Position:15|Column#17=Name:Published,Fixed:False,Metric:False,Visible:False,Sort:None,Position:24|Column#18=Name:LatestRevisionDate,Fixed:False,Metric:False,Visible:False,Sort:None,Position:18|Column#19=Name:PackageReference,Fixed:False,Metric:False,Visible:False,Sort:None,Position:23|Column#20=Name:Value,Fixed:False,Metric:False,Visible:False,Sort:None,Position:26|Column#21=Name:Publisher,Fixed:False,Metric:False,Visible:False,Sort:None,Position:25|Column#22=Name:Distributor Part Number,Fixed:False,Metric:False,Visible:False,Sort:None,Position:17|Column#23=Name:PackageDescription,Fixed:False,Metric:False,Visible:False,Sort:None,Position:22|Column#24=Name:LatestRevisionNote,Fixed:False,Metric:False,Visible:False,Sort:None,Position:19|Column#25=Name:Distributor,Fixed:False,Metric:False,Visible:False,Sort:None,Position:16|Column#26=Name:Manufacturer,Fixed:False,Metric:False,Visible:False,Sort:None,Position:20|Column#27=Name:Manufacturer Part Number,Fixed:False,Metric:False,Visible:False,Sort:None,Position:21|DocumentPath=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\EINK_Breakout.PcbDoc
OutputType3=Assembly
OutputName3=Assembly Drawings
OutputCategory3=Assembly
OutputDocumentPath3=
OutputVariantName3=
OutputEnabled3=0
OutputEnabled3_OutputMedium1=0
OutputEnabled3_OutputMedium2=0
OutputEnabled3_OutputMedium3=0
OutputEnabled3_OutputMedium4=0
OutputDefault3=0
PageOptions3=Record=PageOptions|CenterHorizontal=True|CenterVertical=True|PrintScale=1.00|XCorrection=1.00|YCorrection=1.00|PrintKind=0|BorderSize=5000000|LeftOffset=0|BottomOffset=0|Orientation=2|PaperLength=1000|PaperWidth=1000|Scale=100|PaperSource=7|PrintQuality=-3|MediaType=1|DitherType=10|PrintScaleMode=0|PaperKind=A4|PaperIndex=9
Configuration3_Name1=OutputConfigurationParameter1
Configuration3_Item1=DesignatorDisplayMode=Physical|PrintArea=DesignExtent|PrintAreaLowerLeftCornerX=0|PrintAreaLowerLeftCornerY=0|PrintAreaUpperRightCornerX=0|PrintAreaUpperRightCornerY=0|Record=PcbPrintView
Configuration3_Name2=OutputConfigurationParameter2
Configuration3_Item2=IncludeBottomLayerComponents=True|IncludeMultiLayerComponents=True|IncludeTopLayerComponents=True|IncludeViewports=True|Index=0|Mirror=False|Name=Top LayerAssembly Drawing|PadNumberFontSize=14|Record=PcbPrintOut|ShowHoles=False|ShowPadNets=False|ShowPadNumbers=False|SubstituteFonts=False
Configuration3_Name3=OutputConfigurationParameter3
Configuration3_Item3=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Hidden|FFill=Hidden|FPad=Hidden|FRegion=Hidden|FText=Hidden|FTrack=Hidden|FVia=Hidden|Layer=TopLayer|Polygon=Hidden|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name4=OutputConfigurationParameter4
Configuration3_Item4=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=TopOverlay|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name5=OutputConfigurationParameter5
Configuration3_Item5=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Hidden|Layer=MultiLayer|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name6=OutputConfigurationParameter6
Configuration3_Item6=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=KeepOutLayer|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name7=OutputConfigurationParameter7
Configuration3_Item7=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical1|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name8=OutputConfigurationParameter8
Configuration3_Item8=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=DrillDrawing|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name9=OutputConfigurationParameter9
Configuration3_Item9=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical13|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name10=OutputConfigurationParameter10
Configuration3_Item10=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical15|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration3_Name11=OutputConfigurationParameter11
Configuration3_Item11=IncludeBottomLayerComponents=True|IncludeMultiLayerComponents=True|IncludeTopLayerComponents=True|IncludeViewports=True|Index=1|Mirror=False|Name=Bottom LayerAssembly Drawing|PadNumberFontSize=14|Record=PcbPrintOut|ShowHoles=False|ShowPadNets=False|ShowPadNumbers=False|SubstituteFonts=False
Configuration3_Name12=OutputConfigurationParameter12
Configuration3_Item12=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Hidden|FFill=Hidden|FPad=Hidden|FRegion=Hidden|FText=Hidden|FTrack=Hidden|FVia=Hidden|Layer=BottomLayer|Polygon=Hidden|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name13=OutputConfigurationParameter13
Configuration3_Item13=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=KeepOutLayer|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name14=OutputConfigurationParameter14
Configuration3_Item14=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=BottomOverlay|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name15=OutputConfigurationParameter15
Configuration3_Item15=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=DrillDrawing|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name16=OutputConfigurationParameter16
Configuration3_Item16=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Hidden|Layer=MultiLayer|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name17=OutputConfigurationParameter17
Configuration3_Item17=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical1|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name18=OutputConfigurationParameter18
Configuration3_Item18=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical13|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration3_Name19=OutputConfigurationParameter19
Configuration3_Item19=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical15|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
PcbPrintPreferences3=
OutputType4=Gerber
OutputName4=Gerber Files
OutputCategory4=Fabrication
OutputDocumentPath4=
OutputVariantName4=
OutputEnabled4=0
OutputEnabled4_OutputMedium1=0
OutputEnabled4_OutputMedium2=0
OutputEnabled4_OutputMedium3=2
OutputEnabled4_OutputMedium4=0
OutputDefault4=0
Configuration4_Name1=OutputConfigurationParameter1
Configuration4_Item1=AddToAllLayerClasses.Set= |AddToAllPlots.Set=SerializeLayerHash.Version~2,ClassName~TLayerToBoolean|CentrePlots=False|DrillDrawingSymbol=GraphicsSymbol|DrillDrawingSymbolSize=200000|EmbeddedApertures=True|FilmBorderSize=10000000|FilmXSize=200000000|FilmYSize=160000000|FlashAllFills=False|FlashPadShapes=True|G54OnApertureChange=False|GenerateDRCRulesFile=True|GenerateDRCRulesFile=True|GenerateReliefShapes=True|GerberUnit=Imperial|GerberUnit=Imperial|IncludeUnconnectedMidLayerPads=False|LayerClassesMirror.Set= |LayerClassesPlot.Set= |LeadingAndTrailingZeroesMode=SuppressLeadingZeroes|MaxApertureSize=2500000|MinusApertureTolerance=50|MinusApertureTolerance=50|Mirror.Set=SerializeLayerHash.Version~2,ClassName~TLayerToBoolean|MirrorDrillDrawingPlots=False|MirrorDrillGuidePlots=False|NoRegularPolygons=False|NumberOfDecimals=5|NumberOfDecimals=5|OptimizeChangeLocationCommands=True|OptimizeChangeLocationCommands=True|OriginPosition=Relative|Panelize=False|Plot.Set=SerializeLayerHash.Version~2,ClassName~TLayerToBoolean,16973830~1,16973832~1,16973834~1,16777217~1,16842751~1,16973835~1,16973833~1,16973831~1,16973837~1|PlotPositivePlaneLayers=False|PlotUsedDrillDrawingLayerPairs=True|PlotUsedDrillGuideLayerPairs=True|PlusApertureTolerance=50|PlusApertureTolerance=50|Record=GerberView|SoftwareArcs=False|Sorted=False|Sorted=False|DocumentPath=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\EINK_Breakout.PcbDoc
OutputType5=NC Drill
OutputName5=NC Drill Files
OutputCategory5=Fabrication
OutputDocumentPath5=
OutputVariantName5=
OutputEnabled5=0
OutputEnabled5_OutputMedium1=0
OutputEnabled5_OutputMedium2=0
OutputEnabled5_OutputMedium3=3
OutputEnabled5_OutputMedium4=0
OutputDefault5=0
Configuration5_Name1=OutputConfigurationParameter1
Configuration5_Item1=BoardEdgeRoutToolDia=2000000|GenerateBoardEdgeRout=False|GenerateDrilledSlotsG85=False|GenerateEIADrillFile=False|GenerateSeparatePlatedNonPlatedFiles=False|NumberOfDecimals=5|NumberOfUnits=2|OptimizeChangeLocationCommands=True|OriginPosition=Relative|Record=DrillView|Units=Imperial|ZeroesMode=SuppressTrailingZeroes|DocumentPath=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\EINK_Breakout.PcbDoc
OutputType6=Drill
OutputName6=Drill Drawing/Guides
OutputCategory6=Fabrication
OutputDocumentPath6=
OutputVariantName6=
OutputEnabled6=0
OutputEnabled6_OutputMedium1=0
OutputEnabled6_OutputMedium2=0
OutputEnabled6_OutputMedium3=0
OutputEnabled6_OutputMedium4=0
OutputDefault6=0
PageOptions6=Record=PageOptions|CenterHorizontal=True|CenterVertical=True|PrintScale=1.00|XCorrection=1.00|YCorrection=1.00|PrintKind=0|BorderSize=5000000|LeftOffset=0|BottomOffset=0|Orientation=2|PaperLength=1000|PaperWidth=1000|Scale=100|PaperSource=7|PrintQuality=-3|MediaType=1|DitherType=10|PrintScaleMode=0|PaperKind=A4|PaperIndex=9
Configuration6_Name1=OutputConfigurationParameter1
Configuration6_Item1=DesignatorDisplayMode=Physical|PrintArea=DesignExtent|PrintAreaLowerLeftCornerX=0|PrintAreaLowerLeftCornerY=0|PrintAreaUpperRightCornerX=0|PrintAreaUpperRightCornerY=0|Record=PcbPrintView
Configuration6_Name2=OutputConfigurationParameter2
Configuration6_Item2=IncludeBottomLayerComponents=True|IncludeMultiLayerComponents=True|IncludeTopLayerComponents=True|IncludeViewports=True|Index=0|Mirror=False|Name=Drill Drawing For (Bottom Layer,Top Layer)|PadNumberFontSize=14|Record=PcbPrintOut|ShowHoles=False|ShowPadNets=False|ShowPadNumbers=False|SubstituteFonts=False
Configuration6_Name3=OutputConfigurationParameter3
Configuration6_Item3=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=BottomLayer|DLayer2=TopLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=DrillDrawing|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration6_Name4=OutputConfigurationParameter4
Configuration6_Item4=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=KeepOutLayer|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration6_Name5=OutputConfigurationParameter5
Configuration6_Item5=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical1|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration6_Name6=OutputConfigurationParameter6
Configuration6_Item6=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical13|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration6_Name7=OutputConfigurationParameter7
Configuration6_Item7=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical15|Polygon=Full|PrintOutIndex=0|Record=PcbPrintLayer
Configuration6_Name8=OutputConfigurationParameter8
Configuration6_Item8=IncludeBottomLayerComponents=True|IncludeMultiLayerComponents=True|IncludeTopLayerComponents=True|IncludeViewports=True|Index=1|Mirror=False|Name=Drill Guide For (Bottom Layer,Top Layer)|PadNumberFontSize=14|Record=PcbPrintOut|ShowHoles=False|ShowPadNets=False|ShowPadNumbers=False|SubstituteFonts=False
Configuration6_Name9=OutputConfigurationParameter9
Configuration6_Item9=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=BottomLayer|DLayer2=TopLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=DrillGuide|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration6_Name10=OutputConfigurationParameter10
Configuration6_Item10=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical1|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration6_Name11=OutputConfigurationParameter11
Configuration6_Item11=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=KeepOutLayer|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration6_Name12=OutputConfigurationParameter12
Configuration6_Item12=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical13|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
Configuration6_Name13=OutputConfigurationParameter13
Configuration6_Item13=CArc=Full|CFill=Full|Comment=Full|Coordinate=Full|CPad=Full|CRegion=Full|CText=Full|CTrack=Full|CVia=Full|Designator=Full|Dimension=Full|DLayer1=TopLayer|DLayer2=BottomLayer|FArc=Full|FFill=Full|FPad=Full|FRegion=Full|FText=Full|FTrack=Full|FVia=Full|Layer=Mechanical15|Polygon=Full|PrintOutIndex=1|Record=PcbPrintLayer
PcbPrintPreferences6=
OutputType7=BOM_PartType
OutputName7=Bill of Materials
OutputCategory7=Report
OutputDocumentPath7=
OutputVariantName7=
OutputEnabled7=1
OutputEnabled7_OutputMedium1=0
OutputEnabled7_OutputMedium2=2
OutputEnabled7_OutputMedium3=4
OutputEnabled7_OutputMedium4=0
OutputDefault7=0
PageOptions7=Record=PageOptions|CenterHorizontal=True|CenterVertical=True|PrintScale=1.00|XCorrection=1.00|YCorrection=1.00|PrintKind=0|BorderSize=5000000|LeftOffset=0|BottomOffset=0|Orientation=2|PaperLength=1000|PaperWidth=1000|Scale=100|PaperSource=7|PrintQuality=-3|MediaType=1|DitherType=10|PrintScaleMode=1|PaperKind=A4|PaperIndex=9
Configuration7_Name1=ColumnNameFormat
Configuration7_Item1=CaptionAsName
Configuration7_Name2=General
Configuration7_Item2=OpenExported=False|AddToProject=False|ReportBOMViolationsInMessages=False|ForceFit=False|NotFitted=False|Database=False|DatabasePriority=False|IncludePcbData=False|IncludeVaultData=False|IncludeCloudData=False|IncludeDocumentData=True|IncludeAlternatives=False|ShowExportOptions=True|TemplateFilename=|TemplateVaultGuid=|TemplateItemGuid=|TemplateRevisionGuid=|BatchMode=6|FormWidth=1732|FormHeight=1072|SupplierProdQty=1|SupplierAutoQty=False|SupplierUseCachedPricing=False|SupplierCurrency=<none>|SolutionsPerItem=1|SuppliersPerSolution=1|ViewType=1|UseDirectApi=False|BomSetName=
Configuration7_Name3=GroupOrder
Configuration7_Item3=Manufacturer Part Number=True
Configuration7_Name4=OutputConfigurationParameter1
Configuration7_Item4=dgeRoutToolDia=2000000|GenerateBoardEdgeRout=False|GenerateDrilledSlotsG85=False|GenerateEIADrillFile=False|GenerateSeparatePlatedNonPlatedFiles=False|NumberOfDecimals=5|NumberOfUnits=2|OptimizeChangeLocationCommands=True|OriginPosition=Relative|Record=DrillView|Units=Imperial|ZeroesMode=SuppressTrailingZeroes|DocumentPath=[Project]
Configuration7_Name5=SortOrder
Configuration7_Item5=Designator=Up
Configuration7_Name6=VisibleOrder
Configuration7_Item6=Designator=159|Description=175|Distributor=175|Distributor Part Number=175|Manufacturer=175|Manufacturer Part Number=175|Quantity=177
Configuration7_Name7=VisibleOrder_Flat
Configuration7_Item7=Designator=159|Description=175|Distributor=175|Distributor Part Number=175|Manufacturer=175|Manufacturer Part Number=175|Quantity=177
[PublishSettings]
OutputFilePath2=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\Project Outputs for EINK_Breakout\
ReleaseManaged2=1
OutputBasePath2=Project Outputs for DryBox
OutputPathMedia2=
OutputPathMediaValue2=
OutputPathOutputer2=[Output Type]
OutputPathOutputerPrefix2=
OutputPathOutputerValue2=
OutputFileName2=MFGOutput.PDF
OutputFileNameMulti2=
UseOutputNameForMulti2=1
OutputFileNameSpecial2=
OpenOutput2=0
PromptOverwrite2=1
PublishMethod2=1
ZoomLevel2=50
FitSCHPrintSizeToDoc2=1
FitPCBPrintSizeToDoc2=1
GenerateNetsInfo2=1
MarkPins2=1
MarkNetLabels2=1
MarkPortsId2=1
GenerateTOC2=1
ShowComponentParameters2=1
GlobalBookmarks2=0
PDFACompliance2=Disabled
PDFVersion2=Default
OutputFilePath3=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\Project Outputs for EINK_Breakout\
ReleaseManaged3=1
OutputBasePath3=Project Outputs for DryBox
OutputPathMedia3=
OutputPathMediaValue3=
OutputPathOutputer3=[Output Type]
OutputPathOutputerPrefix3=
OutputPathOutputerValue3=
OutputFileName3=
OutputFileNameMulti3=
UseOutputNameForMulti3=1
OutputFileNameSpecial3=
OpenOutput3=0
OutputFilePath4=
ReleaseManaged4=1
OutputBasePath4=Project Outputs for DryBox
OutputPathMedia4=
OutputPathMediaValue4=
OutputPathOutputer4=[Output Type]
OutputPathOutputerPrefix4=
OutputPathOutputerValue4=
OutputFileName4=
OutputFileNameMulti4=
UseOutputNameForMulti4=1
OutputFileNameSpecial4=
OpenOutput4=1
PromptOverwrite4=1
PublishMethod4=5
ZoomLevel4=50
FitSCHPrintSizeToDoc4=1
FitPCBPrintSizeToDoc4=1
GenerateNetsInfo4=1
MarkPins4=1
MarkNetLabels4=1
MarkPortsId4=1
MediaFormat4=Windows Media file (*.wmv,*.wma,*.asf)
FixedDimensions4=1
Width4=352
Height4=288
MultiFile4=0
FramesPerSecond4=25
FramesPerSecondDenom4=1
AviPixelFormat4=7
AviCompression4=MP42 MS-MPEG4 V2
AviQuality4=100
FFmpegVideoCodecId4=13
FFmpegPixelFormat4=0
FFmpegQuality4=80
WmvVideoCodecName4=Windows Media Video V7
WmvQuality4=80
[GeneratedFilesSettings]
RelativeOutputPath2=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\Project Outputs for EINK_Breakout\
OpenOutputs2=0
RelativeOutputPath3=C:\Users\Sasa\Desktop\git\StreaCom\GaugeDriver\Hardware\EINK_BreakOut\Project Outputs for EINK_Breakout\
OpenOutputs3=0
AddToProject3=0
TimestampFolder3=0
UseOutputName3=0
OpenODBOutput3=0
OpenGerberOutput3=0
OpenNCDrillOutput3=0
OpenIPCOutput3=0
EnableReload3=0
RelativeOutputPath4=
OpenOutputs4=1
Binary file not shown.
+35
View File
@@ -0,0 +1,35 @@
# Building the Hardware
### Schematic
Schematic files are available in `Schematic.pdf` as well as Altium source files.
This file should be enough to understand how things are connected and how hardware works.
Bill of Material is available in `Bill of Materials.pdf`.
Most parts are interchangable, so feel free to source these parts from your favorite part distributor.
When replacing capacitors, make sure you choose the same voltage rating!
### How can I order the PCB
I have prepared Gerber files that are verified and ready to go. You can take `Release\2021-12-07_23-28_DryBox_R1\2021-12-07_23-28_DryBox_R1_Gerber.zip` and upload it to your favorite PCB manufactuer like PCBWay, SeeedStudio, JLCPCB.
There are no critical PCB specs, so you can select whichever one you prefer.
Specifications of the PCBs that I ordered are listed below.
PCB Specs:
- Board type: Single pieces
- Different Design in Panel1
- Layer: 2 Layers
- Thickness: 1.6 mm
- Min Track/Spacing: 6/6mil
- Material: FR-4: TG150
- Min Hole Size: 0.3mm ↑
- Solder Mask: White
- Silkscreen: Black
- Quantity: 10
- Edge connector: No
- Surface Finish: HASL lead free
- "HASL" to "ENIG" No
- Via Process: Tenting vias
- Finished Copper: 1 oz Cu
[<- Go back to repository root](../README.md)
@@ -0,0 +1,19 @@
----------------------------------------------------------------------------------------------------------------------------------
NCDrill File Report For: DryBox.PcbDoc 2021-12-07 23:14:43
----------------------------------------------------------------------------------------------------------------------------------
Layer Pair : Top Layer to Bottom Layer
ASCII RoundHoles File : DryBox.TXT
Tool Hole Size Hole Tolerance Hole Type Hole Count Plated Tool Travel
----------------------------------------------------------------------------------------------------------------------------------
T1 16mil (0.4mm) Round 34 PTH 8.70inch (221.05mm)
T2 24mil (0.6mm) Round 6 PTH 0.24inch (6.07mm)
T3 30mil (0.762mm) Round 2 PTH 0.20inch (5.08mm)
T4 32mil (0.8mm) Round 4 PTH 1.45inch (36.71mm)
T5 35mil (0.9mm) Round 25 PTH 5.43inch (137.95mm)
T6 118mil (3mm) Round 4 NPTH 5.35inch (136.00mm)
----------------------------------------------------------------------------------------------------------------------------------
Totals 75
Total Processing Time (hh:mm:ss) : 00:00:00
@@ -0,0 +1,20 @@
------------------------------------------------------------------------------------------
Gerber File Extension Report For: DryBox.GBR 2021-12-07 23:14:42
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Layer Extension Layer Description
------------------------------------------------------------------------------------------
.GTO Top Overlay
.GTP Top Paste
.GTS Top Solder
.GTL Top Layer
.GBL Bottom Layer
.GBS Bottom Solder
.GBP Bottom Paste
.GBO Bottom Overlay
.GKO Keep-Out Layer
.GD1 Drill Drawing
.GG1 Drill Guide
------------------------------------------------------------------------------------------
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,16 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=128*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Positive*
G04*
G01*
G75*
M02*
@@ -0,0 +1,98 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Negative*
G04*
G01*
G75*
%ADD55C,0.14580*%
%ADD56R,0.06706X0.06706*%
%ADD57C,0.06706*%
%ADD58C,0.05524*%
%ADD59R,0.05524X0.05524*%
%ADD61R,0.06706X0.06706*%
%ADD62R,0.06706X0.08674*%
%ADD63O,0.06706X0.08674*%
D55*
X-84646Y102362D02*
D03*
Y-94488D02*
D03*
X84646D02*
D03*
Y102362D02*
D03*
D56*
X47000Y88500D02*
D03*
X-35500Y-94500D02*
D03*
X-61500D02*
D03*
X61500D02*
D03*
D57*
X47000Y98500D02*
D03*
X37000Y88500D02*
D03*
Y98500D02*
D03*
X27000Y88500D02*
D03*
Y98500D02*
D03*
X82500Y28000D02*
D03*
Y18000D02*
D03*
X-25500Y-94500D02*
D03*
X-51500D02*
D03*
X51500D02*
D03*
X41500D02*
D03*
X31500D02*
D03*
X82500Y61000D02*
D03*
Y51000D02*
D03*
Y41000D02*
D03*
X70000Y61000D02*
D03*
Y51000D02*
D03*
Y41000D02*
D03*
D58*
X87500Y-72500D02*
D03*
D59*
X77500D02*
D03*
D61*
X82500Y8000D02*
D03*
Y71000D02*
D03*
X70000D02*
D03*
D62*
X-47000Y-70000D02*
D03*
D63*
X-37000D02*
D03*
M02*
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,318 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=128*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Positive*
G04*
G01*
G75*
%ADD83C,0.00200*%
D83*
X-90551Y102362D02*
X-78740D01*
X-84646Y96457D02*
Y108268D01*
X-90551Y-94488D02*
X-78740D01*
X-84646Y-100394D02*
Y-88583D01*
X78740Y-94488D02*
X90551D01*
X84646Y-100394D02*
Y-88583D01*
X78740Y102362D02*
X90551D01*
X84646Y96457D02*
Y108268D01*
X45228Y88500D02*
X48772D01*
X47000Y86728D02*
Y90272D01*
X45228Y98500D02*
X48772D01*
X47000Y96728D02*
Y100272D01*
X35228Y88500D02*
X38772D01*
X37000Y86728D02*
Y90272D01*
X35228Y98500D02*
X38772D01*
X37000Y96728D02*
Y100272D01*
X25228Y88500D02*
X28772D01*
X27000Y86728D02*
Y90272D01*
X25228Y98500D02*
X28772D01*
X27000Y96728D02*
Y100272D01*
X85925Y-72500D02*
X89075D01*
X87500Y-74075D02*
Y-70925D01*
X75925Y-72500D02*
X79075D01*
X77500Y-74075D02*
Y-70925D01*
X-10500Y-34000D02*
X-7500D01*
X-9000Y-35500D02*
Y-32500D01*
X-10500Y-14000D02*
X-7500D01*
X-9000Y-15500D02*
Y-12500D01*
X80728Y28000D02*
X84272D01*
X82500Y26228D02*
Y29772D01*
X80728Y18000D02*
X84272D01*
X82500Y16228D02*
Y19772D01*
X80728Y8000D02*
X84272D01*
X82500Y6228D02*
Y9772D01*
X-27272Y-94500D02*
X-23728D01*
X-25500Y-96272D02*
Y-92728D01*
X-37272Y-94500D02*
X-33728D01*
X-35500Y-96272D02*
Y-92728D01*
X-53272Y-94500D02*
X-49728D01*
X-51500Y-96272D02*
Y-92728D01*
X-63272Y-94500D02*
X-59728D01*
X-61500Y-96272D02*
Y-92728D01*
X59728Y-94500D02*
X63272D01*
X61500Y-96272D02*
Y-92728D01*
X49728Y-94500D02*
X53272D01*
X51500Y-96272D02*
Y-92728D01*
X39728Y-94500D02*
X43272D01*
X41500Y-96272D02*
Y-92728D01*
X29728Y-94500D02*
X33272D01*
X31500Y-96272D02*
Y-92728D01*
X80728Y71000D02*
X84272D01*
X82500Y69228D02*
Y72772D01*
X80728Y61000D02*
X84272D01*
X82500Y59228D02*
Y62772D01*
X80728Y51000D02*
X84272D01*
X82500Y49228D02*
Y52772D01*
X80728Y41000D02*
X84272D01*
X82500Y39228D02*
Y42772D01*
X-48575Y-70000D02*
X-45425D01*
X-47000Y-71575D02*
Y-68425D01*
X-38575Y-70000D02*
X-35425D01*
X-37000Y-71575D02*
Y-68425D01*
X68228Y71000D02*
X71772D01*
X70000Y69228D02*
Y72772D01*
X68228Y61000D02*
X71772D01*
X70000Y59228D02*
Y62772D01*
X68228Y51000D02*
X71772D01*
X70000Y49228D02*
Y52772D01*
X68228Y41000D02*
X71772D01*
X70000Y39228D02*
Y42772D01*
X68213Y1500D02*
X69787D01*
X69000Y713D02*
Y2287D01*
X75213Y-22500D02*
X76787D01*
X76000Y-23287D02*
Y-21713D01*
X4213Y77000D02*
X5787D01*
X5000Y76213D02*
Y77787D01*
X53Y72000D02*
X1628D01*
X841Y71213D02*
Y72787D01*
X-3287Y68000D02*
X-1713D01*
X-2500Y67213D02*
Y68787D01*
X-19681Y-52000D02*
X-17319D01*
X-18500Y-53181D02*
Y-50819D01*
X-15181Y-52000D02*
X-12819D01*
X-14000Y-53181D02*
Y-50819D01*
X-10681Y-52000D02*
X-8319D01*
X-9500Y-53181D02*
Y-50819D01*
X16713Y-42500D02*
X18287D01*
X17500Y-43287D02*
Y-41713D01*
X43213Y-42500D02*
X44787D01*
X44000Y-43287D02*
Y-41713D01*
X-83787Y56500D02*
X-82213D01*
X-83000Y55713D02*
Y57287D01*
X-84787Y74500D02*
X-83213D01*
X-84000Y73713D02*
Y75287D01*
X55713Y8000D02*
X57287D01*
X56500Y7213D02*
Y8787D01*
X35439Y72774D02*
X37013D01*
X36226Y71987D02*
Y73561D01*
X20213Y72500D02*
X21787D01*
X21000Y71713D02*
Y73287D01*
X49213Y65000D02*
X50787D01*
X50000Y64213D02*
Y65787D01*
X-71287Y-15000D02*
X-69713D01*
X-70500Y-15787D02*
Y-14213D01*
X-71287Y-20000D02*
X-69713D01*
X-70500Y-20787D02*
Y-19213D01*
X-71287Y-25000D02*
X-69713D01*
X-70500Y-25787D02*
Y-24213D01*
X-76535Y-25000D02*
X-74961D01*
X-75748Y-25787D02*
Y-24213D01*
X-76535Y-15000D02*
X-74961D01*
X-75748Y-15787D02*
Y-14213D01*
X-76535Y-20000D02*
X-74961D01*
X-75748Y-20787D02*
Y-19213D01*
X-25287Y-6000D02*
X-23713D01*
X-24500Y-6787D02*
Y-5213D01*
X-1787Y-24000D02*
X-213D01*
X-1000Y-24787D02*
Y-23213D01*
X-6287Y-24000D02*
X-4713D01*
X-5500Y-24787D02*
Y-23213D01*
X-10287Y-24000D02*
X-8713D01*
X-9500Y-24787D02*
Y-23213D01*
X-14287Y-24000D02*
X-12713D01*
X-13500Y-24787D02*
Y-23213D01*
X-18287Y-24000D02*
X-16713D01*
X-17500Y-24787D02*
Y-23213D01*
X37213Y8000D02*
X38787D01*
X38000Y7213D02*
Y8787D01*
X66362Y-76000D02*
X67937D01*
X67150Y-76787D02*
Y-75213D01*
X29063Y-61350D02*
X30638D01*
X29850Y-62138D02*
Y-60563D01*
X-65287Y82500D02*
X-63713D01*
X-64500Y81713D02*
Y83287D01*
X-50787Y11500D02*
X-49213D01*
X-50000Y10713D02*
Y12287D01*
X8213Y-70500D02*
X9787D01*
X9000Y-71287D02*
Y-69713D01*
X25602Y6000D02*
X27177D01*
X26390Y5213D02*
Y6787D01*
X25602Y-24000D02*
X27177D01*
X26390Y-24787D02*
Y-23213D01*
X-4287Y-67500D02*
X-2713D01*
X-3500Y-68287D02*
Y-66713D01*
X-10581Y-46100D02*
X-8219D01*
X-9400Y-47281D02*
Y-44919D01*
X-15081Y-46100D02*
X-12719D01*
X-13900Y-47281D02*
Y-44919D01*
X-19581Y-46100D02*
X-17219D01*
X-18400Y-47281D02*
Y-44919D01*
M02*
@@ -0,0 +1,66 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Positive*
G04*
G01*
G75*
%ADD82C,0.00394*%
D82*
X95276Y105299D02*
G03*
X87402Y113173I-7874J0D01*
G01*
X23500Y113173D02*
G03*
X15626Y105299I0J-7874D01*
G01*
X-60000D02*
G03*
X-67874Y113173I-7874J0D01*
G01*
X-87402D02*
G03*
X-95276Y105299I0J-7874D01*
G01*
Y-97626D02*
G03*
X-87402Y-105500I7874J0D01*
G01*
X87402D02*
G03*
X95276Y-97626I0J7874D01*
G01*
X13657Y85532D02*
G03*
X15626Y87500I0J1969D01*
G01*
X-60000D02*
G03*
X-58031Y85532I1969J0D01*
G01*
X-95276Y105299D02*
X-95276Y-97626D01*
X-60000Y87500D02*
Y105299D01*
X-87402Y-105500D02*
X87402Y-105500D01*
X15626Y87500D02*
Y105299D01*
X23500Y113173D02*
X87402Y113173D01*
X-58031Y85532D02*
X13657D01*
X-87402Y113173D02*
X-67874D01*
X95276Y105299D02*
X95276Y-97626D01*
M02*
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,353 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=8421504*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Positive*
G04*
G01*
G75*
%ADD17R,0.03543X0.03799*%
%ADD18R,0.06102X0.05118*%
%ADD19R,0.03150X0.02165*%
%ADD20R,0.03799X0.03543*%
%ADD21R,0.02756X0.03543*%
%ADD22R,0.03937X0.01968*%
%ADD23O,0.03937X0.01968*%
%ADD24R,0.03543X0.02756*%
%ADD25R,0.05276X0.07087*%
%ADD26R,0.12598X0.05906*%
%ADD27R,0.07087X0.05276*%
%ADD28R,0.03543X0.03150*%
%ADD29R,0.05906X0.03543*%
%ADD30R,0.03543X0.05906*%
%ADD31R,0.17362X0.16142*%
%ADD32R,0.02362X0.05118*%
%ADD33R,0.23622X0.07874*%
%ADD34R,0.07874X0.03543*%
%ADD35R,0.31496X0.39370*%
D17*
X62500Y4650D02*
D03*
Y-1650D02*
D03*
X-70500Y30350D02*
D03*
Y36650D02*
D03*
X-76500Y30350D02*
D03*
Y36650D02*
D03*
X-82500Y30350D02*
D03*
Y36650D02*
D03*
X56500Y18150D02*
D03*
Y11850D02*
D03*
Y4650D02*
D03*
Y-1650D02*
D03*
X59000Y64850D02*
D03*
Y71150D02*
D03*
X53000D02*
D03*
Y64850D02*
D03*
X47000Y71150D02*
D03*
Y64850D02*
D03*
X41000D02*
D03*
Y71150D02*
D03*
D18*
X62319Y-22390D02*
D03*
X89681Y-8610D02*
D03*
Y-22390D02*
D03*
X62319Y-8610D02*
D03*
D19*
X-71850Y46228D02*
D03*
Y49772D02*
D03*
X-78150D02*
D03*
Y46228D02*
D03*
D20*
X-78650Y56500D02*
D03*
X-72350D02*
D03*
X32650Y17500D02*
D03*
X26350D02*
D03*
X150Y-5000D02*
D03*
X-6150D02*
D03*
X-13350D02*
D03*
X-19650D02*
D03*
X3650Y-51000D02*
D03*
X-2650D02*
D03*
Y-57000D02*
D03*
X3650D02*
D03*
X-2650Y-63287D02*
D03*
X3650D02*
D03*
X-1150Y-85500D02*
D03*
X5150D02*
D03*
X-1150Y-91500D02*
D03*
X5150D02*
D03*
X-72350Y77500D02*
D03*
X-78650D02*
D03*
X-72350Y71500D02*
D03*
X-78650D02*
D03*
X-72350Y62500D02*
D03*
X-78650D02*
D03*
X29850Y-80000D02*
D03*
X36150D02*
D03*
Y-55500D02*
D03*
X29850D02*
D03*
X36150Y-49500D02*
D03*
X29850D02*
D03*
X60850Y-73000D02*
D03*
X67150D02*
D03*
X60850Y-79000D02*
D03*
X67150D02*
D03*
D21*
X32610Y9000D02*
D03*
X26390D02*
D03*
X32610Y3000D02*
D03*
X26390D02*
D03*
X32610Y-21000D02*
D03*
X26390D02*
D03*
X32610Y-27000D02*
D03*
X26390D02*
D03*
X-63390Y-46500D02*
D03*
X-69610D02*
D03*
X-63390Y-52500D02*
D03*
X-69610D02*
D03*
D22*
X25248Y-5000D02*
D03*
D23*
Y-8740D02*
D03*
Y-12480D02*
D03*
X34500Y-5000D02*
D03*
Y-12480D02*
D03*
D24*
X14500Y-5000D02*
D03*
Y-11220D02*
D03*
X8500Y-4890D02*
D03*
Y-11110D02*
D03*
D25*
X-24870Y-84500D02*
D03*
X-36130D02*
D03*
D26*
X-61500Y-62232D02*
D03*
Y-78768D02*
D03*
D27*
X10000Y-20870D02*
D03*
Y-32130D02*
D03*
X52500Y-67370D02*
D03*
Y-78630D02*
D03*
D28*
X5937Y-77543D02*
D03*
Y-70457D02*
D03*
X-1937Y-74000D02*
D03*
X30126Y-67543D02*
D03*
X38000Y-64000D02*
D03*
Y-71087D02*
D03*
D29*
X12827Y82500D02*
D03*
Y77500D02*
D03*
Y72500D02*
D03*
Y67500D02*
D03*
Y62500D02*
D03*
Y57500D02*
D03*
Y52500D02*
D03*
Y47500D02*
D03*
Y42500D02*
D03*
Y37500D02*
D03*
Y32500D02*
D03*
Y27500D02*
D03*
Y22500D02*
D03*
Y17500D02*
D03*
D03*
X-58000D02*
D03*
Y82500D02*
D03*
D03*
Y22500D02*
D03*
Y27500D02*
D03*
Y32500D02*
D03*
Y37500D02*
D03*
Y42500D02*
D03*
Y47500D02*
D03*
Y52500D02*
D03*
Y57500D02*
D03*
Y62500D02*
D03*
Y67500D02*
D03*
Y72500D02*
D03*
Y77500D02*
D03*
D30*
X-87Y11594D02*
D03*
X-5087D02*
D03*
X-10087D02*
D03*
X-15087D02*
D03*
X-20087D02*
D03*
X-25087D02*
D03*
X-30087D02*
D03*
X-35087D02*
D03*
X-40087D02*
D03*
X-45087D02*
D03*
D03*
D31*
X-16300Y-67600D02*
D03*
D32*
X-8800Y-51900D02*
D03*
X-13800D02*
D03*
X-18800D02*
D03*
X-23800D02*
D03*
D33*
X-9000Y-32268D02*
D03*
Y-15732D02*
D03*
D34*
X-31260Y-6713D02*
D03*
Y-13406D02*
D03*
Y-20098D02*
D03*
Y-26791D02*
D03*
X-31457Y-33386D02*
D03*
D35*
X-75748Y-20000D02*
D03*
M02*
@@ -0,0 +1,441 @@
G04*
G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,21.6.4 (81)*
G04*
G04 Layer_Color=8388736*
%FSLAX25Y25*%
%MOIN*%
G70*
G04*
G04 #@! TF.SameCoordinates,7C905695-A8D0-471C-AD1A-FFB52B7834A9*
G04*
G04*
G04 #@! TF.FilePolarity,Negative*
G04*
G01*
G75*
%ADD36R,0.04343X0.04599*%
%ADD37R,0.06902X0.05918*%
%ADD38R,0.03950X0.02965*%
%ADD39R,0.04599X0.04343*%
%ADD40R,0.03556X0.04343*%
%ADD41R,0.04737X0.02769*%
%ADD42O,0.04737X0.02769*%
%ADD43R,0.04343X0.03556*%
%ADD44R,0.06076X0.07887*%
%ADD45R,0.13398X0.06706*%
%ADD46R,0.07887X0.06076*%
%ADD47R,0.04343X0.03950*%
%ADD48R,0.06706X0.04343*%
%ADD49R,0.04343X0.06706*%
%ADD50R,0.18162X0.16942*%
%ADD51R,0.03162X0.05918*%
%ADD52R,0.24422X0.08674*%
%ADD53R,0.08674X0.04343*%
%ADD54R,0.32296X0.40170*%
%ADD55C,0.14580*%
%ADD56R,0.06706X0.06706*%
%ADD57C,0.06706*%
%ADD58C,0.05524*%
%ADD59R,0.05524X0.05524*%
%ADD60C,0.06800*%
%ADD61R,0.06706X0.06706*%
%ADD62R,0.06706X0.08674*%
%ADD63O,0.06706X0.08674*%
D36*
X62500Y4650D02*
D03*
Y-1650D02*
D03*
X-70500Y30350D02*
D03*
Y36650D02*
D03*
X-76500Y30350D02*
D03*
Y36650D02*
D03*
X-82500Y30350D02*
D03*
Y36650D02*
D03*
X56500Y18150D02*
D03*
Y11850D02*
D03*
Y4650D02*
D03*
Y-1650D02*
D03*
X59000Y64850D02*
D03*
Y71150D02*
D03*
X53000D02*
D03*
Y64850D02*
D03*
X47000Y71150D02*
D03*
Y64850D02*
D03*
X41000D02*
D03*
Y71150D02*
D03*
D37*
X62319Y-22390D02*
D03*
X89681Y-8610D02*
D03*
Y-22390D02*
D03*
X62319Y-8610D02*
D03*
D38*
X-71850Y46228D02*
D03*
Y49772D02*
D03*
X-78150D02*
D03*
Y46228D02*
D03*
D39*
X-78650Y56500D02*
D03*
X-72350D02*
D03*
X32650Y17500D02*
D03*
X26350D02*
D03*
X150Y-5000D02*
D03*
X-6150D02*
D03*
X-13350D02*
D03*
X-19650D02*
D03*
X3650Y-51000D02*
D03*
X-2650D02*
D03*
Y-57000D02*
D03*
X3650D02*
D03*
X-2650Y-63287D02*
D03*
X3650D02*
D03*
X-1150Y-85500D02*
D03*
X5150D02*
D03*
X-1150Y-91500D02*
D03*
X5150D02*
D03*
X-72350Y77500D02*
D03*
X-78650D02*
D03*
X-72350Y71500D02*
D03*
X-78650D02*
D03*
X-72350Y62500D02*
D03*
X-78650D02*
D03*
X29850Y-80000D02*
D03*
X36150D02*
D03*
Y-55500D02*
D03*
X29850D02*
D03*
X36150Y-49500D02*
D03*
X29850D02*
D03*
X60850Y-73000D02*
D03*
X67150D02*
D03*
X60850Y-79000D02*
D03*
X67150D02*
D03*
D40*
X32610Y9000D02*
D03*
X26390D02*
D03*
X32610Y3000D02*
D03*
X26390D02*
D03*
X32610Y-21000D02*
D03*
X26390D02*
D03*
X32610Y-27000D02*
D03*
X26390D02*
D03*
X-63390Y-46500D02*
D03*
X-69610D02*
D03*
X-63390Y-52500D02*
D03*
X-69610D02*
D03*
D41*
X25248Y-5000D02*
D03*
D42*
Y-8740D02*
D03*
Y-12480D02*
D03*
X34500Y-5000D02*
D03*
Y-12480D02*
D03*
D43*
X14500Y-5000D02*
D03*
Y-11220D02*
D03*
X8500Y-4890D02*
D03*
Y-11110D02*
D03*
D44*
X-24870Y-84500D02*
D03*
X-36130D02*
D03*
D45*
X-61500Y-62232D02*
D03*
Y-78768D02*
D03*
D46*
X10000Y-20870D02*
D03*
Y-32130D02*
D03*
X52500Y-67370D02*
D03*
Y-78630D02*
D03*
D47*
X5937Y-77543D02*
D03*
Y-70457D02*
D03*
X-1937Y-74000D02*
D03*
X30126Y-67543D02*
D03*
X38000Y-64000D02*
D03*
Y-71087D02*
D03*
D48*
X12827Y82500D02*
D03*
Y77500D02*
D03*
Y72500D02*
D03*
Y67500D02*
D03*
Y62500D02*
D03*
Y57500D02*
D03*
Y52500D02*
D03*
Y47500D02*
D03*
Y42500D02*
D03*
Y37500D02*
D03*
Y32500D02*
D03*
Y27500D02*
D03*
Y22500D02*
D03*
Y17500D02*
D03*
D03*
X-58000D02*
D03*
Y82500D02*
D03*
D03*
Y22500D02*
D03*
Y27500D02*
D03*
Y32500D02*
D03*
Y37500D02*
D03*
Y42500D02*
D03*
Y47500D02*
D03*
Y52500D02*
D03*
Y57500D02*
D03*
Y62500D02*
D03*
Y67500D02*
D03*
Y72500D02*
D03*
Y77500D02*
D03*
D49*
X-87Y11594D02*
D03*
X-5087D02*
D03*
X-10087D02*
D03*
X-15087D02*
D03*
X-20087D02*
D03*
X-25087D02*
D03*
X-30087D02*
D03*
X-35087D02*
D03*
X-40087D02*
D03*
X-45087D02*
D03*
D03*
D50*
X-16300Y-67600D02*
D03*
D51*
X-8800Y-51900D02*
D03*
X-13800D02*
D03*
X-18800D02*
D03*
X-23800D02*
D03*
D52*
X-9000Y-32268D02*
D03*
Y-15732D02*
D03*
D53*
X-31260Y-6713D02*
D03*
Y-13406D02*
D03*
Y-20098D02*
D03*
Y-26791D02*
D03*
X-31457Y-33386D02*
D03*
D54*
X-75748Y-20000D02*
D03*
D55*
X-84646Y102362D02*
D03*
Y-94488D02*
D03*
X84646D02*
D03*
Y102362D02*
D03*
D56*
X47000Y88500D02*
D03*
X-35500Y-94500D02*
D03*
X-61500D02*
D03*
X61500D02*
D03*
D57*
X47000Y98500D02*
D03*
X37000Y88500D02*
D03*
Y98500D02*
D03*
X27000Y88500D02*
D03*
Y98500D02*
D03*
X82500Y28000D02*
D03*
Y18000D02*
D03*
X-25500Y-94500D02*
D03*
X-51500D02*
D03*
X51500D02*
D03*
X41500D02*
D03*
X31500D02*
D03*
X82500Y61000D02*
D03*
Y51000D02*
D03*
Y41000D02*
D03*
X70000Y61000D02*
D03*
Y51000D02*
D03*
Y41000D02*
D03*
D58*
X87500Y-72500D02*
D03*
D59*
X77500D02*
D03*
D60*
X-9000Y-34000D02*
D03*
Y-14000D02*
D03*
D61*
X82500Y8000D02*
D03*
Y71000D02*
D03*
X70000D02*
D03*
D62*
X-47000Y-70000D02*
D03*
D63*
X-37000D02*
D03*
M02*
@@ -0,0 +1,2 @@
Layer Pairs Export File for PCB: C:\Users\Sasa\Desktop\git\DIY_DryBox\DryBox.PcbDoc
LayersSetName=Top_Bot_Thru_Holes|DrillFile=drybox.txt|DrillLayers=gtl,gbl
@@ -0,0 +1,6 @@
DRC Rules Export File for PCB: C:\Users\Sasa\Desktop\git\DIY_DryBox\DryBox.PcbDoc
RuleKind=Clearance|RuleName=Clearance_1|Scope=Board|Minimum=11.81
RuleKind=SolderMaskExpansion|RuleName=SolderMaskExpansion|Scope=Board|Minimum=4.00
RuleKind=Width|RuleName=Width|Scope=Board|Minimum=5.91
RuleKind=Clearance|RuleName=Clearance|Scope=Board|Minimum=6.00
RuleKind=ShortCircuit|RuleName=ShortCircuit|Scope=Board|Allowed=0
@@ -0,0 +1,95 @@
M48
;Layer_Color=9474304
;FILE_FORMAT=2:5
INCH,LZ
;TYPE=PLATED
T1F00S00C0.01575
T2F00S00C0.02362
T3F00S00C0.03000
T4F00S00C0.03150
T5F00S00C0.03543
;TYPE=NON_PLATED
T6F00S00C0.11811
%
T01
X006715Y-0076
X002985Y-006135
X0009Y-00705
X-00035Y-00675
X-00055Y-0024
X-00095
X-00135
X-00175
X-0001
X002639
X00175Y-00425
X0044
X0038Y0008
X002639Y0006
X00565Y0008
X005Y0065
X0036226Y0072774
X0021Y00725
X0005Y0077
X0000841Y0072
X-00025Y0068
X-00645Y00825
X-0084Y00745
X-0083Y00565
X-005Y00115
X-00245Y-0006
X-00705Y-0015
Y-002
Y-0025
X-0075748
Y-002
Y-0015
X0076Y-00225
X0069Y00015
T02
X-00185Y-0052
X-0014
X-00095
X-00094Y-00461
X-00139
X-00184
T03
X-0009Y-0034
Y-0014
T04
X00775Y-00725
X00875
X-0037Y-007
X-0047
T05
X-00615Y-00945
X-00515
X-00355
X-00255
X00315
X00415
X00515
X00615
X0047Y00885
Y00985
X0037
Y00885
X0027
Y00985
X007Y0071
Y0061
Y0051
Y0041
X00825
Y0051
Y0061
Y0071
Y0028
Y0018
Y0008
T06
X0084646Y-0094488
X-0084646
Y0102362
X0084646
M30
@@ -0,0 +1,77 @@
D10 ROUNDED 7.874 7.874 0.000 LINE 0.000
D11 ROUNDED 9.842 9.842 0.000 LINE 0.000
D12 ROUNDED 10.000 10.000 0.000 LINE 0.000
D13 ROUNDED 8.000 8.000 0.000 LINE 0.000
D14 ROUNDED 6.000 6.000 0.000 LINE 0.000
D15 ROUNDED 5.020 5.020 0.000 LINE 0.000
D16 ROUNDED 5.906 5.906 0.000 LINE 0.000
D17 RECTANGULAR 37.992 35.433 0.000 FLASH 270.000
D18 RECTANGULAR 61.024 51.181 0.000 FLASH 0.000
D19 RECTANGULAR 21.654 31.496 0.000 FLASH 270.000
D20 RECTANGULAR 37.992 35.433 0.000 FLASH 180.000
D21 RECTANGULAR 27.559 35.433 0.000 FLASH 0.000
D22 RECTANGULAR 39.370 19.685 0.000 FLASH 0.000
D23 ROUNDED 39.370 19.685 0.000 FLASH 0.000
D24 RECTANGULAR 27.559 35.433 0.000 FLASH 90.000
D25 RECTANGULAR 52.756 70.866 0.000 FLASH 180.000
D26 RECTANGULAR 59.055 125.984 0.000 FLASH 270.000
D27 RECTANGULAR 52.756 70.866 0.000 FLASH 270.000
D28 RECTANGULAR 31.496 35.433 0.000 FLASH 270.000
D29 RECTANGULAR 59.055 35.433 0.000 FLASH 180.000
D30 RECTANGULAR 59.055 35.433 0.000 FLASH 90.000
D31 RECTANGULAR 161.417 173.622 0.000 FLASH 270.000
D32 RECTANGULAR 51.181 23.622 0.000 FLASH 270.000
D33 RECTANGULAR 78.740 236.220 0.000 FLASH 90.000
D34 RECTANGULAR 35.433 78.740 0.000 FLASH 90.000
D35 RECTANGULAR 393.701 314.961 0.000 FLASH 90.000
D36 RECTANGULAR 45.992 43.433 0.000 FLASH 270.000
D37 RECTANGULAR 69.024 59.181 0.000 FLASH 0.000
D38 RECTANGULAR 29.654 39.496 0.000 FLASH 270.000
D39 RECTANGULAR 45.992 43.433 0.000 FLASH 180.000
D40 RECTANGULAR 35.559 43.433 0.000 FLASH 0.000
D41 RECTANGULAR 47.370 27.685 0.000 FLASH 0.000
D42 ROUNDED 47.370 27.685 0.000 FLASH 0.000
D43 RECTANGULAR 35.559 43.433 0.000 FLASH 90.000
D44 RECTANGULAR 60.756 78.866 0.000 FLASH 180.000
D45 RECTANGULAR 67.055 133.984 0.000 FLASH 270.000
D46 RECTANGULAR 60.756 78.866 0.000 FLASH 270.000
D47 RECTANGULAR 39.496 43.433 0.000 FLASH 270.000
D48 RECTANGULAR 67.055 43.433 0.000 FLASH 180.000
D49 RECTANGULAR 67.055 43.433 0.000 FLASH 90.000
D50 RECTANGULAR 169.417 181.622 0.000 FLASH 270.000
D51 RECTANGULAR 59.181 31.622 0.000 FLASH 270.000
D52 RECTANGULAR 86.740 244.220 0.000 FLASH 90.000
D53 RECTANGULAR 43.433 86.740 0.000 FLASH 90.000
D54 RECTANGULAR 401.701 322.961 0.000 FLASH 90.000
D55 ROUNDED 145.795 145.795 0.000 FLASH 0.000
D56 RECTANGULAR 67.055 67.055 0.000 FLASH 180.000
D57 ROUNDED 67.055 67.055 0.000 FLASH 0.000
D58 ROUNDED 55.244 55.244 0.000 FLASH 0.000
D59 RECTANGULAR 55.244 55.244 0.000 FLASH 180.000
D60 ROUNDED 68.000 68.000 0.000 FLASH 0.000
D61 RECTANGULAR 67.055 67.055 0.000 FLASH 90.000
D62 RECTANGULAR 67.055 86.740 0.000 FLASH 180.000
D63 ROUNDED 67.055 86.740 0.000 FLASH 180.000
D64 ROUNDED 19.685 19.685 0.000 LINE 0.000
D65 ROUNDED 11.811 11.811 0.000 LINE 0.000
D66 ROUNDED 51.181 51.181 0.000 LINE 0.000
D67 ROUNDED 27.559 27.559 0.000 LINE 0.000
D68 ROUNDED 31.496 31.496 0.000 LINE 0.000
D69 ROUNDED 23.622 23.622 0.000 LINE 0.000
D70 ROUNDED 39.370 39.370 0.000 LINE 0.000
D71 ROUNDED 137.795 137.795 0.000 FLASH 0.000
D72 RECTANGULAR 59.055 59.055 0.000 FLASH 180.000
D73 ROUNDED 59.055 59.055 0.000 FLASH 0.000
D74 ROUNDED 47.244 47.244 0.000 FLASH 0.000
D75 RECTANGULAR 47.244 47.244 0.000 FLASH 180.000
D76 ROUNDED 60.000 60.000 0.000 FLASH 0.000
D77 RECTANGULAR 59.055 59.055 0.000 FLASH 90.000
D78 RECTANGULAR 59.055 78.740 0.000 FLASH 180.000
D79 ROUNDED 59.055 78.740 0.000 FLASH 180.000
D80 ROUNDED 31.496 31.496 0.000 FLASH 0.000
D81 ROUNDED 39.370 39.370 0.000 FLASH 0.000
D82 ROUNDED 3.937 3.937 0.000 LINE 0.000
D83 ROUNDED 2.000 2.000 0.000 LINE 0.000
D84 ROUNDED 15.000 15.000 0.000 LINE 0.000
D85 ROUNDED 1.000 1.000 0.000 LINE 0.000
D86 ROUNDED 16.000 16.000 0.000 LINE 0.000
Binary file not shown.
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+37
View File
@@ -0,0 +1,37 @@
# DIY WiFi Enabled 3D Printing Filament Dry Box
## What is this project about?
[![DIY WiFi Enabled Filament Dry Box](http://img.youtube.com/vi/OI9FtfCVnL0/0.jpg)](http://www.youtube.com/watch?v=OI9FtfCVnL0 "DIY WiFi Enabled Filament Dry Box")
Above video shows the finished DryBox, how it works and motivation behind some of the design decisions.
## How can I build my own?
The above video explains the idea and how hardware and firmware works. It's recommended that you watch that first.
Hardware and firmware build instructions and source files are available in their respective folders.
---
Blog page: https://sasakaranovic.com/projects/diy-filament-dry-box
YouTube video: http://www.youtube.com/watch?v=OI9FtfCVnL0
---
#### Sasa Karanovic
<a href="https://sasakaranovic.com/" target="_blank" title="Sasa Karanovic Home Page"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_home.png" width="16"> Home Page</a> &nbsp;&middot;&nbsp;
<a href="https://youtube.com/c/sasakaranovic" target="_blank" title="Sasa Karanovic on YouTube"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_youtube.png" width="16"> YouTube</a> &nbsp;&middot;&nbsp;
<a href="https://github.com/sasakaranovic" target="_blank" title="Sasa Karanovic on GitHub"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_github.png" width="16"> GitHub</a> &nbsp;&middot;&nbsp;
<a href="https://twitter.com/_sasakaranovic_" target="_blank" title="Sasa Karanovic on Twitter"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_twitter.png" width="16"> Twitter</a> &nbsp;&middot;&nbsp;
<a href="https://instagram.com/_sasakaranovic_" target="_blank" title="Sasa Karanovic on Instagram"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_instagram.png" width="16"> Instagram</a> &nbsp;&middot;&nbsp;
<a href="https://buymeacoffee.com/sasakaranovic" target="_blank" title="Sasa Karanovic on Buy me a coffee"><img src="https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_coffee.png" width="16"> Buy me a coffee</a>
[home]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_home.png "Sasa Karanovic Home Page"
[youtube]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_youtube.png "Sasa Karanovic YouTube channel"
[github]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_github.png "Sasa Karanovic on GitHub"
[twitter]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_twitter.png "Sasa Karanovic on Twitter"
[instagram]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_instagram.png "Sasa Karanovic on Instagram"
[coffee]: https://raw.githubusercontent.com/SasaKaranovic/common/master/assets/img_coffee.png "Buy me a coffee"