diff --git a/footprints/HX1171Module.pretty/HX711_Breakout.kicad_mod b/footprints/HX1171Module.pretty/HX711_Breakout.kicad_mod new file mode 100644 index 0000000..8185554 --- /dev/null +++ b/footprints/HX1171Module.pretty/HX711_Breakout.kicad_mod @@ -0,0 +1,243 @@ +(footprint "HX711_Breakout" + (version 20241229) + (generator "pcbnew") + (generator_version "9.0") + (layer "F.Cu") + (descr "Unnamed StepUp generated footprint") + (property "Reference" "FC_" + (at 0 1 0) + (layer "F.SilkS") + (hide yes) + (uuid "8e64d5a9-89c8-4036-8998-b4ec7833556f") + (effects + (font + (size 1 1) + (thickness 0.15) + ) + ) + ) + (property "Value" "Val_" + (at -3 6.3 0) + (layer "F.SilkS") + (hide yes) + (uuid "fa286366-d34d-402f-9b52-c700c997fc18") + (effects + (font + (size 1 1) + (thickness 0.15) + ) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (layer "F.Fab") + (hide yes) + (uuid "f0a5769d-f767-434b-9a53-806adae2501f") + (effects + (font + (size 1.27 1.27) + (thickness 0.15) + ) + ) + ) + (property "Description" "" + (at 0 0 0) + (layer "F.Fab") + (hide yes) + (uuid "87700892-0f5a-4cbd-9125-2ba97c28ab98") + (effects + (font + (size 1.27 1.27) + (thickness 0.15) + ) + ) + ) + (attr through_hole) + (fp_line + (start -16.6 -10.2) + (end -16.6 10.2) + (stroke + (width 0.16) + (type solid) + ) + (layer "F.SilkS") + (uuid "b16f22fd-8b21-49a1-bd43-3e9c18c5a610") + ) + (fp_line + (start -16.6 10.2) + (end 16.6 10.2) + (stroke + (width 0.16) + (type solid) + ) + (layer "F.SilkS") + (uuid "2a1ad9e5-a40d-40f7-bd78-32e0e28d98b3") + ) + (fp_line + (start 16.6 -10.2) + (end -16.6 -10.2) + (stroke + (width 0.16) + (type solid) + ) + (layer "F.SilkS") + (uuid "91dba407-0d91-4431-a889-8de70cc7625e") + ) + (fp_line + (start 16.6 10.2) + (end 16.6 -10.2) + (stroke + (width 0.16) + (type solid) + ) + (layer "F.SilkS") + (uuid "9bf6b3b1-c990-4090-8899-048bfd553f47") + ) + (fp_circle + (center -11.8 -7) + (end -13.4 -7) + (stroke + (width 0.16) + (type solid) + ) + (fill no) + (layer "F.SilkS") + (uuid "09b179e3-42bf-46cc-a893-da7df6b168a2") + ) + (fp_circle + (center -11.8 7.7) + (end -13.4 7.7) + (stroke + (width 0.16) + (type solid) + ) + (fill no) + (layer "F.SilkS") + (uuid "23878a2f-b07a-4cf8-8967-a28b25c6da26") + ) + (fp_circle + (center -11.8 -7.027692) + (end -12.8 -8.727692) + (stroke + (width 0.05) + (type default) + ) + (fill no) + (layer "F.CrtYd") + (uuid "a8849959-dbc8-4031-a961-21a72e790e2f") + ) + (fp_circle + (center -11.8 7.7) + (end -12.8 6) + (stroke + (width 0.05) + (type default) + ) + (fill no) + (layer "F.CrtYd") + (uuid "b7b14092-2147-46d5-818e-e0c7a0d16ce5") + ) + (fp_text user "${REFERENCE}" + (at 0 0 0) + (layer "F.Fab") + (uuid "96546f18-2704-43a4-bba2-58221c3ea530") + (effects + (font + (size 1 1) + (thickness 0.15) + ) + ) + ) + (pad "1" thru_hole circle + (at -11.8 -3.273) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "dd68fbb9-c8f7-4b97-8b64-f270c0387a9d") + ) + (pad "2" thru_hole circle + (at -11.8 -0.733) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "d813db32-6653-4f61-8562-e417ecfd4dca") + ) + (pad "3" thru_hole circle + (at -11.8 1.807) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "0a6dc7e0-865d-4797-a072-241e12471871") + ) + (pad "4" thru_hole circle + (at -11.8 4.347) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "97d2c75a-4a3f-49d7-b391-f3c2235ce51b") + ) + (pad "5" thru_hole circle + (at 13.6 6.887) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "76fb7e71-f8ab-4a77-98c2-620decdf1ebd") + ) + (pad "6" thru_hole circle + (at 13.6 4.347) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "2ecb9749-1adc-40aa-8918-b810ee212235") + ) + (pad "7" thru_hole circle + (at 13.6 1.807) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "93e9efac-c744-4c33-9f92-dae91463a229") + ) + (pad "8" thru_hole circle + (at 13.6 -0.733) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "c7ce26ce-368f-4c81-8432-eeb240c712b2") + ) + (pad "9" thru_hole circle + (at 13.6 -3.273) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "2599a820-89c7-4e2e-81b1-1bb47518995c") + ) + (pad "10" thru_hole circle + (at 13.6 -5.813) + (size 1.7 1.7) + (drill 1) + (layers "*.Cu" "*.Mask") + (remove_unused_layers no) + (uuid "289917d3-0a96-4d2d-90db-dcd3f92011e9") + ) + (embedded_fonts no) + (model "/home/ale/Documents/Uni/Leaning/Unnamed.wrl" + (offset + (xyz 0 0 0) + ) + (scale + (xyz 1 1 1) + ) + (rotate + (xyz 0 0 0) + ) + ) +) diff --git a/fp-lib-table b/fp-lib-table new file mode 100644 index 0000000..439f6bf --- /dev/null +++ b/fp-lib-table @@ -0,0 +1,4 @@ +(fp_lib_table + (version 7) + (lib (name "HX1171Module")(type "KiCad")(uri "${KIPRJMOD}/footprints/HX1171Module.pretty")(options "")(descr "")) +) diff --git a/freecad/.gitignore b/freecad/.gitignore new file mode 100644 index 0000000..0711a95 --- /dev/null +++ b/freecad/.gitignore @@ -0,0 +1 @@ +*.FCBak diff --git a/freecad/HX711_Breakout.FCStd b/freecad/HX711_Breakout.FCStd new file mode 100644 index 0000000..3740719 Binary files /dev/null and b/freecad/HX711_Breakout.FCStd differ diff --git a/scheda_banco_prova.kicad_sch b/scheda_banco_prova.kicad_sch index f2938fd..967649e 100644 --- a/scheda_banco_prova.kicad_sch +++ b/scheda_banco_prova.kicad_sch @@ -1097,6 +1097,249 @@ ) (embedded_fonts no) ) + (symbol "HX1171Module:HX1171_Module" + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "U" + (at 2.794 10.16 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "HX1171_Module" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "HX1171Module:HX711_Breakout" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "HX1171_Module_1_1" + (rectangle + (start -7.62 8.89) + (end 7.62 -8.89) + (stroke + (width 0) + (type solid) + ) + (fill + (type color) + (color 255 255 194 1) + ) + ) + (pin bidirectional line + (at -10.16 1.27 0) + (length 2.54) + (name "DT" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at -10.16 -2.54 0) + (length 2.54) + (name "SCK" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin power_in line + (at 0 11.43 270) + (length 2.54) + (name "VCC" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin power_in line + (at 0 -11.43 90) + (length 2.54) + (name "GND" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 6.35 180) + (length 2.54) + (name "E+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 3.81 180) + (length 2.54) + (name "E-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 1.27 180) + (length 2.54) + (name "A-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -1.27 180) + (length 2.54) + (name "A+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -3.81 180) + (length 2.54) + (name "B-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -6.35 180) + (length 2.54) + (name "B+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) (symbol "MCU_Module:RaspberryPi_Pico_W" (pin_names (offset 0.762) @@ -3555,6 +3798,16 @@ ) (uuid "e32fa8dd-53ac-4b0e-9fe1-7a18c9f011f5") ) + (wire + (pts + (xy 135.89 157.48) (xy 135.89 158.75) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e5c4809b-d57f-4fd9-b932-4ddb91bdb0be") + ) (wire (pts (xy 40.64 123.19) (xy 40.64 140.97) @@ -5524,6 +5777,100 @@ ) ) ) + (symbol + (lib_id "HX1171Module:HX1171_Module") + (at 135.89 146.05 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "a788488f-f79d-4cab-b165-a54ecefae4ff") + (property "Reference" "U3" + (at 138.0333 132.08 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "HX1171_Module" + (at 138.0333 134.62 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "HX1171Module:HX711_Breakout" + (at 135.89 146.05 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 135.89 146.05 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 135.89 146.05 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "4" + (uuid "8465b925-62b4-4d25-8209-3d5e400ac4ee") + ) + (pin "6" + (uuid "da42afba-f975-478d-b57f-5267eb1cc580") + ) + (pin "7" + (uuid "cbab2648-0ad1-4cc6-ba41-00e6930d123a") + ) + (pin "8" + (uuid "368aaf6d-28d3-42ab-9e84-18c129d8b527") + ) + (pin "3" + (uuid "5d91a8e3-9077-4afe-87a8-efb96caab356") + ) + (pin "2" + (uuid "ed8acf9b-069c-4a38-b762-87d4306853d1") + ) + (pin "9" + (uuid "fee25175-87a2-4b7c-b38f-243e1ee004be") + ) + (pin "10" + (uuid "a0b6a410-ac4e-4bca-bf78-407880e92020") + ) + (pin "1" + (uuid "2f1717d9-eb38-4062-b5db-f52c5fe38b47") + ) + (pin "5" + (uuid "ee9ebff4-c75f-4f99-b1fa-c90caa1c6d5e") + ) + (instances + (project "" + (path "/5176aa17-370b-4858-bdb0-5bdf42453f05" + (reference "U3") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "power:+3.3V") (at 224.79 107.95 0) @@ -5948,6 +6295,72 @@ ) ) ) + (symbol + (lib_id "power:GND") + (at 135.89 158.75 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "d226dce9-5bf4-44af-976d-1ea0cd8b1c73") + (property "Reference" "#PWR012" + (at 135.89 165.1 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 135.89 163.83 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 135.89 158.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 135.89 158.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 135.89 158.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "f68edd0f-6a19-461d-b577-009eccb89ba5") + ) + (instances + (project "scheda_banco_prova" + (path "/5176aa17-370b-4858-bdb0-5bdf42453f05" + (reference "#PWR012") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "Device:R") (at 40.64 146.05 180) diff --git a/sym-lib-table b/sym-lib-table new file mode 100644 index 0000000..5a0f959 --- /dev/null +++ b/sym-lib-table @@ -0,0 +1,4 @@ +(sym_lib_table + (version 7) + (lib (name "HX1171Module")(type "KiCad")(uri "${KIPRJMOD}/symbols/HX1171Module.kicad_sym")(options "")(descr "")) +) diff --git a/symbols/HX1171Module.kicad_sym b/symbols/HX1171Module.kicad_sym new file mode 100644 index 0000000..a87dc5a --- /dev/null +++ b/symbols/HX1171Module.kicad_sym @@ -0,0 +1,248 @@ +(kicad_symbol_lib + (version 20241209) + (generator "kicad_symbol_editor") + (generator_version "9.0") + (symbol "HX1171_Module" + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "U" + (at 2.794 10.16 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "HX1171_Module" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "HX1171Module:HX711_Breakout" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "HX1171_Module_1_1" + (rectangle + (start -7.62 8.89) + (end 7.62 -8.89) + (stroke + (width 0) + (type solid) + ) + (fill + (type color) + (color 255 255 194 1) + ) + ) + (pin bidirectional line + (at -10.16 1.27 0) + (length 2.54) + (name "DT" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at -10.16 -2.54 0) + (length 2.54) + (name "SCK" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin power_in line + (at 0 11.43 270) + (length 2.54) + (name "VCC" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin power_in line + (at 0 -11.43 90) + (length 2.54) + (name "GND" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 6.35 180) + (length 2.54) + (name "E+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 3.81 180) + (length 2.54) + (name "E-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 1.27 180) + (length 2.54) + (name "A-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -1.27 180) + (length 2.54) + (name "A+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -3.81 180) + (length 2.54) + (name "B-" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 10.16 -6.35 180) + (length 2.54) + (name "B+" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) +)