made pot holes larger

This commit is contained in:
cyberboy666
2022-10-27 20:04:00 +13:00
parent 1c5fe85660
commit e6a5c994d5
9 changed files with 34046 additions and 4460 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,74 @@
{
"board": {
"active_layer": 0,
"active_layer_preset": "",
"auto_track_width": true,
"hidden_nets": [],
"high_contrast_mode": 0,
"net_color_mode": 1,
"opacity": {
"pads": 1.0,
"tracks": 1.0,
"vias": 1.0,
"zones": 0.6
},
"ratsnest_display_mode": 0,
"selection_filter": {
"dimensions": true,
"footprints": true,
"graphics": true,
"keepouts": true,
"lockedItems": true,
"otherItems": true,
"pads": true,
"text": true,
"tracks": true,
"vias": true,
"zones": true
},
"visible_items": [
0,
1,
2,
3,
4,
5,
8,
9,
10,
11,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
32,
33,
34,
35,
36
],
"visible_layers": "001ffff_80000001",
"zone_display_mode": 0
},
"meta": {
"filename": "c_l_i_k_r.kicad_prl",
"version": 3
},
"project": {
"files": []
}
}

View File

@@ -0,0 +1,424 @@
{
"board": {
"design_settings": {
"defaults": {
"board_outline_line_width": 0.049999999999999996,
"copper_line_width": 0.19999999999999998,
"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,
"dimension_precision": 4,
"dimension_units": 3,
"dimensions": {
"arrow_length": 1270000,
"extension_offset": 500000,
"keep_text_aligned": true,
"suppress_zeroes": false,
"text_position": 0,
"units_format": 1
},
"fab_line_width": 0.09999999999999999,
"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_text_italic": false,
"other_text_size_h": 1.0,
"other_text_size_v": 1.0,
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
},
"silk_line_width": 0.12,
"silk_text_italic": false,
"silk_text_size_h": 1.0,
"silk_text_size_v": 1.0,
"silk_text_thickness": 0.15,
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
}
},
"diff_pair_dimensions": [],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
"version": 2
},
"rule_severities": {
"annular_width": "error",
"clearance": "error",
"copper_edge_clearance": "error",
"courtyards_overlap": "error",
"diff_pair_gap_out_of_range": "error",
"diff_pair_uncoupled_length_too_long": "error",
"drill_out_of_range": "error",
"duplicate_footprints": "warning",
"extra_footprint": "warning",
"footprint_type_mismatch": "error",
"hole_clearance": "error",
"hole_near_hole": "error",
"invalid_outline": "error",
"item_on_disabled_layer": "error",
"items_not_allowed": "error",
"length_out_of_range": "error",
"malformed_courtyard": "error",
"microvia_drill_out_of_range": "error",
"missing_courtyard": "ignore",
"missing_footprint": "warning",
"net_conflict": "warning",
"npth_inside_courtyard": "ignore",
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"skew_out_of_range": "error",
"through_hole_pad_without_hole": "error",
"too_many_vias": "error",
"track_dangling": "warning",
"track_width": "error",
"tracks_crossing": "error",
"unconnected_items": "error",
"unresolved_variable": "error",
"via_dangling": "warning",
"zone_has_empty_net": "error",
"zones_intersect": "error"
},
"rule_severitieslegacy_courtyards_overlap": true,
"rule_severitieslegacy_no_courtyard_defined": false,
"rules": {
"allow_blind_buried_vias": false,
"allow_microvias": false,
"max_error": 0.005,
"min_clearance": 0.0,
"min_copper_edge_clearance": 0.024999999999999998,
"min_hole_clearance": 0.25,
"min_hole_to_hole": 0.25,
"min_microvia_diameter": 0.19999999999999998,
"min_microvia_drill": 0.09999999999999999,
"min_silk_clearance": 0.0,
"min_through_hole_diameter": 0.3,
"min_track_width": 0.19999999999999998,
"min_via_annular_width": 0.049999999999999996,
"min_via_diameter": 0.39999999999999997,
"use_height_for_length_calcs": true
},
"track_widths": [
0.0,
0.5
],
"via_dimensions": [],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
"layer_presets": []
},
"boards": [],
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
},
"meta": {
"filename": "c_l_i_k_r.kicad_pro",
"version": 1
},
"net_settings": {
"classes": [
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "Default",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 0.25,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
"version": 2
},
"net_colors": null
},
"pcbnew": {
"last_paths": {
"gencad": "",
"idf": "",
"netlist": "recur_control.net",
"specctra_dsn": "",
"step": "",
"vrml": ""
},
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.25,
"pin_symbol_size": 0.0,
"text_offset_ratio": 0.08
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "Pcbnew",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
},
"page_layout_descr_file": "",
"plot_directory": "./",
"spice_adjust_passive_values": false,
"spice_external_command": "spice \"%I\"",
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [
[
"ba55430d-77a8-47b5-bcd0-2dd082ae0537",
""
]
],
"text_variables": {}
}

2758
hardware/c_l_i_k_r.kicad_sch Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

3
hardware/fp-lib-table Normal file
View File

@@ -0,0 +1,3 @@
(fp_lib_table
(lib (name "lib_fp")(type "KiCad")(uri "${KIPRJMOD}/lib_fp.pretty")(options "")(descr ""))
)

BIN
hardware/gerber_latest.zip Normal file

Binary file not shown.

View File

@@ -1,49 +1,55 @@
(module Potentiometer_Alps_RK09L_Single_Vertical (layer F.Cu) (tedit 6214477D)
(footprint "Potentiometer_Alps_RK09L_Single_Vertical" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 6214477D)
(descr "Potentiometer, vertical, Alps RK09L Single, http://www.alps.com/prod/info/E/HTML/Potentiometer/RotaryPotentiometers/RK09L/RK09L_list.html")
(tags "Potentiometer vertical Alps RK09L Single")
(fp_text reference RV4 (at 5.725 -10.5) (layer F.SilkS)
(attr through_hole)
(fp_text reference "RV4" (at 5.725 -10.5) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 93dadc00-8b83-49d8-a7de-0320195113ac)
)
(fp_text value 10k_pot (at 5.725 5.5) (layer F.Fab)
(fp_text value "10k_pot" (at 5.725 5.5) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 86f3505c-7d49-4217-8d99-fe64a6aa7caa)
)
(fp_line (start 12.6 -9.5) (end -1.15 -9.5) (layer F.CrtYd) (width 0.05))
(fp_line (start 12.6 4.5) (end 12.6 -9.5) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.15 4.5) (end 12.6 4.5) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.15 -9.5) (end -1.15 4.5) (layer F.CrtYd) (width 0.05))
(fp_line (start 12.47 -8.67) (end 12.47 3.67) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 0.87) (end 0.88 3.67) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 -1.629) (end 0.88 -0.87) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 -4.129) (end 0.88 -3.37) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 -8.67) (end 0.88 -5.871) (layer F.SilkS) (width 0.12))
(fp_line (start 9.455 3.67) (end 12.47 3.67) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 3.67) (end 5.546 3.67) (layer F.SilkS) (width 0.12))
(fp_line (start 9.455 -8.67) (end 12.47 -8.67) (layer F.SilkS) (width 0.12))
(fp_line (start 0.88 -8.67) (end 5.546 -8.67) (layer F.SilkS) (width 0.12))
(fp_line (start 12.35 -8.55) (end 1 -8.55) (layer F.Fab) (width 0.1))
(fp_line (start 12.35 3.55) (end 12.35 -8.55) (layer F.Fab) (width 0.1))
(fp_line (start 1 3.55) (end 12.35 3.55) (layer F.Fab) (width 0.1))
(fp_line (start 1 -8.55) (end 1 3.55) (layer F.Fab) (width 0.1))
(fp_circle (center 7.5 -2.5) (end 10.5 -2.5) (layer F.Fab) (width 0.1))
(fp_text user %R (at 2 -2.5 -90) (layer F.Fab)
(fp_text user "${REFERENCE}" (at 2 -2.5 -90) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp a0b31b34-2b17-4a4c-8113-a3ab412a6131)
)
(pad "" np_thru_hole circle (at 7.5 2.25) (size 4 4) (drill 2) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at 7.5 -7.25) (size 4 4) (drill 2) (layers *.Cu *.Mask))
(pad 1 thru_hole circle (at 0 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask))
(pad 2 thru_hole circle (at 0 -2.5) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask))
(pad 3 thru_hole circle (at 0 -5) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask))
(model ${KISYS3DMOD}/Potentiometer_THT.3dshapes/Potentiometer_Alps_RK09L_Single_Vertical.wrl
(at (xyz 0 0 0))
(fp_line (start 9.455 3.67) (end 12.47 3.67) (layer "F.SilkS") (width 0.12) (tstamp 13252c76-b4e6-4c81-97bb-c40c4a78adfe))
(fp_line (start 0.88 0.87) (end 0.88 3.67) (layer "F.SilkS") (width 0.12) (tstamp 2e46cedc-cd3c-4643-a6a9-61ff6511986a))
(fp_line (start 0.88 -4.129) (end 0.88 -3.37) (layer "F.SilkS") (width 0.12) (tstamp 7b64e831-68d8-43a9-a973-41c20e8c1d19))
(fp_line (start 0.88 -8.67) (end 5.546 -8.67) (layer "F.SilkS") (width 0.12) (tstamp be75c04a-aa21-437e-b96c-7989c3b9e969))
(fp_line (start 0.88 -8.67) (end 0.88 -5.871) (layer "F.SilkS") (width 0.12) (tstamp be890770-2ef0-4740-b771-0d33fda49868))
(fp_line (start 9.455 -8.67) (end 12.47 -8.67) (layer "F.SilkS") (width 0.12) (tstamp c97f8b58-6acd-4427-a38f-f6d694310d12))
(fp_line (start 0.88 -1.629) (end 0.88 -0.87) (layer "F.SilkS") (width 0.12) (tstamp d5f45ffa-598a-40c0-aca9-e5dff076b542))
(fp_line (start 0.88 3.67) (end 5.546 3.67) (layer "F.SilkS") (width 0.12) (tstamp df02b4f3-c180-4663-b736-027f1440566e))
(fp_line (start 12.47 -8.67) (end 12.47 3.67) (layer "F.SilkS") (width 0.12) (tstamp ff777014-708c-4311-a1b0-4aea3209c523))
(fp_line (start 12.6 -9.5) (end -1.15 -9.5) (layer "F.CrtYd") (width 0.05) (tstamp 0aab4208-d620-4489-9c02-ba87bb3cf33a))
(fp_line (start 12.6 4.5) (end 12.6 -9.5) (layer "F.CrtYd") (width 0.05) (tstamp 459cda5b-01e3-442c-8d5d-253a7a90287c))
(fp_line (start -1.15 -9.5) (end -1.15 4.5) (layer "F.CrtYd") (width 0.05) (tstamp 8954eb20-c5c2-48a9-84a3-ae3a89cf8fb8))
(fp_line (start -1.15 4.5) (end 12.6 4.5) (layer "F.CrtYd") (width 0.05) (tstamp c5922591-e629-4856-8fe4-185619f81c26))
(fp_line (start 1 3.55) (end 12.35 3.55) (layer "F.Fab") (width 0.1) (tstamp 0ab62532-9476-44f3-b67f-1ebaa732c7e9))
(fp_line (start 1 -8.55) (end 1 3.55) (layer "F.Fab") (width 0.1) (tstamp 3150741b-cb63-4c71-b08e-bc570e6c5939))
(fp_line (start 12.35 3.55) (end 12.35 -8.55) (layer "F.Fab") (width 0.1) (tstamp 48145168-1cd0-4984-bd79-6936ee860cf3))
(fp_line (start 12.35 -8.55) (end 1 -8.55) (layer "F.Fab") (width 0.1) (tstamp d3475071-0a22-4475-ba67-1fe7ff263549))
(fp_circle (center 7.5 -2.5) (end 10.5 -2.5) (layer "F.Fab") (width 0.1) (fill none) (tstamp ffcb18dc-57f6-4456-ab7e-1ff5619377d7))
(pad "" np_thru_hole circle (at 7.5 2.25) (size 4 4) (drill 2.2) (layers F&B.Cu *.Mask) (tstamp 1151bca5-e329-4b5b-ada0-98ef153f5bfd))
(pad "" np_thru_hole circle (at 7.5 -7.25) (size 4 4) (drill 2.2) (layers F&B.Cu *.Mask) (tstamp 4579b75e-1d99-4057-9536-dd4821c8f980))
(pad "1" thru_hole circle (at 0 0) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask) (tstamp a2dfcae5-20a6-44c6-b426-b993a111cc9f))
(pad "2" thru_hole circle (at 0 -2.5) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask) (tstamp f6f78cc1-2875-4052-aa90-ca73048da794))
(pad "3" thru_hole circle (at 0 -5) (size 1.8 1.8) (drill 1) (layers *.Cu *.Mask) (tstamp df687b59-a4c7-45ad-946c-34c9e7434398))
(model "${KISYS3DMOD}/Potentiometer_THT.3dshapes/Potentiometer_Alps_RK09L_Single_Vertical.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
(model /Users/timcaldwell/personal/kicad-3dmodels/9mm-potentiometer-tall-trimmer-1.snapshot.4/R-0904N-L-25KCv2.step
(model "/Users/timcaldwell/personal/kicad-3dmodels/9mm-potentiometer-tall-trimmer-1.snapshot.4/R-0904N-L-25KCv2.step"
(offset (xyz 7.2 2.5 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 -90))
)
(model /home/timcaldwell/projects/kicad-3dmodels/9mm-potentiometer-tall-trimmer-1.snapshot.4/R-0904N-L-25KCv2.step
(model "/home/timcaldwell/projects/kicad-3dmodels/9mm-potentiometer-tall-trimmer-1.snapshot.4/R-0904N-L-25KCv2.step"
(offset (xyz 7 2.5 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 -90))

View File

@@ -20,10 +20,10 @@ int a0 = A7;
int a1 = A8;
int a2 = A9;
int a3 = A10;
int a4 = A0;
int a5 = A1;
int a6 = A2;
int a7 = A3;
int a4 = A2;
int a5 = A3;
int a6 = A0;
int a7 = A1;
int v0, v1, v2, v3, v4, v5, v6, v7;
int n0, n1, n2, n3, n4, n5, n6, n7;
@@ -36,46 +36,44 @@ void sendCC(uint8_t channel, uint8_t control, uint8_t value) {
}
void checkAndSendValue(int old_analog_value, int new_analog_value, uint8_t control) {
if (abs(old_analog_value - new_analog_value) > 1){
sendCC(0,control,new_analog_value / 4);
if(old_analog_value != new_analog_value){
sendCC(0,control,new_analog_value);
}
}
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Keyboard.begin();
}
void loop() {
// put your main code here, to run repeatedly:
char key = keypad.getKey();
v0 = analogRead(a0);
v0 = analogRead(a0)/8;
checkAndSendValue(n0, v0, 0);
n0 = v0;
v1 = analogRead(a1);
v1 = analogRead(a1)/8;
checkAndSendValue(n1, v1, 1);
n1 = v1;
v2 = analogRead(a2);
v2 = analogRead(a2)/8;
checkAndSendValue(n2, v2, 2);
n2 = v2;
v3 = analogRead(a3);
v3 = analogRead(a3)/8;
checkAndSendValue(n3, v3, 3);
n3 = v3;
v4 = analogRead(a4);
v4 = analogRead(a4)/8;
checkAndSendValue(n4, v4, 4);
n4 = v4;
v5 = analogRead(a5);
v5 = analogRead(a5)/8;
checkAndSendValue(n5, v5, 5);
n5 = v5;
v6 = analogRead(a6);
v6 = analogRead(a6)/8;
checkAndSendValue(n6, v6, 6);
n6 = v6;
v7 = analogRead(a7);
v7 = analogRead(a7)/8;
checkAndSendValue(n7, v7, 7);
n7 = v7;
char key = keypad.getKey();
if (key != NO_KEY){
Keyboard.write(key);