This commit is contained in:
Marcus 2024-04-02 02:18:10 +02:00
parent cb938871b8
commit c7090483cd
4 changed files with 1962 additions and 934 deletions

View file

@ -7,10 +7,10 @@
* D0 - MOSFET Fan
* D1, D2 - I2C
* D3 - DHT11
* D4 - analog soil moisture (set HIGH to read value)
* D5 - MOSFET Grow LED, PWM
* D6 - MOSFET Pump
* D7 - waterlevel (set HIGH to read value)
* D8 - analog soil moisture (set HIGH to read value)
* A0 - analog input for soil moisture and waterlevel readings
*
* D4 and D7 cannot be HIGH at the same time!
@ -28,10 +28,10 @@ uint8_t PINfan = D0;
// If D3 is pulled to LOW, boot fails
uint8_t PINdht = D3;
// D4 is HIGH at boot, boot fail if pulled to LOW
uint8_t PINsoilmoisture = D4;
uint8_t PINled = D5; //
uint8_t PINpump = D6;
uint8_t PINwaterlevel = D7;
uint8_t PINsoilmoisture = D8;
uint8_t PINanalog = A0;
#define WIRE Wire

File diff suppressed because it is too large Load diff

View file

@ -6,14 +6,14 @@
"apply_defaults_to_fp_fields": false,
"apply_defaults_to_fp_shapes": false,
"apply_defaults_to_fp_text": false,
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"board_outline_line_width": 0.05,
"copper_line_width": 0.2,
"copper_text_italic": false,
"copper_text_size_h": 1.5,
"copper_text_size_v": 1.5,
"copper_text_thickness": 0.3,
"copper_text_upright": false,
"courtyard_line_width": 0.049999999999999996,
"courtyard_line_width": 0.05,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
@ -24,13 +24,13 @@
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"fab_line_width": 0.1,
"fab_text_italic": false,
"fab_text_size_h": 1.0,
"fab_text_size_v": 1.0,
"fab_text_thickness": 0.15,
"fab_text_upright": false,
"other_line_width": 0.09999999999999999,
"other_line_width": 0.1,
"other_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
@ -41,17 +41,23 @@
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.09999999999999999,
"silk_line_width": 0.1,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.09999999999999999,
"silk_text_thickness": 0.1,
"silk_text_upright": false,
"zones": {
"min_clearance": 0.5
"min_clearance": 0.0
}
},
"diff_pair_dimensions": [],
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"version": 2
@ -114,15 +120,15 @@
"min_copper_edge_clearance": 0.5,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_microvia_diameter": 0.2,
"min_microvia_drill": 0.1,
"min_resolved_spokes": 2,
"min_silk_clearance": 0.0,
"min_text_height": 0.7999999999999999,
"min_text_height": 0.8,
"min_text_thickness": 0.08,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.0,
"min_via_annular_width": 0.09999999999999999,
"min_via_annular_width": 0.1,
"min_via_diameter": 0.5,
"solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true
@ -170,7 +176,9 @@
"td_width_to_size_filter_ratio": 0.9
}
],
"track_widths": [],
"track_widths": [
0.0
],
"tuning_pattern_settings": {
"diff_pair_defaults": {
"corner_radius_percentage": 80,
@ -197,7 +205,12 @@
"spacing": 0.6
}
},
"via_dimensions": [],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"zones_allow_external_fillets": false
},
"ipc2581": {
@ -437,7 +450,7 @@
"classes": [
{
"bus_width": 12,
"clearance": 0.2,
"clearance": 0.3,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
@ -447,7 +460,7 @@
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.2,
"track_width": 0.6,
"via_diameter": 0.6,
"via_drill": 0.3,
"wire_width": 6

View file

@ -2725,6 +2725,16 @@
)
(uuid "61c21a51-7d03-4605-b834-349037b97794")
)
(wire
(pts
(xy 125.73 77.47) (xy 113.03 77.47)
)
(stroke
(width 0)
(type default)
)
(uuid "63954134-5b45-407c-8346-bfa6a006c28b")
)
(wire
(pts
(xy 68.58 128.27) (xy 76.2 128.27)
@ -2825,16 +2835,6 @@
)
(uuid "81ac692e-5ed3-41d8-aba1-339ce39a462e")
)
(wire
(pts
(xy 125.73 67.31) (xy 125.73 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "82bf73e6-1e06-4d48-b8e8-0eb464281ae0")
)
(wire
(pts
(xy 196.85 54.61) (xy 191.77 54.61)
@ -2885,6 +2885,16 @@
)
(uuid "89cf13a4-5e61-4bee-a27f-d02c293f7562")
)
(wire
(pts
(xy 125.73 162.56) (xy 125.73 77.47)
)
(stroke
(width 0)
(type default)
)
(uuid "91fa63b6-a31e-46f6-a64c-f23e34938d81")
)
(wire
(pts
(xy 193.04 49.53) (xy 193.04 62.23)
@ -3295,16 +3305,6 @@
)
(uuid "ff7d6bc6-4b02-421e-8637-954dcc023e3a")
)
(wire
(pts
(xy 125.73 67.31) (xy 113.03 67.31)
)
(stroke
(width 0)
(type default)
)
(uuid "ff95b020-31d3-4ab4-b0cf-084e390728d3")
)
(wire
(pts
(xy 113.03 62.23) (xy 193.04 62.23)
@ -3385,7 +3385,7 @@
)
(uuid "a1650987-1fd0-4684-839d-80d4778c0e67")
)
(text "Pin D4"
(text "Pin D8"
(exclude_from_sim no)
(at 121.666 161.29 0)
(effects