updated shematic for new version

This commit is contained in:
c3ma 2020-09-12 16:47:58 +02:00
parent ca94f4936f
commit 1872e0a11c
36 changed files with 1770 additions and 750 deletions

View File

@ -1,3 +1,16 @@
# PlantCtrl
## Documentation of Power-Modes
https://lastminuteengineers.com/esp32-sleep-modes-power-consumption/#esp32-deep-sleep
gpio 17 only out no hold
gpio 16 only out no hold
solar charger 2A?
https://www.aliexpress.com/item/4000238259949.html?spm=a2g0o.productlist.0.0.7e50231cCWGu0Z&algo_pvid=9ab7b0d3-5026-438b-972b-1d4a81d4dc56&algo_expid=9ab7b0d3-5026-438b-972b-1d4a81d4dc56-11&btsid=0b0a0ac215999246489888249e72a9&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
MT3608 boost für pumpe
https://www.aliexpress.com/item/32925951391.html?spm=a2g0o.productlist.0.0.39e21087nAzH9q&algo_pvid=7db0a849-62f7-4403-88e3-615ee4d99339&algo_expid=7db0a849-62f7-4403-88e3-615ee4d99339-0&btsid=0b0a0ac215999252934777876e7253&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
DS18B20 one wire temp sensor

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,4 @@
(fp_lib_table
(lib (name kicad-stuff)(type KiCad)(uri ${KIPRJMOD}/kicad-stuff)(options "")(descr ""))
(lib (name misc_footprints)(type KiCad)(uri ${KIPRJMOD}/kicad-stuff/misc_footprints-master/misc_footprints.pretty)(options "")(descr ""))
)

View File

@ -0,0 +1,154 @@
(module DPAK457P991X255-3N (layer F.Cu) (tedit 5F5CEF39)
(descr "")
(fp_text reference REF** (at -2.825 -4.635 0) (layer F.SilkS)
(effects (font (size 1.0 1.0) (thickness 0.015)))
)
(fp_text value DPAK457P991X255-3N (at 5.43 5.365 0) (layer F.Fab)
(effects (font (size 1.0 1.0) (thickness 0.015)))
)
(fp_poly
(pts
(xy -0.265 -2.555)
(xy 0.855 -2.555)
(xy 0.855 -1.405)
(xy -0.265 -1.405)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 1.085 -2.555)
(xy 2.205 -2.555)
(xy 2.205 -1.405)
(xy 1.085 -1.405)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 2.435 -2.555)
(xy 3.555 -2.555)
(xy 3.555 -1.405)
(xy 2.435 -1.405)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 3.785 -2.555)
(xy 4.905 -2.555)
(xy 4.905 -1.405)
(xy 3.785 -1.405)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 3.785 -1.235)
(xy 4.905 -1.235)
(xy 4.905 -0.085)
(xy 3.785 -0.085)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 3.785 0.085)
(xy 4.905 0.085)
(xy 4.905 1.235)
(xy 3.785 1.235)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 3.785 1.405)
(xy 4.905 1.405)
(xy 4.905 2.555)
(xy 3.785 2.555)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 2.435 -1.235)
(xy 3.555 -1.235)
(xy 3.555 -0.085)
(xy 2.435 -0.085)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 2.435 0.085)
(xy 3.555 0.085)
(xy 3.555 1.235)
(xy 2.435 1.235)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 2.435 1.405)
(xy 3.555 1.405)
(xy 3.555 2.555)
(xy 2.435 2.555)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 1.085 -1.235)
(xy 2.205 -1.235)
(xy 2.205 -0.085)
(xy 1.085 -0.085)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 1.085 0.085)
(xy 2.205 0.085)
(xy 2.205 1.235)
(xy 1.085 1.235)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy 1.085 1.405)
(xy 2.205 1.405)
(xy 2.205 2.555)
(xy 1.085 2.555)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy -0.265 -1.235)
(xy 0.855 -1.235)
(xy 0.855 -0.085)
(xy -0.265 -0.085)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy -0.265 0.085)
(xy 0.855 0.085)
(xy 0.855 1.235)
(xy -0.265 1.235)
) (layer F.Paste) (width 0.01)
)
(fp_poly
(pts
(xy -0.265 1.405)
(xy 0.855 1.405)
(xy 0.855 2.555)
(xy -0.265 2.555)
) (layer F.Paste) (width 0.01)
)
(fp_line (start 3.875 -3.365) (end -2.345 -3.365) (layer F.SilkS) (width 0.127))
(fp_line (start -2.345 -3.365) (end -2.345 3.365) (layer F.SilkS) (width 0.127))
(fp_line (start -2.345 3.365) (end 3.875 3.365) (layer F.SilkS) (width 0.127))
(fp_line (start 3.875 3.365) (end 3.875 -3.365) (layer F.Fab) (width 0.127))
(fp_line (start 3.875 -3.365) (end -2.345 -3.365) (layer F.Fab) (width 0.127))
(fp_line (start -2.345 -3.365) (end -2.345 3.365) (layer F.Fab) (width 0.127))
(fp_line (start -2.345 3.365) (end 3.875 3.365) (layer F.Fab) (width 0.127))
(fp_circle (center -6.015 -2.285) (end -5.915 -2.285) (layer F.SilkS) (width 0.2))
(fp_circle (center -6.015 -2.285) (end -5.915 -2.285) (layer F.Fab) (width 0.2))
(fp_line (start -5.815 -3.615) (end 5.815 -3.615) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.815 -3.615) (end 5.815 3.615) (layer F.CrtYd) (width 0.05))
(fp_line (start 5.815 3.615) (end -5.815 3.615) (layer F.CrtYd) (width 0.05))
(fp_line (start -5.815 3.615) (end -5.815 -3.615) (layer F.CrtYd) (width 0.05))
(pad 1 smd rect (at -4.45 -2.285) (size 2.22 0.96) (layers F.Cu F.Mask F.Paste))
(pad 3 smd rect (at -4.45 2.285) (size 2.22 0.96) (layers F.Cu F.Mask F.Paste))
(pad 4 smd rect (at 2.32 0.0) (size 6.49 5.63) (layers F.Cu F.Mask))
)

View File

@ -0,0 +1,3 @@
EESchema-DOCLIB Version 2.0
#
#End Doc Library

View File

@ -1,7 +1,5 @@
EESchema-LIBRARY Version 2.3
EESchema-LIBRARY Version 2.4
#encoding utf-8
#(c) SnapEDA 2016 (snapeda.com)
#This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA) with Design Exception 1.0
#
# ESP32-DEVKITC-32D
#
@ -12,19 +10,11 @@ F2 "MODULE_ESP32-DEVKITC-32D" 0 0 50 H I L BNN
F3 "4" 0 0 50 H I L BNN
F4 "Espressif Systems" 0 0 50 H I L BNN
DRAW
P 2 0 0 10 -600 1000 600 1000 N
P 2 0 0 10 600 1000 600 -1000 N
P 2 0 0 10 600 -1000 -600 -1000 N
P 2 0 0 10 -600 -1000 -600 1000 N
P 2 0 0 10 -600 1000 600 1000 N
P 2 0 0 10 600 -1000 -600 -1000 N
P 2 0 0 10 600 1000 600 -1000 N
X 3V3 1 -800 900 200 R 40 40 0 0 W
X EN 2 -800 800 200 R 40 40 0 0 I
X SENSOR_VP 3 -800 700 200 R 40 40 0 0 I
X SENSOR_VN 4 -800 600 200 R 40 40 0 0 I
X IO34 5 -800 500 200 R 40 40 0 0 B
X IO35 6 -800 400 200 R 40 40 0 0 B
X IO32 7 -800 300 200 R 40 40 0 0 B
X IO33 8 -800 200 200 R 40 40 0 0 B
X IO25 9 -800 100 200 R 40 40 0 0 B
X IO26 10 -800 0 200 R 40 40 0 0 B
X IO27 11 -800 -100 200 R 40 40 0 0 B
X IO14 12 -800 -200 200 R 40 40 0 0 B
@ -35,25 +25,61 @@ X SD2 16 -800 -600 200 R 40 40 0 0 B
X SD3 17 -800 -700 200 R 40 40 0 0 B
X CMD 18 -800 -800 200 R 40 40 0 0 B
X EXT_5V 19 -800 -900 200 R 40 40 0 0 W
X CLK 38 800 -900 200 L 40 40 0 0 I C
X SD0 37 800 -800 200 L 40 40 0 0 B
X SD1 36 800 -700 200 L 40 40 0 0 B
X IO15 35 800 -600 200 L 40 40 0 0 B
X IO2 34 800 -500 200 L 40 40 0 0 B
X IO0 33 800 -400 200 L 40 40 0 0 B
X IO4 32 800 -300 200 L 40 40 0 0 B
X IO16 31 800 -200 200 L 40 40 0 0 B
X IO17 30 800 -100 200 L 40 40 0 0 B
X IO5 29 800 0 200 L 40 40 0 0 B
X IO18 28 800 100 200 L 40 40 0 0 B
X IO19 27 800 200 200 L 40 40 0 0 B
X GND2 26 800 300 200 L 40 40 0 0 W
X IO21 25 800 400 200 L 40 40 0 0 B
X RXD0 24 800 500 200 L 40 40 0 0 I
X TXD0 23 800 600 200 L 40 40 0 0 O
X IO22 22 800 700 200 L 40 40 0 0 B
X IO23 21 800 800 200 L 40 40 0 0 B
X EN 2 -800 800 200 R 40 40 0 0 I
X GND3 20 800 900 200 L 40 40 0 0 W
X IO23 21 800 800 200 L 40 40 0 0 B
X IO22 22 800 700 200 L 40 40 0 0 B
X TXD0 23 800 600 200 L 40 40 0 0 O
X RXD0 24 800 500 200 L 40 40 0 0 I
X IO21 25 800 400 200 L 40 40 0 0 B
X GND2 26 800 300 200 L 40 40 0 0 W
X IO19 27 800 200 200 L 40 40 0 0 B
X IO18 28 800 100 200 L 40 40 0 0 B
X IO5 29 800 0 200 L 40 40 0 0 B
X SENSOR_VP 3 -800 700 200 R 40 40 0 0 I
X IO17 30 800 -100 200 L 40 40 0 0 B
X IO16 31 800 -200 200 L 40 40 0 0 B
X IO4 32 800 -300 200 L 40 40 0 0 B
X IO0 33 800 -400 200 L 40 40 0 0 B
X IO2 34 800 -500 200 L 40 40 0 0 B
X IO15 35 800 -600 200 L 40 40 0 0 B
X SD1 36 800 -700 200 L 40 40 0 0 B
X SD0 37 800 -800 200 L 40 40 0 0 B
X CLK 38 800 -900 200 L 40 40 0 0 I C
X SENSOR_VN 4 -800 600 200 R 40 40 0 0 I
X IO34 5 -800 500 200 R 40 40 0 0 B
X IO35 6 -800 400 200 R 40 40 0 0 B
X IO32 7 -800 300 200 R 40 40 0 0 B
X IO33 8 -800 200 200 R 40 40 0 0 B
X IO25 9 -800 100 200 R 40 40 0 0 B
ENDDRAW
ENDDEF
#
# SL2300
#
DEF SL2300 Q 0 40 Y Y 1 F N
F0 "Q" 0 0 50 H V C CNN
F1 "SL2300" 300 0 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
C 15 0 110 1 1 10 N
C 50 -70 10 1 1 0 F
C 50 70 10 1 1 0 F
P 2 1 1 0 -40 0 -150 0 N
P 2 1 1 10 -40 75 -40 -75 N
P 2 1 1 10 -20 -50 -20 -90 N
P 2 1 1 10 -20 20 -20 -20 N
P 2 1 1 10 -20 90 -20 50 N
P 2 1 1 0 50 100 50 70 N
P 3 1 1 0 50 -100 50 0 -20 0 N
P 4 1 1 0 -20 -70 80 -70 80 70 -20 70 N
P 4 1 1 0 -10 0 30 15 30 -15 -10 0 F
P 4 1 1 0 60 20 65 15 95 15 100 10 N
P 4 1 1 0 80 15 65 -10 95 -10 80 15 N
X G 1 -250 0 100 R 50 50 1 1 I
X S 2 50 -200 100 U 50 50 1 1 P
X D 3 50 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#

View File

@ -0,0 +1,27 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#(c) SnapEDA 2016 (snapeda.com)
#This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA) with Design Exception 1.0
#
# LP38690DT-3.3
#
DEF LP38690DT-3.3 U 0 40 Y Y 1 L N
F0 "U" -400 200 50 H V L BNN
F1 "LP38690DT-3.3" -400 -300 50 H V L BNN
F2 "DPAK457P991X255-3N" 0 0 50 H I L BNN
F3 "IPC-7351B" 0 0 50 H I L BNN
F4 "Texas Instruments" 0 0 50 H I L BNN
F5 "M" 0 0 50 H I L BNN
F6 "2.55mm" 0 0 50 H I L BNN
DRAW
P 2 0 0 6 -400 200 -400 -200 N
P 2 0 0 6 -400 -200 400 -200 N
P 2 0 0 6 400 -200 400 200 N
P 2 0 0 6 400 200 -400 200 N
X IN 3 -600 100 200 R 40 40 0 0 I
X OUT 1 600 100 200 L 40 40 0 0 O
X GND 4 600 -100 200 L 40 40 0 0 W
ENDDRAW
ENDDEF
#
# End Library

View File

@ -0,0 +1 @@
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/#"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/#" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/#">link to the import guide</a>. </body></html>

View File

@ -0,0 +1,13 @@
# For PCBs designed using KiCAD: http://www.kicad-pcb.org/
# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
# Netlist files (exported from Eeschema)
*.net
# Autorouter files (exported from Pcbnew)
.dsn

View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 kubabu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,12 @@
# misc_footprints
Library of KiCad footprints with various parts
==============================================
Modules:
* TP4056 Li-Ion cell charger module with BMS: DW01 + 8205S for protection
* XL6009 DC-DC step-up (boost) voltage converter
* MT3608 DC-DC step-up (boost) voltage converter
* MP1584 DC-DC step-down (buck) voltage converter
Parts:
* 18650 one-cell casket
* Nokia N95 battery connector

View File

@ -0,0 +1,43 @@
import os
import sys
dir_path = None
# Gerber files generated by Kicad are content- compatible with those
# made in EAGLE but naming convention is different, which can be problematic
# Renaming GERBERS to EAGLE convention eg. enables OSHPark to parse them
# Remember to megre PTH and NPTH drillings to one .drl file
EAGLE_counterparts = {
"-F.Cu.gbr": ".GTL", # Top Layer
"-B.Cu.gbr": ".GBL", # Bottom Layer
"-F.Mask.gbr": ".GTS", # Top Soldermask
"-B.Mask.gbr": ".GBS", # Bottom Soldermask
"-F.SilkS.gbr": ".GTO", # Top Silkscreen
"-B.SilkS.gbr": ".GBO", # Bottom Silkscreen
# "": ".G2L",
# "": ".G3L",
"-Edge.Cuts.gbr": ".GKO", # Board Outline
".drl": ".XLN" # Drills
}
def eaglize_file(filename):
for k_format in EAGLE_counterparts.keys():
if filename.endswith(k_format):
k = filename.rfind(k_format)
new_filename = filename[:k] + EAGLE_counterparts[k_format]
os.rename(filename, new_filename)
return new_filename
if __name__ == "__main__":
try:
dir_path = sys.argv[1]
except IndexError:
dir_path = '.'
for root, dirs, files in os.walk(dir_path):
for file_name in files:
eaglize_file(file_name)

View File

@ -0,0 +1,37 @@
(module 16850_cell_casket (layer F.Cu) (tedit 55D20D10)
(fp_text reference REF** (at 38.7 -6.45) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 16850_cell_casket (at 19.812 -11.684) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 49.5 -3) (end 44.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start 49.5 -3) (end 55.5 0) (layer F.SilkS) (width 0.15))
(fp_line (start 76.5 -3.5) (end 76.5 3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 76.5 3.5) (end 1.5 3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 1.5 3.5) (end 1.5 -3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 1.5 -3.5) (end 76.5 -3.5) (layer F.SilkS) (width 0.15))
(fp_line (start 55.5 0) (end 49.5 3) (layer F.SilkS) (width 0.15))
(fp_line (start 49.5 3) (end 44.5 0) (layer F.SilkS) (width 0.15))
(fp_text user BLM (at 49.9 0.1) (layer F.SilkS)
(effects (font (size 3 2) (thickness 0.15)))
)
(fp_text user 18650 (at 27.5 0) (layer F.SilkS)
(effects (font (size 2 2) (thickness 0.15)))
)
(fp_line (start 60.5 0) (end 62.5 0) (layer F.SilkS) (width 0.15))
(fp_circle (center 61.5 0) (end 63 -0.5) (layer F.SilkS) (width 0.15))
(fp_line (start 18 -1) (end 18 1) (layer F.SilkS) (width 0.15))
(fp_line (start 17 0) (end 19 0) (layer F.SilkS) (width 0.15))
(fp_circle (center 18 0) (end 19 -1) (layer F.SilkS) (width 0.15))
(fp_circle (center 67 0) (end 67 -2) (layer F.SilkS) (width 0.15))
(fp_circle (center 11 0) (end 11 -2) (layer F.SilkS) (width 0.15))
(fp_circle (center 67 0) (end 66.8 -1.5) (layer F.SilkS) (width 0.15))
(fp_circle (center 11 0) (end 10.8 -1.5) (layer F.SilkS) (width 0.15))
(fp_line (start 0 10.45) (end 0 -10.45) (layer F.SilkS) (width 0.15))
(fp_line (start 78 10.45) (end 0 10.45) (layer F.SilkS) (width 0.15))
(fp_line (start 78 -10.45) (end 78 10.45) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -10.45) (end 78 -10.45) (layer F.SilkS) (width 0.15))
(pad 2 thru_hole rect (at 77.474 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
(pad 1 thru_hole rect (at 0.504 0) (size 1.524 1.524) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,48 @@
(module 4056E_LiIon_loader (layer F.Cu) (tedit 569E29C6)
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.29 8.5) (end 12.7 8.5) (layer F.SilkS) (width 0.15))
(fp_line (start -13.3 -8.5) (end 12.7 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start -13.77 3.36) (end -13.77 -3.19) (layer F.SilkS) (width 0.15))
(fp_text user microUSB (at -9.438 0.086 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.756 3.388) (end -13.248 3.388) (layer F.SilkS) (width 0.15))
(fp_line (start -13.248 3.388) (end -12.994 2.88) (layer F.SilkS) (width 0.15))
(fp_line (start -12.994 2.88) (end -12.74 2.88) (layer F.SilkS) (width 0.15))
(fp_line (start -13.756 -3.216) (end -13.248 -3.216) (layer F.SilkS) (width 0.15))
(fp_line (start -13.248 -3.216) (end -12.994 -2.708) (layer F.SilkS) (width 0.15))
(fp_line (start -12.994 -2.708) (end -8.168 -2.708) (layer F.SilkS) (width 0.15))
(fp_line (start -8.168 -2.708) (end -8.168 2.88) (layer F.SilkS) (width 0.15))
(fp_line (start -8.168 2.88) (end -12.74 2.88) (layer F.SilkS) (width 0.15))
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.296 8.5) (end -13.296 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 12.706 -8.5) (end 12.706 8.5) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole rect (at -11 -6.5) (size 3 3) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole rect (at -11 6.5) (size 3 3) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole rect (at 11 7) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole rect (at 11 -7) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole rect (at 11 -3.75) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole rect (at 11 3.75) (size 2.5 2.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,48 @@
(module 4056E_LiIon_loader_SMT (layer F.Cu) (tedit 569E2953)
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.29 8.5) (end 12.7 8.5) (layer F.SilkS) (width 0.15))
(fp_line (start -13.3 -8.5) (end 12.7 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start -13.87 3.26) (end -13.87 -3.29) (layer F.SilkS) (width 0.15))
(fp_text user microUSB (at -9.538 -0.014 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.856 3.288) (end -13.348 3.288) (layer F.SilkS) (width 0.15))
(fp_line (start -13.348 3.288) (end -13.094 2.78) (layer F.SilkS) (width 0.15))
(fp_line (start -13.094 2.78) (end -12.84 2.78) (layer F.SilkS) (width 0.15))
(fp_line (start -13.856 -3.316) (end -13.348 -3.316) (layer F.SilkS) (width 0.15))
(fp_line (start -13.348 -3.316) (end -13.094 -2.808) (layer F.SilkS) (width 0.15))
(fp_line (start -13.094 -2.808) (end -8.268 -2.808) (layer F.SilkS) (width 0.15))
(fp_line (start -8.268 -2.808) (end -8.268 2.78) (layer F.SilkS) (width 0.15))
(fp_line (start -8.268 2.78) (end -12.84 2.78) (layer F.SilkS) (width 0.15))
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.296 8.5) (end -13.296 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 12.706 -8.5) (end 12.706 8.5) (layer F.SilkS) (width 0.15))
(pad 1 smd rect (at -11 -6.75) (size 3 3) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -11 6.75) (size 3 3) (layers F.Cu F.Paste F.Mask))
(pad 6 smd rect (at 11 7) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
(pad 5 smd rect (at 11 -7) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 11 -3.75) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at 11 3.75) (size 3 2.5) (layers F.Cu F.Paste F.Mask))
)

View File

@ -0,0 +1,48 @@
(module 4056E_LiIon_loader_prot (layer F.Cu) (tedit 55D73003)
(fp_text reference M1 (at -1.266 1.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 4056E_Loader_prot (at 0.66 -3.46) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.29 8.27) (end 12.7 8.27) (layer F.SilkS) (width 0.15))
(fp_line (start -13.3 -8.88) (end 12.7 -8.87) (layer F.SilkS) (width 0.15))
(fp_line (start -13.87 2.96) (end -13.87 -3.59) (layer F.SilkS) (width 0.15))
(fp_text user microUSB (at -9.538 -0.314 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.856 2.988) (end -13.348 2.988) (layer F.SilkS) (width 0.15))
(fp_line (start -13.348 2.988) (end -13.094 2.48) (layer F.SilkS) (width 0.15))
(fp_line (start -13.094 2.48) (end -12.84 2.48) (layer F.SilkS) (width 0.15))
(fp_line (start -13.856 -3.616) (end -13.348 -3.616) (layer F.SilkS) (width 0.15))
(fp_line (start -13.348 -3.616) (end -13.094 -3.108) (layer F.SilkS) (width 0.15))
(fp_line (start -13.094 -3.108) (end -8.268 -3.108) (layer F.SilkS) (width 0.15))
(fp_line (start -8.268 -3.108) (end -8.268 2.48) (layer F.SilkS) (width 0.15))
(fp_line (start -8.268 2.48) (end -12.84 2.48) (layer F.SilkS) (width 0.15))
(fp_text user B- (at 10.674 1.29) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user B+ (at 10.674 -2.012) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT- (at 7.19 6.556) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user OUT+ (at 6.87 -6.348) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN- (at -6.9 6.76) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user IN+ (at -7.43 -6.13) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -13.296 8.275) (end -13.296 -8.87) (layer F.SilkS) (width 0.15))
(fp_line (start 12.706 -8.87) (end 12.706 8.275) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole rect (at -10.76 -6.51) (size 2.1 2.1) (drill 1) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole rect (at -10.76 6.37) (size 2.1 2.1) (drill 1) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole rect (at 10.7 6.37) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole rect (at 10.7 -6.33) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole rect (at 10.7 -3.79) (size 2.1 2.1) (drill 1.2) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole rect (at 10.7 3.83) (size 2.1 2.1) (drill 0.762) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,89 @@
(module MP1584_buck_module (layer F.Cu) (tedit 55D1F7A1)
(fp_text reference REF** (at 5.08 0.762) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value MP1584_buck_module (at 0.635 9.144) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 3.302 4.318) (end 1.016 6.096) (layer F.SilkS) (width 0.15))
(fp_line (start -6.096 4.318) (end 3.302 4.318) (layer F.SilkS) (width 0.15))
(fp_line (start 3.302 4.318) (end 1.016 2.54) (layer F.SilkS) (width 0.15))
(fp_line (start -1.524 -1.778) (end -1.016 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -1.016 -1.778) (end -1.016 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -1.016 2.286) (end -1.524 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -1.524 2.286) (end -1.524 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -1.524 2.794) (end -1.778 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -1.778 2.794) (end -1.778 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -1.778 2.286) (end -2.794 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -2.794 2.286) (end -2.794 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -2.794 2.794) (end -3.048 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -3.048 2.794) (end -3.048 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -3.048 2.286) (end -4.064 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -4.064 2.286) (end -4.064 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -4.064 2.794) (end -4.318 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -4.318 2.794) (end -4.318 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -4.318 2.286) (end -5.334 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -5.334 2.286) (end -5.334 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -5.334 2.794) (end -5.588 2.794) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 2.794) (end -5.588 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 2.286) (end -6.096 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -6.096 2.286) (end -6.096 2.032) (layer F.SilkS) (width 0.15))
(fp_line (start -2.794 -1.778) (end -1.778 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -4.064 -1.778) (end -3.048 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -5.334 -1.778) (end -4.318 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -1.778 -1.778) (end -1.778 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -1.778 -2.286) (end -1.524 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -3.048 -1.778) (end -3.048 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -3.048 -2.286) (end -2.794 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -4.318 -1.778) (end -4.318 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -4.318 -2.286) (end -4.064 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -6.096 2.032) (end -6.096 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -6.096 -1.778) (end -5.842 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -5.842 -1.778) (end -5.588 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 -1.778) (end -5.588 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 -2.286) (end -5.334 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -1.524 -1.778) (end -1.524 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -2.794 -2.286) (end -2.794 -1.778) (layer F.SilkS) (width 0.15))
(fp_line (start -4.064 -1.778) (end -4.064 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -5.334 -1.778) (end -5.334 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start 10.033 0.508) (end 8.509 0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 8.509 0.508) (end 9.271 0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 9.271 0.508) (end 9.271 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start 9.271 -2.286) (end 9.271 -0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 9.271 -0.508) (end 8.509 -0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 8.509 -0.508) (end 10.033 -0.508) (layer F.SilkS) (width 0.15))
(fp_line (start -2.159 -7.62) (end -2.159 -5.334) (layer F.SilkS) (width 0.15))
(fp_line (start -4.191 -7.62) (end -4.191 -5.334) (layer F.SilkS) (width 0.15))
(fp_line (start -4.191 -5.334) (end -2.159 -6.604) (layer F.SilkS) (width 0.15))
(fp_line (start -2.159 -6.604) (end -4.191 -7.62) (layer F.SilkS) (width 0.15))
(fp_line (start 6.223 -6.604) (end 1.397 -6.604) (layer F.SilkS) (width 0.15))
(fp_line (start 1.397 -6.604) (end 1.397 -0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 1.397 -0.508) (end 6.985 -0.508) (layer F.SilkS) (width 0.15))
(fp_line (start 6.985 -0.508) (end 6.985 -6.604) (layer F.SilkS) (width 0.15))
(fp_line (start 6.985 -6.604) (end 6.223 -6.604) (layer F.SilkS) (width 0.15))
(fp_line (start 6.223 -7.62) (end 7.239 -7.62) (layer F.SilkS) (width 0.15))
(fp_circle (center 6.731 -7.62) (end 7.239 -7.874) (layer F.SilkS) (width 0.15))
(fp_line (start 6.731 7.112) (end 6.731 8.128) (layer F.SilkS) (width 0.15))
(fp_line (start 6.223 7.62) (end 7.239 7.62) (layer F.SilkS) (width 0.15))
(fp_circle (center 6.731 7.62) (end 7.239 7.874) (layer F.SilkS) (width 0.15))
(fp_line (start 7.493 8.382) (end 7.493 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start 7.493 2.286) (end 11.049 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start 11.049 -2.286) (end 7.493 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start 7.493 -2.286) (end 7.493 -8.382) (layer F.SilkS) (width 0.15))
(fp_line (start -11.049 2.286) (end -7.493 2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -7.493 2.286) (end -7.493 8.382) (layer F.SilkS) (width 0.15))
(fp_line (start -7.493 -8.382) (end -7.493 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -7.493 -2.286) (end -11.049 -2.286) (layer F.SilkS) (width 0.15))
(fp_line (start -11.049 -8.382) (end 11.049 -8.382) (layer F.SilkS) (width 0.15))
(fp_line (start 11.049 -8.382) (end 11.049 8.382) (layer F.SilkS) (width 0.15))
(fp_line (start 11.049 8.382) (end -11.049 8.382) (layer F.SilkS) (width 0.15))
(fp_line (start -11.049 8.382) (end -11.049 -8.382) (layer F.SilkS) (width 0.15))
(pad 2 thru_hole circle (at -9.271 -6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 1 thru_hole rect (at -9.271 6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole circle (at 9.271 -6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole rect (at 9.271 6.604) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole rect (at 9.271 -4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole rect (at -9.271 -4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 1 thru_hole circle (at -9.271 4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole circle (at 9.271 4.064) (size 1.524 1.524) (drill 0.7) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,36 @@
(module MT3608_module (layer F.Cu) (tedit 569D6CFB)
(fp_text reference M2 (at 0.25 6 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value DC_DC_boost_module (at 0 -1 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VOUT- (at -16 6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VIN+ (at 14 -6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VIN- (at 14 6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VOUT+ (at -16 -6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -8 -7) (end -8 -4) (layer F.SilkS) (width 0.15))
(fp_line (start -4.5 -7) (end -4.5 -4) (layer F.SilkS) (width 0.15))
(fp_line (start -4.5 -4) (end -8 -5.5) (layer F.SilkS) (width 0.15))
(fp_line (start -8 -5.5) (end -4.5 -7) (layer F.SilkS) (width 0.15))
(fp_arc (start -17 -6) (end -19.5 -6) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 14 -6) (end 14 -8.5) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 14 6) (end 16.5 6) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start -17 6) (end -17 8.5) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start -17 8.5) (end 14 8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 14 -8.5) (end -17 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 16.5 6) (end 16.5 -6) (layer F.SilkS) (width 0.15))
(fp_line (start -19.5 -6) (end -19.5 6) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole rect (at 14 -3.2 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole rect (at 14 3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole rect (at -17 3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole rect (at -17 -3.25 180) (size 5 3.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,39 @@
(module MT3608_module_SMT (layer F.Cu) (tedit 569D6C5F)
(fp_text reference M2 (at 0.25 6 180) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value DC_DC_boost_module (at 0 -1 180) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VOUT- (at -16 6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VIN+ (at 14 -6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VIN- (at 14 6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user VOUT+ (at -16 -6.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -8 -7) (end -8 -4) (layer F.SilkS) (width 0.15))
(fp_line (start -4.5 -7) (end -4.5 -4) (layer F.SilkS) (width 0.15))
(fp_line (start -4.5 -4) (end -8 -5.5) (layer F.SilkS) (width 0.15))
(fp_line (start -8 -5.5) (end -4.5 -7) (layer F.SilkS) (width 0.15))
(fp_arc (start -17 -6) (end -19.5 -6) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 14 -6) (end 14 -8.5) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 14 6) (end 16.5 6) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start -17 6) (end -17 8.5) (angle 90) (layer F.SilkS) (width 0.15))
(fp_line (start -17 8.5) (end 14 8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 14 -8.5) (end -17 -8.5) (layer F.SilkS) (width 0.15))
(fp_line (start 16.5 6) (end 16.5 -6) (layer F.SilkS) (width 0.15))
(fp_line (start -19.5 -6) (end -19.5 6) (layer F.SilkS) (width 0.15))
(pad "" thru_hole circle (at -7.75 5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
(pad "" thru_hole circle (at -5.5 2.5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
(pad "" thru_hole circle (at -10.5 2.5) (size 2.1 2.1) (drill 2) (layers *.Cu *.Mask F.SilkS))
(pad 1 smd rect (at 14 -3.2 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 14 3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -17 3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -17 -3.25 180) (size 5 3.5) (layers F.Cu F.Paste F.Mask))
)

View File

@ -0,0 +1,14 @@
(module N95_battery_connector (layer F.Cu) (tedit 569FD4EC)
(fp_text reference CON** (at -0.5 6) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value N95_battery_connector (at 0.5 -6) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 2.5 -4.5) (end -3 -4.5) (layer F.SilkS) (width 0.15))
(fp_line (start -3 -4.5) (end -3 4.5) (layer F.SilkS) (width 0.15))
(fp_line (start -3 4.5) (end 2.5 4.5) (layer F.SilkS) (width 0.15))
(pad 2 smd rect (at 0 0) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at 0 -3.5) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
(pad 1 smd rect (at 0 3.5) (size 5.5 1.5) (layers F.Cu F.Paste F.Mask))
)

View File

@ -0,0 +1,55 @@
(module XL6009_module (layer F.Cu) (tedit 56419D18)
(fp_text reference M2 (at -38.375 -16.125) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value DC_DC_boost_module (at -22.9 -7.075) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center -6.604 -2.54) (end -5.842 -0.508) (layer F.SilkS) (width 0.15))
(fp_circle (center -6.604 -2.54) (end -6.604 -1.016) (layer F.SilkS) (width 0.15))
(fp_circle (center -36.576 -18.542) (end -37.084 -20.574) (layer F.SilkS) (width 0.15))
(fp_circle (center -36.576 -18.542) (end -36.576 -20.066) (layer F.SilkS) (width 0.15))
(fp_line (start -11.176 -19.05) (end -11.176 -14.986) (layer F.SilkS) (width 0.15))
(fp_line (start -15.24 -19.05) (end -15.24 -14.986) (layer F.SilkS) (width 0.15))
(fp_line (start -15.24 -14.986) (end -11.176 -17.018) (layer F.SilkS) (width 0.15))
(fp_line (start -11.176 -17.018) (end -15.24 -19.05) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -17.526) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
(fp_circle (center -30.48 -18.034) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
(fp_line (start -31.496 -19.558) (end -31.496 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -31.496 -16.002) (end -30.988 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -16.002) (end -30.988 -16.51) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -16.51) (end -22.86 -16.51) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -16.51) (end -22.86 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -16.002) (end -22.352 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -22.352 -16.002) (end -22.352 -19.558) (layer F.SilkS) (width 0.15))
(fp_line (start -22.352 -19.558) (end -31.496 -19.558) (layer F.SilkS) (width 0.15))
(fp_line (start -41.148 -7.874) (end -35.052 -7.874) (layer F.SilkS) (width 0.15))
(fp_line (start -35.052 -7.874) (end -35.052 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -35.052 -12.446) (end -36.576 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -36.576 -13.97) (end -39.624 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -39.624 -13.97) (end -41.148 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -41.148 -12.446) (end -41.148 -7.874) (layer F.SilkS) (width 0.15))
(fp_line (start -0.508 -12.446) (end -0.508 -6.858) (layer F.SilkS) (width 0.15))
(fp_line (start -0.508 -6.858) (end -7.62 -6.858) (layer F.SilkS) (width 0.15))
(fp_line (start -7.62 -6.858) (end -7.62 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -7.62 -12.446) (end -5.588 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 -13.97) (end -2.54 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -2.54 -13.97) (end -0.508 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -0.762) (end -33.02 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -33.02 -0.762) (end -34.036 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -34.036 -0.762) (end -34.036 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start -34.036 -11.938) (end -22.86 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -11.938) (end -22.86 -10.414) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -10.922) (end -22.86 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -0.762) (end -30.988 -0.762) (layer F.SilkS) (width 0.15))
(fp_circle (center -38.1 -10.922) (end -35.56 -12.446) (layer F.SilkS) (width 0.15))
(fp_circle (center -4.064 -10.414) (end -1.016 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start 0 0) (end -43.18 0) (layer F.SilkS) (width 0.15))
(fp_line (start -43.18 0) (end -43.18 -21.082) (layer F.SilkS) (width 0.15))
(fp_line (start 0 0) (end 0 -21.082) (layer F.SilkS) (width 0.15))
(fp_line (start -43.18 -21.082) (end 0 -21.082) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole rect (at -41.3258 -19.1516) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole rect (at -41.3258 -1.9812) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole rect (at -1.8542 -1.9812) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole rect (at -1.8542 -19.1262) (size 1.524 1.524) (drill 1) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -0,0 +1,58 @@
(module XL6009_module_SMT (layer F.Cu) (tedit 569E2A66)
(fp_text reference M2 (at -38.375 -16.125) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value DC_DC_boost_module (at -22.9 -7.075) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center -6.604 -2.54) (end -5.842 -0.508) (layer F.SilkS) (width 0.15))
(fp_circle (center -6.604 -2.54) (end -6.604 -1.016) (layer F.SilkS) (width 0.15))
(fp_circle (center -36.576 -18.542) (end -37.084 -20.574) (layer F.SilkS) (width 0.15))
(fp_circle (center -36.576 -18.542) (end -36.576 -20.066) (layer F.SilkS) (width 0.15))
(fp_line (start -11.176 -19.05) (end -11.176 -14.986) (layer F.SilkS) (width 0.15))
(fp_line (start -15.24 -19.05) (end -15.24 -14.986) (layer F.SilkS) (width 0.15))
(fp_line (start -15.24 -14.986) (end -11.176 -17.018) (layer F.SilkS) (width 0.15))
(fp_line (start -11.176 -17.018) (end -15.24 -19.05) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -17.526) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
(fp_circle (center -30.48 -18.034) (end -29.972 -18.542) (layer F.SilkS) (width 0.15))
(fp_line (start -31.496 -19.558) (end -31.496 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -31.496 -16.002) (end -30.988 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -16.002) (end -30.988 -16.51) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -16.51) (end -22.86 -16.51) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -16.51) (end -22.86 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -16.002) (end -22.352 -16.002) (layer F.SilkS) (width 0.15))
(fp_line (start -22.352 -16.002) (end -22.352 -19.558) (layer F.SilkS) (width 0.15))
(fp_line (start -22.352 -19.558) (end -31.496 -19.558) (layer F.SilkS) (width 0.15))
(fp_line (start -41.148 -7.874) (end -35.052 -7.874) (layer F.SilkS) (width 0.15))
(fp_line (start -35.052 -7.874) (end -35.052 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -35.052 -12.446) (end -36.576 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -36.576 -13.97) (end -39.624 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -39.624 -13.97) (end -41.148 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -41.148 -12.446) (end -41.148 -7.874) (layer F.SilkS) (width 0.15))
(fp_line (start -0.508 -12.446) (end -0.508 -6.858) (layer F.SilkS) (width 0.15))
(fp_line (start -0.508 -6.858) (end -7.62 -6.858) (layer F.SilkS) (width 0.15))
(fp_line (start -7.62 -6.858) (end -7.62 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -7.62 -12.446) (end -5.588 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -5.588 -13.97) (end -2.54 -13.97) (layer F.SilkS) (width 0.15))
(fp_line (start -2.54 -13.97) (end -0.508 -12.446) (layer F.SilkS) (width 0.15))
(fp_line (start -30.988 -0.762) (end -33.02 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -33.02 -0.762) (end -34.036 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -34.036 -0.762) (end -34.036 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start -34.036 -11.938) (end -22.86 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -11.938) (end -22.86 -10.414) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -10.922) (end -22.86 -0.762) (layer F.SilkS) (width 0.15))
(fp_line (start -22.86 -0.762) (end -30.988 -0.762) (layer F.SilkS) (width 0.15))
(fp_circle (center -38.1 -10.922) (end -35.56 -12.446) (layer F.SilkS) (width 0.15))
(fp_circle (center -4.064 -10.414) (end -1.016 -11.938) (layer F.SilkS) (width 0.15))
(fp_line (start 0 0) (end -43.18 0) (layer F.SilkS) (width 0.15))
(fp_line (start -43.18 0) (end -43.18 -21.082) (layer F.SilkS) (width 0.15))
(fp_line (start 0 0) (end 0 -21.082) (layer F.SilkS) (width 0.15))
(fp_line (start -43.18 -21.082) (end 0 -21.082) (layer F.SilkS) (width 0.15))
(pad "" thru_hole circle (at -25.2 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad "" thru_hole circle (at -27.8 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
(pad 1 smd rect (at -41.3258 -19.1516) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -41.3258 -1.9812) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
(pad 3 smd rect (at -1.8542 -1.9812) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
(pad 4 smd rect (at -1.8542 -19.1262) (size 3.8 4) (layers F.Cu F.Paste F.Mask))
(pad "" thru_hole circle (at -30.3 -18) (size 1.5 1.5) (drill 1.25) (layers *.Cu *.Mask F.SilkS))
)

View File

@ -1,3 +1,4 @@
(sym_lib_table
(lib (name ESP32-DEVKITC-32D)(type Legacy)(uri ${KIPRJMOD}/kicad-stuff/ESP32-DEVKITC-32D.lib)(options "")(descr ""))
(lib (name LP38690DT-3.3)(type Legacy)(uri ${KIPRJMOD}/kicad-stuff/LP38690DT-3.3.lib)(options "")(descr ""))
)

View File

@ -19,9 +19,16 @@
},
"settings": {
"deepsleep": 60000,
"pumpdeepsleep": 1000,
"plants" : 3,
"moist1" : 2000,
"moist2" : 2000,
"moist3" : 2000
"moist3" : 2000,
"plant1MaxPumpTime": 1000,
"plant2MaxPumpTime": 1000,
"plant3MaxPumpTime": 1000,
"plant1MinPumpIdle": 10000,
"plant2MinPumpIdle": 10000,
"plant3MinPumpIdle": 10000
}
}

View File

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

View File

@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

View File

@ -0,0 +1,39 @@
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html

View File

@ -0,0 +1,46 @@
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html

View File

@ -0,0 +1,15 @@
; 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
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
build_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY

View File

@ -0,0 +1,108 @@
#include <Arduino.h>
#include "esp_sleep.h"
#define uS_TO_S_FACTOR 1000000 /* Conversion factor for micro seconds to seconds */
#define TIME_TO_SLEEP 2 /* Time ESP32 will go to sleep (in seconds) */
RTC_DATA_ATTR int bootCount = 0;
int secondBootCount = 0;
void print_wakeup_reason(){
esp_sleep_wakeup_cause_t wakeup_reason;
wakeup_reason = esp_sleep_get_wakeup_cause();
switch(wakeup_reason){
case ESP_SLEEP_WAKEUP_EXT0 : Serial.println("Wakeup caused by external signal using RTC_IO"); break;
case ESP_SLEEP_WAKEUP_EXT1 : Serial.println("Wakeup caused by external signal using RTC_CNTL"); break;
case ESP_SLEEP_WAKEUP_TIMER : Serial.println("Wakeup caused by timer"); break;
case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println("Wakeup caused by touchpad"); break;
case ESP_SLEEP_WAKEUP_ULP : Serial.println("Wakeup caused by ULP program"); break;
default : Serial.printf("Wakeup was not caused by deep sleep: %d\n",wakeup_reason); break;
}
}
void setup() {
pinMode(GPIO_NUM_23, OUTPUT);
pinMode(GPIO_NUM_22, OUTPUT);
pinMode(GPIO_NUM_21, OUTPUT);
pinMode(GPIO_NUM_19, OUTPUT);
pinMode(GPIO_NUM_18, OUTPUT);
pinMode(GPIO_NUM_5, OUTPUT);
pinMode(GPIO_NUM_4, OUTPUT);
pinMode(GPIO_NUM_15, OUTPUT);
pinMode(GPIO_NUM_13, OUTPUT);
digitalWrite(GPIO_NUM_23, HIGH);
digitalWrite(GPIO_NUM_22, HIGH);
digitalWrite(GPIO_NUM_21, HIGH);
digitalWrite(GPIO_NUM_19, HIGH);
digitalWrite(GPIO_NUM_18, HIGH);
digitalWrite(GPIO_NUM_5, HIGH);
digitalWrite(GPIO_NUM_4, HIGH);
digitalWrite(GPIO_NUM_15, HIGH);
digitalWrite(GPIO_NUM_13, HIGH);
Serial.begin(115200);
//Increment boot number and print it every reboot
++bootCount;
++secondBootCount;
Serial.println("Boot number: " + String(bootCount) + " " + String(secondBootCount));
//Print the wakeup reason for ESP32
print_wakeup_reason();
/*
First we configure the wake up source
We set our ESP32 to wake up every 5 seconds
*/
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
Serial.println("Setup ESP32 to sleep for every " + String(TIME_TO_SLEEP) +
" Seconds");
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_ON);
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_FAST_MEM, ESP_PD_OPTION_OFF);
esp_sleep_pd_config(ESP_PD_DOMAIN_XTAL,ESP_PD_OPTION_ON);
pinMode(GPIO_NUM_32, ANALOG);
digitalWrite(GPIO_NUM_32, HIGH);
pinMode(GPIO_NUM_33, INPUT_PULLUP);
digitalWrite(GPIO_NUM_33, HIGH);
pinMode(GPIO_NUM_25, INPUT_PULLUP);
digitalWrite(GPIO_NUM_25, HIGH);
pinMode(GPIO_NUM_26, INPUT_PULLUP);
pinMode(GPIO_NUM_27, INPUT_PULLUP);
pinMode(GPIO_NUM_14, INPUT_PULLUP);
pinMode(GPIO_NUM_12, INPUT_PULLUP);
}
void loop() {
Serial.println("------------");
Serial.flush();
delay(1000);
digitalWrite(GPIO_NUM_23, analogRead(GPIO_NUM_34) > 3500);
Serial.println(analogRead(GPIO_NUM_34));
Serial.println(analogRead(GPIO_NUM_35));
Serial.println(analogRead(GPIO_NUM_32));
Serial.println(analogRead(GPIO_NUM_33));
Serial.println(analogRead(GPIO_NUM_25));
Serial.println(analogRead(GPIO_NUM_26));
Serial.println(analogRead(GPIO_NUM_27));
Serial.println(analogRead(GPIO_NUM_14));
Serial.println(analogRead(GPIO_NUM_12));
gpio_hold_en(GPIO_NUM_4);
gpio_hold_en(GPIO_NUM_13);
gpio_hold_en(GPIO_NUM_15);
gpio_deep_sleep_hold_en();
esp_deep_sleep_start();
}

View File

@ -0,0 +1,11 @@
This directory is intended for PlatformIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html

Binary file not shown.

Binary file not shown.