small changes and notes during build

This commit is contained in:
interfisch 2025-01-25 00:56:48 +01:00
parent 62c78aa020
commit 5c1aa24973
5 changed files with 18933 additions and 18921 deletions

View file

@ -21,9 +21,11 @@ AccelStepper stepperPan(AccelStepper::DRIVER, PAN_STEP_PIN, PAN_DIR_PIN);
AccelStepper stepperTilt(AccelStepper::DRIVER, TILT_STEP_PIN, TILT_DIR_PIN);
unsigned long stepsPerRotationPan=16*42*400/12; //12z to 42z, 16x microstepping
unsigned int microsteppingPan = 4;
unsigned long stepsPerRotationPan=microsteppingPan*42*400/12; //12z to 42z, 16x microstepping
unsigned long stepsPerRotationTilt=16*85*400/17;//17z to 85z, 16x microstepping
unsigned int microsteppingTilt = 4;
unsigned long stepsPerRotationTilt=microsteppingTilt*85*400/17;//17z to 85z, 16x microstepping
void setEnable(bool t){
digitalWrite(EN_PIN,!t); //active low
@ -39,13 +41,13 @@ void setup() {
digitalWrite(PIN_LIGHT, LOW);
setEnable(false);
stepperPan.setMaxSpeed(10000); //tested w/o load 15000
stepperPan.setAcceleration(20000.0); //tested w/o load 80000
stepperPan.setMaxSpeed(2000); //tested w/o load 15000 @16 microsteps
stepperPan.setAcceleration(5000.0); //tested w/o load 80000 @16 microsteps
stepperPan.moveTo(stepsPerRotationPan/2);
stepperTilt.setMaxSpeed(10000); //tested w/o load 15000
stepperTilt.setAcceleration(20000.0); //tested w/o load 80000
stepperTilt.moveTo(stepsPerRotationTilt/8);
stepperTilt.setMaxSpeed(2000); //tested w/o load 15000 @16 microsteps
stepperTilt.setAcceleration(5000.0); //tested w/o load 80000 @16 microsteps
stepperTilt.moveTo(stepsPerRotationTilt/4);
setEnable(true);
}
@ -68,8 +70,8 @@ void loop() {
Serial.print("Tilt Moving to: "); Serial.println(0);
stepperTilt.moveTo(0);
}else{
Serial.print("Tilt Moving to: "); Serial.println(stepsPerRotationTilt/8);
stepperTilt.moveTo(stepsPerRotationTilt/8);
Serial.print("Tilt Moving to: "); Serial.println(stepsPerRotationTilt/4);
stepperTilt.moveTo(stepsPerRotationTilt/4);
}
}

View file

@ -1,121 +1,121 @@
(footprint "DIP_Switch_8_2.54_wide" (version 20240108) (generator "pcbnew") (generator_version "8.0")
(layer "F.Cu")
(property "Reference" "REF**" (at 0 -15.47 0)(unlocked yes)
(layer "F.SilkS")(uuid "c62e9f85-2a61-4014-ab93-8ac22831b7af")
(effects (font (size 1 1) (thickness 0.1)))
)
(property "Value" "DIP_Switch_8_2.54_wide" (at 0 -13.97 0)(unlocked yes)
(layer "F.Fab")(uuid "a825ef96-fcc5-4325-ae5b-15c7bb2ed8d7")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Footprint" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "7a9d14c9-dbf3-45cc-bae2-5cf8dc7b531d")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Datasheet" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "350595e4-f604-4aa3-b4cd-f75abf1aadc2")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Description" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "22b75f78-29f4-4880-88f6-965698678826")
(effects (font (size 1 1) (thickness 0.15)))
)
(attr smd)
(fp_rect (start -4 -11.43) (end 4 11.57)
(stroke (width 0.1) (type default)) (fill none) (layer "F.CrtYd")(uuid "fafd0bdd-b346-4475-945e-6b0a87b2239b"))
(fp_rect (start -1.905 -9.525) (end 1.905 -8.255)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "f0e5cc90-aabb-407d-92df-1c3a8d8f8aab"))
(fp_rect (start -1.905 -6.985) (end 1.905 -5.715)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "fbde5966-d5d0-4ca6-b7dc-064521912cec"))
(fp_rect (start -1.905 -4.445) (end 1.905 -3.175)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "ff1df49c-04c3-4bd7-a5de-302cfc9038a1"))
(fp_rect (start -1.905 -1.905) (end 1.905 -0.635)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "22f4aed8-1769-4294-95f7-cb78dfedffc0"))
(fp_rect (start -1.905 0.635) (end 1.905 1.905)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "741513cf-5b9d-4682-b782-c4becfa24dea"))
(fp_rect (start -1.905 3.175) (end 1.905 4.445)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "a50ae392-01c6-4584-8592-2d4122745bab"))
(fp_rect (start -1.905 5.715) (end 1.905 6.985)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "60a83307-93cb-45e8-8de2-c5d96afbb6ba"))
(fp_rect (start -1.905 8.255) (end 1.905 9.525)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "6bcc7a63-5a59-4db1-ad56-4245a7e75234"))
(fp_text user "1 2 3 4 5 6 7 8" (at -3.5 -9.525 270)(unlocked yes)
(layer "F.Fab")(uuid "6543d643-bc86-45b7-bd23-4d6b654f7c60")
(effects (font (size 1.03 1.03) (thickness 0.15)) (justify left bottom))
)
(fp_text user "${REFERENCE}" (at 0 -12.47 0)(unlocked yes)
(layer "F.Fab")(uuid "bab6d972-10f7-482e-a33e-13bad6a9ffca")
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user "ON" (at 2.54 -9.525 -90)(unlocked yes)
(layer "F.Fab")(uuid "e74a317a-3920-4282-99b1-fd740eb8e17e")
(effects (font (size 1 1) (thickness 0.15)) (justify left bottom))
)
(pad "1" smd roundrect (at -5.08 -8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "4939cb0e-889b-46d9-b45f-c33416ee8d2d")
)
(pad "2" smd roundrect (at -5.08 -6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "f14f473f-5a15-40a1-a84f-be719f1bba88")
)
(pad "3" smd roundrect (at -5.08 -3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "85c77c2c-e3d9-47bf-8467-904a81ba089b")
)
(pad "4" smd roundrect (at -5.08 -1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "863338e7-6d7b-45e8-9d80-4dd7869d25ca")
)
(pad "5" smd roundrect (at -5.08 1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "ef18a3d6-5441-4f0e-aebc-9806ae1be1bf")
)
(pad "6" smd roundrect (at -5.08 3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "e0a13e43-5a57-4887-9622-cb820c2fe988")
)
(pad "7" smd roundrect (at -5.08 6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "fa1f3f46-c761-4597-a3ae-102cd6062d7d")
)
(pad "8" smd roundrect (at -5.08 8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "b2c634ba-ed9d-4147-83cd-3dd234f5a679")
)
(pad "9" smd roundrect (at 5.08 8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "4259633d-524b-44bd-a509-f4f1dd74ccf4")
)
(pad "10" smd roundrect (at 5.08 6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "da7f7744-73ae-47a6-b8ba-d044aac79a9d")
)
(pad "11" smd roundrect (at 5.08 3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "a5baa0f7-d48d-4355-a446-83efd5242244")
)
(pad "12" smd roundrect (at 5.08 1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "6626f9c2-7fff-4dc2-aa9a-fcbd7bc8144d")
)
(pad "13" smd roundrect (at 5.08 -1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "48217f65-d954-42a1-a1f0-a2e8fdb37f86")
)
(pad "14" smd roundrect (at 5.08 -3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "a3265fa0-711c-45aa-bc1c-420d4630a1d1")
)
(pad "15" smd roundrect (at 5.08 -6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "3b344282-8357-468f-86db-c95ce148aa22")
)
(pad "16" smd roundrect (at 5.08 -8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "8d859701-1b89-4868-9bae-a81d8f1c07a7")
)
)
(footprint "DIP_Switch_8_2.54_wide" (version 20240108) (generator "pcbnew") (generator_version "8.0")
(layer "F.Cu")
(property "Reference" "REF**" (at 0 -15.47 0)(unlocked yes)
(layer "F.SilkS")(uuid "c62e9f85-2a61-4014-ab93-8ac22831b7af")
(effects (font (size 1 1) (thickness 0.1)))
)
(property "Value" "DIP_Switch_8_2.54_wide" (at 0 -13.97 0)(unlocked yes)
(layer "F.Fab")(uuid "a825ef96-fcc5-4325-ae5b-15c7bb2ed8d7")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Footprint" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "7a9d14c9-dbf3-45cc-bae2-5cf8dc7b531d")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Datasheet" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "350595e4-f604-4aa3-b4cd-f75abf1aadc2")
(effects (font (size 1 1) (thickness 0.15)))
)
(property "Description" "" (at 0 -14.97 0)(unlocked yes)
(layer "F.Fab")(hide yes)
(uuid "22b75f78-29f4-4880-88f6-965698678826")
(effects (font (size 1 1) (thickness 0.15)))
)
(attr smd)
(fp_rect (start -4 -11.43) (end 4 11.57)
(stroke (width 0.1) (type default)) (fill none) (layer "F.CrtYd")(uuid "fafd0bdd-b346-4475-945e-6b0a87b2239b"))
(fp_rect (start -1.905 -9.525) (end 1.905 -8.255)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "f0e5cc90-aabb-407d-92df-1c3a8d8f8aab"))
(fp_rect (start -1.905 -6.985) (end 1.905 -5.715)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "fbde5966-d5d0-4ca6-b7dc-064521912cec"))
(fp_rect (start -1.905 -4.445) (end 1.905 -3.175)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "ff1df49c-04c3-4bd7-a5de-302cfc9038a1"))
(fp_rect (start -1.905 -1.905) (end 1.905 -0.635)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "22f4aed8-1769-4294-95f7-cb78dfedffc0"))
(fp_rect (start -1.905 0.635) (end 1.905 1.905)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "741513cf-5b9d-4682-b782-c4becfa24dea"))
(fp_rect (start -1.905 3.175) (end 1.905 4.445)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "a50ae392-01c6-4584-8592-2d4122745bab"))
(fp_rect (start -1.905 5.715) (end 1.905 6.985)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "60a83307-93cb-45e8-8de2-c5d96afbb6ba"))
(fp_rect (start -1.905 8.255) (end 1.905 9.525)
(stroke (width 0.05) (type default)) (fill none) (layer "F.Fab")(uuid "6bcc7a63-5a59-4db1-ad56-4245a7e75234"))
(fp_text user "1 2 3 4 5 6 7 8" (at -3.5 -9.525 270)(unlocked yes)
(layer "F.Fab")(uuid "6543d643-bc86-45b7-bd23-4d6b654f7c60")
(effects (font (size 1.03 1.03) (thickness 0.15)) (justify left bottom))
)
(fp_text user "${REFERENCE}" (at 0 -12.47 0)(unlocked yes)
(layer "F.Fab")(uuid "bab6d972-10f7-482e-a33e-13bad6a9ffca")
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user "ON" (at 2.54 -9.525 -90)(unlocked yes)
(layer "F.Fab")(uuid "e74a317a-3920-4282-99b1-fd740eb8e17e")
(effects (font (size 1 1) (thickness 0.15)) (justify left bottom))
)
(pad "1" smd roundrect (at -5.08 -8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "4939cb0e-889b-46d9-b45f-c33416ee8d2d")
)
(pad "2" smd roundrect (at -5.08 -6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "f14f473f-5a15-40a1-a84f-be719f1bba88")
)
(pad "3" smd roundrect (at -5.08 -3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "85c77c2c-e3d9-47bf-8467-904a81ba089b")
)
(pad "4" smd roundrect (at -5.08 -1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "863338e7-6d7b-45e8-9d80-4dd7869d25ca")
)
(pad "5" smd roundrect (at -5.08 1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "ef18a3d6-5441-4f0e-aebc-9806ae1be1bf")
)
(pad "6" smd roundrect (at -5.08 3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "e0a13e43-5a57-4887-9622-cb820c2fe988")
)
(pad "7" smd roundrect (at -5.08 6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "fa1f3f46-c761-4597-a3ae-102cd6062d7d")
)
(pad "8" smd roundrect (at -5.08 8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "b2c634ba-ed9d-4147-83cd-3dd234f5a679")
)
(pad "9" smd roundrect (at 5.08 8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "4259633d-524b-44bd-a509-f4f1dd74ccf4")
)
(pad "10" smd roundrect (at 5.08 6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "da7f7744-73ae-47a6-b8ba-d044aac79a9d")
)
(pad "11" smd roundrect (at 5.08 3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "a5baa0f7-d48d-4355-a446-83efd5242244")
)
(pad "12" smd roundrect (at 5.08 1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "6626f9c2-7fff-4dc2-aa9a-fcbd7bc8144d")
)
(pad "13" smd roundrect (at 5.08 -1.27) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "48217f65-d954-42a1-a1f0-a2e8fdb37f86")
)
(pad "14" smd roundrect (at 5.08 -3.81) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "a3265fa0-711c-45aa-bc1c-420d4630a1d1")
)
(pad "15" smd roundrect (at 5.08 -6.35) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "3b344282-8357-468f-86db-c95ce148aa22")
)
(pad "16" smd roundrect (at 5.08 -8.89) (size 2.286 1.524) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(thermal_bridge_angle 45)
(uuid "8d859701-1b89-4868-9bae-a81d8f1c07a7")
)
)

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"board": {
"active_layer": 37,
"active_layer": 31,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_netclasses": [],

View file

@ -6387,6 +6387,16 @@
)
(uuid "ff534fc9-31ca-48b2-a462-c984553d2464")
)
(text "TODO:\nStepper Driver Hole size too small in footprint"
(exclude_from_sim no)
(at 105.156 168.148 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "79ec59fd-797a-4117-8f8e-fdce04b58b55")
)
(global_label "P_CFG3"
(shape input)
(at 190.5 135.89 180)
@ -11089,7 +11099,7 @@
(justify left)
)
)
(property "Value" "330uF 25V"
(property "Value" "330uF 16V"
(at 36.83 85.4709 0)
(effects
(font