From 69b18899447aff1cc04bd4843670bdfb63537d1b Mon Sep 17 00:00:00 2001 From: Pierros Papadeas Date: Fri, 28 Jul 2017 20:16:24 +0300 Subject: [PATCH] Remove firmware (to separate repo) and cleanup of names Signed-off-by: Pierros Papadeas --- .../encoder_as5040/encoder_as5040-cache.lib | 185 --- .../encoder_as5040/encoder_as5040.cmp | 80 - .../encoder_as5040/encoder_as5040.csv | 12 - .../encoder_as5040/encoder_as5040.kicad_pcb | 925 ----------- .../encoder_as5040/encoder_as5040.lib | 185 --- .../encoder_as5040/encoder_as5040.net | 244 --- .../encoder_as5040/encoder_as5040.pro | 61 - .../encoder_as5040/encoder_as5040.sch | 528 ------- .../encoder_as5040/encoder_as5040.xml | 394 ----- PCB/SatNOGS_EndStop/SatNOGS_EndStop-cache.lib | 164 -- PCB/SatNOGS_EndStop/SatNOGS_EndStop.cmp | 45 - PCB/SatNOGS_EndStop/SatNOGS_EndStop.csv | 8 - PCB/SatNOGS_EndStop/SatNOGS_EndStop.kicad_pcb | 641 -------- PCB/SatNOGS_EndStop/SatNOGS_EndStop.net | 200 --- PCB/SatNOGS_EndStop/SatNOGS_EndStop.pro | 61 - PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch | 314 ---- PCB/SatNOGS_EndStop/SatNOGS_EndStop.xml | 250 --- README.md | 8 +- firmware/README.md | 4 - .../dc_motor_controller.ino | 568 ------- .../libraries/AccelStepper/AccelStepper.cpp | 633 -------- .../libraries/AccelStepper/AccelStepper.h | 666 -------- firmware/libraries/AccelStepper/LICENSE | 17 - firmware/libraries/AccelStepper/MANIFEST | 35 - firmware/libraries/AccelStepper/Makefile | 30 - .../doc/AccelStepper_8h-source.html | 420 ----- .../libraries/AccelStepper/doc/annotated.html | 62 - .../doc/classAccelStepper-members.html | 105 -- .../AccelStepper/doc/classAccelStepper.html | 1251 --------------- .../libraries/AccelStepper/doc/doxygen.css | 1357 ----------------- .../libraries/AccelStepper/doc/doxygen.png | Bin 3779 -> 0 bytes .../libraries/AccelStepper/doc/files.html | 61 - .../libraries/AccelStepper/doc/functions.html | 244 --- .../AccelStepper/doc/functions_func.html | 201 --- .../libraries/AccelStepper/doc/index.html | 184 --- firmware/libraries/AccelStepper/doc/tab_b.gif | Bin 35 -> 0 bytes firmware/libraries/AccelStepper/doc/tab_l.gif | Bin 706 -> 0 bytes firmware/libraries/AccelStepper/doc/tab_r.gif | Bin 2585 -> 0 bytes firmware/libraries/AccelStepper/doc/tabs.css | 60 - .../AFMotor_ConstantSpeed.pde | 36 - .../AFMotor_MultiStepper.pde | 54 - .../examples/Blocking/Blocking.pde | 28 - .../AccelStepper/examples/Bounce/Bounce.pde | 29 - .../examples/ConstantSpeed/ConstantSpeed.pde | 23 - .../DualMotorShield/DualMotorShield.pde | 49 - .../examples/MotorShield/MotorShield.pde | 103 -- .../examples/MultiStepper/MultiStepper.pde | 41 - .../examples/Overshoot/Overshoot.pde | 28 - .../ProportionalControl.pde | 32 - .../examples/Quickstop/Quickstop.pde | 40 - .../AccelStepper/examples/Random/Random.pde | 30 - firmware/libraries/AccelStepper/keywords.txt | 40 - firmware/libraries/AccelStepper/project.cfg | 290 ---- firmware/libraries/SoftI2CMaster/LICENSE.txt | 33 - firmware/libraries/SoftI2CMaster/README.TXT | 16 - .../libraries/SoftI2CMaster/SoftI2CMaster.cpp | 328 ---- .../libraries/SoftI2CMaster/SoftI2CMaster.h | 68 - .../BlinkMSoftI2CDemo/BlinkMSoftI2CDemo.ino | 95 -- .../BlinkMSoftI2CDemo/BlinkM_funcs_soft.h | 127 -- .../MMA8452Q_Example_SoftI2C.ino | 317 ---- .../stepper_motor_controller.ino | 307 ---- .../satnogs.3dshapes/Arduino_Pro_Mini.x3d | 0 .../CP_Radial_D10.0mm_P5.00mm.wrl | 0 .../satnogs.3dshapes/DO-214AB.wrl | 0 .../FuseHolder_Keystone-3557-10.wrl | 0 .../satnogs.3dshapes/HSOP-8.wrl | 0 .../Inductor_Bourns-SRR1210.wrl | 0 .../satnogs.3dshapes/MKDS_1.5-4.wrl | 0 .../satnogs.3dshapes/Pololu-Dual-MC33926.x3d | 0 .../Pololu_A4988_Headers.fcstd | Bin .../satnogs.3dshapes/Pololu_A4988_Headers.wrl | 0 .../satnogs.3dshapes/TCST2103.fcstd | Bin .../satnogs.3dshapes/TCST2103.wrl | 0 {PCB/library => library}/satnogs.dcm | 0 {PCB/library => library}/satnogs.lib | 0 .../satnogs.pretty/Arduino_Pro_Mini.kicad_mod | 0 .../CP_Radial_D10.0mm_P5.00mm.kicad_mod | 0 .../DO-214AB_Handsoldering.kicad_mod | 0 .../FuseHolder_Keystone-3557-10.kicad_mod | 0 .../satnogs.pretty/HSOP-8.kicad_mod | 0 .../Inductor_Bourns-SRR1210.kicad_mod | 0 ...tor_Bourns-SRR1210_HandSoldering.kicad_mod | 0 .../satnogs.pretty/MKDS_1.5-4.kicad_mod | 0 .../satnogs.pretty/Pololu_A4988.kicad_mod | 0 .../Pololu_Dual_MC33926.kicad_mod | 0 ...x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod | 0 .../SOT-23-5_HandSoldering.kicad_mod | 0 .../satnogs.pretty/TCST2103.kicad_mod | 0 ..._3x3mm_Pitch0.65mm_HandSoldering.kicad_mod | 0 .../satnogs.pretty/satnogs_logo.kicad_mod | 0 .../satnogs.pretty/via-0.8mm.kicad_mod | 0 .../fp-lib-table | 0 .../satnogs_controller-cache.lib | 0 .../satnogs_controller.cmp | 0 .../satnogs_controller.csv | 0 .../satnogs_controller.kicad_pcb | 0 .../satnogs_controller.net | 0 .../satnogs_controller.pro | 0 .../satnogs_controller.sch | 0 .../encoder_as5601/encoder_as5601 | 0 .../encoder_as5601/encoder_as5601-cache.lib | 0 .../encoder_as5601/encoder_as5601.csv | 0 .../encoder_as5601/encoder_as5601.kicad_pcb | 0 .../encoder_as5601/encoder_as5601.net | 0 .../encoder_as5601/encoder_as5601.pro | 0 .../encoder_as5601/encoder_as5601.sch | 0 .../encoder_as5601/encoder_as5601.xml | 0 107 files changed, 5 insertions(+), 12312 deletions(-) delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040-cache.lib delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.cmp delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.csv delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.kicad_pcb delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.lib delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.net delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.pro delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.sch delete mode 100644 PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.xml delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop-cache.lib delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.cmp delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.csv delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.kicad_pcb delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.net delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.pro delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch delete mode 100644 PCB/SatNOGS_EndStop/SatNOGS_EndStop.xml delete mode 100644 firmware/README.md delete mode 100644 firmware/dc_motor_controller/dc_motor_controller.ino delete mode 100644 firmware/libraries/AccelStepper/AccelStepper.cpp delete mode 100644 firmware/libraries/AccelStepper/AccelStepper.h delete mode 100644 firmware/libraries/AccelStepper/LICENSE delete mode 100644 firmware/libraries/AccelStepper/MANIFEST delete mode 100644 firmware/libraries/AccelStepper/Makefile delete mode 100644 firmware/libraries/AccelStepper/doc/AccelStepper_8h-source.html delete mode 100644 firmware/libraries/AccelStepper/doc/annotated.html delete mode 100644 firmware/libraries/AccelStepper/doc/classAccelStepper-members.html delete mode 100644 firmware/libraries/AccelStepper/doc/classAccelStepper.html delete mode 100644 firmware/libraries/AccelStepper/doc/doxygen.css delete mode 100644 firmware/libraries/AccelStepper/doc/doxygen.png delete mode 100644 firmware/libraries/AccelStepper/doc/files.html delete mode 100644 firmware/libraries/AccelStepper/doc/functions.html delete mode 100644 firmware/libraries/AccelStepper/doc/functions_func.html delete mode 100644 firmware/libraries/AccelStepper/doc/index.html delete mode 100644 firmware/libraries/AccelStepper/doc/tab_b.gif delete mode 100644 firmware/libraries/AccelStepper/doc/tab_l.gif delete mode 100644 firmware/libraries/AccelStepper/doc/tab_r.gif delete mode 100644 firmware/libraries/AccelStepper/doc/tabs.css delete mode 100644 firmware/libraries/AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde delete mode 100644 firmware/libraries/AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde delete mode 100644 firmware/libraries/AccelStepper/examples/Blocking/Blocking.pde delete mode 100644 firmware/libraries/AccelStepper/examples/Bounce/Bounce.pde delete mode 100644 firmware/libraries/AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde delete mode 100644 firmware/libraries/AccelStepper/examples/DualMotorShield/DualMotorShield.pde delete mode 100644 firmware/libraries/AccelStepper/examples/MotorShield/MotorShield.pde delete mode 100644 firmware/libraries/AccelStepper/examples/MultiStepper/MultiStepper.pde delete mode 100644 firmware/libraries/AccelStepper/examples/Overshoot/Overshoot.pde delete mode 100644 firmware/libraries/AccelStepper/examples/ProportionalControl/ProportionalControl.pde delete mode 100644 firmware/libraries/AccelStepper/examples/Quickstop/Quickstop.pde delete mode 100644 firmware/libraries/AccelStepper/examples/Random/Random.pde delete mode 100644 firmware/libraries/AccelStepper/keywords.txt delete mode 100644 firmware/libraries/AccelStepper/project.cfg delete mode 100644 firmware/libraries/SoftI2CMaster/LICENSE.txt delete mode 100644 firmware/libraries/SoftI2CMaster/README.TXT delete mode 100644 firmware/libraries/SoftI2CMaster/SoftI2CMaster.cpp delete mode 100644 firmware/libraries/SoftI2CMaster/SoftI2CMaster.h delete mode 100644 firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkMSoftI2CDemo.ino delete mode 100644 firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkM_funcs_soft.h delete mode 100644 firmware/libraries/SoftI2CMaster/examples/MMA8452Q_Example_SoftI2C/MMA8452Q_Example_SoftI2C.ino delete mode 100644 firmware/stepper_motor_controller/stepper_motor_controller.ino rename {PCB/library => library}/satnogs.3dshapes/Arduino_Pro_Mini.x3d (100%) rename {PCB/library => library}/satnogs.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/DO-214AB.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/FuseHolder_Keystone-3557-10.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/HSOP-8.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/Inductor_Bourns-SRR1210.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/MKDS_1.5-4.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/Pololu-Dual-MC33926.x3d (100%) rename {PCB/library => library}/satnogs.3dshapes/Pololu_A4988_Headers.fcstd (100%) rename {PCB/library => library}/satnogs.3dshapes/Pololu_A4988_Headers.wrl (100%) rename {PCB/library => library}/satnogs.3dshapes/TCST2103.fcstd (100%) rename {PCB/library => library}/satnogs.3dshapes/TCST2103.wrl (100%) rename {PCB/library => library}/satnogs.dcm (100%) rename {PCB/library => library}/satnogs.lib (100%) rename {PCB/library => library}/satnogs.pretty/Arduino_Pro_Mini.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/CP_Radial_D10.0mm_P5.00mm.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/DO-214AB_Handsoldering.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/FuseHolder_Keystone-3557-10.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/HSOP-8.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/Inductor_Bourns-SRR1210.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/Inductor_Bourns-SRR1210_HandSoldering.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/MKDS_1.5-4.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/Pololu_A4988.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/Pololu_Dual_MC33926.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/SOIC-8_3.9x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/SOT-23-5_HandSoldering.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/TCST2103.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/TSSOP-8_3x3mm_Pitch0.65mm_HandSoldering.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/satnogs_logo.kicad_mod (100%) rename {PCB/library => library}/satnogs.pretty/via-0.8mm.kicad_mod (100%) rename {PCB/satnogs_controller => satnogs_controller}/fp-lib-table (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller-cache.lib (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.cmp (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.csv (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.kicad_pcb (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.net (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.pro (100%) rename {PCB/satnogs_controller => satnogs_controller}/satnogs_controller.sch (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601 (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601-cache.lib (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.csv (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.kicad_pcb (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.net (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.pro (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.sch (100%) rename {PCB/SatNOGS_Encoder => satnogs_encoder}/encoder_as5601/encoder_as5601.xml (100%) diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040-cache.lib b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040-cache.lib deleted file mode 100644 index 4b0a810..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040-cache.lib +++ /dev/null @@ -1,185 +0,0 @@ -EESchema-LIBRARY Version 2.3 -#encoding utf-8 -# -# +5V -# -DEF +5V #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -150 50 H I C CNN -F1 "+5V" 0 140 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 2 0 1 0 -30 50 0 100 N -P 2 0 1 0 0 0 0 100 N -P 2 0 1 0 0 100 30 50 N -X +5V 1 0 0 0 U 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# AS5040 -# -DEF AS5040 U 0 40 Y Y 1 F N -F0 "U" -375 370 60 H V C CNN -F1 "AS5040" 210 -435 60 H V C CNN -F2 "" 0 0 60 H V C CNN -F3 "" 0 0 60 H V C CNN -DRAW -S -425 315 370 -370 0 1 0 f -X MagINCn 1 -625 260 200 R 50 50 1 1 O -X MagDECn 2 -625 180 200 R 50 50 1 1 O -X A_LSB_U 3 -625 100 200 R 50 50 1 1 I -X B_DIR_V 4 -625 15 200 R 50 50 1 1 I -X NC 5 -625 -70 200 R 50 50 1 1 N -X Index_W 6 -625 -150 200 R 50 50 1 1 I -X VSS 7 -625 -230 200 R 50 50 1 1 W -X Prog 8 -625 -310 200 R 50 50 1 1 I -X DO 9 570 -310 200 L 50 50 1 1 O -X CLK 10 570 -230 200 L 50 50 1 1 I -X CSn 11 570 -150 200 L 50 50 1 1 I -X PWM_LSB 12 570 -70 200 L 50 50 1 1 O -X NC 13 570 15 200 L 50 50 1 1 N -X NC 14 570 100 200 L 50 50 1 1 N -X VDD3V3 15 570 180 200 L 50 50 1 1 w -X VDD5V 16 570 260 200 L 50 50 1 1 W -ENDDRAW -ENDDEF -# -# C -# -DEF C C 0 10 N Y 1 F N -F0 "C" 25 100 50 H V L CNN -F1 "C" 25 -100 50 H V L CNN -F2 "" 38 -150 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - C? - C_????_* - C_???? - SMD*_c - Capacitor* -$ENDFPLIST -DRAW -P 2 0 1 20 -80 -30 80 -30 N -P 2 0 1 20 -80 30 80 30 N -X ~ 1 0 150 110 D 40 40 1 1 P -X ~ 2 0 -150 110 U 40 40 1 1 P -ENDDRAW -ENDDEF -# -# CONN_02X07 -# -DEF CONN_02X07 P 0 1 Y N 1 F N -F0 "P" 0 400 50 H V C CNN -F1 "CONN_02X07" 0 0 50 V V C CNN -F2 "" 0 -1200 50 H V C CNN -F3 "" 0 -1200 50 H V C CNN -$FPLIST - Pin_Header_Straight_2X07 - Pin_Header_Angled_2X07 - Socket_Strip_Straight_2X07 - Socket_Strip_Angled_2X07 -$ENDFPLIST -DRAW -S -100 -295 -50 -305 0 1 0 N -S -100 -195 -50 -205 0 1 0 N -S -100 -95 -50 -105 0 1 0 N -S -100 5 -50 -5 0 1 0 N -S -100 105 -50 95 0 1 0 N -S -100 205 -50 195 0 1 0 N -S -100 305 -50 295 0 1 0 N -S -100 350 100 -350 0 1 0 N -S 50 -295 100 -305 0 1 0 N -S 50 -195 100 -205 0 1 0 N -S 50 -95 100 -105 0 1 0 N -S 50 5 100 -5 0 1 0 N -S 50 105 100 95 0 1 0 N -S 50 205 100 195 0 1 0 N -S 50 305 100 295 0 1 0 N -X P1 1 -250 300 150 R 50 50 1 1 P -X P2 2 250 300 150 L 50 50 1 1 P -X P3 3 -250 200 150 R 50 50 1 1 P -X P4 4 250 200 150 L 50 50 1 1 P -X P5 5 -250 100 150 R 50 50 1 1 P -X P6 6 250 100 150 L 50 50 1 1 P -X P7 7 -250 0 150 R 50 50 1 1 P -X P8 8 250 0 150 L 50 50 1 1 P -X P9 9 -250 -100 150 R 50 50 1 1 P -X P10 10 250 -100 150 L 50 50 1 1 P -X P11 11 -250 -200 150 R 50 50 1 1 P -X P12 12 250 -200 150 L 50 50 1 1 P -X P13 13 -250 -300 150 R 50 50 1 1 P -X P14 14 250 -300 150 L 50 50 1 1 P -ENDDRAW -ENDDEF -# -# GND -# -DEF GND #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -250 50 H I C CNN -F1 "GND" 0 -150 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N -X GND 1 0 0 0 D 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# LED -# -DEF LED D 0 40 Y N 1 F N -F0 "D" 0 100 50 H V C CNN -F1 "LED" 0 -100 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - LED-3MM - LED-5MM - LED-10MM - LED-0603 - LED-0805 - LED-1206 - LEDV -$ENDFPLIST -DRAW -P 2 0 1 0 -50 50 -50 -50 N -P 3 0 1 0 -80 -25 -125 -65 -120 -40 N -P 3 0 1 0 -65 -40 -110 -80 -105 -55 N -P 3 0 1 0 50 50 -50 0 50 -50 F -X K 1 -200 0 150 R 40 40 1 1 P -X A 2 200 0 150 L 40 40 1 1 P -ENDDRAW -ENDDEF -# -# PWR_FLAG -# -DEF PWR_FLAG #FLG 0 0 N N 1 F P -F0 "#FLG" 0 95 50 H I C CNN -F1 "PWR_FLAG" 0 180 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -X pwr 1 0 0 0 U 20 20 0 0 w -P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N -ENDDRAW -ENDDEF -# -# R -# -DEF R R 0 0 N Y 1 F N -F0 "R" 80 0 50 V V C CNN -F1 "R" 0 0 50 V V C CNN -F2 "" -70 0 50 V V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - R_* - Resistor_* -$ENDFPLIST -DRAW -S -40 -100 40 100 0 1 10 N -X ~ 1 0 150 50 D 50 50 1 1 P -X ~ 2 0 -150 50 U 50 50 1 1 P -ENDDRAW -ENDDEF -# -#End Library diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.cmp b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.cmp deleted file mode 100644 index ba6ce84..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.cmp +++ /dev/null @@ -1,80 +0,0 @@ -Cmp-Mod V01 Created by Cvpcb (after 2015-mar-04 BZR unknown)-product date = Sun 10 Jan 2016 02:50:33 PM EET - -BeginCmp -TimeStamp = /55FAED95; -Reference = C1; -ValeurCmp = 1n; -IdModule = Capacitors_SMD:C_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FB84C5; -Reference = C2; -ValeurCmp = 1u; -IdModule = Capacitors_SMD:C_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FB8594; -Reference = C3; -ValeurCmp = 1u; -IdModule = Capacitors_SMD:C_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FB7E85; -Reference = C4; -ValeurCmp = 100n; -IdModule = Capacitors_SMD:C_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FCA0B4; -Reference = D1; -ValeurCmp = LED; -IdModule = LEDs:LED-3MM; -EndCmp - -BeginCmp -TimeStamp = /55FCA19F; -Reference = D2; -ValeurCmp = LED; -IdModule = LEDs:LED-3MM; -EndCmp - -BeginCmp -TimeStamp = /55FBB05D; -Reference = P1; -ValeurCmp = CONN_02X07; -IdModule = Pin_Headers:Pin_Header_Straight_2x07; -EndCmp - -BeginCmp -TimeStamp = /55FAE1DA; -Reference = R1; -ValeurCmp = 560; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FADD67; -Reference = R2; -ValeurCmp = 560; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FAED06; -Reference = R3; -ValeurCmp = 100; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55FACFC8; -Reference = U1; -ValeurCmp = AS5040; -IdModule = Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm; -EndCmp - -EndListe diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.csv b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.csv deleted file mode 100644 index 368044f..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.csv +++ /dev/null @@ -1,12 +0,0 @@ -Reference, Value, Footprint, Datasheet, , Distributor, Manufacturer, Package, Notes, Price -U1,AS5040,Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm,http://www.mouser.com/ds/2/588/AS5040_Datasheet_EN_v2-473299.pdf,,Mouser 985-AS5040-ASST ,AS5040-ASST,SSOP-16,-,8.73 € -R2,560,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW0805560RJNEA ,CRCW0805560RJNEA,805,1/8W 5%, 0.091€ -R1,560,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW0805560RJNEA ,CRCW0805560RJNEA,805,1/8W 5%,0.091€ -R3,100,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW0805J-100-E3 ,CRCW0805100RJNEC,805,1/8W 5%,0.091€ -C1,1n,Capacitors_SMD:C_0805_HandSoldering,http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf,,Mouser 77-VJ0805A102KXJPBC ,VJ0805A102KXJPW1BC,805,16VDC,0.091€ -C4,100n,Capacitors_SMD:C_0805_HandSoldering,http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf,,Mouser 77-VJ0805Y104KXJCBC ,VJ0805Y104KXJCW1BC,805,16VDC,0.118€ -C2,1u,Capacitors_SMD:C_0805_HandSoldering,http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf,,Mouser 77-VJ0805V105ZXJCBC,VJ0805V105ZXJCW1BC,805,16VDC,0.091€ -C3,1u,Capacitors_SMD:C_0805_HandSoldering,http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf,,Mouser 77-VJ0805V105ZXJCBC ,VJ0805V105ZXJCW1BC,805,16VDC,0.091€ -P1,CONN_02X07,Pin_Headers:Pin_Header_Straight_2x07,https://cdn.sparkfun.com/datasheets/Prototyping/01103.pdf,,SparkFun COM-12792,-,2x40 pin right-angle PTH pitch 2.54,-,1.85€ -D1,LED,LEDs:LED-3MM,https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf,,SparkFun COM-09650,-,Green 3mm pitch 2.54,-,0.33€ -D2,LED,LEDs:LED-3MM,https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf,,SparkFun COM-09650,-,Green 3mm pitch 2.54,-,0.33€ diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.kicad_pcb b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.kicad_pcb deleted file mode 100644 index b444572..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.kicad_pcb +++ /dev/null @@ -1,925 +0,0 @@ -(kicad_pcb (version 4) (host pcbnew 4.0.1-stable) - - (general - (links 29) - (no_connects 0) - (area 136.830999 93.396999 162.000001 116.026001) - (thickness 1.6) - (drawings 13) - (tracks 132) - (zones 0) - (modules 12) - (nets 20) - ) - - (page A4) - (layers - (0 F.Cu signal) - (31 B.Cu signal) - (32 B.Adhes user) - (33 F.Adhes user) - (34 B.Paste user) - (35 F.Paste user) - (36 B.SilkS user) - (37 F.SilkS user) - (38 B.Mask user) - (39 F.Mask user) - (40 Dwgs.User user) - (41 Cmts.User user) - (42 Eco1.User user) - (43 Eco2.User user) - (44 Edge.Cuts user) - (45 Margin user) - (46 B.CrtYd user) - (47 F.CrtYd user) - (48 B.Fab user) - (49 F.Fab user) - ) - - (setup - (last_trace_width 0.6) - (user_trace_width 0.3) - (user_trace_width 0.6) - (trace_clearance 0.2) - (zone_clearance 0.5) - (zone_45_only no) - (trace_min 0.2) - (segment_width 0.2) - (edge_width 0.15) - (via_size 0.6) - (via_drill 0.4) - (via_min_size 0.4) - (via_min_drill 0.3) - (user_via 1.6 0.8) - (uvia_size 0.3) - (uvia_drill 0.1) - (uvias_allowed no) - (uvia_min_size 0.2) - (uvia_min_drill 0.1) - (pcb_text_width 0.3) - (pcb_text_size 1.5 1.5) - (mod_edge_width 0.15) - (mod_text_size 1 1) - (mod_text_width 0.15) - (pad_size 1.524 1.524) - (pad_drill 0.762) - (pad_to_mask_clearance 0.2) - (aux_axis_origin 0 0) - (visible_elements FFFFFF7F) - (pcbplotparams - (layerselection 0x01030_80000001) - (usegerberextensions false) - (excludeedgelayer true) - (linewidth 0.100000) - (plotframeref false) - (viasonmask false) - (mode 1) - (useauxorigin false) - (hpglpennumber 1) - (hpglpenspeed 20) - (hpglpendiameter 15) - (hpglpenoverlay 2) - (psnegative false) - (psa4output false) - (plotreference true) - (plotvalue true) - (plotinvisibletext false) - (padsonsilk true) - (subtractmaskfromsilk false) - (outputformat 1) - (mirror false) - (drillshape 0) - (scaleselection 1) - (outputdirectory Gerber/)) - ) - - (net 0 "") - (net 1 "Net-(U1-Pad3)") - (net 2 "Net-(U1-Pad4)") - (net 3 "Net-(U1-Pad5)") - (net 4 "Net-(U1-Pad6)") - (net 5 "Net-(U1-Pad13)") - (net 6 "Net-(U1-Pad14)") - (net 7 "Net-(C2-Pad1)") - (net 8 GND) - (net 9 /Prog) - (net 10 +5V) - (net 11 "Net-(D1-Pad1)") - (net 12 "Net-(D2-Pad1)") - (net 13 /MagINCn) - (net 14 /MagDECn) - (net 15 /DI) - (net 16 /DO) - (net 17 /CLK) - (net 18 /CS) - (net 19 /PWM) - - (net_class Default "This is the default net class." - (clearance 0.2) - (trace_width 0.6) - (via_dia 0.6) - (via_drill 0.4) - (uvia_dia 0.3) - (uvia_drill 0.1) - (add_net +5V) - (add_net /CLK) - (add_net /CS) - (add_net /DI) - (add_net /DO) - (add_net /MagDECn) - (add_net /MagINCn) - (add_net /PWM) - (add_net /Prog) - (add_net GND) - (add_net "Net-(C2-Pad1)") - (add_net "Net-(D1-Pad1)") - (add_net "Net-(D2-Pad1)") - (add_net "Net-(U1-Pad13)") - (add_net "Net-(U1-Pad14)") - (add_net "Net-(U1-Pad3)") - (add_net "Net-(U1-Pad4)") - (add_net "Net-(U1-Pad5)") - (add_net "Net-(U1-Pad6)") - ) - - (module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 55FC0A30) (tstamp 55FB4187) - (at 140.462 97.409 180) - (descr "Capacitor SMD 0805, hand soldering") - (tags "capacitor 0805") - (path /55FB7E85) - (attr smd) - (fp_text reference C4 (at -3.302 0.381 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 100n (at 0 2.1 180) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.3 -1) (end 2.3 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 -1) (end -2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.3 -1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 10 +5V)) - (pad 2 smd rect (at 1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 8 GND)) - (model Capacitors_SMD.3dshapes/C_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm (layer F.Cu) (tedit 55FC0A69) (tstamp 55FAD088) - (at 148.59 101.6 90) - (descr "SSOP16: plastic shrink small outline package; 16 leads; body width 5.3 mm; (see NXP SSOP-TSSOP-VSO-REFLOW.pdf and sot338-1_po.pdf)") - (tags "SSOP 0.65") - (path /55FACFC8) - (attr smd) - (fp_text reference U1 (at -3.683 4.445 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value AS5040 (at 0 4.2 90) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -4.3 -3.45) (end -4.3 3.45) (layer F.CrtYd) (width 0.05)) - (fp_line (start 4.3 -3.45) (end 4.3 3.45) (layer F.CrtYd) (width 0.05)) - (fp_line (start -4.3 -3.45) (end 4.3 -3.45) (layer F.CrtYd) (width 0.05)) - (fp_line (start -4.3 3.45) (end 4.3 3.45) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.775 -3.275) (end -2.775 -2.7) (layer F.SilkS) (width 0.15)) - (fp_line (start 2.775 -3.275) (end 2.775 -2.7) (layer F.SilkS) (width 0.15)) - (fp_line (start 2.775 3.275) (end 2.775 2.7) (layer F.SilkS) (width 0.15)) - (fp_line (start -2.775 3.275) (end -2.775 2.7) (layer F.SilkS) (width 0.15)) - (fp_line (start -2.775 -3.275) (end 2.775 -3.275) (layer F.SilkS) (width 0.15)) - (fp_line (start -2.775 3.275) (end 2.775 3.275) (layer F.SilkS) (width 0.15)) - (fp_line (start -2.775 -2.7) (end -4.05 -2.7) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -3.45 -2.275 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 13 /MagINCn)) - (pad 2 smd rect (at -3.45 -1.625 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 14 /MagDECn)) - (pad 3 smd rect (at -3.45 -0.975 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 1 "Net-(U1-Pad3)")) - (pad 4 smd rect (at -3.45 -0.325 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 2 "Net-(U1-Pad4)")) - (pad 5 smd rect (at -3.45 0.325 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 3 "Net-(U1-Pad5)")) - (pad 6 smd rect (at -3.45 0.975 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 4 "Net-(U1-Pad6)")) - (pad 7 smd rect (at -3.45 1.625 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 8 GND)) - (pad 8 smd rect (at -3.45 2.275 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 9 /Prog)) - (pad 9 smd rect (at 3.45 2.275 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 16 /DO)) - (pad 10 smd rect (at 3.45 1.625 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 17 /CLK)) - (pad 11 smd rect (at 3.45 0.975 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 18 /CS)) - (pad 12 smd rect (at 3.45 0.325 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 19 /PWM)) - (pad 13 smd rect (at 3.45 -0.325 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 5 "Net-(U1-Pad13)")) - (pad 14 smd rect (at 3.45 -0.975 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 6 "Net-(U1-Pad14)")) - (pad 15 smd rect (at 3.45 -1.625 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 7 "Net-(C2-Pad1)")) - (pad 16 smd rect (at 3.45 -2.275 90) (size 1.2 0.4) (layers F.Cu F.Paste F.Mask) - (net 10 +5V)) - (model Housings_SSOP.3dshapes/SSOP-16_5.3x6.2mm_Pitch0.65mm.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 55FC1817) (tstamp 55FB4175) - (at 152.019 112.268 180) - (descr "Capacitor SMD 0805, hand soldering") - (tags "capacitor 0805") - (path /55FAED95) - (attr smd) - (fp_text reference C1 (at 1.397 -1.778 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 1n (at 0 2.1 180) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.3 -1) (end 2.3 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 -1) (end -2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.3 -1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 8 GND)) - (pad 2 smd rect (at 1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 9 /Prog)) - (model Capacitors_SMD.3dshapes/C_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 55FC0A34) (tstamp 55FB417B) - (at 140.462 102.235 180) - (descr "Capacitor SMD 0805, hand soldering") - (tags "capacitor 0805") - (path /55FB84C5) - (attr smd) - (fp_text reference C2 (at -3.302 0.381 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 1u (at 0 2.1 180) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.3 -1) (end 2.3 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 -1) (end -2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.3 -1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 7 "Net-(C2-Pad1)")) - (pad 2 smd rect (at 1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 8 GND)) - (model Capacitors_SMD.3dshapes/C_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 55FC0A2D) (tstamp 55FB4181) - (at 140.462 99.822 180) - (descr "Capacitor SMD 0805, hand soldering") - (tags "capacitor 0805") - (path /55FB8594) - (attr smd) - (fp_text reference C3 (at -3.302 0.381 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 1u (at 0 2.1 180) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.3 -1) (end 2.3 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.3 -1) (end -2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.3 -1) (end 2.3 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.5 -0.85) (end -0.5 -0.85) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.5 0.85) (end 0.5 0.85) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 7 "Net-(C2-Pad1)")) - (pad 2 smd rect (at 1.25 0 180) (size 1.5 1.25) (layers F.Cu F.Paste F.Mask) - (net 8 GND)) - (model Capacitors_SMD.3dshapes/C_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 55FC0A46) (tstamp 55FB41AB) - (at 146.05 109.855) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55FAE1DA) - (attr smd) - (fp_text reference R1 (at -1.651 -1.778) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 560 (at 0 2.1) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end -2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.4 -1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.6 0.875) (end -0.6 0.875) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.6 -0.875) (end 0.6 -0.875) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 11 "Net-(D1-Pad1)")) - (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 13 /MagINCn)) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 55FC0A48) (tstamp 55FB41B1) - (at 146.05 112.268) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55FADD67) - (attr smd) - (fp_text reference R2 (at -1.651 1.778) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 560 (at 0 2.1) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end -2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.4 -1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.6 0.875) (end -0.6 0.875) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.6 -0.875) (end 0.6 -0.875) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 12 "Net-(D2-Pad1)")) - (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 14 /MagDECn)) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 55FC0A4C) (tstamp 55FB41B7) - (at 152.146 109.855 180) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55FAED06) - (attr smd) - (fp_text reference R3 (at 1.651 1.778 180) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value 100 (at 0 2.1 180) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end -2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 2.4 -1) (end 2.4 1) (layer F.CrtYd) (width 0.05)) - (fp_line (start 0.6 0.875) (end -0.6 0.875) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.6 -0.875) (end 0.6 -0.875) (layer F.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0 180) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 15 /DI)) - (pad 2 smd rect (at 1.35 0 180) (size 1.5 1.3) (layers F.Cu F.Paste F.Mask) - (net 9 /Prog)) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 180)) - ) - ) - - (module Symbols:Symbol_OSHW-Logo_SilkScreen (layer B.Cu) (tedit 55FC226B) (tstamp 55FB5446) - (at 148.59 101.6 180) - (descr "Symbol, OSHW-Logo, Silk Screen,") - (tags "Symbol, OSHW-Logo, Silk Screen,") - (fp_text reference "©2015 Libre Space Foundation" (at 1.778 6.985 180) (layer B.SilkS) - (effects (font (size 1 0.8) (thickness 0.15)) (justify mirror)) - ) - (fp_text value "SatNOGS Encoder" (at 6.096 5.207 180) (layer B.SilkS) - (effects (font (size 1 0.8) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start 1.66878 -2.68986) (end 2.02946 -4.16052) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.02946 -4.16052) (end 2.30886 -3.0988) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.30886 -3.0988) (end 2.61874 -4.17068) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.61874 -4.17068) (end 2.9591 -2.72034) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.24892 -3.38074) (end 1.03886 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.03886 -3.37058) (end 1.04902 -3.38074) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.04902 -3.38074) (end 1.04902 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.08966 -2.65938) (end 1.08966 -4.20116) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.20066 -2.64922) (end 0.20066 -4.21894) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.20066 -4.21894) (end 0.21082 -4.20878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.35052 -2.75082) (end -0.70104 -2.66954) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.70104 -2.66954) (end -1.02108 -2.65938) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.02108 -2.65938) (end -1.25984 -2.86004) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.25984 -2.86004) (end -1.29032 -3.12928) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.29032 -3.12928) (end -1.04902 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.04902 -3.37058) (end -0.6604 -3.50012) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.6604 -3.50012) (end -0.48006 -3.66014) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.48006 -3.66014) (end -0.43942 -3.95986) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.43942 -3.95986) (end -0.67056 -4.18084) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.67056 -4.18084) (end -0.9906 -4.20878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.9906 -4.20878) (end -1.34112 -4.09956) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.37998 -2.64922) (end -2.6289 -2.66954) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.6289 -2.66954) (end -2.8702 -2.91084) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.8702 -2.91084) (end -2.9591 -3.40106) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.9591 -3.40106) (end -2.93116 -3.74904) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.93116 -3.74904) (end -2.7305 -4.06908) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.7305 -4.06908) (end -2.47904 -4.191) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.47904 -4.191) (end -2.16916 -4.11988) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.16916 -4.11988) (end -1.95072 -3.93954) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.95072 -3.93954) (end -1.8796 -3.4798) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.8796 -3.4798) (end -1.9304 -3.07086) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 -3.07086) (end -2.03962 -2.78892) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.03962 -2.78892) (end -2.4003 -2.65938) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.78054 -0.92964) (end -2.03962 -1.49098) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.03962 -1.49098) (end -1.50114 -2.00914) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.50114 -2.00914) (end -0.98044 -1.7399) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.98044 -1.7399) (end -0.70104 -1.89992) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.73914 -1.8796) (end 1.06934 -1.6891) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.06934 -1.6891) (end 1.50876 -2.0193) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.50876 -2.0193) (end 1.9812 -1.52908) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.9812 -1.52908) (end 1.69926 -1.04902) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.69926 -1.04902) (end 1.88976 -0.57912) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.88976 -0.57912) (end 2.49936 -0.39116) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.49936 -0.39116) (end 2.49936 0.28956) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.49936 0.28956) (end 1.94056 0.42926) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.94056 0.42926) (end 1.7399 1.00076) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.7399 1.00076) (end 2.00914 1.47066) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.00914 1.47066) (end 1.53924 1.9812) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.53924 1.9812) (end 1.02108 1.71958) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.02108 1.71958) (end 0.55118 1.92024) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.55118 1.92024) (end 0.381 2.46126) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.381 2.46126) (end -0.30988 2.47904) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.30988 2.47904) (end -0.5207 1.9304) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.5207 1.9304) (end -0.9398 1.76022) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.9398 1.76022) (end -1.49098 2.02946) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.49098 2.02946) (end -2.00914 1.50114) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.00914 1.50114) (end -1.76022 0.96012) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.76022 0.96012) (end -1.9304 0.48006) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 0.48006) (end -2.47904 0.381) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.47904 0.381) (end -2.4892 -0.32004) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.4892 -0.32004) (end -1.9304 -0.5207) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 -0.5207) (end -1.7907 -0.91948) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.35052 -0.89916) (end 0.65024 -0.7493) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.65024 -0.7493) (end 0.8509 -0.55118) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.8509 -0.55118) (end 1.00076 -0.14986) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.00076 -0.14986) (end 1.00076 0.24892) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.00076 0.24892) (end 0.8509 0.59944) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.8509 0.59944) (end 0.39878 0.94996) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.39878 0.94996) (end -0.0508 1.00076) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.0508 1.00076) (end -0.44958 0.89916) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.44958 0.89916) (end -0.8509 0.55118) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.8509 0.55118) (end -1.00076 0.09906) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.00076 0.09906) (end -0.94996 -0.39878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.94996 -0.39878) (end -0.70104 -0.70104) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.70104 -0.70104) (end -0.35052 -0.89916) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.35052 -0.89916) (end -0.70104 -1.89992) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.35052 -0.89916) (end 0.7493 -1.89992) (layer B.SilkS) (width 0.15)) - ) - - (module LEDs:LED-3MM (layer B.Cu) (tedit 55FC0A99) (tstamp 55FC040B) - (at 141.605 106.934 180) - (descr "LED 3mm round vertical") - (tags "LED 3mm round vertical") - (path /55FCA0B4) - (fp_text reference D1 (at 3.048 -8.001 180) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value LED (at 1.3 2.9 180) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -1.2 -2.3) (end 3.8 -2.3) (layer B.CrtYd) (width 0.05)) - (fp_line (start 3.8 -2.3) (end 3.8 2.2) (layer B.CrtYd) (width 0.05)) - (fp_line (start 3.8 2.2) (end -1.2 2.2) (layer B.CrtYd) (width 0.05)) - (fp_line (start -1.2 2.2) (end -1.2 -2.3) (layer B.CrtYd) (width 0.05)) - (fp_line (start -0.199 -1.314) (end -0.199 -1.114) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.199 1.28) (end -0.199 1.1) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end -0.199 1.286) (angle -108.5) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end 0.25 1.1) (angle -85.7) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.311 -0.034) (end 3.051 -0.994) (angle -110) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end 2.335 -1.094) (angle -87.5) (layer B.SilkS) (width 0.15)) - (fp_text user K (at -1.69 -1.74 180) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (pad 1 thru_hole rect (at 0 0 90) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask B.SilkS) - (net 11 "Net-(D1-Pad1)")) - (pad 2 thru_hole circle (at 2.54 0 180) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask B.SilkS) - (net 10 +5V)) - (model LEDs.3dshapes/LED-3MM.wrl - (at (xyz 0.05 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 1 0 90)) - ) - ) - - (module LEDs:LED-3MM (layer B.Cu) (tedit 55FC0A96) (tstamp 55FC0411) - (at 141.605 111.887 180) - (descr "LED 3mm round vertical") - (tags "LED 3mm round vertical") - (path /55FCA19F) - (fp_text reference D2 (at 2.921 7.874 180) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value LED (at 1.3 2.9 180) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -1.2 -2.3) (end 3.8 -2.3) (layer B.CrtYd) (width 0.05)) - (fp_line (start 3.8 -2.3) (end 3.8 2.2) (layer B.CrtYd) (width 0.05)) - (fp_line (start 3.8 2.2) (end -1.2 2.2) (layer B.CrtYd) (width 0.05)) - (fp_line (start -1.2 2.2) (end -1.2 -2.3) (layer B.CrtYd) (width 0.05)) - (fp_line (start -0.199 -1.314) (end -0.199 -1.114) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.199 1.28) (end -0.199 1.1) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end -0.199 1.286) (angle -108.5) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end 0.25 1.1) (angle -85.7) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.311 -0.034) (end 3.051 -0.994) (angle -110) (layer B.SilkS) (width 0.15)) - (fp_arc (start 1.301 -0.034) (end 2.335 -1.094) (angle -87.5) (layer B.SilkS) (width 0.15)) - (fp_text user K (at -1.69 -1.74 180) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (pad 1 thru_hole rect (at 0 0 90) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask B.SilkS) - (net 12 "Net-(D2-Pad1)")) - (pad 2 thru_hole circle (at 2.54 0 180) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask B.SilkS) - (net 10 +5V)) - (model LEDs.3dshapes/LED-3MM.wrl - (at (xyz 0.05 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 90)) - ) - ) - - (module Pin_Headers:Pin_Header_Straight_2x07 (layer F.Cu) (tedit 569253CF) (tstamp 55FB41A5) - (at 156.845 97.79) - (descr "Through hole pin header") - (tags "pin header") - (path /55FBB05D) - (fp_text reference P1 (at 3.429 -2.4765) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value CONN_02X07 (at 0 -3.1) (layer F.Fab) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -1.75 -1.75) (end -1.75 17) (layer F.CrtYd) (width 0.05)) - (fp_line (start 4.3 -1.75) (end 4.3 17) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.75 -1.75) (end 4.3 -1.75) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.75 17) (end 4.3 17) (layer F.CrtYd) (width 0.05)) - (fp_line (start 3.81 16.51) (end 3.81 -1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start -1.27 1.27) (end -1.27 16.51) (layer F.SilkS) (width 0.15)) - (fp_line (start 3.81 16.51) (end -1.27 16.51) (layer F.SilkS) (width 0.15)) - (fp_line (start 3.81 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.27 -1.27) (end 1.27 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.27 1.27) (end -1.27 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start -1.55 -1.55) (end -1.55 0) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole rect (at 0 0) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 10 +5V)) - (pad 2 thru_hole oval (at 2.54 0) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 10 +5V)) - (pad 3 thru_hole oval (at 0 2.54) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 19 /PWM)) - (pad 4 thru_hole oval (at 2.54 2.54) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 19 /PWM)) - (pad 5 thru_hole oval (at 0 5.08) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 18 /CS)) - (pad 6 thru_hole oval (at 2.54 5.08) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 18 /CS)) - (pad 7 thru_hole oval (at 0 7.62) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 17 /CLK)) - (pad 8 thru_hole oval (at 2.54 7.62) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 17 /CLK)) - (pad 9 thru_hole oval (at 0 10.16) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 16 /DO)) - (pad 10 thru_hole oval (at 2.54 10.16) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 16 /DO)) - (pad 11 thru_hole oval (at 0 12.7) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 15 /DI)) - (pad 12 thru_hole oval (at 2.54 12.7) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 15 /DI)) - (pad 13 thru_hole oval (at 0 15.24) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 8 GND)) - (pad 14 thru_hole oval (at 2.54 15.24) (size 1.7272 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 8 GND)) - (model Pin_Headers.3dshapes/Pin_Header_Straight_2x07.wrl - (at (xyz 0.05 -0.3 -0.065)) - (scale (xyz 1 1 1)) - (rotate (xyz 180 0 90)) - ) - ) - - (gr_text GND (at 153.797 113.03) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text DI (at 154.432 110.49) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text DO (at 154.178 107.95) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text CLK (at 153.924 105.41) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text CS (at 154.305 102.87) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text PWM (at 153.797 100.33) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_text +5V (at 153.924 97.79) (layer B.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.1)) (justify mirror)) - ) - (gr_line (start 136.906 93.98) (end 136.906 93.472) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 161.925 115.443) (end 161.925 115.951) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 136.906 115.951) (end 136.906 93.98) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 161.925 115.443) (end 161.925 93.472) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 136.906 93.472) (end 161.925 93.472) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 136.906 115.951) (end 161.925 115.951) (layer Edge.Cuts) (width 0.15)) - - (segment (start 141.712 102.235) (end 141.712 99.822) (width 0.6) (layer F.Cu) (net 7)) - (segment (start 141.712 99.822) (end 146.685 99.822) (width 0.6) (layer F.Cu) (net 7)) - (segment (start 146.685 99.822) (end 146.939 99.568) (width 0.6) (layer F.Cu) (net 7)) - (segment (start 146.965 99.542) (end 146.939 99.568) (width 0.3) (layer F.Cu) (net 7)) - (segment (start 146.965 98.15) (end 146.965 99.542) (width 0.3) (layer F.Cu) (net 7)) - (segment (start 144.145 103.765245) (end 144.145 103.505) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 144.78 102.87) (end 149.606 102.87) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 144.145 103.505) (end 144.78 102.87) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 149.606 102.87) (end 150.241 103.505) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 144.145 104.775) (end 144.145 103.765245) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 143.637 104.267) (end 143.643245 104.267) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 143.643245 104.267) (end 144.145 103.765245) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 139.212 102.235) (end 139.212 103.271) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 139.212 103.271) (end 140.208 104.267) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 140.208 104.267) (end 143.637 104.267) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 143.637 104.267) (end 144.145 104.775) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 150.241 103.505) (end 150.215 103.531) (width 0.3) (layer F.Cu) (net 8)) - (segment (start 150.215 103.531) (end 150.215 105.05) (width 0.3) (layer F.Cu) (net 8)) - (segment (start 153.289 114.427) (end 144.907 114.427) (width 0.6) (layer B.Cu) (net 8)) - (segment (start 144.907 114.427) (end 144.145 113.665) (width 0.6) (layer B.Cu) (net 8)) - (segment (start 144.145 113.665) (end 144.145 106.68) (width 0.6) (layer B.Cu) (net 8)) - (segment (start 144.145 104.775) (end 144.145 106.68) (width 0.6) (layer F.Cu) (net 8)) - (via (at 144.145 106.68) (size 1.6) (drill 0.8) (layers F.Cu B.Cu) (net 8)) - (via (at 153.289 114.427) (size 1.6) (drill 0.8) (layers F.Cu B.Cu) (net 8)) - (segment (start 153.269 112.268) (end 153.269 114.407) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 153.269 114.407) (end 153.289 114.427) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 156.845 113.03) (end 159.385 113.03) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 139.212 97.409) (end 139.212 99.822) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 139.212 99.822) (end 139.212 102.235) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 154.746 112.268) (end 155.508 113.03) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 153.396 112.268) (end 154.746 112.268) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 155.508 113.03) (end 156.845 113.03) (width 0.6) (layer F.Cu) (net 8)) - (segment (start 150.896 110.009) (end 150.923 109.982) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 150.865 105.05) (end 150.865 106.542) (width 0.3) (layer F.Cu) (net 9)) - (segment (start 150.865 109.786) (end 150.796 109.855) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 150.865 106.542) (end 150.865 109.786) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 150.896 109.955) (end 150.796 109.855) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 150.769 109.882) (end 150.796 109.855) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 150.769 112.268) (end 150.769 109.882) (width 0.6) (layer F.Cu) (net 9)) - (segment (start 141.712 95.151626) (end 141.712 94.703021) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 97.409) (end 141.712 95.151626) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 95.151626) (end 141.712 94.760321) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 94.760321) (end 141.058679 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.732 94.780321) (end 141.732 94.869) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.058679 94.107) (end 141.78686 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 138.303 94.107) (end 141.058679 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 94.703021) (end 141.712 94.18186) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.78686 94.107) (end 142.428058 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 142.428058 94.107) (end 145.848729 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 94.703021) (end 141.832037 94.703021) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.832037 94.703021) (end 142.428058 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 145.848729 94.107) (end 145.848729 94.253752) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 145.848729 94.253752) (end 146.315 94.720023) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.315 94.720023) (end 146.315 94.184244) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.315 96.658) (end 146.315 94.720023) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.315 94.720023) (end 146.325977 94.720023) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.325977 94.720023) (end 146.939 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 139.065 111.887) (end 139.065 106.934) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 156.845 97.79) (end 156.845 95.885) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 156.845 95.885) (end 155.067 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 155.067 94.107) (end 146.939 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 137.541 94.869) (end 138.303 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 137.541 103.632) (end 137.541 94.869) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 139.065 105.156) (end 137.541 103.632) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 139.065 106.934) (end 139.065 105.156) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 145.923 94.181271) (end 145.848729 94.107) (width 0.3) (layer F.Cu) (net 10)) - (segment (start 156.845 97.79) (end 159.385 97.79) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 141.712 94.18186) (end 141.78686 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.315 94.184244) (end 146.392244 94.107) (width 0.3) (layer F.Cu) (net 10)) - (segment (start 146.392244 94.107) (end 146.939 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 145.848729 94.107) (end 146.392244 94.107) (width 0.6) (layer F.Cu) (net 10)) - (segment (start 146.315 98.15) (end 146.315 96.658) (width 0.3) (layer F.Cu) (net 10)) - (segment (start 143.35 109.855) (end 144.7 109.855) (width 0.6) (layer F.Cu) (net 11)) - (segment (start 142.926 109.855) (end 143.35 109.855) (width 0.6) (layer F.Cu) (net 11)) - (segment (start 141.605 108.534) (end 142.926 109.855) (width 0.6) (layer F.Cu) (net 11)) - (segment (start 141.605 106.934) (end 141.605 108.534) (width 0.6) (layer F.Cu) (net 11)) - (segment (start 141.605 111.887) (end 142.367 111.887) (width 0.6) (layer F.Cu) (net 12)) - (segment (start 143.205 111.887) (end 143.586 112.268) (width 0.6) (layer F.Cu) (net 12)) - (segment (start 141.605 111.887) (end 143.205 111.887) (width 0.6) (layer F.Cu) (net 12)) - (segment (start 143.586 112.268) (end 144.7 112.268) (width 0.6) (layer F.Cu) (net 12)) - (segment (start 146.315 105.05) (end 146.315 106.31) (width 0.3) (layer F.Cu) (net 13)) - (segment (start 146.304 107.442) (end 146.304 106.555998) (width 0.6) (layer F.Cu) (net 13)) - (segment (start 147.4 108.538) (end 146.304 107.442) (width 0.6) (layer F.Cu) (net 13)) - (segment (start 147.4 109.855) (end 147.4 108.538) (width 0.6) (layer F.Cu) (net 13)) - (segment (start 146.965 105.05) (end 146.965 106.198) (width 0.3) (layer F.Cu) (net 14)) - (segment (start 146.965 106.198) (end 147.066 106.299) (width 0.3) (layer F.Cu) (net 14)) - (segment (start 148.209 107.442) (end 147.32 106.553) (width 0.6) (layer F.Cu) (net 14)) - (segment (start 146.965 106.198) (end 147.32 106.553) (width 0.3) (layer F.Cu) (net 14)) - (segment (start 148.971 108.204) (end 148.209 107.442) (width 0.6) (layer F.Cu) (net 14)) - (segment (start 148.971 112.047) (end 148.971 108.204) (width 0.6) (layer F.Cu) (net 14)) - (segment (start 148.75 112.268) (end 148.971 112.047) (width 0.6) (layer F.Cu) (net 14)) - (segment (start 147.4 112.268) (end 148.75 112.268) (width 0.6) (layer F.Cu) (net 14)) - (segment (start 156.845 110.49) (end 159.385 110.49) (width 0.6) (layer F.Cu) (net 15)) - (segment (start 155.321 110.49) (end 156.845 110.49) (width 0.6) (layer F.Cu) (net 15)) - (segment (start 155.321 110.49) (end 154.686 109.855) (width 0.6) (layer F.Cu) (net 15)) - (segment (start 154.686 109.855) (end 153.496 109.855) (width 0.6) (layer F.Cu) (net 15)) - (segment (start 150.865 99.43) (end 151.566762 100.131762) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 151.565001 103.813001) (end 155.702 107.95) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 151.566762 100.131762) (end 151.566762 100.216183) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 151.566762 100.216183) (end 151.565001 100.217944) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 151.565001 100.217944) (end 151.565001 103.813001) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 155.702 107.95) (end 156.845 107.95) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 156.845 107.95) (end 159.385 107.95) (width 0.6) (layer F.Cu) (net 16)) - (segment (start 150.865 98.15) (end 150.865 99.05) (width 0.3) (layer F.Cu) (net 16)) - (segment (start 150.865 99.05) (end 150.865 99.43) (width 0.3) (layer F.Cu) (net 16)) - (segment (start 156.845 105.41) (end 159.385 105.41) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 150.215 96.927) (end 150.495 96.647) (width 0.3) (layer F.Cu) (net 17)) - (segment (start 150.215 98.15) (end 150.215 96.927) (width 0.3) (layer F.Cu) (net 17)) - (segment (start 155.623686 105.41) (end 156.845 105.41) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 155.067 105.41) (end 155.623686 105.41) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 152.527 96.901) (end 152.527 102.87) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 152.273 96.647) (end 152.527 96.901) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 152.527 102.87) (end 155.067 105.41) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 150.495 96.647) (end 152.273 96.647) (width 0.6) (layer F.Cu) (net 17)) - (segment (start 156.845 102.87) (end 159.385 102.87) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 149.565 96.307) (end 149.733 96.139) (width 0.3) (layer F.Cu) (net 18)) - (segment (start 149.565 98.15) (end 149.565 96.307) (width 0.3) (layer F.Cu) (net 18)) - (segment (start 155.623686 102.87) (end 156.845 102.87) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 153.543 100.789314) (end 155.623686 102.87) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 153.543 96.266) (end 153.543 100.789314) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 150.02501 95.84699) (end 153.12399 95.84699) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 153.12399 95.84699) (end 153.543 96.266) (width 0.6) (layer F.Cu) (net 18)) - (segment (start 149.733 96.139) (end 150.02501 95.84699) (width 0.3) (layer F.Cu) (net 18)) - (segment (start 156.845 100.33) (end 159.385 100.33) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 148.915 98.15) (end 148.915 96.449) (width 0.3) (layer F.Cu) (net 19)) - (segment (start 156.845 100.33) (end 155.194 100.33) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 155.194 100.33) (end 154.559 99.695) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 154.559 99.695) (end 154.559 95.504) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 154.559 95.504) (end 154.051 94.996) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 154.051 94.996) (end 149.606 94.996) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 149.606 94.996) (end 148.915 95.687) (width 0.6) (layer F.Cu) (net 19)) - (segment (start 148.915 96.449) (end 148.915 95.687) (width 0.3) (layer F.Cu) (net 19)) - - (zone (net 8) (net_name GND) (layer B.Cu) (tstamp 0) (hatch edge 0.508) - (connect_pads (clearance 0.8)) - (min_thickness 0.254) - (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508)) - (polygon - (pts - (xy 136.906 93.472) (xy 161.925 93.472) (xy 161.925 115.951) (xy 136.906 115.951) - ) - ) - (filled_polygon - (pts - (xy 160.923 114.949) (xy 160.839958 114.949) (xy 160.839958 113.389026) (xy 160.718817 113.157) (xy 159.512 113.157) - (xy 159.512 114.364469) (xy 159.744027 114.484968) (xy 160.27349 114.236821) (xy 160.667688 113.804947) (xy 160.839958 113.389026) - (xy 160.839958 114.949) (xy 159.258 114.949) (xy 159.258 114.364469) (xy 159.258 113.157) (xy 158.178817 113.157) - (xy 158.051183 113.157) (xy 156.972 113.157) (xy 156.972 114.364469) (xy 157.204027 114.484968) (xy 157.73349 114.236821) - (xy 158.115 113.818847) (xy 158.49651 114.236821) (xy 159.025973 114.484968) (xy 159.258 114.364469) (xy 159.258 114.949) - (xy 156.718 114.949) (xy 156.718 114.364469) (xy 156.718 113.157) (xy 155.511183 113.157) (xy 155.390042 113.389026) - (xy 155.562312 113.804947) (xy 155.95651 114.236821) (xy 156.485973 114.484968) (xy 156.718 114.364469) (xy 156.718 114.949) - (xy 137.908 114.949) (xy 137.908 113.455549) (xy 137.972017 113.519678) (xy 138.680014 113.813665) (xy 139.446622 113.814334) - (xy 139.989882 113.589863) (xy 140.240564 113.759076) (xy 140.605 113.832161) (xy 142.605 113.832161) (xy 142.958462 113.763581) - (xy 143.269123 113.559511) (xy 143.477076 113.251436) (xy 143.550161 112.887) (xy 143.550161 110.887) (xy 143.481581 110.533538) - (xy 143.277511 110.222877) (xy 142.969436 110.014924) (xy 142.605 109.941839) (xy 140.605 109.941839) (xy 140.251538 110.010419) - (xy 139.987809 110.183659) (xy 139.449986 109.960335) (xy 138.683378 109.959666) (xy 137.974868 110.252416) (xy 137.908 110.319167) - (xy 137.908 108.502549) (xy 137.972017 108.566678) (xy 138.680014 108.860665) (xy 139.446622 108.861334) (xy 139.989882 108.636863) - (xy 140.240564 108.806076) (xy 140.605 108.879161) (xy 142.605 108.879161) (xy 142.958462 108.810581) (xy 143.269123 108.606511) - (xy 143.477076 108.298436) (xy 143.550161 107.934) (xy 143.550161 105.934) (xy 143.481581 105.580538) (xy 143.277511 105.269877) - (xy 142.969436 105.061924) (xy 142.605 104.988839) (xy 140.605 104.988839) (xy 140.251538 105.057419) (xy 139.987809 105.230659) - (xy 139.449986 105.007335) (xy 138.683378 105.006666) (xy 137.974868 105.299416) (xy 137.908 105.366167) (xy 137.908 94.474) - (xy 160.923 94.474) (xy 160.923 96.878212) (xy 160.686225 96.523855) (xy 160.105313 96.135701) (xy 159.42008 95.9994) - (xy 159.34992 95.9994) (xy 158.664687 96.135701) (xy 158.409827 96.305993) (xy 158.381111 96.262277) (xy 158.073036 96.054324) - (xy 157.7086 95.981239) (xy 155.9814 95.981239) (xy 155.627938 96.049819) (xy 155.317277 96.253889) (xy 155.109324 96.561964) - (xy 155.036239 96.9264) (xy 155.036239 98.6536) (xy 155.104819 99.007062) (xy 155.308889 99.317723) (xy 155.353861 99.348079) - (xy 155.155621 99.644767) (xy 155.01932 100.33) (xy 155.155621 101.015233) (xy 155.543775 101.596145) (xy 155.549544 101.6) - (xy 155.543775 101.603855) (xy 155.155621 102.184767) (xy 155.01932 102.87) (xy 155.155621 103.555233) (xy 155.543775 104.136145) - (xy 155.549544 104.14) (xy 155.543775 104.143855) (xy 155.155621 104.724767) (xy 155.01932 105.41) (xy 155.155621 106.095233) - (xy 155.543775 106.676145) (xy 155.549544 106.68) (xy 155.543775 106.683855) (xy 155.155621 107.264767) (xy 155.01932 107.95) - (xy 155.155621 108.635233) (xy 155.543775 109.216145) (xy 155.549544 109.22) (xy 155.543775 109.223855) (xy 155.155621 109.804767) - (xy 155.01932 110.49) (xy 155.155621 111.175233) (xy 155.543775 111.756145) (xy 155.838156 111.952844) (xy 155.562312 112.255053) - (xy 155.390042 112.670974) (xy 155.511183 112.903) (xy 156.718 112.903) (xy 156.718 112.883) (xy 156.972 112.883) - (xy 156.972 112.903) (xy 158.051183 112.903) (xy 158.178817 112.903) (xy 159.258 112.903) (xy 159.258 112.883) - (xy 159.512 112.883) (xy 159.512 112.903) (xy 160.718817 112.903) (xy 160.839958 112.670974) (xy 160.667688 112.255053) - (xy 160.391843 111.952844) (xy 160.686225 111.756145) (xy 160.923 111.401787) (xy 160.923 114.949) - ) - ) - ) - (zone (net 8) (net_name GND) (layer F.Cu) (tstamp 0) (hatch edge 0.508) - (connect_pads (clearance 0.5)) - (min_thickness 0.254) - (fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508)) - (polygon - (pts - (xy 136.906 93.472) (xy 161.925 93.472) (xy 161.925 115.951) (xy 136.906 115.951) - ) - ) - (filled_polygon - (pts - (xy 150.638566 103.815844) (xy 150.573723 103.828425) (xy 150.54131 103.815) (xy 150.47375 103.815) (xy 150.433025 103.855724) - (xy 150.425927 103.857102) (xy 150.215804 103.99513) (xy 150.214445 103.997142) (xy 150.011495 103.860149) (xy 149.998866 103.857616) - (xy 149.95625 103.815) (xy 149.88869 103.815) (xy 149.855308 103.828826) (xy 149.765 103.810716) (xy 149.365 103.810716) - (xy 149.237934 103.835369) (xy 149.115 103.810716) (xy 148.715 103.810716) (xy 148.587934 103.835369) (xy 148.465 103.810716) - (xy 148.065 103.810716) (xy 147.937934 103.835369) (xy 147.815 103.810716) (xy 147.415 103.810716) (xy 147.287934 103.835369) - (xy 147.165 103.810716) (xy 146.765 103.810716) (xy 146.637934 103.835369) (xy 146.515 103.810716) (xy 146.115 103.810716) - (xy 145.875927 103.857102) (xy 145.665804 103.99513) (xy 145.525149 104.203505) (xy 145.475716 104.45) (xy 145.475716 105.65) - (xy 145.522102 105.889073) (xy 145.538 105.913274) (xy 145.538 106.065902) (xy 145.447564 106.20125) (xy 145.377 106.555998) - (xy 145.377 107.442) (xy 145.447564 107.796748) (xy 145.648512 108.097488) (xy 146.261369 108.710345) (xy 146.200804 108.75013) - (xy 146.060149 108.958505) (xy 146.050649 109.005875) (xy 146.042898 108.965927) (xy 145.90487 108.755804) (xy 145.696495 108.615149) - (xy 145.45 108.565716) (xy 143.95 108.565716) (xy 143.710927 108.612102) (xy 143.500804 108.75013) (xy 143.38074 108.928) - (xy 143.35 108.928) (xy 143.309976 108.928) (xy 142.883182 108.501206) (xy 143.054196 108.38887) (xy 143.194851 108.180495) - (xy 143.244284 107.934) (xy 143.244284 105.934) (xy 143.197898 105.694927) (xy 143.05987 105.484804) (xy 142.851495 105.344149) - (xy 142.605 105.294716) (xy 140.605 105.294716) (xy 140.365927 105.341102) (xy 140.155804 105.47913) (xy 140.057284 105.625082) - (xy 139.992 105.559683) (xy 139.992 105.156) (xy 139.921436 104.801253) (xy 139.921436 104.801252) (xy 139.720488 104.500512) - (xy 138.714976 103.495) (xy 138.92625 103.495) (xy 139.085 103.33625) (xy 139.085 102.362) (xy 139.065 102.362) - (xy 139.065 102.108) (xy 139.085 102.108) (xy 139.085 101.13375) (xy 138.97975 101.0285) (xy 139.085 100.92325) - (xy 139.085 99.949) (xy 139.065 99.949) (xy 139.065 99.695) (xy 139.085 99.695) (xy 139.085 98.72075) - (xy 138.97975 98.6155) (xy 139.085 98.51025) (xy 139.085 97.536) (xy 139.065 97.536) (xy 139.065 97.282) - (xy 139.085 97.282) (xy 139.085 96.30775) (xy 138.92625 96.149) (xy 138.468 96.149) (xy 138.468 95.252976) - (xy 138.686976 95.034) (xy 140.674703 95.034) (xy 140.785 95.144297) (xy 140.785 95.151626) (xy 140.785 96.179058) - (xy 140.722927 96.191102) (xy 140.512804 96.32913) (xy 140.469423 96.393397) (xy 140.321698 96.245673) (xy 140.088309 96.149) - (xy 139.49775 96.149) (xy 139.339 96.30775) (xy 139.339 97.282) (xy 139.359 97.282) (xy 139.359 97.536) - (xy 139.339 97.536) (xy 139.339 98.51025) (xy 139.44425 98.6155) (xy 139.339 98.72075) (xy 139.339 99.695) - (xy 139.359 99.695) (xy 139.359 99.949) (xy 139.339 99.949) (xy 139.339 100.92325) (xy 139.44425 101.0285) - (xy 139.339 101.13375) (xy 139.339 102.108) (xy 139.359 102.108) (xy 139.359 102.362) (xy 139.339 102.362) - (xy 139.339 103.33625) (xy 139.49775 103.495) (xy 140.088309 103.495) (xy 140.321698 103.398327) (xy 140.46895 103.251075) - (xy 140.50713 103.309196) (xy 140.715505 103.449851) (xy 140.962 103.499284) (xy 142.462 103.499284) (xy 142.701073 103.452898) - (xy 142.911196 103.31487) (xy 143.051851 103.106495) (xy 143.101284 102.86) (xy 143.101284 101.61) (xy 143.054898 101.370927) - (xy 142.91687 101.160804) (xy 142.719662 101.027686) (xy 142.911196 100.90187) (xy 143.014384 100.749) (xy 146.685 100.749) - (xy 147.039747 100.678436) (xy 147.039748 100.678436) (xy 147.340488 100.477488) (xy 147.594488 100.223488) (xy 147.795436 99.922747) - (xy 147.866 99.568) (xy 147.829876 99.386397) (xy 147.942065 99.36463) (xy 148.065 99.389284) (xy 148.465 99.389284) - (xy 148.592065 99.36463) (xy 148.715 99.389284) (xy 149.115 99.389284) (xy 149.242065 99.36463) (xy 149.365 99.389284) - (xy 149.765 99.389284) (xy 149.892065 99.36463) (xy 149.948742 99.375996) (xy 149.938 99.43) (xy 150.008564 99.784747) - (xy 150.209512 100.085488) (xy 150.638001 100.513977) (xy 150.638001 103.813001) (xy 150.638566 103.815844) - ) - ) - (filled_polygon - (pts - (xy 161.223 115.249) (xy 160.839958 115.249) (xy 160.839958 113.389026) (xy 160.718817 113.157) (xy 159.512 113.157) - (xy 159.512 114.364469) (xy 159.744027 114.484968) (xy 160.27349 114.236821) (xy 160.667688 113.804947) (xy 160.839958 113.389026) - (xy 160.839958 115.249) (xy 159.258 115.249) (xy 159.258 114.364469) (xy 159.258 113.157) (xy 158.178817 113.157) - (xy 158.051183 113.157) (xy 156.972 113.157) (xy 156.972 114.364469) (xy 157.204027 114.484968) (xy 157.73349 114.236821) - (xy 158.115 113.818847) (xy 158.49651 114.236821) (xy 159.025973 114.484968) (xy 159.258 114.364469) (xy 159.258 115.249) - (xy 156.718 115.249) (xy 156.718 114.364469) (xy 156.718 113.157) (xy 155.511183 113.157) (xy 155.390042 113.389026) - (xy 155.562312 113.804947) (xy 155.95651 114.236821) (xy 156.485973 114.484968) (xy 156.718 114.364469) (xy 156.718 115.249) - (xy 154.654 115.249) (xy 154.654 113.01931) (xy 154.654 112.766691) (xy 154.654 112.55375) (xy 154.49525 112.395) - (xy 153.396 112.395) (xy 153.396 113.36925) (xy 153.55475 113.528) (xy 154.145309 113.528) (xy 154.378698 113.431327) - (xy 154.557327 113.252699) (xy 154.654 113.01931) (xy 154.654 115.249) (xy 137.608 115.249) (xy 137.608 112.621325) - (xy 137.684892 112.807418) (xy 138.142175 113.265499) (xy 138.73995 113.513717) (xy 139.387211 113.514282) (xy 139.985418 113.267108) - (xy 140.057487 113.195164) (xy 140.15013 113.336196) (xy 140.358505 113.476851) (xy 140.605 113.526284) (xy 142.605 113.526284) - (xy 142.844073 113.479898) (xy 143.054196 113.34187) (xy 143.194851 113.133495) (xy 143.200754 113.104058) (xy 143.231252 113.124436) - (xy 143.231253 113.124436) (xy 143.355567 113.149163) (xy 143.357102 113.157073) (xy 143.49513 113.367196) (xy 143.703505 113.507851) - (xy 143.95 113.557284) (xy 145.45 113.557284) (xy 145.689073 113.510898) (xy 145.899196 113.37287) (xy 146.039851 113.164495) - (xy 146.04935 113.117124) (xy 146.057102 113.157073) (xy 146.19513 113.367196) (xy 146.403505 113.507851) (xy 146.65 113.557284) - (xy 148.15 113.557284) (xy 148.389073 113.510898) (xy 148.599196 113.37287) (xy 148.719259 113.195) (xy 148.75 113.195) - (xy 149.104747 113.124436) (xy 149.104748 113.124436) (xy 149.38791 112.935233) (xy 149.426102 113.132073) (xy 149.56413 113.342196) - (xy 149.772505 113.482851) (xy 150.019 113.532284) (xy 151.519 113.532284) (xy 151.758073 113.485898) (xy 151.968196 113.34787) - (xy 152.011576 113.283602) (xy 152.159302 113.431327) (xy 152.392691 113.528) (xy 152.98325 113.528) (xy 153.142 113.36925) - (xy 153.142 112.395) (xy 153.122 112.395) (xy 153.122 112.141) (xy 153.142 112.141) (xy 153.142 112.121) - (xy 153.396 112.121) (xy 153.396 112.141) (xy 154.49525 112.141) (xy 154.654 111.98225) (xy 154.654 111.769309) - (xy 154.654 111.51669) (xy 154.557327 111.283301) (xy 154.390309 111.116284) (xy 154.485073 111.097898) (xy 154.565252 111.045228) - (xy 154.665512 111.145488) (xy 154.966252 111.346436) (xy 154.966253 111.346437) (xy 155.321 111.417) (xy 155.676916 111.417) - (xy 155.761784 111.544013) (xy 156.08762 111.76173) (xy 155.95651 111.823179) (xy 155.562312 112.255053) (xy 155.390042 112.670974) - (xy 155.511183 112.903) (xy 156.718 112.903) (xy 156.718 112.883) (xy 156.972 112.883) (xy 156.972 112.903) - (xy 158.051183 112.903) (xy 158.178817 112.903) (xy 159.258 112.903) (xy 159.258 112.883) (xy 159.512 112.883) - (xy 159.512 112.903) (xy 160.718817 112.903) (xy 160.839958 112.670974) (xy 160.667688 112.255053) (xy 160.27349 111.823179) - (xy 160.142379 111.76173) (xy 160.468216 111.544013) (xy 160.791338 111.060428) (xy 160.904803 110.49) (xy 160.791338 109.919572) - (xy 160.468216 109.435987) (xy 160.144969 109.22) (xy 160.468216 109.004013) (xy 160.791338 108.520428) (xy 160.904803 107.95) - (xy 160.791338 107.379572) (xy 160.468216 106.895987) (xy 160.144969 106.68) (xy 160.468216 106.464013) (xy 160.791338 105.980428) - (xy 160.904803 105.41) (xy 160.791338 104.839572) (xy 160.468216 104.355987) (xy 160.144969 104.14) (xy 160.468216 103.924013) - (xy 160.791338 103.440428) (xy 160.904803 102.87) (xy 160.791338 102.299572) (xy 160.468216 101.815987) (xy 160.144969 101.6) - (xy 160.468216 101.384013) (xy 160.791338 100.900428) (xy 160.904803 100.33) (xy 160.791338 99.759572) (xy 160.468216 99.275987) - (xy 160.144969 99.06) (xy 160.468216 98.844013) (xy 160.791338 98.360428) (xy 160.904803 97.79) (xy 160.791338 97.219572) - (xy 160.468216 96.735987) (xy 159.984631 96.412865) (xy 159.414203 96.2994) (xy 159.355797 96.2994) (xy 158.785369 96.412865) - (xy 158.309888 96.730571) (xy 158.301498 96.687327) (xy 158.16347 96.477204) (xy 157.955095 96.336549) (xy 157.772 96.29983) - (xy 157.772 95.885) (xy 157.701437 95.530253) (xy 157.701436 95.530252) (xy 157.500488 95.229512) (xy 156.444976 94.174) - (xy 161.223 94.174) (xy 161.223 115.249) - ) - ) - ) -) diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.lib b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.lib deleted file mode 100644 index 4b0a810..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.lib +++ /dev/null @@ -1,185 +0,0 @@ -EESchema-LIBRARY Version 2.3 -#encoding utf-8 -# -# +5V -# -DEF +5V #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -150 50 H I C CNN -F1 "+5V" 0 140 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 2 0 1 0 -30 50 0 100 N -P 2 0 1 0 0 0 0 100 N -P 2 0 1 0 0 100 30 50 N -X +5V 1 0 0 0 U 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# AS5040 -# -DEF AS5040 U 0 40 Y Y 1 F N -F0 "U" -375 370 60 H V C CNN -F1 "AS5040" 210 -435 60 H V C CNN -F2 "" 0 0 60 H V C CNN -F3 "" 0 0 60 H V C CNN -DRAW -S -425 315 370 -370 0 1 0 f -X MagINCn 1 -625 260 200 R 50 50 1 1 O -X MagDECn 2 -625 180 200 R 50 50 1 1 O -X A_LSB_U 3 -625 100 200 R 50 50 1 1 I -X B_DIR_V 4 -625 15 200 R 50 50 1 1 I -X NC 5 -625 -70 200 R 50 50 1 1 N -X Index_W 6 -625 -150 200 R 50 50 1 1 I -X VSS 7 -625 -230 200 R 50 50 1 1 W -X Prog 8 -625 -310 200 R 50 50 1 1 I -X DO 9 570 -310 200 L 50 50 1 1 O -X CLK 10 570 -230 200 L 50 50 1 1 I -X CSn 11 570 -150 200 L 50 50 1 1 I -X PWM_LSB 12 570 -70 200 L 50 50 1 1 O -X NC 13 570 15 200 L 50 50 1 1 N -X NC 14 570 100 200 L 50 50 1 1 N -X VDD3V3 15 570 180 200 L 50 50 1 1 w -X VDD5V 16 570 260 200 L 50 50 1 1 W -ENDDRAW -ENDDEF -# -# C -# -DEF C C 0 10 N Y 1 F N -F0 "C" 25 100 50 H V L CNN -F1 "C" 25 -100 50 H V L CNN -F2 "" 38 -150 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - C? - C_????_* - C_???? - SMD*_c - Capacitor* -$ENDFPLIST -DRAW -P 2 0 1 20 -80 -30 80 -30 N -P 2 0 1 20 -80 30 80 30 N -X ~ 1 0 150 110 D 40 40 1 1 P -X ~ 2 0 -150 110 U 40 40 1 1 P -ENDDRAW -ENDDEF -# -# CONN_02X07 -# -DEF CONN_02X07 P 0 1 Y N 1 F N -F0 "P" 0 400 50 H V C CNN -F1 "CONN_02X07" 0 0 50 V V C CNN -F2 "" 0 -1200 50 H V C CNN -F3 "" 0 -1200 50 H V C CNN -$FPLIST - Pin_Header_Straight_2X07 - Pin_Header_Angled_2X07 - Socket_Strip_Straight_2X07 - Socket_Strip_Angled_2X07 -$ENDFPLIST -DRAW -S -100 -295 -50 -305 0 1 0 N -S -100 -195 -50 -205 0 1 0 N -S -100 -95 -50 -105 0 1 0 N -S -100 5 -50 -5 0 1 0 N -S -100 105 -50 95 0 1 0 N -S -100 205 -50 195 0 1 0 N -S -100 305 -50 295 0 1 0 N -S -100 350 100 -350 0 1 0 N -S 50 -295 100 -305 0 1 0 N -S 50 -195 100 -205 0 1 0 N -S 50 -95 100 -105 0 1 0 N -S 50 5 100 -5 0 1 0 N -S 50 105 100 95 0 1 0 N -S 50 205 100 195 0 1 0 N -S 50 305 100 295 0 1 0 N -X P1 1 -250 300 150 R 50 50 1 1 P -X P2 2 250 300 150 L 50 50 1 1 P -X P3 3 -250 200 150 R 50 50 1 1 P -X P4 4 250 200 150 L 50 50 1 1 P -X P5 5 -250 100 150 R 50 50 1 1 P -X P6 6 250 100 150 L 50 50 1 1 P -X P7 7 -250 0 150 R 50 50 1 1 P -X P8 8 250 0 150 L 50 50 1 1 P -X P9 9 -250 -100 150 R 50 50 1 1 P -X P10 10 250 -100 150 L 50 50 1 1 P -X P11 11 -250 -200 150 R 50 50 1 1 P -X P12 12 250 -200 150 L 50 50 1 1 P -X P13 13 -250 -300 150 R 50 50 1 1 P -X P14 14 250 -300 150 L 50 50 1 1 P -ENDDRAW -ENDDEF -# -# GND -# -DEF GND #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -250 50 H I C CNN -F1 "GND" 0 -150 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N -X GND 1 0 0 0 D 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# LED -# -DEF LED D 0 40 Y N 1 F N -F0 "D" 0 100 50 H V C CNN -F1 "LED" 0 -100 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - LED-3MM - LED-5MM - LED-10MM - LED-0603 - LED-0805 - LED-1206 - LEDV -$ENDFPLIST -DRAW -P 2 0 1 0 -50 50 -50 -50 N -P 3 0 1 0 -80 -25 -125 -65 -120 -40 N -P 3 0 1 0 -65 -40 -110 -80 -105 -55 N -P 3 0 1 0 50 50 -50 0 50 -50 F -X K 1 -200 0 150 R 40 40 1 1 P -X A 2 200 0 150 L 40 40 1 1 P -ENDDRAW -ENDDEF -# -# PWR_FLAG -# -DEF PWR_FLAG #FLG 0 0 N N 1 F P -F0 "#FLG" 0 95 50 H I C CNN -F1 "PWR_FLAG" 0 180 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -X pwr 1 0 0 0 U 20 20 0 0 w -P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N -ENDDRAW -ENDDEF -# -# R -# -DEF R R 0 0 N Y 1 F N -F0 "R" 80 0 50 V V C CNN -F1 "R" 0 0 50 V V C CNN -F2 "" -70 0 50 V V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - R_* - Resistor_* -$ENDFPLIST -DRAW -S -40 -100 40 100 0 1 10 N -X ~ 1 0 150 50 D 50 50 1 1 P -X ~ 2 0 -150 50 U 50 50 1 1 P -ENDDRAW -ENDDEF -# -#End Library diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.net b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.net deleted file mode 100644 index 06d9e29..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.net +++ /dev/null @@ -1,244 +0,0 @@ -(export (version D) - (design - (source /home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/SatNOGS_Encoder/SatNOGS_Encoder.sch) - (date "Sun 10 Jan 2016 02:50:40 PM EET") - (tool "Eeschema (after 2015-mar-04 BZR unknown)-product") - (sheet (number 1) (name /) (tstamps /) - (title_block - (title) - (company) - (rev) - (date) - (source SatNOGS_Encoder.sch) - (comment (number 1) (value "")) - (comment (number 2) (value "")) - (comment (number 3) (value "")) - (comment (number 4) (value ""))))) - (components - (comp (ref U1) - (value AS5040) - (footprint Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm) - (libsource (lib satnogs) (part AS5040)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FACFC8)) - (comp (ref R2) - (value 560) - (footprint Resistors_SMD:R_0805_HandSoldering) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FADD67)) - (comp (ref R1) - (value 560) - (footprint Resistors_SMD:R_0805_HandSoldering) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FAE1DA)) - (comp (ref R3) - (value 100) - (footprint Resistors_SMD:R_0805_HandSoldering) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FAED06)) - (comp (ref C1) - (value 1n) - (footprint Capacitors_SMD:C_0805_HandSoldering) - (libsource (lib device) (part C)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FAED95)) - (comp (ref C4) - (value 100n) - (footprint Capacitors_SMD:C_0805_HandSoldering) - (libsource (lib device) (part C)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FB7E85)) - (comp (ref C2) - (value 1u) - (footprint Capacitors_SMD:C_0805_HandSoldering) - (libsource (lib device) (part C)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FB84C5)) - (comp (ref C3) - (value 1u) - (footprint Capacitors_SMD:C_0805_HandSoldering) - (libsource (lib device) (part C)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FB8594)) - (comp (ref P1) - (value CONN_02X07) - (footprint Pin_Headers:Pin_Header_Straight_2x07) - (libsource (lib conn) (part CONN_02X07)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FBB05D)) - (comp (ref D1) - (value LED) - (footprint LEDs:LED-3MM) - (libsource (lib device) (part LED)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FCA0B4)) - (comp (ref D2) - (value LED) - (footprint LEDs:LED-3MM) - (libsource (lib device) (part LED)) - (sheetpath (names /) (tstamps /)) - (tstamp 55FCA19F))) - (libparts - (libpart (lib device) (part C) - (description "Unpolarized capacitor") - (footprints - (fp C?) - (fp C_????_*) - (fp C_????) - (fp SMD*_c) - (fp Capacitor*)) - (fields - (field (name Reference) C) - (field (name Value) C)) - (pins - (pin (num 1) (name ~) (type passive)) - (pin (num 2) (name ~) (type passive)))) - (libpart (lib satnogs) (part AS5040) - (fields - (field (name Reference) U) - (field (name Value) AS5040)) - (pins - (pin (num 1) (name MagINCn) (type output)) - (pin (num 2) (name MagDECn) (type output)) - (pin (num 3) (name A_LSB_U) (type input)) - (pin (num 4) (name B_DIR_V) (type input)) - (pin (num 5) (name NC) (type NotConnected)) - (pin (num 6) (name Index_W) (type input)) - (pin (num 7) (name VSS) (type power_in)) - (pin (num 8) (name Prog) (type input)) - (pin (num 9) (name DO) (type output)) - (pin (num 10) (name CLK) (type input)) - (pin (num 11) (name CSn) (type input)) - (pin (num 12) (name PWM_LSB) (type output)) - (pin (num 13) (name NC) (type NotConnected)) - (pin (num 14) (name NC) (type NotConnected)) - (pin (num 15) (name VDD3V3) (type power_out)) - (pin (num 16) (name VDD5V) (type power_in)))) - (libpart (lib conn) (part CONN_02X07) - (footprints - (fp Pin_Header_Straight_2X07) - (fp Pin_Header_Angled_2X07) - (fp Socket_Strip_Straight_2X07) - (fp Socket_Strip_Angled_2X07)) - (fields - (field (name Reference) P) - (field (name Value) CONN_02X07)) - (pins - (pin (num 1) (name P1) (type passive)) - (pin (num 2) (name P2) (type passive)) - (pin (num 3) (name P3) (type passive)) - (pin (num 4) (name P4) (type passive)) - (pin (num 5) (name P5) (type passive)) - (pin (num 6) (name P6) (type passive)) - (pin (num 7) (name P7) (type passive)) - (pin (num 8) (name P8) (type passive)) - (pin (num 9) (name P9) (type passive)) - (pin (num 10) (name P10) (type passive)) - (pin (num 11) (name P11) (type passive)) - (pin (num 12) (name P12) (type passive)) - (pin (num 13) (name P13) (type passive)) - (pin (num 14) (name P14) (type passive)))) - (libpart (lib device) (part LED) - (footprints - (fp LED-3MM) - (fp LED-5MM) - (fp LED-10MM) - (fp LED-0603) - (fp LED-0805) - (fp LED-1206) - (fp LEDV)) - (fields - (field (name Reference) D) - (field (name Value) LED)) - (pins - (pin (num 1) (name A) (type passive)) - (pin (num 2) (name K) (type passive)))) - (libpart (lib device) (part R) - (description Resistor) - (footprints - (fp R_*) - (fp Resistor_*)) - (fields - (field (name Reference) R) - (field (name Value) R)) - (pins - (pin (num 1) (name ~) (type passive)) - (pin (num 2) (name ~) (type passive))))) - (libraries - (library (logical satnogs) - (uri /home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs.lib)) - (library (logical device) - (uri /usr/share/kicad/library/device.lib)) - (library (logical conn) - (uri /usr/share/kicad/library/conn.lib))) - (nets - (net (code 1) (name /MagINCn) - (node (ref U1) (pin 1)) - (node (ref R1) (pin 2))) - (net (code 2) (name /PWM) - (node (ref P1) (pin 4)) - (node (ref P1) (pin 3)) - (node (ref U1) (pin 12))) - (net (code 3) (name /Prog) - (node (ref R3) (pin 2)) - (node (ref C1) (pin 2)) - (node (ref U1) (pin 8))) - (net (code 4) (name /CS) - (node (ref U1) (pin 11)) - (node (ref P1) (pin 5)) - (node (ref P1) (pin 6))) - (net (code 5) (name /DO) - (node (ref U1) (pin 9)) - (node (ref P1) (pin 10)) - (node (ref P1) (pin 9))) - (net (code 6) (name /CLK) - (node (ref U1) (pin 10)) - (node (ref P1) (pin 8)) - (node (ref P1) (pin 7))) - (net (code 7) (name GND) - (node (ref C1) (pin 1)) - (node (ref U1) (pin 7)) - (node (ref C4) (pin 2)) - (node (ref C2) (pin 2)) - (node (ref C3) (pin 2)) - (node (ref P1) (pin 14)) - (node (ref P1) (pin 13))) - (net (code 8) (name +5V) - (node (ref D1) (pin 2)) - (node (ref U1) (pin 16)) - (node (ref D2) (pin 2)) - (node (ref P1) (pin 1)) - (node (ref P1) (pin 2)) - (node (ref C4) (pin 1))) - (net (code 9) (name "Net-(U1-Pad4)") - (node (ref U1) (pin 4))) - (net (code 10) (name "Net-(D1-Pad1)") - (node (ref D1) (pin 1)) - (node (ref R1) (pin 1))) - (net (code 11) (name /DI) - (node (ref R3) (pin 1)) - (node (ref P1) (pin 12)) - (node (ref P1) (pin 11))) - (net (code 12) (name "Net-(D2-Pad1)") - (node (ref D2) (pin 1)) - (node (ref R2) (pin 1))) - (net (code 13) (name "Net-(U1-Pad3)") - (node (ref U1) (pin 3))) - (net (code 14) (name "Net-(U1-Pad6)") - (node (ref U1) (pin 6))) - (net (code 15) (name /MagDECn) - (node (ref U1) (pin 2)) - (node (ref R2) (pin 2))) - (net (code 16) (name "Net-(U1-Pad5)") - (node (ref U1) (pin 5))) - (net (code 17) (name "Net-(U1-Pad13)") - (node (ref U1) (pin 13))) - (net (code 18) (name "Net-(U1-Pad14)") - (node (ref U1) (pin 14))) - (net (code 19) (name "Net-(C2-Pad1)") - (node (ref C3) (pin 1)) - (node (ref U1) (pin 15)) - (node (ref C2) (pin 1))))) \ No newline at end of file diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.pro b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.pro deleted file mode 100644 index 427792a..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.pro +++ /dev/null @@ -1,61 +0,0 @@ -update=Tue 09 Feb 2016 10:56:13 EET -version=1 -last_client=kicad -[pcbnew] -version=1 -LastNetListRead= -UseCmpFile=1 -PadDrill=0.600000000000 -PadDrillOvalY=0.600000000000 -PadSizeH=1.500000000000 -PadSizeV=1.500000000000 -PcbTextSizeV=1.500000000000 -PcbTextSizeH=1.500000000000 -PcbTextThickness=0.300000000000 -ModuleTextSizeV=1.000000000000 -ModuleTextSizeH=1.000000000000 -ModuleTextSizeThickness=0.150000000000 -SolderMaskClearance=0.000000000000 -SolderMaskMinWidth=0.000000000000 -DrawSegmentWidth=0.200000000000 -BoardOutlineThickness=0.100000000000 -ModuleOutlineThickness=0.150000000000 -[cvpcb] -version=1 -NetIExt=net -[general] -version=1 -[eeschema] -version=1 -LibDir=../library -[eeschema/libraries] -LibName1=power -LibName2=device -LibName3=transistors -LibName4=conn -LibName5=linear -LibName6=regul -LibName7=74xx -LibName8=cmos4000 -LibName9=adc-dac -LibName10=memory -LibName11=xilinx -LibName12=microcontrollers -LibName13=dsp -LibName14=microchip -LibName15=analog_switches -LibName16=motorola -LibName17=texas -LibName18=intel -LibName19=audio -LibName20=interface -LibName21=digital-audio -LibName22=philips -LibName23=display -LibName24=cypress -LibName25=siliconi -LibName26=opto -LibName27=atmel -LibName28=contrib -LibName29=/home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs -LibName30=valves diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.sch b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.sch deleted file mode 100644 index d93f62b..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.sch +++ /dev/null @@ -1,528 +0,0 @@ -EESchema Schematic File Version 2 -LIBS:power -LIBS:device -LIBS:transistors -LIBS:conn -LIBS:linear -LIBS:regul -LIBS:74xx -LIBS:cmos4000 -LIBS:adc-dac -LIBS:memory -LIBS:xilinx -LIBS:microcontrollers -LIBS:dsp -LIBS:microchip -LIBS:analog_switches -LIBS:motorola -LIBS:texas -LIBS:intel -LIBS:audio -LIBS:interface -LIBS:digital-audio -LIBS:philips -LIBS:display -LIBS:cypress -LIBS:siliconi -LIBS:opto -LIBS:atmel -LIBS:contrib -LIBS:satnogs -LIBS:valves -EELAYER 25 0 -EELAYER END -$Descr A4 11693 8268 -encoding utf-8 -Sheet 1 1 -Title "" -Date "" -Rev "" -Comp "" -Comment1 "" -Comment2 "" -Comment3 "" -Comment4 "" -$EndDescr -$Comp -L AS5040 U1 -U 1 1 55FACFC8 -P 6255 2645 -F 0 "U1" H 5880 3015 60 0000 C CNN -F 1 "AS5040" H 6465 2210 60 0000 C CNN -F 2 "Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm" H 6255 2645 60 0001 C CNN -F 3 "http://www.mouser.com/ds/2/588/AS5040_Datasheet_EN_v2-473299.pdf" H 6255 2645 60 0001 C CNN -F 4 "Mouser 985-AS5040-ASST " H 6255 2645 60 0001 C CNN "Distributor" -F 5 "AS5040-ASST" H 6255 2645 60 0001 C CNN "Manufacturer" -F 6 "SSOP-16" H 6255 2645 60 0001 C CNN "Package" -F 7 "-" H 6255 2645 60 0001 C CNN "Notes" -F 8 "8.73 €" H 6255 2645 60 0001 C CNN "Price" - 1 6255 2645 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR01 -U 1 1 55FAD3A8 -P 5335 3000 -F 0 "#PWR01" H 5335 2750 50 0001 C CNN -F 1 "GND" H 5335 2850 50 0000 C CNN -F 2 "" H 5335 3000 60 0000 C CNN -F 3 "" H 5335 3000 60 0000 C CNN - 1 5335 3000 - 1 0 0 -1 -$EndComp -$Comp -L R R2 -U 1 1 55FADD67 -P 4450 3130 -F 0 "R2" V 4530 3130 50 0000 C CNN -F 1 "560" V 4450 3130 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 4380 3130 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 4450 3130 30 0001 C CNN -F 4 "Mouser 71-CRCW0805560RJNEA " V 4450 3130 60 0001 C CNN "Distributor" -F 5 "CRCW0805560RJNEA" V 4450 3130 60 0001 C CNN "Manufacturer" -F 6 "0805" V 4450 3130 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 4450 3130 60 0001 C CNN "Notes" -F 8 " 0.091€" V 4450 3130 60 0001 C CNN "Price" - 1 4450 3130 - 1 0 0 -1 -$EndComp -$Comp -L R R1 -U 1 1 55FAE1DA -P 4165 3125 -F 0 "R1" V 4245 3125 50 0000 C CNN -F 1 "560" V 4165 3125 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 4095 3125 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 4165 3125 30 0001 C CNN -F 4 "Mouser 71-CRCW0805560RJNEA " V 4165 3125 60 0001 C CNN "Distributor" -F 5 "CRCW0805560RJNEA" V 4165 3125 60 0001 C CNN "Manufacturer" -F 6 "0805" V 4165 3125 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 4165 3125 60 0001 C CNN "Notes" -F 8 "0.091€" V 4165 3125 60 0001 C CNN "Price" - 1 4165 3125 - 1 0 0 -1 -$EndComp -$Comp -L R R3 -U 1 1 55FAED06 -P 4460 4085 -F 0 "R3" V 4540 4085 50 0000 C CNN -F 1 "100" V 4460 4085 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 4390 4085 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 4460 4085 30 0001 C CNN -F 4 "Mouser 71-CRCW0805J-100-E3 " V 4460 4085 60 0001 C CNN "Distributor" -F 5 "CRCW0805100RJNEC" V 4460 4085 60 0001 C CNN "Manufacturer" -F 6 "0805" V 4460 4085 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 4460 4085 60 0001 C CNN "Notes" -F 8 "0.091€" V 4460 4085 60 0001 C CNN "Price" - 1 4460 4085 - 0 1 1 0 -$EndComp -$Comp -L +5V #PWR02 -U 1 1 55FB1760 -P 4310 2345 -F 0 "#PWR02" H 4310 2195 50 0001 C CNN -F 1 "+5V" H 4310 2485 50 0000 C CNN -F 2 "" H 4310 2345 60 0000 C CNN -F 3 "" H 4310 2345 60 0000 C CNN - 1 4310 2345 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR03 -U 1 1 55FAFB69 -P 4125 4565 -F 0 "#PWR03" H 4125 4315 50 0001 C CNN -F 1 "GND" H 4125 4415 50 0000 C CNN -F 2 "" H 4125 4565 60 0000 C CNN -F 3 "" H 4125 4565 60 0000 C CNN - 1 4125 4565 - 1 0 0 -1 -$EndComp -NoConn ~ 5630 2630 -NoConn ~ 5630 2545 -NoConn ~ 5630 2795 -$Comp -L C C1 -U 1 1 55FAED95 -P 4125 4340 -F 0 "C1" H 4150 4440 50 0000 L CNN -F 1 "1n" H 4150 4240 50 0000 L CNN -F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4163 4190 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf" H 4125 4340 60 0001 C CNN -F 4 "Mouser 77-VJ0805A102KXJPBC " H 4125 4340 60 0001 C CNN "Distributor" -F 5 "VJ0805A102KXJPW1BC" H 4125 4340 60 0001 C CNN "Manufacturer" -F 6 "0805" H 4125 4340 60 0001 C CNN "Package" -F 7 "16VDC" H 4125 4340 60 0001 C CNN "Notes" -F 8 "0.091€" H 4125 4340 60 0001 C CNN "Price" - 1 4125 4340 - -1 0 0 1 -$EndComp -Wire Wire Line - 4165 2495 4165 2440 -Wire Wire Line - 4165 2440 4450 2440 -Wire Wire Line - 4450 2440 4450 2500 -Wire Wire Line - 4165 2895 4165 2975 -Wire Wire Line - 4450 2900 4450 2980 -Wire Wire Line - 4450 3280 4450 3485 -Wire Wire Line - 4165 3275 4165 3485 -Wire Wire Line - 6825 2875 6990 2875 -Wire Wire Line - 6825 2795 6990 2795 -Wire Wire Line - 4310 2440 4310 2345 -Connection ~ 4310 2440 -Wire Wire Line - 5630 2385 5485 2385 -Wire Wire Line - 5630 2465 5485 2465 -Wire Wire Line - 6825 2715 6990 2715 -Wire Wire Line - 6825 2955 6990 2955 -Wire Notes Line - 3725 2095 4865 2095 -Wire Notes Line - 4865 2095 4865 3610 -Wire Notes Line - 4865 3610 3725 3610 -Wire Notes Line - 3725 3610 3725 2095 -Wire Notes Line - 3705 3810 4975 3810 -Wire Notes Line - 4975 3810 4975 4860 -Wire Notes Line - 4975 4860 3705 4860 -Wire Notes Line - 3705 4860 3705 3810 -Wire Wire Line - 4125 4565 4125 4490 -Wire Wire Line - 4125 4190 4125 4085 -Wire Wire Line - 3915 4085 4310 4085 -Wire Wire Line - 4610 4085 4790 4085 -Connection ~ 4125 4085 -$Comp -L C C4 -U 1 1 55FB7E85 -P 7940 2675 -F 0 "C4" H 7965 2775 50 0000 L CNN -F 1 "100n" H 7965 2575 50 0000 L CNN -F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7978 2525 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf" H 7940 2675 60 0001 C CNN -F 4 "Mouser 77-VJ0805Y104KXJCBC " H 7940 2675 60 0001 C CNN "Distributor" -F 5 "VJ0805Y104KXJCW1BC" H 7940 2675 60 0001 C CNN "Manufacturer" -F 6 "0805" H 7940 2675 60 0001 C CNN "Package" -F 7 "16VDC" H 7940 2675 60 0001 C CNN "Notes" -F 8 "0.118€" H 7940 2675 60 0001 C CNN "Price" - 1 7940 2675 - 1 0 0 -1 -$EndComp -$Comp -L C C2 -U 1 1 55FB84C5 -P 7420 2675 -F 0 "C2" H 7445 2775 50 0000 L CNN -F 1 "1u" H 7445 2575 50 0000 L CNN -F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7458 2525 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf" H 7420 2675 60 0001 C CNN -F 4 "Mouser 77-VJ0805V105ZXJCBC" H 7420 2675 60 0001 C CNN "Distributor" -F 5 "VJ0805V105ZXJCW1BC" H 7420 2675 60 0001 C CNN "Manufacturer" -F 6 "0805" H 7420 2675 60 0001 C CNN "Package" -F 7 "16VDC" H 7420 2675 60 0001 C CNN "Notes" -F 8 "0.091€" H 7420 2675 60 0001 C CNN "Price" - 1 7420 2675 - 1 0 0 -1 -$EndComp -$Comp -L C C3 -U 1 1 55FB8594 -P 7685 2675 -F 0 "C3" H 7710 2775 50 0000 L CNN -F 1 "1u" H 7710 2575 50 0000 L CNN -F 2 "Capacitors_SMD:C_0805_HandSoldering" H 7723 2525 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf" H 7685 2675 60 0001 C CNN -F 4 "Mouser 77-VJ0805V105ZXJCBC " H 7685 2675 60 0001 C CNN "Distributor" -F 5 "VJ0805V105ZXJCW1BC" H 7685 2675 60 0001 C CNN "Manufacturer" -F 6 "0805" H 7685 2675 60 0001 C CNN "Package" -F 7 "16VDC" H 7685 2675 60 0001 C CNN "Notes" -F 8 "0.091€" H 7685 2675 60 0001 C CNN "Price" - 1 7685 2675 - 1 0 0 -1 -$EndComp -Wire Wire Line - 6825 2465 7685 2465 -Wire Wire Line - 7685 2465 7685 2525 -Wire Wire Line - 7420 2525 7420 2465 -Connection ~ 7420 2465 -Wire Wire Line - 7420 2825 7420 2935 -Wire Wire Line - 7685 2825 7685 3025 -Connection ~ 7685 2935 -$Comp -L GND #PWR04 -U 1 1 55FBA5F6 -P 7685 3025 -F 0 "#PWR04" H 7685 2775 50 0001 C CNN -F 1 "GND" H 7685 2875 50 0000 C CNN -F 2 "" H 7685 3025 60 0000 C CNN -F 3 "" H 7685 3025 60 0000 C CNN - 1 7685 3025 - 1 0 0 -1 -$EndComp -Wire Notes Line - 5070 2095 5070 3550 -Wire Notes Line - 5070 3550 8295 3550 -Wire Notes Line - 8295 3550 8295 2095 -Wire Notes Line - 8295 2095 5070 2095 -$Comp -L CONN_02X07 P1 -U 1 1 55FBB05D -P 6130 4315 -F 0 "P1" H 6130 4715 50 0000 C CNN -F 1 "CONN_02X07" V 6130 4315 50 0000 C CNN -F 2 "Pin_Headers:Pin_Header_Straight_2x07" H 6130 3115 60 0001 C CNN -F 3 "https://cdn.sparkfun.com/datasheets/Prototyping/01103.pdf" H 6130 3115 60 0001 C CNN -F 4 "SparkFun COM-12792" H 6130 4315 60 0001 C CNN "Distributor" -F 5 "-" H 6130 4315 60 0001 C CNN "Manufacturer" -F 6 "2x40 pin right-angle PTH pitch 2.54" H 6130 4315 60 0001 C CNN "Package" -F 7 "-" H 6130 4315 60 0001 C CNN "Notes" -F 8 "1.85€" H 6130 4315 60 0001 C CNN "Price" - 1 6130 4315 - 1 0 0 -1 -$EndComp -Wire Wire Line - 5880 4015 5725 4015 -Wire Wire Line - 5880 4115 5725 4115 -Wire Wire Line - 5880 4215 5725 4215 -Wire Wire Line - 5880 4315 5725 4315 -Wire Wire Line - 5880 4415 5725 4415 -Wire Wire Line - 5880 4515 5725 4515 -Wire Wire Line - 5880 4615 5725 4615 -Wire Wire Line - 6380 4615 6490 4615 -Wire Wire Line - 6380 4515 6490 4515 -Wire Wire Line - 6380 4415 6490 4415 -Wire Wire Line - 6380 4315 6490 4315 -Wire Wire Line - 6380 4215 6490 4215 -Wire Wire Line - 6380 4115 6490 4115 -Wire Wire Line - 6380 4015 6490 4015 -Wire Notes Line - 5220 3765 7125 3765 -Wire Notes Line - 7125 3765 7125 4870 -Wire Notes Line - 7125 4870 5220 4870 -Wire Notes Line - 5220 4870 5220 3765 -$Comp -L PWR_FLAG #FLG05 -U 1 1 55FC07E4 -P 5335 2780 -F 0 "#FLG05" H 5335 2875 50 0001 C CNN -F 1 "PWR_FLAG" H 5335 2960 50 0000 C CNN -F 2 "" H 5335 2780 60 0000 C CNN -F 3 "" H 5335 2780 60 0000 C CNN - 1 5335 2780 - 1 0 0 -1 -$EndComp -$Comp -L PWR_FLAG #FLG06 -U 1 1 55FC1456 -P 3950 2410 -F 0 "#FLG06" H 3950 2505 50 0001 C CNN -F 1 "PWR_FLAG" H 3950 2590 50 0000 C CNN -F 2 "" H 3950 2410 60 0000 C CNN -F 3 "" H 3950 2410 60 0000 C CNN - 1 3950 2410 - 1 0 0 -1 -$EndComp -Wire Wire Line - 5630 2875 5335 2875 -Wire Wire Line - 5335 2780 5335 3000 -Connection ~ 5335 2875 -Wire Wire Line - 3950 2440 4310 2440 -Wire Wire Line - 3950 2410 3950 2440 -Text Label 5485 2385 2 60 ~ 0 -MagINCn -Text Label 4165 3485 2 60 ~ 0 -MagINCn -Text Label 5485 2465 2 60 ~ 0 -MagDECn -Text Label 4450 3485 0 60 ~ 0 -MagDECn -Wire Wire Line - 5630 2955 5560 2955 -Text Label 5560 2955 2 60 ~ 0 -Prog -Text Label 3915 4085 2 60 ~ 0 -Prog -Text Label 4790 4085 0 60 ~ 0 -DI -Wire Wire Line - 7420 2935 7940 2935 -Wire Wire Line - 7940 2935 7940 2825 -Wire Wire Line - 7940 2525 7940 2385 -Wire Wire Line - 7940 2385 6825 2385 -$Comp -L +5V #PWR07 -U 1 1 55FC2F9A -P 6980 2310 -F 0 "#PWR07" H 6980 2160 50 0001 C CNN -F 1 "+5V" H 6980 2450 50 0000 C CNN -F 2 "" H 6980 2310 60 0000 C CNN -F 3 "" H 6980 2310 60 0000 C CNN - 1 6980 2310 - 1 0 0 -1 -$EndComp -Wire Wire Line - 6980 2310 6980 2385 -Connection ~ 6980 2385 -Text Label 6990 2715 0 60 ~ 0 -PWM -Text Label 6990 2795 0 60 ~ 0 -CS -Text Label 6990 2875 0 60 ~ 0 -CLK -Text Label 6990 2955 0 60 ~ 0 -DO -$Comp -L +5V #PWR08 -U 1 1 55FC70CF -P 5725 3950 -F 0 "#PWR08" H 5725 3800 50 0001 C CNN -F 1 "+5V" H 5725 4090 50 0000 C CNN -F 2 "" H 5725 3950 60 0000 C CNN -F 3 "" H 5725 3950 60 0000 C CNN - 1 5725 3950 - 1 0 0 -1 -$EndComp -$Comp -L +5V #PWR09 -U 1 1 55FC717F -P 6490 3950 -F 0 "#PWR09" H 6490 3800 50 0001 C CNN -F 1 "+5V" H 6490 4090 50 0000 C CNN -F 2 "" H 6490 3950 60 0000 C CNN -F 3 "" H 6490 3950 60 0000 C CNN - 1 6490 3950 - 1 0 0 -1 -$EndComp -Wire Wire Line - 6490 4015 6490 3950 -Wire Wire Line - 5725 4015 5725 3950 -Text Label 5725 4115 2 60 ~ 0 -PWM -Text Label 6490 4115 0 60 ~ 0 -PWM -Text Label 5725 4215 2 60 ~ 0 -CS -Text Label 6490 4215 0 60 ~ 0 -CS -Text Label 5725 4315 2 60 ~ 0 -CLK -Text Label 6490 4315 0 60 ~ 0 -CLK -Text Label 5725 4415 2 60 ~ 0 -DO -Text Label 6490 4415 0 60 ~ 0 -DO -Text Label 5725 4515 2 60 ~ 0 -DI -Text Label 6490 4515 0 60 ~ 0 -DI -$Comp -L GND #PWR010 -U 1 1 55FC8C3E -P 5725 4670 -F 0 "#PWR010" H 5725 4420 50 0001 C CNN -F 1 "GND" H 5725 4520 50 0000 C CNN -F 2 "" H 5725 4670 60 0000 C CNN -F 3 "" H 5725 4670 60 0000 C CNN - 1 5725 4670 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR011 -U 1 1 55FC8D71 -P 6490 4670 -F 0 "#PWR011" H 6490 4420 50 0001 C CNN -F 1 "GND" H 6490 4520 50 0000 C CNN -F 2 "" H 6490 4670 60 0000 C CNN -F 3 "" H 6490 4670 60 0000 C CNN - 1 6490 4670 - 1 0 0 -1 -$EndComp -Wire Wire Line - 6490 4615 6490 4670 -Wire Wire Line - 5725 4615 5725 4670 -$Comp -L LED D1 -U 1 1 55FCA0B4 -P 4165 2695 -F 0 "D1" H 4165 2795 50 0000 C CNN -F 1 "LED" H 4165 2595 50 0000 C CNN -F 2 "LEDs:LED-3MM" H 4165 2695 60 0001 C CNN -F 3 "https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf" H 4165 2695 60 0001 C CNN -F 4 "SparkFun COM-09650" H 4165 2695 60 0001 C CNN "Distributor" -F 5 "-" H 4165 2695 60 0001 C CNN "Manufacturer" -F 6 "Green 3mm pitch 2.54" H 4165 2695 60 0001 C CNN "Package" -F 7 "-" H 4165 2695 60 0001 C CNN "Notes" -F 8 "0.33€" H 4165 2695 60 0001 C CNN "Price" - 1 4165 2695 - 0 -1 -1 0 -$EndComp -$Comp -L LED D2 -U 1 1 55FCA19F -P 4450 2700 -F 0 "D2" H 4450 2800 50 0000 C CNN -F 1 "LED" H 4450 2600 50 0000 C CNN -F 2 "LEDs:LED-3MM" H 4450 2700 60 0001 C CNN -F 3 "https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf" H 4450 2700 60 0001 C CNN -F 4 "SparkFun COM-09650" H 4450 2700 60 0001 C CNN "Distributor" -F 5 "-" H 4450 2700 60 0001 C CNN "Manufacturer" -F 6 "Green 3mm pitch 2.54" H 4450 2700 60 0001 C CNN "Package" -F 7 "-" H 4450 2700 60 0001 C CNN "Notes" -F 8 "0.33€" H 4450 2700 60 0001 C CNN "Price" - 1 4450 2700 - 0 -1 -1 0 -$EndComp -$EndSCHEMATC diff --git a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.xml b/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.xml deleted file mode 100644 index 1b93622..0000000 --- a/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.xml +++ /dev/null @@ -1,394 +0,0 @@ - - - - /home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/SatNOGS_Encoder/encoder_as5040/encoder_as5040.sch - Wed 17 Feb 2016 18:09:40 EET - Eeschema 4.0.1-stable - - - - <company/> - <rev/> - <date/> - <source>encoder_as5040.sch</source> - <comment number="1" value=""/> - <comment number="2" value=""/> - <comment number="3" value=""/> - <comment number="4" value=""/> - </title_block> - </sheet> - </design> - <components> - <comp ref="U1"> - <value>AS5040</value> - <footprint>Housings_SSOP:SSOP-16_5.3x6.2mm_Pitch0.65mm</footprint> - <datasheet>http://www.mouser.com/ds/2/588/AS5040_Datasheet_EN_v2-473299.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 985-AS5040-ASST </field> - <field name="Manufacturer">AS5040-ASST</field> - <field name="Package">SSOP-16</field> - <field name="Notes">-</field> - <field name="Price">8.73 €</field> - </fields> - <libsource lib="satnogs" part="AS5040"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FACFC8</tstamp> - </comp> - <comp ref="R2"> - <value>560</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW0805560RJNEA </field> - <field name="Manufacturer">CRCW0805560RJNEA</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price"> 0.091€</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FADD67</tstamp> - </comp> - <comp ref="R1"> - <value>560</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW0805560RJNEA </field> - <field name="Manufacturer">CRCW0805560RJNEA</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FAE1DA</tstamp> - </comp> - <comp ref="R3"> - <value>100</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW0805J-100-E3 </field> - <field name="Manufacturer">CRCW0805100RJNEC</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FAED06</tstamp> - </comp> - <comp ref="C1"> - <value>1n</value> - <footprint>Capacitors_SMD:C_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 77-VJ0805A102KXJPBC </field> - <field name="Manufacturer">VJ0805A102KXJPW1BC</field> - <field name="Package">0805</field> - <field name="Notes">16VDC</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="C"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FAED95</tstamp> - </comp> - <comp ref="C4"> - <value>100n</value> - <footprint>Capacitors_SMD:C_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 77-VJ0805Y104KXJCBC </field> - <field name="Manufacturer">VJ0805Y104KXJCW1BC</field> - <field name="Package">0805</field> - <field name="Notes">16VDC</field> - <field name="Price">0.118€</field> - </fields> - <libsource lib="device" part="C"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FB7E85</tstamp> - </comp> - <comp ref="C2"> - <value>1u</value> - <footprint>Capacitors_SMD:C_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 77-VJ0805V105ZXJCBC</field> - <field name="Manufacturer">VJ0805V105ZXJCW1BC</field> - <field name="Package">0805</field> - <field name="Notes">16VDC</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="C"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FB84C5</tstamp> - </comp> - <comp ref="C3"> - <value>1u</value> - <footprint>Capacitors_SMD:C_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/vjw1bcbascomseries-223529.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 77-VJ0805V105ZXJCBC </field> - <field name="Manufacturer">VJ0805V105ZXJCW1BC</field> - <field name="Package">0805</field> - <field name="Notes">16VDC</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="C"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FB8594</tstamp> - </comp> - <comp ref="P1"> - <value>CONN_02X07</value> - <footprint>Pin_Headers:Pin_Header_Straight_2x07</footprint> - <datasheet>https://cdn.sparkfun.com/datasheets/Prototyping/01103.pdf</datasheet> - <fields> - <field name="Distributor">SparkFun COM-12792</field> - <field name="Manufacturer">-</field> - <field name="Package">2x40 pin right-angle PTH pitch 2.54</field> - <field name="Notes">-</field> - <field name="Price">1.85€</field> - </fields> - <libsource lib="conn" part="CONN_02X07"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FBB05D</tstamp> - </comp> - <comp ref="D1"> - <value>LED</value> - <footprint>LEDs:LED-3MM</footprint> - <datasheet>https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf</datasheet> - <fields> - <field name="Distributor">SparkFun COM-09650</field> - <field name="Manufacturer">-</field> - <field name="Package">Green 3mm pitch 2.54</field> - <field name="Notes">-</field> - <field name="Price">0.33€</field> - </fields> - <libsource lib="device" part="LED"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FCA0B4</tstamp> - </comp> - <comp ref="D2"> - <value>LED</value> - <footprint>LEDs:LED-3MM</footprint> - <datasheet>https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf</datasheet> - <fields> - <field name="Distributor">SparkFun COM-09650</field> - <field name="Manufacturer">-</field> - <field name="Package">Green 3mm pitch 2.54</field> - <field name="Notes">-</field> - <field name="Price">0.33€</field> - </fields> - <libsource lib="device" part="LED"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55FCA19F</tstamp> - </comp> - </components> - <libparts> - <libpart lib="satnogs" part="AS5040"> - <fields> - <field name="Reference">U</field> - <field name="Value">AS5040</field> - </fields> - <pins> - <pin num="1" name="MagINCn" type="output"/> - <pin num="2" name="MagDECn" type="output"/> - <pin num="3" name="A_LSB_U" type="input"/> - <pin num="4" name="B_DIR_V" type="input"/> - <pin num="5" name="NC" type="NotConnected"/> - <pin num="6" name="Index_W" type="input"/> - <pin num="7" name="VSS" type="power_in"/> - <pin num="8" name="Prog" type="input"/> - <pin num="9" name="DO" type="output"/> - <pin num="10" name="CLK" type="input"/> - <pin num="11" name="CSn" type="input"/> - <pin num="12" name="PWM_LSB" type="output"/> - <pin num="13" name="NC" type="NotConnected"/> - <pin num="14" name="NC" type="NotConnected"/> - <pin num="15" name="VDD3V3" type="power_out"/> - <pin num="16" name="VDD5V" type="power_in"/> - </pins> - </libpart> - <libpart lib="device" part="C"> - <description>Unpolarized capacitor</description> - <footprints> - <fp>C?</fp> - <fp>C_????_*</fp> - <fp>C_????</fp> - <fp>SMD*_c</fp> - <fp>Capacitor*</fp> - </footprints> - <fields> - <field name="Reference">C</field> - <field name="Value">C</field> - </fields> - <pins> - <pin num="1" name="~" type="passive"/> - <pin num="2" name="~" type="passive"/> - </pins> - </libpart> - <libpart lib="conn" part="CONN_02X07"> - <description>Connector 02x07</description> - <footprints> - <fp>Pin_Header_Straight_2X07</fp> - <fp>Pin_Header_Angled_2X07</fp> - <fp>Socket_Strip_Straight_2X07</fp> - <fp>Socket_Strip_Angled_2X07</fp> - </footprints> - <fields> - <field name="Reference">P</field> - <field name="Value">CONN_02X07</field> - </fields> - <pins> - <pin num="1" name="P1" type="passive"/> - <pin num="2" name="P2" type="passive"/> - <pin num="3" name="P3" type="passive"/> - <pin num="4" name="P4" type="passive"/> - <pin num="5" name="P5" type="passive"/> - <pin num="6" name="P6" type="passive"/> - <pin num="7" name="P7" type="passive"/> - <pin num="8" name="P8" type="passive"/> - <pin num="9" name="P9" type="passive"/> - <pin num="10" name="P10" type="passive"/> - <pin num="11" name="P11" type="passive"/> - <pin num="12" name="P12" type="passive"/> - <pin num="13" name="P13" type="passive"/> - <pin num="14" name="P14" type="passive"/> - </pins> - </libpart> - <libpart lib="device" part="LED"> - <footprints> - <fp>LED-3MM</fp> - <fp>LED-5MM</fp> - <fp>LED-10MM</fp> - <fp>LED-0603</fp> - <fp>LED-0805</fp> - <fp>LED-1206</fp> - <fp>LEDV</fp> - </footprints> - <fields> - <field name="Reference">D</field> - <field name="Value">LED</field> - </fields> - <pins> - <pin num="1" name="K" type="passive"/> - <pin num="2" name="A" type="passive"/> - </pins> - </libpart> - <libpart lib="device" part="R"> - <description>Resistor</description> - <footprints> - <fp>R_*</fp> - <fp>Resistor_*</fp> - </footprints> - <fields> - <field name="Reference">R</field> - <field name="Value">R</field> - </fields> - <pins> - <pin num="1" name="~" type="passive"/> - <pin num="2" name="~" type="passive"/> - </pins> - </libpart> - </libparts> - <libraries> - <library logical="device"> - <uri>/usr/share/kicad/library/device.lib</uri> - </library> - <library logical="conn"> - <uri>/usr/share/kicad/library/conn.lib</uri> - </library> - <library logical="satnogs"> - <uri>/home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs.lib</uri> - </library> - </libraries> - <nets> - <net code="1" name="/MagINCn"> - <node ref="U1" pin="1"/> - <node ref="R1" pin="2"/> - </net> - <net code="2" name="/PWM"> - <node ref="P1" pin="4"/> - <node ref="P1" pin="3"/> - <node ref="U1" pin="12"/> - </net> - <net code="3" name="/Prog"> - <node ref="R3" pin="2"/> - <node ref="C1" pin="2"/> - <node ref="U1" pin="8"/> - </net> - <net code="4" name="/CS"> - <node ref="U1" pin="11"/> - <node ref="P1" pin="5"/> - <node ref="P1" pin="6"/> - </net> - <net code="5" name="/DO"> - <node ref="U1" pin="9"/> - <node ref="P1" pin="10"/> - <node ref="P1" pin="9"/> - </net> - <net code="6" name="/CLK"> - <node ref="U1" pin="10"/> - <node ref="P1" pin="8"/> - <node ref="P1" pin="7"/> - </net> - <net code="7" name="GND"> - <node ref="C1" pin="1"/> - <node ref="U1" pin="7"/> - <node ref="C4" pin="2"/> - <node ref="C2" pin="2"/> - <node ref="C3" pin="2"/> - <node ref="P1" pin="14"/> - <node ref="P1" pin="13"/> - </net> - <net code="8" name="+5V"> - <node ref="D1" pin="2"/> - <node ref="U1" pin="16"/> - <node ref="D2" pin="2"/> - <node ref="P1" pin="1"/> - <node ref="P1" pin="2"/> - <node ref="C4" pin="1"/> - </net> - <net code="9" name="Net-(U1-Pad4)"> - <node ref="U1" pin="4"/> - </net> - <net code="10" name="Net-(D1-Pad1)"> - <node ref="D1" pin="1"/> - <node ref="R1" pin="1"/> - </net> - <net code="11" name="/DI"> - <node ref="R3" pin="1"/> - <node ref="P1" pin="12"/> - <node ref="P1" pin="11"/> - </net> - <net code="12" name="Net-(D2-Pad1)"> - <node ref="D2" pin="1"/> - <node ref="R2" pin="1"/> - </net> - <net code="13" name="Net-(U1-Pad3)"> - <node ref="U1" pin="3"/> - </net> - <net code="14" name="Net-(U1-Pad6)"> - <node ref="U1" pin="6"/> - </net> - <net code="15" name="/MagDECn"> - <node ref="U1" pin="2"/> - <node ref="R2" pin="2"/> - </net> - <net code="16" name="Net-(U1-Pad5)"> - <node ref="U1" pin="5"/> - </net> - <net code="17" name="Net-(U1-Pad13)"> - <node ref="U1" pin="13"/> - </net> - <net code="18" name="Net-(U1-Pad14)"> - <node ref="U1" pin="14"/> - </net> - <net code="19" name="Net-(C2-Pad1)"> - <node ref="C3" pin="1"/> - <node ref="U1" pin="15"/> - <node ref="C2" pin="1"/> - </net> - </nets> -</export> diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop-cache.lib b/PCB/SatNOGS_EndStop/SatNOGS_EndStop-cache.lib deleted file mode 100644 index 2858758..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop-cache.lib +++ /dev/null @@ -1,164 +0,0 @@ -EESchema-LIBRARY Version 2.3 -#encoding utf-8 -# -# +5V -# -DEF +5V #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -150 50 H I C CNN -F1 "+5V" 0 140 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 2 0 1 0 -30 50 0 100 N -P 2 0 1 0 0 0 0 100 N -P 2 0 1 0 0 100 30 50 N -X +5V 1 0 0 0 U 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# CONN_01X03 -# -DEF CONN_01X03 P 0 40 Y N 1 F N -F0 "P" 0 200 50 H V C CNN -F1 "CONN_01X03" 100 0 50 V V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - Pin_Header_Straight_1X03 - Pin_Header_Angled_1X03 - Socket_Strip_Straight_1X03 - Socket_Strip_Angled_1X03 -$ENDFPLIST -DRAW -S -50 -95 10 -105 0 1 0 N -S -50 5 10 -5 0 1 0 N -S -50 105 10 95 0 1 0 N -S -50 150 50 -150 0 1 0 N -X P1 1 -200 100 150 R 50 50 1 1 P -X P2 2 -200 0 150 R 50 50 1 1 P -X P3 3 -200 -100 150 R 50 50 1 1 P -ENDDRAW -ENDDEF -# -# GND -# -DEF GND #PWR 0 0 Y Y 1 F P -F0 "#PWR" 0 -250 50 H I C CNN -F1 "GND" 0 -150 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N -X GND 1 0 0 0 D 50 50 1 1 W N -ENDDRAW -ENDDEF -# -# LED -# -DEF LED D 0 40 Y N 1 F N -F0 "D" 0 100 50 H V C CNN -F1 "LED" 0 -100 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - LED-3MM - LED-5MM - LED-10MM - LED-0603 - LED-0805 - LED-1206 - LEDV -$ENDFPLIST -DRAW -P 2 0 1 0 -50 50 -50 -50 N -P 3 0 1 0 -80 -25 -125 -65 -120 -40 N -P 3 0 1 0 -65 -40 -110 -80 -105 -55 N -P 3 0 1 0 50 50 -50 0 50 -50 F -X K 1 -200 0 150 R 40 40 1 1 P -X A 2 200 0 150 L 40 40 1 1 P -ENDDRAW -ENDDEF -# -# PWR_FLAG -# -DEF PWR_FLAG #FLG 0 0 N N 1 F P -F0 "#FLG" 0 95 50 H I C CNN -F1 "PWR_FLAG" 0 180 50 H V C CNN -F2 "" 0 0 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -X pwr 1 0 0 0 U 20 20 0 0 w -P 6 0 1 0 0 0 0 50 -75 100 0 150 75 100 0 50 N -ENDDRAW -ENDDEF -# -# Q_NMOS_GSD -# -DEF Q_NMOS_GSD Q 0 0 Y N 1 F N -F0 "Q" 300 50 50 H V R CNN -F1 "Q_NMOS_GSD" 650 -50 50 H V R CNN -F2 "" 200 100 50 H V C CNN -F3 "" 0 0 50 H V C CNN -DRAW -C 50 0 111 0 1 10 N -P 2 0 1 0 30 -70 100 -70 N -P 2 0 1 10 30 -50 30 -90 N -P 2 0 1 0 30 0 100 0 N -P 2 0 1 10 30 20 30 -20 N -P 2 0 1 0 30 70 100 70 N -P 2 0 1 10 30 90 30 50 N -P 2 0 1 0 100 -70 100 -100 N -P 2 0 1 0 100 -70 100 0 N -P 2 0 1 0 100 100 100 70 N -P 3 0 1 10 10 75 10 -75 10 -75 N -P 4 0 1 0 40 0 80 15 80 -15 40 0 F -X G 1 -200 0 210 R 50 50 1 1 I -X S 2 100 -200 100 U 50 50 1 1 P -X D 3 100 200 100 D 50 50 1 1 P -ENDDRAW -ENDDEF -# -# R -# -DEF R R 0 0 N Y 1 F N -F0 "R" 80 0 50 V V C CNN -F1 "R" 0 0 50 V V C CNN -F2 "" -70 0 50 V V C CNN -F3 "" 0 0 50 H V C CNN -$FPLIST - R_* - Resistor_* -$ENDFPLIST -DRAW -S -40 -100 40 100 0 1 10 N -X ~ 1 0 150 50 D 50 50 1 1 P -X ~ 2 0 -150 50 U 50 50 1 1 P -ENDDRAW -ENDDEF -# -# TCST2103 -# -DEF TCST2103 SW 0 40 Y Y 1 F N -F0 "SW" 250 -300 60 H V C BNN -F1 "TCST2103" 0 300 60 H V C TNN -F2 "" 0 0 60 H V C CNN -F3 "" 0 0 60 H V C CNN -DRAW -S -350 200 300 -200 0 1 0 f -P 2 0 1 0 -200 -50 -100 -50 N -P 2 0 1 0 -150 -50 -150 -100 N -P 2 0 1 0 -150 50 -150 100 N -P 2 0 1 0 150 50 150 -50 N -P 2 0 1 0 195 35 185 45 N -P 3 0 1 0 150 0 200 -50 200 -100 N -P 3 0 1 0 150 0 200 50 200 100 N -P 4 0 1 0 -200 50 -100 50 -150 -50 -200 50 N -P 5 0 1 0 200 50 180 45 195 30 200 50 190 40 N -X + 1 -550 150 200 R 50 50 1 1 I -X E 2 -550 -150 200 R 50 50 1 1 I -X + 3 500 -150 200 L 50 50 1 1 I -X D 4 500 150 200 L 50 50 1 1 I -ENDDRAW -ENDDEF -# -#End Library diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.cmp b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.cmp deleted file mode 100644 index a82d714..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.cmp +++ /dev/null @@ -1,45 +0,0 @@ -Cmp-Mod V01 Created by Cvpcb (after 2015-mar-04 BZR unknown)-product date = Sat 02 Jan 2016 07:36:01 PM EET - -BeginCmp -TimeStamp = /55BCD94A; -Reference = D1; -ValeurCmp = LED; -IdModule = LEDs:LED-3MM; -EndCmp - -BeginCmp -TimeStamp = /55BE41ED; -Reference = P1; -ValeurCmp = CONN_01X03; -IdModule = Pin_Headers:Pin_Header_Angled_1x03; -EndCmp - -BeginCmp -TimeStamp = /55BCD813; -Reference = R1; -ValeurCmp = 180; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55BCD89E; -Reference = R2; -ValeurCmp = 1k5; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55BCD8ED; -Reference = R3; -ValeurCmp = 1k; -IdModule = Resistors_SMD:R_0805_HandSoldering; -EndCmp - -BeginCmp -TimeStamp = /55BCD149; -Reference = U1; -ValeurCmp = TCST2103; -IdModule = satnogs:TCST2103; -EndCmp - -EndListe diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.csv b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.csv deleted file mode 100644 index 79aa18e..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.csv +++ /dev/null @@ -1,8 +0,0 @@ -Reference, Value, Footprint, Datasheet, Distributor, Manufacturer, Package, Notes, Price -SW1,TCST2103,satnogs:TCST2103,http://www.mouser.com/ds/2/427/tcst2103-279826.pdf,,Mouser 782-TCST2103 ,TCST2103,-,-,1.59€, -R1,180,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW0805180RJNEA ,CRCW0805180RJNEA,0805,1/8W 5%,0.091 €, -R2,1k5,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW0805J-1.5K-E3,CRCW08051K50JNEA,0805,1/8W 5%,0.091€, -R3,1k,Resistors_SMD:R_0805_HandSoldering,http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf,,Mouser 71-CRCW08051K00JNEB ,CRCW08051K00JNEB,0805,1/8W 5%,0.091€, -D1,LED,LEDs:LED-3MM,https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf,,SparkFun COM-09650,-,Green 3mm pitch 2.54,-,0.33€, -P1,CONN_01X03,Pin_Headers:Pin_Header_Angled_1x03,-,,SparkFun PRT-00553,-,1x40 pin right-angle pitch 2.54,-,1.85€, -Q1,Q_NMOS_GSD,TO_SOT_Packages_SMD:SOT-23_Handsoldering,http://www.mouser.com/ds/2/427/SI2312CD-244454.pdf,,Mouser 781-SI2312CDS-T1-GE3,SI2312CDS-T1-GE3,SOT-23-3,-,0.398, diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.kicad_pcb b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.kicad_pcb deleted file mode 100644 index 87333ab..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.kicad_pcb +++ /dev/null @@ -1,641 +0,0 @@ -(kicad_pcb (version 4) (host pcbnew 4.0.2-stable) - - (general - (links 12) - (no_connects 0) - (area 132.004999 96.411 180.547001 114.606143) - (thickness 1.6) - (drawings 7) - (tracks 47) - (zones 0) - (modules 8) - (nets 7) - ) - - (page A4) - (layers - (0 F.Cu signal) - (31 B.Cu signal) - (32 B.Adhes user) - (33 F.Adhes user) - (34 B.Paste user) - (35 F.Paste user) - (36 B.SilkS user) - (37 F.SilkS user) - (38 B.Mask user) - (39 F.Mask user) - (40 Dwgs.User user) - (41 Cmts.User user) - (42 Eco1.User user) - (43 Eco2.User user) - (44 Edge.Cuts user) - (45 Margin user) - (46 B.CrtYd user) - (47 F.CrtYd user) - (48 B.Fab user) - (49 F.Fab user) - ) - - (setup - (last_trace_width 0.6) - (trace_clearance 0.2) - (zone_clearance 0.8) - (zone_45_only yes) - (trace_min 0.2) - (segment_width 0.2) - (edge_width 0.15) - (via_size 0.8) - (via_drill 0.4) - (via_min_size 0.4) - (via_min_drill 0.3) - (blind_buried_vias_allowed yes) - (uvia_size 0.3) - (uvia_drill 0.1) - (uvias_allowed yes) - (uvia_min_size 0.2) - (uvia_min_drill 0.1) - (pcb_text_width 0.3) - (pcb_text_size 1.5 1.5) - (mod_edge_width 0.15) - (mod_text_size 1 1) - (mod_text_width 0.15) - (pad_size 1.6 1.6) - (pad_drill 0.6) - (pad_to_mask_clearance 0.2) - (aux_axis_origin 0 0) - (visible_elements FFFFFF7F) - (pcbplotparams - (layerselection 0x01000_80000001) - (usegerberextensions false) - (excludeedgelayer true) - (linewidth 0.100000) - (plotframeref false) - (viasonmask false) - (mode 1) - (useauxorigin true) - (hpglpennumber 1) - (hpglpenspeed 20) - (hpglpendiameter 15) - (hpglpenoverlay 2) - (psnegative false) - (psa4output false) - (plotreference true) - (plotvalue true) - (plotinvisibletext false) - (padsonsilk false) - (subtractmaskfromsilk false) - (outputformat 1) - (mirror false) - (drillshape 0) - (scaleselection 1) - (outputdirectory gerber/)) - ) - - (net 0 "") - (net 1 "Net-(D1-Pad1)") - (net 2 GND) - (net 3 +5V) - (net 4 "Net-(R1-Pad2)") - (net 5 /Signal) - (net 6 "Net-(P1-Pad2)") - - (net_class Default "This is the default net class." - (clearance 0.2) - (trace_width 0.6) - (via_dia 0.8) - (via_drill 0.4) - (uvia_dia 0.3) - (uvia_drill 0.1) - (add_net +5V) - (add_net /Signal) - (add_net GND) - (add_net "Net-(D1-Pad1)") - (add_net "Net-(P1-Pad2)") - (add_net "Net-(R1-Pad2)") - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer B.Cu) (tedit 55FC2EE1) (tstamp 55BE48CE) - (at 161.798 103.886) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55BCD8ED) - (attr smd) - (fp_text reference R3 (at 0 -1.778) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value 1k (at 0 -2.1) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -2.4 1) (end 2.4 1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end -2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 2.4 1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 0.6 -0.875) (end -0.6 -0.875) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.6 0.875) (end 0.6 0.875) (layer B.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 1 "Net-(D1-Pad1)")) - (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 2 GND)) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module LEDs:LED-3MM (layer F.Cu) (tedit 55FC2E94) (tstamp 55BE48B5) - (at 160.401 107.442) - (descr "LED 3mm round vertical") - (tags "LED 3mm round vertical") - (path /55BCD94A) - (fp_text reference D1 (at 4.826 0) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value LED (at 1.3 -2.9) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -1.2 2.3) (end 3.8 2.3) (layer F.CrtYd) (width 0.05)) - (fp_line (start 3.8 2.3) (end 3.8 -2.2) (layer F.CrtYd) (width 0.05)) - (fp_line (start 3.8 -2.2) (end -1.2 -2.2) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.2 -2.2) (end -1.2 2.3) (layer F.CrtYd) (width 0.05)) - (fp_line (start -0.199 1.314) (end -0.199 1.114) (layer F.SilkS) (width 0.15)) - (fp_line (start -0.199 -1.28) (end -0.199 -1.1) (layer F.SilkS) (width 0.15)) - (fp_arc (start 1.301 0.034) (end -0.199 -1.286) (angle 108.5) (layer F.SilkS) (width 0.15)) - (fp_arc (start 1.301 0.034) (end 0.25 -1.1) (angle 85.7) (layer F.SilkS) (width 0.15)) - (fp_arc (start 1.311 0.034) (end 3.051 0.994) (angle 110) (layer F.SilkS) (width 0.15)) - (fp_arc (start 1.301 0.034) (end 2.335 1.094) (angle 87.5) (layer F.SilkS) (width 0.15)) - (fp_text user K (at -1.905 0.635) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (pad 1 thru_hole rect (at 0 0 90) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask F.SilkS) - (net 1 "Net-(D1-Pad1)")) - (pad 2 thru_hole circle (at 2.54 0) (size 2 2) (drill 1.00076) (layers *.Cu *.Mask F.SilkS) - (net 5 /Signal)) - (model LEDs.3dshapes/LED-3MM.wrl - (at (xyz 0.05 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 90)) - ) - ) - - (module Pin_Headers:Pin_Header_Angled_1x03 (layer F.Cu) (tedit 56C590CD) (tstamp 55BE48BC) - (at 169.672 100.711) - (descr "Through hole pin header") - (tags "pin header") - (path /55BE41ED) - (fp_text reference P1 (at -0.635 -2.54) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value CONN_01X03 (at 4.445 -3.175) (layer F.SilkS) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_line (start -1.5 -1.75) (end -1.5 6.85) (layer F.CrtYd) (width 0.05)) - (fp_line (start 10.65 -1.75) (end 10.65 6.85) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.5 -1.75) (end 10.65 -1.75) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.5 6.85) (end 10.65 6.85) (layer F.CrtYd) (width 0.05)) - (fp_line (start -1.3 -1.55) (end -1.3 0) (layer F.SilkS) (width 0.15)) - (fp_line (start 0 -1.55) (end -1.3 -1.55) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.191 -0.127) (end 10.033 -0.127) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.033 -0.127) (end 10.033 0.127) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.033 0.127) (end 4.191 0.127) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.191 0.127) (end 4.191 0) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.191 0) (end 10.033 0) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 -0.254) (end 1.143 -0.254) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 0.254) (end 1.143 0.254) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 2.286) (end 1.143 2.286) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 2.794) (end 1.143 2.794) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 4.826) (end 1.143 4.826) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 5.334) (end 1.143 5.334) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 1.27) (end 4.064 -1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 0.254) (end 4.064 0.254) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 -0.254) (end 10.16 0.254) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 -0.254) (end 10.16 -0.254) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 1.27) (end 4.064 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 -1.27) (end 1.524 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 -1.27) (end 4.064 -1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 3.81) (end 4.064 3.81) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 3.81) (end 1.524 6.35) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 4.826) (end 10.16 4.826) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 4.826) (end 10.16 5.334) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 5.334) (end 4.064 5.334) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 6.35) (end 4.064 3.81) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 3.81) (end 4.064 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 2.794) (end 4.064 2.794) (layer F.SilkS) (width 0.15)) - (fp_line (start 10.16 2.286) (end 10.16 2.794) (layer F.SilkS) (width 0.15)) - (fp_line (start 4.064 2.286) (end 10.16 2.286) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 3.81) (end 4.064 3.81) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 1.27) (end 1.524 3.81) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 1.27) (end 4.064 1.27) (layer F.SilkS) (width 0.15)) - (fp_line (start 1.524 6.35) (end 4.064 6.35) (layer F.SilkS) (width 0.15)) - (pad 1 thru_hole rect (at 0 0) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 3 +5V)) - (pad 2 thru_hole oval (at 0 2.54) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 6 "Net-(P1-Pad2)")) - (pad 3 thru_hole oval (at 0 5.08) (size 2.032 1.7272) (drill 1.016) (layers *.Cu *.Mask F.SilkS) - (net 5 /Signal)) - (model Pin_Headers.3dshapes/Pin_Header_Angled_1x03.wrl - (at (xyz 0 -0.1 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 90)) - ) - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer B.Cu) (tedit 55FC2ED8) (tstamp 55BE48C2) - (at 146.05 100.711 180) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55BCD813) - (attr smd) - (fp_text reference R1 (at 3.429 0 180) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value 180 (at 0 -2.1 180) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -2.4 1) (end 2.4 1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end -2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 2.4 1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 0.6 -0.875) (end -0.6 -0.875) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.6 0.875) (end 0.6 0.875) (layer B.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0 180) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 3 +5V)) - (pad 2 smd rect (at 1.35 0 180) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 4 "Net-(R1-Pad2)")) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Resistors_SMD:R_0805_HandSoldering (layer B.Cu) (tedit 55FC2EDB) (tstamp 55BE48C8) - (at 146.05 110.109) - (descr "Resistor SMD 0805, hand soldering") - (tags "resistor 0805") - (path /55BCD89E) - (attr smd) - (fp_text reference R2 (at -3.556 0) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value 1k5 (at 0 -2.1) (layer B.SilkS) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -2.4 1) (end 2.4 1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 -1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start -2.4 1) (end -2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 2.4 1) (end 2.4 -1) (layer B.CrtYd) (width 0.05)) - (fp_line (start 0.6 -0.875) (end -0.6 -0.875) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.6 0.875) (end 0.6 0.875) (layer B.SilkS) (width 0.15)) - (pad 1 smd rect (at -1.35 0) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 3 +5V)) - (pad 2 smd rect (at 1.35 0) (size 1.5 1.3) (layers B.Cu B.Paste B.Mask) - (net 5 /Signal)) - (model Resistors_SMD.3dshapes/R_0805_HandSoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module Symbols:Symbol_OSHW-Logo_SilkScreen (layer B.Cu) (tedit 5703819E) (tstamp 55FC3003) - (at 175.133 102.235 180) - (descr "Symbol, OSHW-Logo, Silk Screen,") - (tags "Symbol, OSHW-Logo, Silk Screen,") - (fp_text reference "SatNOGS Endstop" (at 36.83 1.016 180) (layer F.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.15))) - ) - (fp_text value "© Libre Space Foundation" (at 34.036 2.413 180) (layer F.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.15))) - ) - (fp_line (start 1.66878 -2.68986) (end 2.02946 -4.16052) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.02946 -4.16052) (end 2.30886 -3.0988) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.30886 -3.0988) (end 2.61874 -4.17068) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.61874 -4.17068) (end 2.9591 -2.72034) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.24892 -3.38074) (end 1.03886 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.03886 -3.37058) (end 1.04902 -3.38074) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.04902 -3.38074) (end 1.04902 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.08966 -2.65938) (end 1.08966 -4.20116) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.20066 -2.64922) (end 0.20066 -4.21894) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.20066 -4.21894) (end 0.21082 -4.20878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.35052 -2.75082) (end -0.70104 -2.66954) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.70104 -2.66954) (end -1.02108 -2.65938) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.02108 -2.65938) (end -1.25984 -2.86004) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.25984 -2.86004) (end -1.29032 -3.12928) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.29032 -3.12928) (end -1.04902 -3.37058) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.04902 -3.37058) (end -0.6604 -3.50012) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.6604 -3.50012) (end -0.48006 -3.66014) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.48006 -3.66014) (end -0.43942 -3.95986) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.43942 -3.95986) (end -0.67056 -4.18084) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.67056 -4.18084) (end -0.9906 -4.20878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.9906 -4.20878) (end -1.34112 -4.09956) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.37998 -2.64922) (end -2.6289 -2.66954) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.6289 -2.66954) (end -2.8702 -2.91084) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.8702 -2.91084) (end -2.9591 -3.40106) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.9591 -3.40106) (end -2.93116 -3.74904) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.93116 -3.74904) (end -2.7305 -4.06908) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.7305 -4.06908) (end -2.47904 -4.191) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.47904 -4.191) (end -2.16916 -4.11988) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.16916 -4.11988) (end -1.95072 -3.93954) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.95072 -3.93954) (end -1.8796 -3.4798) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.8796 -3.4798) (end -1.9304 -3.07086) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 -3.07086) (end -2.03962 -2.78892) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.03962 -2.78892) (end -2.4003 -2.65938) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.78054 -0.92964) (end -2.03962 -1.49098) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.03962 -1.49098) (end -1.50114 -2.00914) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.50114 -2.00914) (end -0.98044 -1.7399) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.98044 -1.7399) (end -0.70104 -1.89992) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.73914 -1.8796) (end 1.06934 -1.6891) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.06934 -1.6891) (end 1.50876 -2.0193) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.50876 -2.0193) (end 1.9812 -1.52908) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.9812 -1.52908) (end 1.69926 -1.04902) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.69926 -1.04902) (end 1.88976 -0.57912) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.88976 -0.57912) (end 2.49936 -0.39116) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.49936 -0.39116) (end 2.49936 0.28956) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.49936 0.28956) (end 1.94056 0.42926) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.94056 0.42926) (end 1.7399 1.00076) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.7399 1.00076) (end 2.00914 1.47066) (layer B.SilkS) (width 0.15)) - (fp_line (start 2.00914 1.47066) (end 1.53924 1.9812) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.53924 1.9812) (end 1.02108 1.71958) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.02108 1.71958) (end 0.55118 1.92024) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.55118 1.92024) (end 0.381 2.46126) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.381 2.46126) (end -0.30988 2.47904) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.30988 2.47904) (end -0.5207 1.9304) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.5207 1.9304) (end -0.9398 1.76022) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.9398 1.76022) (end -1.49098 2.02946) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.49098 2.02946) (end -2.00914 1.50114) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.00914 1.50114) (end -1.76022 0.96012) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.76022 0.96012) (end -1.9304 0.48006) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 0.48006) (end -2.47904 0.381) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.47904 0.381) (end -2.4892 -0.32004) (layer B.SilkS) (width 0.15)) - (fp_line (start -2.4892 -0.32004) (end -1.9304 -0.5207) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.9304 -0.5207) (end -1.7907 -0.91948) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.35052 -0.89916) (end 0.65024 -0.7493) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.65024 -0.7493) (end 0.8509 -0.55118) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.8509 -0.55118) (end 1.00076 -0.14986) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.00076 -0.14986) (end 1.00076 0.24892) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.00076 0.24892) (end 0.8509 0.59944) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.8509 0.59944) (end 0.39878 0.94996) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.39878 0.94996) (end -0.0508 1.00076) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.0508 1.00076) (end -0.44958 0.89916) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.44958 0.89916) (end -0.8509 0.55118) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.8509 0.55118) (end -1.00076 0.09906) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.00076 0.09906) (end -0.94996 -0.39878) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.94996 -0.39878) (end -0.70104 -0.70104) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.70104 -0.70104) (end -0.35052 -0.89916) (layer B.SilkS) (width 0.15)) - (fp_line (start -0.35052 -0.89916) (end -0.70104 -1.89992) (layer B.SilkS) (width 0.15)) - (fp_line (start 0.35052 -0.89916) (end 0.7493 -1.89992) (layer B.SilkS) (width 0.15)) - ) - - (module TO_SOT_Packages_SMD:SOT-23_Handsoldering (layer B.Cu) (tedit 57037EF0) (tstamp 57037C5D) - (at 170.688 109.474 90) - (descr "SOT-23, Handsoldering") - (tags SOT-23) - (path /5703748F) - (attr smd) - (fp_text reference Q1 (at 0 3.937 360) (layer B.SilkS) - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_text value Q_NMOS_GSD (at 0 -3.81 90) (layer B.Fab) hide - (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - ) - (fp_line (start -1.49982 -0.0508) (end -1.49982 0.65024) (layer B.SilkS) (width 0.15)) - (fp_line (start -1.49982 0.65024) (end -1.2509 0.65024) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.29916 0.65024) (end 1.49982 0.65024) (layer B.SilkS) (width 0.15)) - (fp_line (start 1.49982 0.65024) (end 1.49982 -0.0508) (layer B.SilkS) (width 0.15)) - (pad 1 smd rect (at -0.95 -1.50114 90) (size 0.8001 1.80086) (layers B.Cu B.Paste B.Mask) - (net 3 +5V)) - (pad 2 smd rect (at 0.95 -1.50114 90) (size 0.8001 1.80086) (layers B.Cu B.Paste B.Mask) - (net 2 GND)) - (pad 3 smd rect (at 0 1.50114 90) (size 0.8001 1.80086) (layers B.Cu B.Paste B.Mask) - (net 6 "Net-(P1-Pad2)")) - (model TO_SOT_Packages_SMD.3dshapes/SOT-23_Handsoldering.wrl - (at (xyz 0 0 0)) - (scale (xyz 1 1 1)) - (rotate (xyz 0 0 0)) - ) - ) - - (module satnogs:TCST2103 (layer F.Cu) (tedit 57082576) (tstamp 55BE48D6) - (at 146.05 105.41) - (path /55BCD149) - (fp_text reference SW1 (at 11.53 4.09) (layer F.SilkS) - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_text value TCST2103 (at -8.89 -5.08) (layer F.Fab) hide - (effects (font (size 1 1) (thickness 0.15))) - ) - (fp_circle (center -9.525 0) (end -11.175 0) (layer Dwgs.User) (width 0.15)) - (fp_circle (center 9.525 0) (end 11.175 0) (layer Dwgs.User) (width 0.15)) - (fp_line (start -1.5875 -3.1115) (end -1.5875 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start 1.5875 -3.1115) (end 1.5875 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start -5.969 -3.1115) (end -5.969 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start 5.969 0) (end 5.969 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start 5.969 0) (end 5.969 -3.1115) (layer F.CrtYd) (width 0.15)) - (fp_line (start -12.7 -3.175) (end -12.7 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start 12.7 -3.175) (end 12.7 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start 12.7 3.175) (end -12.7 3.175) (layer F.CrtYd) (width 0.15)) - (fp_line (start -12.7 -3.175) (end 12.7 -3.175) (layer F.CrtYd) (width 0.15)) - (pad 1 thru_hole circle (at -3.81 -1.27) (size 1.6 1.6) (drill 0.6) (layers *.Cu *.Mask F.SilkS) - (net 4 "Net-(R1-Pad2)")) - (pad 2 thru_hole rect (at -3.81 1.27) (size 1.6 1.6) (drill 0.6) (layers *.Cu *.Mask F.SilkS) - (net 2 GND)) - (pad 3 thru_hole circle (at 3.81 1.27) (size 1.6 1.6) (drill 0.6) (layers *.Cu *.Mask F.SilkS) - (net 5 /Signal)) - (pad 4 thru_hole circle (at 3.81 -1.27) (size 1.6 1.6) (drill 0.6) (layers *.Cu *.Mask F.SilkS) - (net 2 GND)) - (pad "" np_thru_hole circle (at 9.525 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask F.SilkS)) - (pad "" np_thru_hole circle (at -9.525 0) (size 3.2 3.2) (drill 3.2) (layers *.Cu *.Mask F.SilkS)) - (model ../../../../../home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs.3dshapes/TCST2103.wrl - (at (xyz 0 0 0)) - (scale (xyz 0.3937 0.3937 0.3937)) - (rotate (xyz 0 0 0)) - ) - ) - - (gr_text "GND\n" (at 166.878 103.251) (layer F.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.2))) - ) - (gr_text S (at 167.64 105.791) (layer F.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.2))) - ) - (gr_text +5V (at 166.751 100.711) (layer F.SilkS) - (effects (font (size 0.8 0.8) (thickness 0.2))) - ) - (gr_line (start 179.07 98.425) (end 132.08 98.425) (angle 90) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 179.07 112.395) (end 179.07 98.425) (angle 90) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 132.08 112.395) (end 179.07 112.395) (angle 90) (layer Edge.Cuts) (width 0.15)) - (gr_line (start 132.08 98.425) (end 132.08 112.395) (angle 90) (layer Edge.Cuts) (width 0.15)) - - (segment (start 160.401 107.442) (end 160.401 103.933) (width 0.6) (layer B.Cu) (net 1)) - (segment (start 160.401 103.933) (end 160.448 103.886) (width 0.6) (layer B.Cu) (net 1)) - (segment (start 169.18686 108.524) (end 168.082 108.524) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 165.226996 111.379004) (end 164.973 111.379004) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 168.082 108.524) (end 165.226996 111.379004) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 164.407315 111.379004) (end 164.973 111.379004) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 142.621004 111.379004) (end 164.407315 111.379004) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 142.24 106.68) (end 142.24 110.998) (width 0.6) (layer B.Cu) (net 2)) - (via (at 164.973 111.379004) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2)) - (segment (start 142.24 110.998) (end 142.621004 111.379004) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 164.973 103.886) (end 164.973 111.379004) (width 0.6) (layer F.Cu) (net 2)) - (segment (start 164.498 103.886) (end 164.973 103.886) (width 0.6) (layer B.Cu) (net 2)) - (via (at 164.973 103.886) (size 0.8) (drill 0.4) (layers F.Cu B.Cu) (net 2)) - (segment (start 163.148 103.886) (end 164.498 103.886) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 149.86 104.14) (end 149.86 102.616) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 149.86 102.616) (end 150.622 101.854) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 150.622 101.854) (end 162.433 101.854) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 162.433 101.854) (end 163.148 102.569) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 163.148 102.569) (end 163.148 103.886) (width 0.6) (layer B.Cu) (net 2)) - (segment (start 147.4 100.711) (end 169.672 100.711) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 172.466 100.711) (end 169.672 100.711) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 169.18686 110.424) (end 169.18686 111.14786) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 169.18686 111.14786) (end 169.799 111.76) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 169.799 111.76) (end 172.72 111.76) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 172.72 111.76) (end 173.863 110.617) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 173.863 102.108) (end 172.466 100.711) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 173.863 110.617) (end 173.863 102.108) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 144.7 110.109) (end 144.7 106.252) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 144.7 106.252) (end 147.4 103.552) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 147.4 103.552) (end 147.4 100.711) (width 0.6) (layer B.Cu) (net 3)) - (segment (start 142.24 101.473) (end 143.002 100.711) (width 0.6) (layer B.Cu) (net 4)) - (segment (start 143.002 100.711) (end 144.7 100.711) (width 0.6) (layer B.Cu) (net 4)) - (segment (start 142.24 104.14) (end 142.24 101.473) (width 0.6) (layer B.Cu) (net 4)) - (segment (start 149.86 109.474) (end 150.495 110.109) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 150.495 110.109) (end 162.433 110.109) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 162.433 110.109) (end 162.941 109.601) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 162.941 109.601) (end 162.941 107.442) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 166.624 105.791) (end 169.672 105.791) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 166.624 105.791) (end 164.973 107.442) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 164.973 107.442) (end 162.941 107.442) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 149.86 106.68) (end 149.86 109.474) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 149.86 109.474) (end 149.225 110.109) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 149.225 110.109) (end 147.4 110.109) (width 0.6) (layer B.Cu) (net 5)) - (segment (start 169.672 103.251) (end 171.542 103.251) (width 0.6) (layer B.Cu) (net 6)) - (segment (start 171.542 103.251) (end 172.18914 103.89814) (width 0.6) (layer B.Cu) (net 6)) - (segment (start 172.18914 103.89814) (end 172.18914 108.47395) (width 0.6) (layer B.Cu) (net 6)) - (segment (start 172.18914 108.47395) (end 172.18914 109.474) (width 0.6) (layer B.Cu) (net 6)) - - (zone (net 2) (net_name GND) (layer B.Cu) (tstamp 55F2973E) (hatch edge 0.508) - (connect_pads (clearance 0.8)) - (min_thickness 0.254) - (fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508) (smoothing chamfer) (radius 1)) - (polygon - (pts - (xy 179.07 112.395) (xy 132.08 112.395) (xy 132.08 98.425) (xy 179.07 98.425) (xy 179.07 112.395) - ) - ) - (filled_polygon - (pts - (xy 143.230044 99.484) (xy 143.002 99.484) (xy 142.889224 99.495058) (xy 142.776292 99.504938) (xy 142.770095 99.506738) - (xy 142.763674 99.507368) (xy 142.655168 99.540128) (xy 142.546332 99.571748) (xy 142.540604 99.574717) (xy 142.534427 99.576582) - (xy 142.434377 99.62978) (xy 142.333728 99.681951) (xy 142.328683 99.685979) (xy 142.322989 99.689006) (xy 142.2352 99.760605) - (xy 142.146579 99.83135) (xy 142.137596 99.840209) (xy 142.137414 99.840357) (xy 142.137275 99.840525) (xy 142.13438 99.84338) - (xy 141.37238 100.60538) (xy 141.300458 100.692939) (xy 141.227586 100.779785) (xy 141.224476 100.785441) (xy 141.220382 100.790426) - (xy 141.166824 100.89031) (xy 141.112221 100.989633) (xy 141.110271 100.995782) (xy 141.107221 101.001469) (xy 141.074088 101.109843) - (xy 141.039813 101.217892) (xy 141.039093 101.224307) (xy 141.037208 101.230474) (xy 141.025758 101.343197) (xy 141.01312 101.455868) - (xy 141.013032 101.468484) (xy 141.013008 101.468717) (xy 141.013028 101.468934) (xy 141.013 101.473) (xy 141.013 102.924296) - (xy 140.91064 103.024535) (xy 140.719296 103.303986) (xy 140.585875 103.615281) (xy 140.515459 103.946562) (xy 140.51073 104.285211) - (xy 140.571869 104.618329) (xy 140.696546 104.933228) (xy 140.880013 105.217913) (xy 141.039988 105.383571) (xy 141.035211 105.386763) - (xy 140.946763 105.475211) (xy 140.87727 105.579215) (xy 140.829403 105.694777) (xy 140.805 105.817458) (xy 140.805 106.39425) - (xy 140.96375 106.553) (xy 142.113 106.553) (xy 142.113 106.533) (xy 142.367 106.533) (xy 142.367 106.553) - (xy 142.387 106.553) (xy 142.387 106.807) (xy 142.367 106.807) (xy 142.367 107.95625) (xy 142.52575 108.115) - (xy 143.102542 108.115) (xy 143.225223 108.090597) (xy 143.340785 108.04273) (xy 143.444789 107.973237) (xy 143.473 107.945026) - (xy 143.473 108.668881) (xy 143.33313 108.761049) (xy 143.163108 108.960537) (xy 143.055393 109.199494) (xy 143.018515 109.459) - (xy 143.018515 110.759) (xy 143.030287 110.906621) (xy 143.107825 111.157003) (xy 143.252049 111.37587) (xy 143.272148 111.393) - (xy 133.082 111.393) (xy 133.082 105.65611) (xy 133.594152 105.65611) (xy 133.697773 106.220694) (xy 133.909081 106.7544) - (xy 134.22003 107.236897) (xy 134.618774 107.649808) (xy 135.090125 107.977406) (xy 135.616131 108.207212) (xy 136.176755 108.330473) - (xy 136.750643 108.342495) (xy 137.315937 108.242818) (xy 137.851104 108.03524) (xy 138.335761 107.727668) (xy 138.751446 107.331817) - (xy 139.009677 106.96575) (xy 140.805 106.96575) (xy 140.805 107.542542) (xy 140.829403 107.665223) (xy 140.87727 107.780785) - (xy 140.946763 107.884789) (xy 141.035211 107.973237) (xy 141.139215 108.04273) (xy 141.254777 108.090597) (xy 141.377458 108.115) - (xy 141.95425 108.115) (xy 142.113 107.95625) (xy 142.113 106.807) (xy 140.96375 106.807) (xy 140.805 106.96575) - (xy 139.009677 106.96575) (xy 139.082326 106.862764) (xy 139.315799 106.338375) (xy 139.442971 105.778625) (xy 139.452126 105.122993) - (xy 139.340633 104.55991) (xy 139.121893 104.029208) (xy 138.804238 103.551099) (xy 138.399768 103.143795) (xy 137.923888 102.82281) - (xy 137.394726 102.600371) (xy 136.832435 102.484949) (xy 136.258435 102.480942) (xy 135.694588 102.588501) (xy 135.162371 102.803531) - (xy 134.682056 103.11784) (xy 134.271938 103.519457) (xy 133.947639 103.993084) (xy 133.721511 104.520681) (xy 133.602167 105.082152) - (xy 133.594152 105.65611) (xy 133.082 105.65611) (xy 133.082 99.427) (xy 143.278625 99.427) - ) - ) - (filled_polygon - (pts - (xy 168.230864 107.043817) (xy 168.498569 107.268448) (xy 168.804807 107.436804) (xy 169.059858 107.517711) (xy 169.059858 107.647698) - (xy 168.90111 107.48895) (xy 168.223888 107.48895) (xy 168.101207 107.513353) (xy 167.985645 107.56122) (xy 167.881641 107.630713) - (xy 167.793193 107.719161) (xy 167.7237 107.823165) (xy 167.675833 107.938727) (xy 167.65143 108.061408) (xy 167.65143 108.23825) - (xy 167.81018 108.397) (xy 169.05986 108.397) (xy 169.05986 108.377) (xy 169.31386 108.377) (xy 169.31386 108.397) - (xy 169.33386 108.397) (xy 169.33386 108.651) (xy 169.31386 108.651) (xy 169.31386 108.671) (xy 169.05986 108.671) - (xy 169.05986 108.651) (xy 167.81018 108.651) (xy 167.65143 108.80975) (xy 167.65143 108.986592) (xy 167.675833 109.109273) - (xy 167.7237 109.224835) (xy 167.754081 109.270303) (xy 167.66956 109.325999) (xy 167.499538 109.525487) (xy 167.391823 109.764444) - (xy 167.354945 110.02395) (xy 167.354945 110.82405) (xy 167.366717 110.971671) (xy 167.444255 111.222053) (xy 167.556902 111.393) - (xy 148.821375 111.393) (xy 148.869956 111.336) (xy 149.225 111.336) (xy 149.337776 111.324942) (xy 149.450708 111.315062) - (xy 149.456905 111.313262) (xy 149.463326 111.312632) (xy 149.571832 111.279872) (xy 149.680668 111.248252) (xy 149.686396 111.245283) - (xy 149.692573 111.243418) (xy 149.792623 111.19022) (xy 149.861107 111.154722) (xy 149.91233 111.182187) (xy 150.011633 111.236779) - (xy 150.017784 111.23873) (xy 150.02347 111.241779) (xy 150.131817 111.274904) (xy 150.239892 111.309187) (xy 150.246308 111.309907) - (xy 150.252475 111.311792) (xy 150.365192 111.323242) (xy 150.477868 111.33588) (xy 150.490484 111.335968) (xy 150.490717 111.335992) - (xy 150.490934 111.335972) (xy 150.495 111.336) (xy 162.433 111.336) (xy 162.545776 111.324942) (xy 162.658708 111.315062) - (xy 162.664905 111.313262) (xy 162.671326 111.312632) (xy 162.779832 111.279872) (xy 162.888668 111.248252) (xy 162.894396 111.245283) - (xy 162.900573 111.243418) (xy 163.000623 111.19022) (xy 163.101272 111.138049) (xy 163.106317 111.134021) (xy 163.112011 111.130994) - (xy 163.19983 111.059371) (xy 163.288421 110.988649) (xy 163.297403 110.979793) (xy 163.297586 110.979643) (xy 163.297726 110.979473) - (xy 163.30062 110.97662) (xy 163.80862 110.46862) (xy 163.88056 110.381039) (xy 163.953414 110.294215) (xy 163.956522 110.288561) - (xy 163.960618 110.283575) (xy 164.014168 110.183704) (xy 164.068779 110.084367) (xy 164.070731 110.078214) (xy 164.073778 110.072531) - (xy 164.106897 109.964202) (xy 164.141187 109.856108) (xy 164.141907 109.849693) (xy 164.143792 109.843526) (xy 164.155244 109.730785) - (xy 164.16788 109.618132) (xy 164.167968 109.605516) (xy 164.167992 109.605283) (xy 164.167972 109.605066) (xy 164.168 109.601) - (xy 164.168 108.934628) (xy 164.406788 108.707234) (xy 164.433759 108.669) (xy 164.973 108.669) (xy 165.085776 108.657942) - (xy 165.198708 108.648062) (xy 165.204905 108.646262) (xy 165.211326 108.645632) (xy 165.319832 108.612872) (xy 165.428668 108.581252) - (xy 165.434396 108.578283) (xy 165.440573 108.576418) (xy 165.540623 108.52322) (xy 165.641272 108.471049) (xy 165.646317 108.467021) - (xy 165.652011 108.463994) (xy 165.73983 108.392371) (xy 165.828421 108.321649) (xy 165.837403 108.312793) (xy 165.837586 108.312643) - (xy 165.837726 108.312473) (xy 165.84062 108.30962) (xy 167.13224 107.018) (xy 168.210107 107.018) - ) - ) - (filled_polygon - (pts - (xy 167.813825 101.972603) (xy 167.958049 102.19147) (xy 168.025996 102.24938) (xy 168.025724 102.249709) (xy 167.859511 102.557115) - (xy 167.756172 102.89095) (xy 167.719643 103.238499) (xy 167.751315 103.586525) (xy 167.849984 103.921771) (xy 168.011889 104.231467) - (xy 168.230864 104.503817) (xy 168.249595 104.519534) (xy 168.248481 104.520443) (xy 168.212447 104.564) (xy 166.624 104.564) - (xy 166.51122 104.575058) (xy 166.398293 104.584938) (xy 166.392096 104.586738) (xy 166.385674 104.587368) (xy 166.277202 104.620118) - (xy 166.168332 104.651747) (xy 166.1626 104.654718) (xy 166.156427 104.656582) (xy 166.056392 104.709772) (xy 165.955729 104.761951) - (xy 165.950686 104.765977) (xy 165.944989 104.769006) (xy 165.857178 104.840622) (xy 165.768579 104.91135) (xy 165.759596 104.920209) - (xy 165.759414 104.920357) (xy 165.759275 104.920525) (xy 165.75638 104.92338) (xy 164.46476 106.215) (xy 164.43838 106.215) - (xy 164.175259 105.950037) (xy 163.861963 105.738715) (xy 163.513587 105.592272) (xy 163.143401 105.516283) (xy 162.765506 105.513645) - (xy 162.394295 105.584457) (xy 162.043909 105.726023) (xy 162.009266 105.748692) (xy 161.899463 105.655108) (xy 161.660506 105.547393) - (xy 161.628 105.542774) (xy 161.628 105.35709) (xy 161.81487 105.233951) (xy 161.984892 105.034463) (xy 161.989101 105.025127) - (xy 161.993211 105.029237) (xy 162.097215 105.09873) (xy 162.212777 105.146597) (xy 162.335458 105.171) (xy 162.86225 105.171) - (xy 163.021 105.01225) (xy 163.021 104.013) (xy 163.275 104.013) (xy 163.275 105.01225) (xy 163.43375 105.171) - (xy 163.960542 105.171) (xy 164.083223 105.146597) (xy 164.198785 105.09873) (xy 164.302789 105.029237) (xy 164.391237 104.940789) - (xy 164.46073 104.836785) (xy 164.508597 104.721223) (xy 164.533 104.598542) (xy 164.533 104.17175) (xy 164.37425 104.013) - (xy 163.275 104.013) (xy 163.021 104.013) (xy 163.001 104.013) (xy 163.001 103.759) (xy 163.021 103.759) - (xy 163.021 102.75975) (xy 163.275 102.75975) (xy 163.275 103.759) (xy 164.37425 103.759) (xy 164.533 103.60025) - (xy 164.533 103.173458) (xy 164.508597 103.050777) (xy 164.46073 102.935215) (xy 164.391237 102.831211) (xy 164.302789 102.742763) - (xy 164.198785 102.67327) (xy 164.083223 102.625403) (xy 163.960542 102.601) (xy 163.43375 102.601) (xy 163.275 102.75975) - (xy 163.021 102.75975) (xy 162.86225 102.601) (xy 162.335458 102.601) (xy 162.212777 102.625403) (xy 162.097215 102.67327) - (xy 161.993211 102.742763) (xy 161.983692 102.752282) (xy 161.895951 102.61913) (xy 161.696463 102.449108) (xy 161.457506 102.341393) - (xy 161.198 102.304515) (xy 159.698 102.304515) (xy 159.550379 102.316287) (xy 159.299997 102.393825) (xy 159.08113 102.538049) - (xy 158.911108 102.737537) (xy 158.803393 102.976494) (xy 158.766515 103.236) (xy 158.766515 104.536) (xy 158.778287 104.683621) - (xy 158.855825 104.934003) (xy 159.000049 105.15287) (xy 159.174 105.301127) (xy 159.174 105.546869) (xy 159.002997 105.599825) - (xy 158.78413 105.744049) (xy 158.614108 105.943537) (xy 158.506393 106.182494) (xy 158.469515 106.442) (xy 158.469515 108.442) - (xy 158.481287 108.589621) (xy 158.558825 108.840003) (xy 158.586499 108.882) (xy 151.087 108.882) (xy 151.087 107.896438) - (xy 151.173656 107.813917) (xy 151.368883 107.537165) (xy 151.506638 107.227763) (xy 151.581672 106.897498) (xy 151.587074 106.510659) - (xy 151.52129 106.178427) (xy 151.392228 105.8653) (xy 151.253244 105.65611) (xy 152.644152 105.65611) (xy 152.747773 106.220694) - (xy 152.959081 106.7544) (xy 153.27003 107.236897) (xy 153.668774 107.649808) (xy 154.140125 107.977406) (xy 154.666131 108.207212) - (xy 155.226755 108.330473) (xy 155.800643 108.342495) (xy 156.365937 108.242818) (xy 156.901104 108.03524) (xy 157.385761 107.727668) - (xy 157.801446 107.331817) (xy 158.132326 106.862764) (xy 158.365799 106.338375) (xy 158.492971 105.778625) (xy 158.502126 105.122993) - (xy 158.390633 104.55991) (xy 158.171893 104.029208) (xy 157.854238 103.551099) (xy 157.449768 103.143795) (xy 156.973888 102.82281) - (xy 156.444726 102.600371) (xy 155.882435 102.484949) (xy 155.308435 102.480942) (xy 154.744588 102.588501) (xy 154.212371 102.803531) - (xy 153.732056 103.11784) (xy 153.321938 103.519457) (xy 152.997639 103.993084) (xy 152.771511 104.520681) (xy 152.652167 105.082152) - (xy 152.644152 105.65611) (xy 151.253244 105.65611) (xy 151.204805 105.583204) (xy 150.966158 105.342885) (xy 150.685377 105.153497) - (xy 150.669014 105.146618) (xy 150.673097 105.132702) (xy 149.86 104.319605) (xy 149.046903 105.132702) (xy 149.050689 105.145607) - (xy 148.772619 105.327571) (xy 148.53064 105.564535) (xy 148.339296 105.843986) (xy 148.205875 106.155281) (xy 148.135459 106.486562) - (xy 148.13073 106.825211) (xy 148.191869 107.158329) (xy 148.316546 107.473228) (xy 148.500013 107.757913) (xy 148.633 107.895625) - (xy 148.633 108.665138) (xy 148.409506 108.564393) (xy 148.15 108.527515) (xy 146.65 108.527515) (xy 146.502379 108.539287) - (xy 146.251997 108.616825) (xy 146.044233 108.753732) (xy 145.948463 108.672108) (xy 145.927 108.662433) (xy 145.927 106.76024) - (xy 148.26762 104.41962) (xy 148.339564 104.332034) (xy 148.412414 104.245215) (xy 148.415522 104.239562) (xy 148.419619 104.234574) - (xy 148.422541 104.229125) (xy 148.461213 104.49013) (xy 148.556397 104.756292) (xy 148.623329 104.881514) (xy 148.867298 104.953097) - (xy 149.680395 104.14) (xy 150.039605 104.14) (xy 150.852702 104.953097) (xy 151.096671 104.881514) (xy 151.217571 104.626004) - (xy 151.2863 104.351816) (xy 151.300217 104.069488) (xy 151.258787 103.78987) (xy 151.163603 103.523708) (xy 151.096671 103.398486) - (xy 150.852702 103.326903) (xy 150.039605 104.14) (xy 149.680395 104.14) (xy 148.867298 103.326903) (xy 148.627 103.397409) - (xy 148.627 103.147298) (xy 149.046903 103.147298) (xy 149.86 103.960395) (xy 150.673097 103.147298) (xy 150.601514 102.903329) - (xy 150.346004 102.782429) (xy 150.071816 102.7137) (xy 149.789488 102.699783) (xy 149.50987 102.741213) (xy 149.243708 102.836397) - (xy 149.118486 102.903329) (xy 149.046903 103.147298) (xy 148.627 103.147298) (xy 148.627 102.151119) (xy 148.76687 102.058951) - (xy 148.869956 101.938) (xy 167.803109 101.938) - ) - ) - ) -) diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.net b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.net deleted file mode 100644 index f719dbb..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.net +++ /dev/null @@ -1,200 +0,0 @@ -(export (version D) - (design - (source /home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch) - (date "Tue 05 Apr 2016 12:39:42 EEST") - (tool "Eeschema 4.0.2-stable") - (sheet (number 1) (name /) (tstamps /) - (title_block - (title) - (company) - (rev) - (date) - (source SatNOGS_EndStop.sch) - (comment (number 1) (value "")) - (comment (number 2) (value "")) - (comment (number 3) (value "")) - (comment (number 4) (value ""))))) - (components - (comp (ref SW1) - (value TCST2103) - (footprint satnogs:TCST2103) - (datasheet http://www.mouser.com/ds/2/427/tcst2103-279826.pdf) - (fields - (field (name Distributor) "Mouser 782-TCST2103 ") - (field (name Manufacturer) TCST2103) - (field (name Package) -) - (field (name Notes) -) - (field (name Price) 1.59€)) - (libsource (lib satnogs) (part TCST2103)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BCD149)) - (comp (ref R1) - (value 180) - (footprint Resistors_SMD:R_0805_HandSoldering) - (datasheet http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf) - (fields - (field (name Distributor) "Mouser 71-CRCW0805180RJNEA ") - (field (name Manufacturer) CRCW0805180RJNEA) - (field (name Package) 0805) - (field (name Notes) "1/8W 5%") - (field (name Price) "0.091 €")) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BCD813)) - (comp (ref R2) - (value 1k5) - (footprint Resistors_SMD:R_0805_HandSoldering) - (datasheet http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf) - (fields - (field (name Distributor) "Mouser 71-CRCW0805J-1.5K-E3") - (field (name Manufacturer) CRCW08051K50JNEA) - (field (name Package) 0805) - (field (name Notes) "1/8W 5%") - (field (name Price) 0.091€)) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BCD89E)) - (comp (ref R3) - (value 1k) - (footprint Resistors_SMD:R_0805_HandSoldering) - (datasheet http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf) - (fields - (field (name Distributor) "Mouser 71-CRCW08051K00JNEB ") - (field (name Manufacturer) CRCW08051K00JNEB) - (field (name Package) 0805) - (field (name Notes) "1/8W 5%") - (field (name Price) 0.091€)) - (libsource (lib device) (part R)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BCD8ED)) - (comp (ref D1) - (value LED) - (footprint LEDs:LED-3MM) - (datasheet https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf) - (fields - (field (name Distributor) "SparkFun COM-09650") - (field (name Manufacturer) -) - (field (name Package) "Green 3mm pitch 2.54") - (field (name Notes) -) - (field (name Price) 0.33€)) - (libsource (lib device) (part LED)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BCD94A)) - (comp (ref P1) - (value CONN_01X03) - (footprint Pin_Headers:Pin_Header_Angled_1x03) - (datasheet -) - (fields - (field (name Distributor) "SparkFun PRT-00553") - (field (name Manufacturer) -) - (field (name Package) "1x40 pin right-angle pitch 2.54") - (field (name Notes) -) - (field (name Price) 1.85€)) - (libsource (lib conn) (part CONN_01X03)) - (sheetpath (names /) (tstamps /)) - (tstamp 55BE41ED)) - (comp (ref Q1) - (value Q_NMOS_GSD) - (footprint TO_SOT_Packages_SMD:SOT-23_Handsoldering) - (datasheet http://www.mouser.com/ds/2/427/SI2312CD-244454.pdf) - (fields - (field (name Distributor) "Mouser 781-SI2312CDS-T1-GE3") - (field (name Manufacturer) SI2312CDS-T1-GE3) - (field (name Package) SOT-23) - (field (name Notes) -) - (field (name Price) 0.398)) - (libsource (lib device) (part Q_NMOS_GSD)) - (sheetpath (names /) (tstamps /)) - (tstamp 5703748F))) - (libparts - (libpart (lib conn) (part CONN_01X03) - (description "Connector 01x03") - (footprints - (fp Pin_Header_Straight_1X03) - (fp Pin_Header_Angled_1X03) - (fp Socket_Strip_Straight_1X03) - (fp Socket_Strip_Angled_1X03)) - (fields - (field (name Reference) P) - (field (name Value) CONN_01X03)) - (pins - (pin (num 1) (name P1) (type passive)) - (pin (num 2) (name P2) (type passive)) - (pin (num 3) (name P3) (type passive)))) - (libpart (lib device) (part LED) - (footprints - (fp LED-3MM) - (fp LED-5MM) - (fp LED-10MM) - (fp LED-0603) - (fp LED-0805) - (fp LED-1206) - (fp LEDV)) - (fields - (field (name Reference) D) - (field (name Value) LED)) - (pins - (pin (num 1) (name K) (type passive)) - (pin (num 2) (name A) (type passive)))) - (libpart (lib device) (part Q_NMOS_GSD) - (description "Transistor N-MOSFET (general)") - (fields - (field (name Reference) Q) - (field (name Value) Q_NMOS_GSD)) - (pins - (pin (num 1) (name G) (type input)) - (pin (num 2) (name S) (type passive)) - (pin (num 3) (name D) (type passive)))) - (libpart (lib device) (part R) - (description Resistor) - (footprints - (fp R_*) - (fp Resistor_*)) - (fields - (field (name Reference) R) - (field (name Value) R)) - (pins - (pin (num 1) (name ~) (type passive)) - (pin (num 2) (name ~) (type passive)))) - (libpart (lib satnogs) (part TCST2103) - (description "Transmissive Optical Sensor with Phototransistor Output") - (fields - (field (name Reference) SW) - (field (name Value) TCST2103)) - (pins - (pin (num 1) (name +) (type input)) - (pin (num 2) (name E) (type input)) - (pin (num 3) (name +) (type input)) - (pin (num 4) (name D) (type input))))) - (libraries - (library (logical device) - (uri /usr/share/kicad/library/device.lib)) - (library (logical conn) - (uri /usr/share/kicad/library/conn.lib)) - (library (logical satnogs) - (uri /home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs.lib))) - (nets - (net (code 1) (name "Net-(P1-Pad2)") - (node (ref Q1) (pin 3)) - (node (ref P1) (pin 2))) - (net (code 2) (name GND) - (node (ref SW1) (pin 2)) - (node (ref SW1) (pin 4)) - (node (ref R3) (pin 2)) - (node (ref Q1) (pin 2))) - (net (code 3) (name "Net-(R1-Pad2)") - (node (ref SW1) (pin 1)) - (node (ref R1) (pin 2))) - (net (code 4) (name +5V) - (node (ref Q1) (pin 1)) - (node (ref P1) (pin 1)) - (node (ref R2) (pin 1)) - (node (ref R1) (pin 1))) - (net (code 5) (name "Net-(D1-Pad1)") - (node (ref R3) (pin 1)) - (node (ref D1) (pin 1))) - (net (code 6) (name /Signal) - (node (ref SW1) (pin 3)) - (node (ref R2) (pin 2)) - (node (ref P1) (pin 3)) - (node (ref D1) (pin 2))))) \ No newline at end of file diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.pro b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.pro deleted file mode 100644 index e4449ea..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.pro +++ /dev/null @@ -1,61 +0,0 @@ -update=Mon 28 Dec 2015 07:05:32 PM EET -version=1 -last_client=kicad -[pcbnew] -version=1 -LastNetListRead= -UseCmpFile=1 -PadDrill=0.600000000000 -PadDrillOvalY=0.600000000000 -PadSizeH=1.500000000000 -PadSizeV=1.500000000000 -PcbTextSizeV=1.500000000000 -PcbTextSizeH=1.500000000000 -PcbTextThickness=0.300000000000 -ModuleTextSizeV=1.000000000000 -ModuleTextSizeH=1.000000000000 -ModuleTextSizeThickness=0.150000000000 -SolderMaskClearance=0.000000000000 -SolderMaskMinWidth=0.000000000000 -DrawSegmentWidth=0.200000000000 -BoardOutlineThickness=0.100000000000 -ModuleOutlineThickness=0.150000000000 -[cvpcb] -version=1 -NetIExt=net -[general] -version=1 -[eeschema] -version=1 -LibDir=../library -[eeschema/libraries] -LibName1=power -LibName2=device -LibName3=transistors -LibName4=conn -LibName5=linear -LibName6=regul -LibName7=74xx -LibName8=cmos4000 -LibName9=adc-dac -LibName10=memory -LibName11=xilinx -LibName12=microcontrollers -LibName13=dsp -LibName14=microchip -LibName15=analog_switches -LibName16=motorola -LibName17=texas -LibName18=intel -LibName19=audio -LibName20=interface -LibName21=digital-audio -LibName22=philips -LibName23=display -LibName24=cypress -LibName25=siliconi -LibName26=opto -LibName27=atmel -LibName28=contrib -LibName29=valves -LibName30=satnogs diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch deleted file mode 100644 index a6038ad..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch +++ /dev/null @@ -1,314 +0,0 @@ -EESchema Schematic File Version 2 -LIBS:power -LIBS:device -LIBS:transistors -LIBS:conn -LIBS:linear -LIBS:regul -LIBS:74xx -LIBS:cmos4000 -LIBS:adc-dac -LIBS:memory -LIBS:xilinx -LIBS:microcontrollers -LIBS:dsp -LIBS:microchip -LIBS:analog_switches -LIBS:motorola -LIBS:texas -LIBS:intel -LIBS:audio -LIBS:interface -LIBS:digital-audio -LIBS:philips -LIBS:display -LIBS:cypress -LIBS:siliconi -LIBS:opto -LIBS:atmel -LIBS:contrib -LIBS:valves -LIBS:satnogs -LIBS:SatNOGS_EndStop-cache -EELAYER 25 0 -EELAYER END -$Descr A4 11693 8268 -encoding utf-8 -Sheet 1 1 -Title "" -Date "" -Rev "" -Comp "" -Comment1 "" -Comment2 "" -Comment3 "" -Comment4 "" -$EndDescr -$Comp -L TCST2103 SW1 -U 1 1 55BCD149 -P 4005 3705 -F 0 "SW1" H 4255 3405 60 0000 C BNN -F 1 "TCST2103" H 4005 4005 60 0000 C TNN -F 2 "satnogs:TCST2103" H 4005 3705 60 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/tcst2103-279826.pdf" H 4005 3705 60 0001 C CNN -F 4 "Mouser 782-TCST2103 " H 4005 3705 60 0001 C CNN "Distributor" -F 5 "TCST2103" H 4005 3705 60 0001 C CNN "Manufacturer" -F 6 "-" H 4005 3705 60 0001 C CNN "Package" -F 7 "-" H 4005 3705 60 0001 C CNN "Notes" -F 8 "1.59€" H 4005 3705 60 0001 C CNN "Price" - 1 4005 3705 - 1 0 0 -1 -$EndComp -$Comp -L R R1 -U 1 1 55BCD813 -P 3405 3205 -F 0 "R1" V 3485 3205 50 0000 C CNN -F 1 "180" V 3405 3205 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 3335 3205 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 3405 3205 30 0001 C CNN -F 4 "Mouser 71-CRCW0805180RJNEA " V 3405 3205 60 0001 C CNN "Distributor" -F 5 "CRCW0805180RJNEA" V 3405 3205 60 0001 C CNN "Manufacturer" -F 6 "0805" V 3405 3205 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 3405 3205 60 0001 C CNN "Notes" -F 8 "0.091 €" V 3405 3205 60 0001 C CNN "Price" - 1 3405 3205 - 1 0 0 -1 -$EndComp -$Comp -L R R2 -U 1 1 55BCD89E -P 4955 3205 -F 0 "R2" V 5035 3205 50 0000 C CNN -F 1 "1k5" V 4955 3205 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 4885 3205 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 4955 3205 30 0001 C CNN -F 4 "Mouser 71-CRCW0805J-1.5K-E3" V 4955 3205 60 0001 C CNN "Distributor" -F 5 "CRCW08051K50JNEA" V 4955 3205 60 0001 C CNN "Manufacturer" -F 6 "0805" V 4955 3205 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 4955 3205 60 0001 C CNN "Notes" -F 8 "0.091€" V 4955 3205 60 0001 C CNN "Price" - 1 4955 3205 - 1 0 0 -1 -$EndComp -$Comp -L R R3 -U 1 1 55BCD8ED -P 4955 4555 -F 0 "R3" V 5035 4555 50 0000 C CNN -F 1 "1k" V 4955 4555 50 0000 C CNN -F 2 "Resistors_SMD:R_0805_HandSoldering" V 4885 4555 30 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf" H 4955 4555 30 0001 C CNN -F 4 "Mouser 71-CRCW08051K00JNEB " V 4955 4555 60 0001 C CNN "Distributor" -F 5 "CRCW08051K00JNEB" V 4955 4555 60 0001 C CNN "Manufacturer" -F 6 "0805" V 4955 4555 60 0001 C CNN "Package" -F 7 "1/8W 5%" V 4955 4555 60 0001 C CNN "Notes" -F 8 "0.091€" V 4955 4555 60 0001 C CNN "Price" - 1 4955 4555 - 1 0 0 -1 -$EndComp -$Comp -L LED D1 -U 1 1 55BCD94A -P 4955 4105 -F 0 "D1" H 4955 4205 50 0000 C CNN -F 1 "LED" H 4955 4005 50 0000 C CNN -F 2 "LEDs:LED-3MM" H 4955 4105 60 0001 C CNN -F 3 "https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf" H 4955 4105 60 0001 C CNN -F 4 "SparkFun COM-09650" H 4955 4105 60 0001 C CNN "Distributor" -F 5 "-" H 4955 4105 60 0001 C CNN "Manufacturer" -F 6 "Green 3mm pitch 2.54" H 4955 4105 60 0001 C CNN "Package" -F 7 "-" H 4955 4105 60 0001 C CNN "Notes" -F 8 "0.33€" H 4955 4105 60 0001 C CNN "Price" - 1 4955 4105 - 0 -1 -1 0 -$EndComp -$Comp -L CONN_01X03 P1 -U 1 1 55BE41ED -P 7680 3955 -F 0 "P1" H 7680 4155 50 0000 C CNN -F 1 "CONN_01X03" V 7780 3955 50 0000 C CNN -F 2 "Pin_Headers:Pin_Header_Angled_1x03" H 7680 3955 60 0001 C CNN -F 3 "-" H 7680 3955 60 0001 C CNN -F 4 "SparkFun PRT-00553" H 7680 3955 60 0001 C CNN "Distributor" -F 5 "-" H 7680 3955 60 0001 C CNN "Manufacturer" -F 6 "1x40 pin right-angle pitch 2.54" H 7680 3955 60 0001 C CNN "Package" -F 7 "-" H 7680 3955 60 0001 C CNN "Notes" -F 8 "1.85€" H 7680 3955 60 0001 C CNN "Price" - 1 7680 3955 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR01 -U 1 1 55BE450D -P 6425 4395 -F 0 "#PWR01" H 6425 4145 50 0001 C CNN -F 1 "GND" H 6425 4245 50 0000 C CNN -F 2 "" H 6425 4395 60 0000 C CNN -F 3 "" H 6425 4395 60 0000 C CNN - 1 6425 4395 - 1 0 0 -1 -$EndComp -$Comp -L +5V #PWR02 -U 1 1 55BE463C -P 7230 3730 -F 0 "#PWR02" H 7230 3580 50 0001 C CNN -F 1 "+5V" H 7230 3870 50 0000 C CNN -F 2 "" H 7230 3730 60 0000 C CNN -F 3 "" H 7230 3730 60 0000 C CNN - 1 7230 3730 - 1 0 0 -1 -$EndComp -Wire Wire Line - 3405 3355 3405 3555 -Wire Wire Line - 3405 3555 3455 3555 -Wire Wire Line - 3455 3855 3405 3855 -Wire Wire Line - 3405 3855 3405 4755 -Wire Wire Line - 3405 2880 3405 3055 -$Comp -L PWR_FLAG #FLG03 -U 1 1 55BEA987 -P 6425 4085 -F 0 "#FLG03" H 6425 4180 50 0001 C CNN -F 1 "PWR_FLAG" H 6425 4265 50 0000 C CNN -F 2 "" H 6425 4085 60 0000 C CNN -F 3 "" H 6425 4085 60 0000 C CNN - 1 6425 4085 - 1 0 0 -1 -$EndComp -$Comp -L PWR_FLAG #FLG04 -U 1 1 55BEAF0A -P 6950 3780 -F 0 "#FLG04" H 6950 3875 50 0001 C CNN -F 1 "PWR_FLAG" H 6950 3960 50 0000 C CNN -F 2 "" H 6950 3780 60 0000 C CNN -F 3 "" H 6950 3780 60 0000 C CNN - 1 6950 3780 - 1 0 0 -1 -$EndComp -Wire Wire Line - 4505 3555 4730 3555 -Wire Wire Line - 4955 3355 4955 3905 -Connection ~ 4955 3855 -Wire Wire Line - 4955 2880 4955 3055 -Wire Wire Line - 4955 4305 4955 4405 -Wire Wire Line - 4955 4705 4955 4780 -$Comp -L GND #PWR05 -U 1 1 55BEEF1F -P 4730 3630 -F 0 "#PWR05" H 4730 3380 50 0001 C CNN -F 1 "GND" H 4730 3480 50 0000 C CNN -F 2 "" H 4730 3630 60 0000 C CNN -F 3 "" H 4730 3630 60 0000 C CNN - 1 4730 3630 - 1 0 0 -1 -$EndComp -Wire Wire Line - 4730 3555 4730 3630 -$Comp -L +5V #PWR06 -U 1 1 55BEF274 -P 4955 2880 -F 0 "#PWR06" H 4955 2730 50 0001 C CNN -F 1 "+5V" H 4955 3020 50 0000 C CNN -F 2 "" H 4955 2880 60 0000 C CNN -F 3 "" H 4955 2880 60 0000 C CNN - 1 4955 2880 - 1 0 0 -1 -$EndComp -$Comp -L +5V #PWR07 -U 1 1 55BEF291 -P 3405 2880 -F 0 "#PWR07" H 3405 2730 50 0001 C CNN -F 1 "+5V" H 3405 3020 50 0000 C CNN -F 2 "" H 3405 2880 60 0000 C CNN -F 3 "" H 3405 2880 60 0000 C CNN - 1 3405 2880 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR08 -U 1 1 55BEF660 -P 4955 4780 -F 0 "#PWR08" H 4955 4530 50 0001 C CNN -F 1 "GND" H 4955 4630 50 0000 C CNN -F 2 "" H 4955 4780 60 0000 C CNN -F 3 "" H 4955 4780 60 0000 C CNN - 1 4955 4780 - 1 0 0 -1 -$EndComp -$Comp -L GND #PWR09 -U 1 1 55BEF67D -P 3405 4755 -F 0 "#PWR09" H 3405 4505 50 0001 C CNN -F 1 "GND" H 3405 4605 50 0000 C CNN -F 2 "" H 3405 4755 60 0000 C CNN -F 3 "" H 3405 4755 60 0000 C CNN - 1 3405 4755 - 1 0 0 -1 -$EndComp -Wire Wire Line - 4505 3855 5155 3855 -Text Label 5155 3855 0 60 ~ 0 -Signal -Wire Wire Line - 7230 4055 7480 4055 -Text Label 7230 4055 0 60 ~ 0 -Signal -$Comp -L Q_NMOS_GSD Q1 -U 1 1 5703748F -P 6800 4060 -F 0 "Q1" H 7100 4110 50 0000 R CNN -F 1 "Q_NMOS_GSD" H 7450 4010 50 0000 R CNN -F 2 "TO_SOT_Packages_SMD:SOT-23_Handsoldering" H 7000 4160 50 0001 C CNN -F 3 "http://www.mouser.com/ds/2/427/SI2312CD-244454.pdf" H 6800 4060 50 0001 C CNN -F 4 "Mouser 781-SI2312CDS-T1-GE3" H 6800 4060 60 0001 C CNN "Distributor" -F 5 "SI2312CDS-T1-GE3" H 6800 4060 60 0001 C CNN "Manufacturer" -F 6 "SOT-23-3" H 6800 4060 60 0001 C CNN "Package" -F 7 "-" H 6800 4060 60 0001 C CNN "Notes" -F 8 "0.398" H 6800 4060 60 0001 C CNN "Price" - 1 6800 4060 - 0 1 1 0 -$EndComp -Wire Wire Line - 6800 3860 6800 3855 -Wire Wire Line - 6800 3855 7480 3855 -Wire Wire Line - 7000 4160 7120 4160 -Wire Wire Line - 7120 3955 7480 3955 -Wire Wire Line - 7230 3855 7230 3730 -Connection ~ 7230 3855 -Wire Wire Line - 6950 3780 6950 3855 -Connection ~ 6950 3855 -Wire Wire Line - 7120 4160 7120 3955 -Wire Wire Line - 6600 4160 6425 4160 -Wire Wire Line - 6425 4085 6425 4395 -Connection ~ 6425 4160 -Text Notes 6955 4465 0 79 ~ 0 -Reverse current protection -Text Notes 5145 3710 0 79 ~ 0 -0.8V - 4.5V -$EndSCHEMATC diff --git a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.xml b/PCB/SatNOGS_EndStop/SatNOGS_EndStop.xml deleted file mode 100644 index 1a4cb16..0000000 --- a/PCB/SatNOGS_EndStop/SatNOGS_EndStop.xml +++ /dev/null @@ -1,250 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<export version="D"> - <design> - <source>/home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/SatNOGS_EndStop/SatNOGS_EndStop.sch</source> - <date>Sat 09 Apr 2016 00:45:46 EEST</date> - <tool>Eeschema 4.0.2-stable</tool> - <sheet number="1" name="/" tstamps="/"> - <title_block> - <title/> - <company/> - <rev/> - <date/> - <source>SatNOGS_EndStop.sch</source> - <comment number="1" value=""/> - <comment number="2" value=""/> - <comment number="3" value=""/> - <comment number="4" value=""/> - </title_block> - </sheet> - </design> - <components> - <comp ref="SW1"> - <value>TCST2103</value> - <footprint>satnogs:TCST2103</footprint> - <datasheet>http://www.mouser.com/ds/2/427/tcst2103-279826.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 782-TCST2103 </field> - <field name="Manufacturer">TCST2103</field> - <field name="Package">-</field> - <field name="Notes">-</field> - <field name="Price">1.59€</field> - </fields> - <libsource lib="satnogs" part="TCST2103"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BCD149</tstamp> - </comp> - <comp ref="R1"> - <value>180</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW0805180RJNEA </field> - <field name="Manufacturer">CRCW0805180RJNEA</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price">0.091 €</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BCD813</tstamp> - </comp> - <comp ref="R2"> - <value>1k5</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW0805J-1.5K-E3</field> - <field name="Manufacturer">CRCW08051K50JNEA</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BCD89E</tstamp> - </comp> - <comp ref="R3"> - <value>1k</value> - <footprint>Resistors_SMD:R_0805_HandSoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/dcrcwe3-109170.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 71-CRCW08051K00JNEB </field> - <field name="Manufacturer">CRCW08051K00JNEB</field> - <field name="Package">0805</field> - <field name="Notes">1/8W 5%</field> - <field name="Price">0.091€</field> - </fields> - <libsource lib="device" part="R"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BCD8ED</tstamp> - </comp> - <comp ref="D1"> - <value>LED</value> - <footprint>LEDs:LED-3MM</footprint> - <datasheet>https://www.sparkfun.com/datasheets/Components/LED/YSL-R341K3D-D2.pdf</datasheet> - <fields> - <field name="Distributor">SparkFun COM-09650</field> - <field name="Manufacturer">-</field> - <field name="Package">Green 3mm pitch 2.54</field> - <field name="Notes">-</field> - <field name="Price">0.33€</field> - </fields> - <libsource lib="device" part="LED"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BCD94A</tstamp> - </comp> - <comp ref="P1"> - <value>CONN_01X03</value> - <footprint>Pin_Headers:Pin_Header_Angled_1x03</footprint> - <datasheet>-</datasheet> - <fields> - <field name="Distributor">SparkFun PRT-00553</field> - <field name="Manufacturer">-</field> - <field name="Package">1x40 pin right-angle pitch 2.54</field> - <field name="Notes">-</field> - <field name="Price">1.85€</field> - </fields> - <libsource lib="conn" part="CONN_01X03"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>55BE41ED</tstamp> - </comp> - <comp ref="Q1"> - <value>Q_NMOS_GSD</value> - <footprint>TO_SOT_Packages_SMD:SOT-23_Handsoldering</footprint> - <datasheet>http://www.mouser.com/ds/2/427/SI2312CD-244454.pdf</datasheet> - <fields> - <field name="Distributor">Mouser 781-SI2312CDS-T1-GE3</field> - <field name="Manufacturer">SI2312CDS-T1-GE3</field> - <field name="Package">SOT-23-3</field> - <field name="Notes">-</field> - <field name="Price">0.398</field> - </fields> - <libsource lib="device" part="Q_NMOS_GSD"/> - <sheetpath names="/" tstamps="/"/> - <tstamp>5703748F</tstamp> - </comp> - </components> - <libparts> - <libpart lib="conn" part="CONN_01X03"> - <description>Connector 01x03</description> - <footprints> - <fp>Pin_Header_Straight_1X03</fp> - <fp>Pin_Header_Angled_1X03</fp> - <fp>Socket_Strip_Straight_1X03</fp> - <fp>Socket_Strip_Angled_1X03</fp> - </footprints> - <fields> - <field name="Reference">P</field> - <field name="Value">CONN_01X03</field> - </fields> - <pins> - <pin num="1" name="P1" type="passive"/> - <pin num="2" name="P2" type="passive"/> - <pin num="3" name="P3" type="passive"/> - </pins> - </libpart> - <libpart lib="device" part="LED"> - <footprints> - <fp>LED-3MM</fp> - <fp>LED-5MM</fp> - <fp>LED-10MM</fp> - <fp>LED-0603</fp> - <fp>LED-0805</fp> - <fp>LED-1206</fp> - <fp>LEDV</fp> - </footprints> - <fields> - <field name="Reference">D</field> - <field name="Value">LED</field> - </fields> - <pins> - <pin num="1" name="K" type="passive"/> - <pin num="2" name="A" type="passive"/> - </pins> - </libpart> - <libpart lib="device" part="Q_NMOS_GSD"> - <description>Transistor N-MOSFET (general)</description> - <fields> - <field name="Reference">Q</field> - <field name="Value">Q_NMOS_GSD</field> - </fields> - <pins> - <pin num="1" name="G" type="input"/> - <pin num="2" name="S" type="passive"/> - <pin num="3" name="D" type="passive"/> - </pins> - </libpart> - <libpart lib="device" part="R"> - <description>Resistor</description> - <footprints> - <fp>R_*</fp> - <fp>Resistor_*</fp> - </footprints> - <fields> - <field name="Reference">R</field> - <field name="Value">R</field> - </fields> - <pins> - <pin num="1" name="~" type="passive"/> - <pin num="2" name="~" type="passive"/> - </pins> - </libpart> - <libpart lib="satnogs" part="TCST2103"> - <description>Transmissive Optical Sensor with Phototransistor Output</description> - <fields> - <field name="Reference">SW</field> - <field name="Value">TCST2103</field> - </fields> - <pins> - <pin num="1" name="+" type="input"/> - <pin num="2" name="E" type="input"/> - <pin num="3" name="+" type="input"/> - <pin num="4" name="D" type="input"/> - </pins> - </libpart> - </libparts> - <libraries> - <library logical="satnogs"> - <uri>/home/azisi/Documents/SatNOGS/satnogs-rotator-controller/PCB/library/satnogs.lib</uri> - </library> - <library logical="device"> - <uri>/usr/share/kicad/library/device.lib</uri> - </library> - <library logical="conn"> - <uri>/usr/share/kicad/library/conn.lib</uri> - </library> - </libraries> - <nets> - <net code="1" name="Net-(P1-Pad2)"> - <node ref="Q1" pin="3"/> - <node ref="P1" pin="2"/> - </net> - <net code="2" name="GND"> - <node ref="SW1" pin="2"/> - <node ref="SW1" pin="4"/> - <node ref="R3" pin="2"/> - <node ref="Q1" pin="2"/> - </net> - <net code="3" name="Net-(R1-Pad2)"> - <node ref="SW1" pin="1"/> - <node ref="R1" pin="2"/> - </net> - <net code="4" name="+5V"> - <node ref="Q1" pin="1"/> - <node ref="P1" pin="1"/> - <node ref="R2" pin="1"/> - <node ref="R1" pin="1"/> - </net> - <net code="5" name="Net-(D1-Pad1)"> - <node ref="R3" pin="1"/> - <node ref="D1" pin="1"/> - </net> - <net code="6" name="/Signal"> - <node ref="SW1" pin="3"/> - <node ref="R2" pin="2"/> - <node ref="P1" pin="3"/> - <node ref="D1" pin="2"/> - </net> - </nets> -</export> diff --git a/README.md b/README.md index 076b3f8..053e504 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ # SatNOGS Rotator Controller -Firmware and electronics designs for [SatNOGS Rotator](https://github.com/satnogs/satnogs-rotator/). +Electronics designs for [SatNOGS Rotator](https://github.com/satnogs/satnogs-rotator/). -Repository includes all source files for PCB's and firmware for the SatNOGS rotator controller assembly. +Repository includes all source files of PCB's for the SatNOGS rotator controller assembly. + +Firmware can be found on [satnogs-rotator-firmware](https://github.com/satnogs/satnogs-rotator-firmware). ## Documentation @@ -19,6 +21,6 @@ Master branch is most times under active development, so expect things to break. ## License -© 2014-2015 [Libre Space Foundation](http://librespacefoundation.org). +© 2014-2017 [Libre Space Foundation](http://libre.space). Licensed under the [CERN OHLv1.2](LICENSE). diff --git a/firmware/README.md b/firmware/README.md deleted file mode 100644 index 9231ad4..0000000 --- a/firmware/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Arduino Code -============ - -In order to use this code, you need to put the AccelStepper v1.46 library and SoftI2CMaster library in your libraries folder. Thanks to [AccelStepper library](http://www.airspayce.com/mikem/arduino/AccelStepper/) and [SoftI2CMaster](https://github.com/todbot/SoftI2CMaster). diff --git a/firmware/dc_motor_controller/dc_motor_controller.ino b/firmware/dc_motor_controller/dc_motor_controller.ino deleted file mode 100644 index c3b8723..0000000 --- a/firmware/dc_motor_controller/dc_motor_controller.ino +++ /dev/null @@ -1,568 +0,0 @@ -#include "SoftI2CMaster.h" -#include <Wire.h> -//#include <avr/wdt.h> - -/* H-bridge defines */ -#define PWM1M1 5 -#define PWM2M1 6 -#define PWM1M2 9 -#define PWM2M2 10 -/* Limits for control signal */ -#define outMax 120 -#define outMin 35 -#define Deadband 1 -/* Encoder defines */ -#define sda_pin 16 -#define scl_pin 14 -#define as5601_adr 0x36 -#define raw_ang_high 0x0c -#define raw_ang_low 0x0d -#define status_reg 0x0b -/* Ratio of worm gear */ -#define RATIO 30 -/* Maximum Angle for homing scanning */ -#define SEEK_MOVE 30 -#define MIN_AZ_ANGLE 0 -#define MAX_AZ_ANGLE 370 -#define MIN_EL_ANGLE 0 -#define MAX_EL_ANGLE 110 -/* Homing switch */ -#define HOME_AZ 4 -#define HOME_EL 7 -/* Change to LOW according to Home sensor */ -#define DEFAULT_HOME_STATE 1 -/* Time to disable the motors in millisecond */ -#define T_DELAY 1000 -/* PIN for Enable or Disable Stepper Motors */ -#define EN 8 -/* Serial configuration */ -#define BufferSize 256 -#define BaudRate 19200 -#define TX_EN A3 -/*Global Variables*/ -unsigned long t_DIS = 0; /*time to disable the Motors*/ -/* angle offset */ -double az_angle_offset = 0; -double el_angle_offset = 0; -/* Encoder */ -SoftI2CMaster i2c_soft = SoftI2CMaster(scl_pin, sda_pin, 1); - -void setup() -{ - /* H-bridge */ - pinMode(OUTPUT, PWM1M1); - pinMode(OUTPUT, PWM2M1); - pinMode(OUTPUT, PWM1M2); - pinMode(OUTPUT, PWM2M2); - /* Encoder */ - i2c_soft.begin(); - Wire.begin(); - /* Enable Motors */ - pinMode(EN, OUTPUT); - digitalWrite(EN, HIGH); - /* Homing switch */ - pinMode(HOME_AZ, INPUT_PULLUP); - pinMode(HOME_EL, INPUT_PULLUP); - /* Serial Communication */ - Serial.begin(BaudRate); - /* RS485 */ - //Serial1.begin(BaudRate); - pinMode(TX_EN, OUTPUT); - digitalWrite(TX_EN, LOW); - /* WDT */ - //cli(); - //WDTCSR |= (1<<WDCE) | (1<<WDE); - //WDTCSR = (0<<WDIE) | (1<<WDE) | (0<<WDP3) | (1<<WDP2) | (1<<WDP1) | (0<<WDP0); - //sei(); - /* Initial Homing */ - //Homing(-MAX_AZ_ANGLE, -MAX_EL_ANGLE, true); -} - -void loop() -{ - double *set_point; - double curr_pos[2]; - - /* Read commands from serial */ - set_point = cmd_proc(); - //set_point = cmd_proc_RS485(); - /* Move Motor */ - dc_move(set_point); - /* Reset WDT */ - //wdt_reset(); - /* Time Check */ - if (t_DIS == 0) - t_DIS = millis(); - /* Disable Motors */ - get_position(curr_pos); - if (abs(curr_pos[0]-set_point[0]) < Deadband && abs(curr_pos[1]-set_point[1]) < Deadband && millis()-t_DIS > T_DELAY) - digitalWrite(EN, LOW); - /* Enable Motors */ - else - digitalWrite(EN, HIGH); -} - -///* EasyComm 2 Protocol for RS485 */ -//double * cmd_proc_RS485() -//{ -// static double set_point[] = {0, 0}; -// /* Serial */ -// static char buffer[BufferSize]; -// char incomingByte; -// char *Data = buffer; -// char *rawData; -// static int BufferCnt = 0; -// char data[100]; -// double pos[2]; -// -// /* Read from serial */ -// while (Serial1.available() > 0) -// { -// incomingByte = Serial1.read(); -// /* New data */ -// if (incomingByte == '\n') -// { -// buffer[BufferCnt] = 0; -// if (buffer[0] == 'A' && buffer[1] == 'Z') -// { -// if (buffer[2] == ' ' && buffer[3] == 'E' && buffer[4] == 'L') -// { -// get_position(pos); -// /* Get position */ -// digitalWrite(TX_EN, HIGH); -// delay(8); -// Serial1.print("AZ"); -// Serial1.print(pos[0], 1); -// Serial1.print(" "); -// Serial1.print("EL"); -// Serial1.println(pos[1], 1); -// delay(8); -// digitalWrite(TX_EN, LOW); -// } -// else -// { -// /* Get the absolute value of angle */ -// rawData = strtok_r(Data, " " , &Data); -// strncpy(data, rawData + 2, 10); -// if (isNumber(data)) -// { -// set_point[0] = atof(data); -// if (set_point[0] > MAX_AZ_ANGLE) -// set_point[0] = MAX_AZ_ANGLE; -// else if (set_point[0] < MIN_AZ_ANGLE) -// set_point[0] = MIN_AZ_ANGLE; -// } -// /* Get the absolute value of angle */ -// rawData = strtok_r(Data, " " , &Data); -// if (rawData[0] == 'E' && rawData[1] == 'L') -// { -// strncpy(data, rawData + 2, 10); -// if (isNumber(data)) -// { -// set_point[1] = atof(data); -// if (set_point[1] > MAX_EL_ANGLE) -// set_point[1] = MAX_EL_ANGLE; -// else if (set_point[1] < MIN_EL_ANGLE) -// set_point[1] = MIN_EL_ANGLE; -// } -// } -// } -// } -// /* Stop Moving */ -// else if (buffer[0] == 'S' && buffer[1] == 'A' && buffer[2] == ' ' && buffer[3] == 'S' && buffer[4] == 'E') -// { -// get_position(pos); -// /* Get position */ -// digitalWrite(TX_EN, HIGH); -// delay(8); -// Serial1.print("AZ"); -// Serial1.print(pos[0], 1); -// Serial1.print(" "); -// Serial1.print("EL"); -// Serial1.println(pos[1], 1); -// delay(8); -// digitalWrite(TX_EN, LOW); -// set_point[0] = pos[0]; -// set_point[1] = pos[1]; -// } -// /* Reset the rotator */ -// else if (buffer[0] == 'R' && buffer[1] == 'E' && buffer[2] == 'S' && buffer[3] == 'E' && buffer[4] == 'T') -// { -// get_position(pos); -// /* Get position */ -// digitalWrite(TX_EN, HIGH); -// delay(8); -// Serial1.print("AZ"); -// Serial1.print(pos[0], 1); -// Serial1.print(" "); -// Serial1.print("EL"); -// Serial1.println(pos[1], 1); -// delay(8); -// digitalWrite(TX_EN, LOW); -// /* Move to initial position */ -// Homing(-MAX_AZ_ANGLE, -MAX_EL_ANGLE, false); -// set_point[0] = 0; -// set_point[1] = 0; -// } -// /* Clear serial buffer */ -// BufferCnt = 0; -// Serial1.read(); -// /* Reset the disable motor time */ -// t_DIS = 0; -// } -// /* Fill the buffer with incoming data */ -// else { -// buffer[BufferCnt] = incomingByte; -// BufferCnt++; -// } -// } -// return set_point; -//} - -/* Homing Function */ -void Homing(double AZangle, double ELangle, bool Init) -{ - int value_Home_AZ = DEFAULT_HOME_STATE; - int value_Home_EL = DEFAULT_HOME_STATE; - boolean isHome_AZ = false; - boolean isHome_EL = false; - double zero_angle[2]; - double curr_angle[2]; - double set_point[2]; - - get_position(zero_angle); - if (Init == true) - { - set_point[0] = zero_angle[0]+SEEK_MOVE; - set_point[1] = zero_angle[1]+SEEK_MOVE; - } - else - { - set_point[0] = 10;//zero_angle[0]-MAX_AZ_ANGLE; - set_point[1] = 10;//zero_angle[1]-MAX_EL_ANGLE; - } - while (isHome_AZ == false || isHome_EL == false) - { - dc_move(set_point); - delay(1); - value_Home_AZ = digitalRead(HOME_AZ); - delay(1); - value_Home_EL = digitalRead(HOME_EL); - /* Change to LOW according to Home sensor */ - if (value_Home_AZ == DEFAULT_HOME_STATE && isHome_AZ == false) - { - isHome_AZ = true; - get_position(curr_angle); - set_point[0] = 0; - if (Init) - az_angle_offset = curr_angle[0]; - } - if (value_Home_EL == DEFAULT_HOME_STATE && isHome_EL == false) - { - isHome_EL = true; - get_position(curr_angle); - set_point[1] = 0; - if (Init) - el_angle_offset = curr_angle[1]; - } - get_position(curr_angle); - if (abs(curr_angle[0] - zero_angle[0]) >= SEEK_MOVE && !isHome_AZ && Init) - set_point[0] = -MAX_AZ_ANGLE; - if (abs(curr_angle[1] - zero_angle[1]) >= SEEK_MOVE && !isHome_EL && Init) - set_point[1] = -MAX_EL_ANGLE; - if ((abs(curr_angle[0] - zero_angle[0]) >= MAX_AZ_ANGLE && !isHome_AZ) || (abs(curr_angle[1] - zero_angle[1]) >= MAX_EL_ANGLE && !isHome_EL)) - { - /* set error */ - while(1) - { - ; - } - } - } -} - -void dc_move(double set_point[]) -{ - double u[2]; - double curr_pos[2]; - static double prev_pos[] = {0, 0}; - double error[2]; - double Iterm[2]; - double Pterm[2]; - double Dterm[2]; - double Kp = 200; - double Ki = 2; - double Kd = 0; - double dt = 0.001; // calculate - - get_position(curr_pos); - error[0] = set_point[0] - curr_pos[0]; - error[1] = set_point[1] - curr_pos[1]; - - Pterm[0] = Kp * error[0]; - Pterm[1] = Kp * error[1]; - - Iterm[0] += Ki * error[0] * dt; - Iterm[1] += Ki * error[1] * dt; - if (Iterm[0] > outMax) Iterm[0] = outMax; - else if (Iterm[0] < outMin) Iterm[0] = outMin; - if (Iterm[1] > outMax) Iterm[1] = outMax; - else if (Iterm[1] < outMin) Iterm[1] = outMin; - - Dterm[0] = Kd * (curr_pos[0] - prev_pos[0]) / dt; - prev_pos[0] = curr_pos[0]; - Dterm[1] = Kd * (curr_pos[1] - prev_pos[1]) / dt; - prev_pos[1] = curr_pos[1]; - - u[0] = Pterm[0] + Iterm[0] + Dterm[0]; - u[1] = Pterm[1] + Iterm[1] + Dterm[1]; - - if (u[0] >= 0) - { - if (u[0] > outMax) - u[0] = outMax; - analogWrite(PWM1M1, u[0]); - analogWrite(PWM2M1, 0); - } - else - { - u[0] = -u[0]; - if ( u[0] > outMax) - u[0] = outMax; - analogWrite(PWM1M1, 0); - analogWrite(PWM2M1, u[0]); - } - - if (u[1] >= 0) - { - if (u[1] > outMax) - u[1] = outMax; - analogWrite(PWM1M2, u[1]); - analogWrite(PWM2M2, 0); - } - else - { - u[1] = -u[1]; - if ( u[1] > outMax) - u[1] = outMax; - analogWrite(PWM1M2, 0); - analogWrite(PWM2M2, u[1]); - } -} - -/* Read Encoders */ -void get_position(double *new_pos) -{ - int low_raw, high_raw, status_val; - double raw_pos = 0; - double delta_raw_pos = 0; - static double raw_prev_pos[] = {0, 0}; - static double real_pos[] = {0, 0}; - static int n[] = {0, 0}; - - /* Axis 1*/ - /* Read Raw Angle Low Byte */ - Wire.beginTransmission(as5601_adr); - Wire.write(raw_ang_low); - Wire.endTransmission(); - Wire.requestFrom(as5601_adr, 1); - while(Wire.available() == 0); - low_raw = Wire.read(); - /* Read Raw Angle High Byte */ - Wire.beginTransmission(as5601_adr); - Wire.write(raw_ang_high); - Wire.endTransmission(); - Wire.requestFrom(as5601_adr, 1); - while(Wire.available() == 0); - high_raw = Wire.read(); - high_raw = high_raw << 8; - high_raw = high_raw | low_raw; - /* Read Status Bits */ - Wire.beginTransmission(as5601_adr); - Wire.write(status_reg); - Wire.endTransmission(); - Wire.requestFrom(as5601_adr, 1); - while(Wire.available() == 0); - status_val = Wire.read(); - /* Check the status register */ - if ((status_val & 0x20) && !(status_val & 0x10) && !(status_val & 0x08)) - { - if (high_raw >= 0) - { - raw_pos = (double)high_raw*0.0879; - delta_raw_pos = raw_prev_pos[0] - raw_pos; - if (delta_raw_pos > 180) - n[0]++; - else if (delta_raw_pos < -180) - n[0]--; - real_pos[0] = ((raw_pos + 360 * n[0]) / RATIO) - az_angle_offset; - raw_prev_pos[0] = raw_pos; - } - else - ; /* set error */ - } - else - ; /* set error */ - - /* Axis 2 */ - /* Read Raw Angle Low Byte */ - i2c_soft.beginTransmission(as5601_adr); - i2c_soft.write(raw_ang_low); - i2c_soft.endTransmission(); - i2c_soft.requestFrom(as5601_adr); - low_raw = i2c_soft.readLast(); - i2c_soft.endTransmission(); - /* Read Raw Angle High Byte */ - i2c_soft.beginTransmission(as5601_adr); - i2c_soft.write(raw_ang_high); - i2c_soft.endTransmission(); - i2c_soft.requestFrom(as5601_adr); - high_raw = i2c_soft.readLast(); - i2c_soft.endTransmission(); - high_raw = high_raw << 8; - high_raw = high_raw | low_raw; - /* Read Status Bits */ - i2c_soft.beginTransmission(as5601_adr); - i2c_soft.write(status_reg); - i2c_soft.endTransmission(); - i2c_soft.requestFrom(as5601_adr); - status_val = i2c_soft.readLast(); - i2c_soft.endTransmission(); - /* Check the status register */ - if ((status_val & 0x20) && !(status_val & 0x10) && !(status_val & 0x08)) - { - if (high_raw >= 0) - { - raw_pos = (double)high_raw*0.0879; - delta_raw_pos = raw_prev_pos[1] - raw_pos; - if (delta_raw_pos > 180) - n[1]++; - else if (delta_raw_pos < -180) - n[1]--; - real_pos[1] = ((raw_pos + 360 * n[1]) / RATIO) - el_angle_offset; - raw_prev_pos[1] = raw_pos; - } - else - ; /* set error */ - } - else - ; /* set error */ - - new_pos[0] = real_pos[0]; - new_pos[1] = real_pos[1]; -} - -/* EasyComm 2 Protocol */ -double * cmd_proc() -{ - static double set_point[] = {0, 0}; - /* Serial */ - char buffer[BufferSize]; - char incomingByte; - char *Data = buffer; - char *rawData; - static int BufferCnt = 0; - char data[100]; - double pos[2]; - - /* Read from serial */ - while (Serial.available() > 0) - { - incomingByte = Serial.read(); - /* New data */ - if (incomingByte == '\n') - { - buffer[BufferCnt] = 0; - if (buffer[0] == 'A' && buffer[1] == 'Z') - { - if (buffer[2] == ' ' && buffer[3] == 'E' && buffer[4] == 'L') - { - get_position(pos); - /* Get position */ - Serial.print("AZ"); - Serial.print(pos[0], 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(pos[1], 1); - } - else - { - /* Get the absolute value of angle */ - rawData = strtok_r(Data, " " , &Data); - strncpy(data, rawData + 2, 10); - if (isNumber(data)) - { - set_point[0] = atof(data); - if (set_point[0] > MAX_AZ_ANGLE) - set_point[0] = MAX_AZ_ANGLE; - else if (set_point[0] < MIN_AZ_ANGLE) - set_point[0] = MIN_AZ_ANGLE; - } - /* Get the absolute value of angle */ - rawData = strtok_r(Data, " " , &Data); - if (rawData[0] == 'E' && rawData[1] == 'L') - { - strncpy(data, rawData + 2, 10); - if (isNumber(data)) - { - set_point[1] = atof(data); - if (set_point[1] > MAX_EL_ANGLE) - set_point[1] = MAX_EL_ANGLE; - else if (set_point[1] < MIN_EL_ANGLE) - set_point[1] = MIN_EL_ANGLE; - } - } - } - } - /* Stop Moving */ - else if (buffer[0] == 'S' && buffer[1] == 'A' && buffer[2] == ' ' && buffer[3] == 'S' && buffer[4] == 'E') - { - get_position(pos); - /* Get position */ - Serial.print("AZ"); - Serial.print(pos[0], 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(pos[1], 1); - set_point[0] = pos[0]; - set_point[1] = pos[1]; - } - /* Reset the rotator */ - else if (buffer[0] == 'R' && buffer[1] == 'E' && buffer[2] == 'S' && buffer[3] == 'E' && buffer[4] == 'T') - { - get_position(pos); - /* Get position */ - Serial.print("AZ"); - Serial.print(pos[0], 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(pos[1], 1); - /* Move to initial position */ - Homing(-MAX_AZ_ANGLE, -MAX_EL_ANGLE, false); - set_point[0] = 0; - set_point[1] = 0; - } - BufferCnt = 0; - /* Reset the disable motor time */ - t_DIS = 0; - } - /* Fill the buffer with incoming data */ - else { - buffer[BufferCnt] = incomingByte; - BufferCnt++; - } - } - return set_point; -} - -/* check if is argument in number */ -boolean isNumber(char *input) -{ - for (int i = 0; input[i] != '\0'; i++) - { - if (isalpha(input[i])) - return false; - } - return true; -} - diff --git a/firmware/libraries/AccelStepper/AccelStepper.cpp b/firmware/libraries/AccelStepper/AccelStepper.cpp deleted file mode 100644 index 29e6469..0000000 --- a/firmware/libraries/AccelStepper/AccelStepper.cpp +++ /dev/null @@ -1,633 +0,0 @@ -// AccelStepper.cpp -// -// Copyright (C) 2009-2013 Mike McCauley -// $Id: AccelStepper.cpp,v 1.19 2014/10/31 06:05:27 mikem Exp mikem $ - -#include "AccelStepper.h" - -#if 0 -// Some debugging assistance -void dump(uint8_t* p, int l) -{ - int i; - - for (i = 0; i < l; i++) - { - Serial.print(p[i], HEX); - Serial.print(" "); - } - Serial.println(""); -} -#endif - -void AccelStepper::moveTo(long absolute) -{ - if (_targetPos != absolute) - { - _targetPos = absolute; - computeNewSpeed(); - // compute new n? - } -} - -void AccelStepper::move(long relative) -{ - moveTo(_currentPos + relative); -} - -// Implements steps according to the current step interval -// You must call this at least once per step -// returns true if a step occurred -boolean AccelStepper::runSpeed() -{ - // Dont do anything unless we actually have a step interval - if (!_stepInterval) - return false; - - unsigned long time = micros(); - unsigned long nextStepTime = _lastStepTime + _stepInterval; - // Gymnastics to detect wrapping of either the nextStepTime and/or the current time - if ( ((nextStepTime >= _lastStepTime) && ((time >= nextStepTime) || (time < _lastStepTime))) - || ((nextStepTime < _lastStepTime) && ((time >= nextStepTime) && (time < _lastStepTime)))) - { - if (_direction == DIRECTION_CW) - { - // Clockwise - _currentPos += 1; - } - else - { - // Anticlockwise - _currentPos -= 1; - } - step(_currentPos); - - _lastStepTime = time; - return true; - } - else - { - return false; - } -} - -long AccelStepper::distanceToGo() -{ - return _targetPos - _currentPos; -} - -long AccelStepper::targetPosition() -{ - return _targetPos; -} - -long AccelStepper::currentPosition() -{ - return _currentPos; -} - -// Useful during initialisations or after initial positioning -// Sets speed to 0 -void AccelStepper::setCurrentPosition(long position) -{ - _targetPos = _currentPos = position; - _n = 0; - _stepInterval = 0; -} - -void AccelStepper::computeNewSpeed() -{ - long distanceTo = distanceToGo(); // +ve is clockwise from curent location - - long stepsToStop = (long)((_speed * _speed) / (2.0 * _acceleration)); // Equation 16 - - if (distanceTo == 0 && stepsToStop <= 1) - { - // We are at the target and its time to stop - _stepInterval = 0; - _speed = 0.0; - _n = 0; - return; - } - - if (distanceTo > 0) - { - // We are anticlockwise from the target - // Need to go clockwise from here, maybe decelerate now - if (_n > 0) - { - // Currently accelerating, need to decel now? Or maybe going the wrong way? - if ((stepsToStop >= distanceTo) || _direction == DIRECTION_CCW) - _n = -stepsToStop; // Start deceleration - } - else if (_n < 0) - { - // Currently decelerating, need to accel again? - if ((stepsToStop < distanceTo) && _direction == DIRECTION_CW) - _n = -_n; // Start accceleration - } - } - else if (distanceTo < 0) - { - // We are clockwise from the target - // Need to go anticlockwise from here, maybe decelerate - if (_n > 0) - { - // Currently accelerating, need to decel now? Or maybe going the wrong way? - if ((stepsToStop >= -distanceTo) || _direction == DIRECTION_CW) - _n = -stepsToStop; // Start deceleration - } - else if (_n < 0) - { - // Currently decelerating, need to accel again? - if ((stepsToStop < -distanceTo) && _direction == DIRECTION_CCW) - _n = -_n; // Start accceleration - } - } - - // Need to accelerate or decelerate - if (_n == 0) - { - // First step from stopped - _cn = _c0; - _direction = (distanceTo > 0) ? DIRECTION_CW : DIRECTION_CCW; - } - else - { - // Subsequent step. Works for accel (n is +_ve) and decel (n is -ve). - _cn = _cn - ((2.0 * _cn) / ((4.0 * _n) + 1)); // Equation 13 - _cn = max(_cn, _cmin); - } - _n++; - _stepInterval = _cn; - _speed = 1000000.0 / _cn; - if (_direction == DIRECTION_CCW) - _speed = -_speed; - -#if 0 - Serial.println(_speed); - Serial.println(_acceleration); - Serial.println(_cn); - Serial.println(_c0); - Serial.println(_n); - Serial.println(_stepInterval); - Serial.println(distanceTo); - Serial.println(stepsToStop); - Serial.println("-----"); -#endif -} - -// Run the motor to implement speed and acceleration in order to proceed to the target position -// You must call this at least once per step, preferably in your main loop -// If the motor is in the desired position, the cost is very small -// returns true if the motor is still running to the target position. -boolean AccelStepper::run() -{ - if (runSpeed()) - computeNewSpeed(); - return _speed != 0.0 || distanceToGo() != 0; -} - -AccelStepper::AccelStepper(uint8_t interface, uint8_t pin1, uint8_t pin2, uint8_t pin3, uint8_t pin4, bool enable) -{ - _interface = interface; - _currentPos = 0; - _targetPos = 0; - _speed = 0.0; - _maxSpeed = 1.0; - _acceleration = 0.0; - _sqrt_twoa = 1.0; - _stepInterval = 0; - _minPulseWidth = 1; - _enablePin = 0xff; - _lastStepTime = 0; - _pin[0] = pin1; - _pin[1] = pin2; - _pin[2] = pin3; - _pin[3] = pin4; - - // NEW - _n = 0; - _c0 = 0.0; - _cn = 0.0; - _cmin = 1.0; - _direction = DIRECTION_CCW; - - int i; - for (i = 0; i < 4; i++) - _pinInverted[i] = 0; - if (enable) - enableOutputs(); - // Some reasonable default - setAcceleration(1); -} - -AccelStepper::AccelStepper(void (*forward)(), void (*backward)()) -{ - _interface = 0; - _currentPos = 0; - _targetPos = 0; - _speed = 0.0; - _maxSpeed = 1.0; - _acceleration = 0.0; - _sqrt_twoa = 1.0; - _stepInterval = 0; - _minPulseWidth = 1; - _enablePin = 0xff; - _lastStepTime = 0; - _pin[0] = 0; - _pin[1] = 0; - _pin[2] = 0; - _pin[3] = 0; - _forward = forward; - _backward = backward; - - // NEW - _n = 0; - _c0 = 0.0; - _cn = 0.0; - _cmin = 1.0; - _direction = DIRECTION_CCW; - - int i; - for (i = 0; i < 4; i++) - _pinInverted[i] = 0; - // Some reasonable default - setAcceleration(1); -} - -void AccelStepper::setMaxSpeed(float speed) -{ - if (_maxSpeed != speed) - { - _maxSpeed = speed; - _cmin = 1000000.0 / speed; - // Recompute _n from current speed and adjust speed if accelerating or cruising - if (_n > 0) - { - _n = (long)((_speed * _speed) / (2.0 * _acceleration)); // Equation 16 - computeNewSpeed(); - } - } -} - -void AccelStepper::setAcceleration(float acceleration) -{ - if (acceleration == 0.0) - return; - if (_acceleration != acceleration) - { - // Recompute _n per Equation 17 - _n = _n * (_acceleration / acceleration); - // New c0 per Equation 7, with correction per Equation 15 - _c0 = 0.676 * sqrt(2.0 / acceleration) * 1000000.0; // Equation 15 - _acceleration = acceleration; - computeNewSpeed(); - } -} - -void AccelStepper::setSpeed(float speed) -{ - if (speed == _speed) - return; - speed = constrain(speed, -_maxSpeed, _maxSpeed); - if (speed == 0.0) - _stepInterval = 0; - else - { - _stepInterval = fabs(1000000.0 / speed); - _direction = (speed > 0.0) ? DIRECTION_CW : DIRECTION_CCW; - } - _speed = speed; -} - -float AccelStepper::speed() -{ - return _speed; -} - -// Subclasses can override -void AccelStepper::step(long step) -{ - switch (_interface) - { - case FUNCTION: - step0(step); - break; - - case DRIVER: - step1(step); - break; - - case FULL2WIRE: - step2(step); - break; - - case FULL3WIRE: - step3(step); - break; - - case FULL4WIRE: - step4(step); - break; - - case HALF3WIRE: - step6(step); - break; - - case HALF4WIRE: - step8(step); - break; - } -} - -// You might want to override this to implement eg serial output -// bit 0 of the mask corresponds to _pin[0] -// bit 1 of the mask corresponds to _pin[1] -// .... -void AccelStepper::setOutputPins(uint8_t mask) -{ - uint8_t numpins = 2; - if (_interface == FULL4WIRE || _interface == HALF4WIRE) - numpins = 4; - else if (_interface == FULL3WIRE || _interface == HALF3WIRE) - numpins = 3; - uint8_t i; - for (i = 0; i < numpins; i++) - digitalWrite(_pin[i], (mask & (1 << i)) ? (HIGH ^ _pinInverted[i]) : (LOW ^ _pinInverted[i])); -} - -// 0 pin step function (ie for functional usage) -void AccelStepper::step0(long step) -{ - if (_speed > 0) - _forward(); - else - _backward(); -} - -// 1 pin step function (ie for stepper drivers) -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step1(long step) -{ - // _pin[0] is step, _pin[1] is direction - setOutputPins(_direction ? 0b10 : 0b00); // Set direction first else get rogue pulses - setOutputPins(_direction ? 0b11 : 0b01); // step HIGH - // Caution 200ns setup time - // Delay the minimum allowed pulse width - delayMicroseconds(_minPulseWidth); - setOutputPins(_direction ? 0b10 : 0b00); // step LOW - -} - - -// 2 pin step function -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step2(long step) -{ - switch (step & 0x3) - { - case 0: /* 01 */ - setOutputPins(0b10); - break; - - case 1: /* 11 */ - setOutputPins(0b11); - break; - - case 2: /* 10 */ - setOutputPins(0b01); - break; - - case 3: /* 00 */ - setOutputPins(0b00); - break; - } -} -// 3 pin step function -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step3(long step) -{ - switch (step % 3) - { - case 0: // 100 - setOutputPins(0b100); - break; - - case 1: // 001 - setOutputPins(0b001); - break; - - case 2: //010 - setOutputPins(0b010); - break; - - } -} - -// 4 pin step function for half stepper -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step4(long step) -{ - switch (step & 0x3) - { - case 0: // 1010 - setOutputPins(0b0101); - break; - - case 1: // 0110 - setOutputPins(0b0110); - break; - - case 2: //0101 - setOutputPins(0b1010); - break; - - case 3: //1001 - setOutputPins(0b1001); - break; - } -} - -// 3 pin half step function -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step6(long step) -{ - switch (step % 6) - { - case 0: // 100 - setOutputPins(0b100); - break; - - case 1: // 101 - setOutputPins(0b101); - break; - - case 2: // 001 - setOutputPins(0b001); - break; - - case 3: // 011 - setOutputPins(0b011); - break; - - case 4: // 010 - setOutputPins(0b010); - break; - - case 5: // 011 - setOutputPins(0b110); - break; - - } -} - -// 4 pin half step function -// This is passed the current step number (0 to 7) -// Subclasses can override -void AccelStepper::step8(long step) -{ - switch (step & 0x7) - { - case 0: // 1000 - setOutputPins(0b0001); - break; - - case 1: // 1010 - setOutputPins(0b0101); - break; - - case 2: // 0010 - setOutputPins(0b0100); - break; - - case 3: // 0110 - setOutputPins(0b0110); - break; - - case 4: // 0100 - setOutputPins(0b0010); - break; - - case 5: //0101 - setOutputPins(0b1010); - break; - - case 6: // 0001 - setOutputPins(0b1000); - break; - - case 7: //1001 - setOutputPins(0b1001); - break; - } -} - -// Prevents power consumption on the outputs -void AccelStepper::disableOutputs() -{ - if (! _interface) return; - - setOutputPins(0); // Handles inversion automatically - if (_enablePin != 0xff) - digitalWrite(_enablePin, LOW ^ _enableInverted); -} - -void AccelStepper::enableOutputs() -{ - if (! _interface) - return; - - pinMode(_pin[0], OUTPUT); - pinMode(_pin[1], OUTPUT); - if (_interface == FULL4WIRE || _interface == HALF4WIRE) - { - pinMode(_pin[2], OUTPUT); - pinMode(_pin[3], OUTPUT); - } - else if (_interface == FULL3WIRE || _interface == HALF3WIRE) - { - pinMode(_pin[2], OUTPUT); - } - - if (_enablePin != 0xff) - { - pinMode(_enablePin, OUTPUT); - digitalWrite(_enablePin, HIGH ^ _enableInverted); - } -} - -void AccelStepper::setMinPulseWidth(unsigned int minWidth) -{ - _minPulseWidth = minWidth; -} - -void AccelStepper::setEnablePin(uint8_t enablePin) -{ - _enablePin = enablePin; - - // This happens after construction, so init pin now. - if (_enablePin != 0xff) - { - pinMode(_enablePin, OUTPUT); - digitalWrite(_enablePin, HIGH ^ _enableInverted); - } -} - -void AccelStepper::setPinsInverted(bool directionInvert, bool stepInvert, bool enableInvert) -{ - _pinInverted[0] = stepInvert; - _pinInverted[1] = directionInvert; - _enableInverted = enableInvert; -} - -void AccelStepper::setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert) -{ - _pinInverted[0] = pin1Invert; - _pinInverted[1] = pin2Invert; - _pinInverted[2] = pin3Invert; - _pinInverted[3] = pin4Invert; - _enableInverted = enableInvert; -} - -// Blocks until the target position is reached and stopped -void AccelStepper::runToPosition() -{ - while (run()) - ; -} - -boolean AccelStepper::runSpeedToPosition() -{ - if (_targetPos == _currentPos) - return false; - if (_targetPos >_currentPos) - _direction = DIRECTION_CW; - else - _direction = DIRECTION_CCW; - return runSpeed(); -} - -// Blocks until the new target position is reached -void AccelStepper::runToNewPosition(long position) -{ - moveTo(position); - runToPosition(); -} - -void AccelStepper::stop() -{ - if (_speed != 0.0) - { - long stepsToStop = (long)((_speed * _speed) / (2.0 * _acceleration)) + 1; // Equation 16 (+integer rounding) - if (_speed > 0) - move(stepsToStop); - else - move(-stepsToStop); - } -} diff --git a/firmware/libraries/AccelStepper/AccelStepper.h b/firmware/libraries/AccelStepper/AccelStepper.h deleted file mode 100644 index 26f9436..0000000 --- a/firmware/libraries/AccelStepper/AccelStepper.h +++ /dev/null @@ -1,666 +0,0 @@ -// AccelStepper.h -// -/// \mainpage AccelStepper library for Arduino -/// -/// This is the Arduino AccelStepper library. -/// It provides an object-oriented interface for 2, 3 or 4 pin stepper motors. -/// -/// The standard Arduino IDE includes the Stepper library -/// (http://arduino.cc/en/Reference/Stepper) for stepper motors. It is -/// perfectly adequate for simple, single motor applications. -/// -/// AccelStepper significantly improves on the standard Arduino Stepper library in several ways: -/// \li Supports acceleration and deceleration -/// \li Supports multiple simultaneous steppers, with independent concurrent stepping on each stepper -/// \li API functions never delay() or block -/// \li Supports 2, 3 and 4 wire steppers, plus 3 and 4 wire half steppers. -/// \li Supports alternate stepping functions to enable support of AFMotor (https://github.com/adafruit/Adafruit-Motor-Shield-library) -/// \li Supports stepper drivers such as the Sparkfun EasyDriver (based on 3967 driver chip) -/// \li Very slow speeds are supported -/// \li Extensive API -/// \li Subclass support -/// -/// The latest version of this documentation can be downloaded from -/// http://www.airspayce.com/mikem/arduino/AccelStepper -/// The version of the package that this documentation refers to can be downloaded -/// from http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.47.zip -/// -/// Example Arduino programs are included to show the main modes of use. -/// -/// You can also find online help and discussion at http://groups.google.com/group/accelstepper -/// Please use that group for all questions and discussions on this topic. -/// Do not contact the author directly, unless it is to discuss commercial licensing. -/// Before asking a question or reporting a bug, please read http://www.catb.org/esr/faqs/smart-questions.html -/// -/// Tested on Arduino Diecimila and Mega with arduino-0018 & arduino-0021 -/// on OpenSuSE 11.1 and avr-libc-1.6.1-1.15, -/// cross-avr-binutils-2.19-9.1, cross-avr-gcc-4.1.3_20080612-26.5. -/// Tested on Teensy http://www.pjrc.com/teensy including Teensy 3.1 built using Arduino IDE 1.0.5 with -/// teensyduino addon 1.18 and later. -/// -/// \par Installation -/// -/// Install in the usual way: unzip the distribution zip file to the libraries -/// sub-folder of your sketchbook. -/// -/// \par Theory -/// -/// This code uses speed calculations as described in -/// "Generate stepper-motor speed profiles in real time" by David Austin -/// http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf -/// with the exception that AccelStepper uses steps per second rather than radians per second -/// (because we dont know the step angle of the motor) -/// An initial step interval is calculated for the first step, based on the desired acceleration -/// On subsequent steps, shorter step intervals are calculated based -/// on the previous step until max speed is achieved. -/// -/// \par Donations -/// -/// This library is offered under a free GPL license for those who want to use it that way. -/// We try hard to keep it up to date, fix bugs -/// and to provide free support. If this library has helped you save time or money, please consider donating at -/// http://www.airspayce.com or here: -/// -/// \htmlonly <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_donations" /> <input type="hidden" name="business" value="mikem@airspayce.com" /> <input type="hidden" name="lc" value="AU" /> <input type="hidden" name="item_name" value="Airspayce" /> <input type="hidden" name="item_number" value="AccelStepper" /> <input type="hidden" name="currency_code" value="USD" /> <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" /> <input type="image" alt="PayPal — The safer, easier way to pay online." name="submit" src="https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif" /> <img alt="" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1" border="0" /></form> \endhtmlonly -/// -/// \par Trademarks -/// -/// AccelStepper is a trademark of AirSpayce Pty Ltd. The AccelStepper mark was first used on April 26 2010 for -/// international trade, and is used only in relation to motor control hardware and software. -/// It is not to be confused with any other similar marks covering other goods and services. -/// -/// \par Copyright -/// -/// This software is Copyright (C) 2010 Mike McCauley. Use is subject to license -/// conditions. The main licensing options available are GPL V2 or Commercial: -/// -/// \par Open Source Licensing GPL V2 -/// This is the appropriate option if you want to share the source code of your -/// application with everyone you distribute it to, and you also want to give them -/// the right to share who uses it. If you wish to use this software under Open -/// Source Licensing, you must contribute all your source code to the open source -/// community in accordance with the GPL Version 2 when your application is -/// distributed. See http://www.gnu.org/copyleft/gpl.html -/// -/// \par Commercial Licensing -/// This is the appropriate option if you are creating proprietary applications -/// and you are not prepared to distribute and share the source code of your -/// application. Contact info@airspayce.com for details. -/// -/// \par Revision History -/// \version 1.0 Initial release -/// -/// \version 1.1 Added speed() function to get the current speed. -/// \version 1.2 Added runSpeedToPosition() submitted by Gunnar Arndt. -/// \version 1.3 Added support for stepper drivers (ie with Step and Direction inputs) with _pins == 1 -/// \version 1.4 Added functional contructor to support AFMotor, contributed by Limor, with example sketches. -/// \version 1.5 Improvements contributed by Peter Mousley: Use of microsecond steps and other speed improvements -/// to increase max stepping speed to about 4kHz. New option for user to set the min allowed pulse width. -/// Added checks for already running at max speed and skip further calcs if so. -/// \version 1.6 Fixed a problem with wrapping of microsecond stepping that could cause stepping to hang. -/// Reported by Sandy Noble. -/// Removed redundant _lastRunTime member. -/// \version 1.7 Fixed a bug where setCurrentPosition() did not always work as expected. -/// Reported by Peter Linhart. -/// \version 1.8 Added support for 4 pin half-steppers, requested by Harvey Moon -/// \version 1.9 setCurrentPosition() now also sets motor speed to 0. -/// \version 1.10 Builds on Arduino 1.0 -/// \version 1.11 Improvments from Michael Ellison: -/// Added optional enable line support for stepper drivers -/// Added inversion for step/direction/enable lines for stepper drivers -/// \version 1.12 Announce Google Group -/// \version 1.13 Improvements to speed calculation. Cost of calculation is now less in the worst case, -/// and more or less constant in all cases. This should result in slightly beter high speed performance, and -/// reduce anomalous speed glitches when other steppers are accelerating. -/// However, its hard to see how to replace the sqrt() required at the very first step from 0 speed. -/// \version 1.14 Fixed a problem with compiling under arduino 0021 reported by EmbeddedMan -/// \version 1.15 Fixed a problem with runSpeedToPosition which did not correctly handle -/// running backwards to a smaller target position. Added examples -/// \version 1.16 Fixed some cases in the code where abs() was used instead of fabs(). -/// \version 1.17 Added example ProportionalControl -/// \version 1.18 Fixed a problem: If one calls the funcion runSpeed() when Speed is zero, it makes steps -/// without counting. reported by Friedrich, Klappenbach. -/// \version 1.19 Added MotorInterfaceType and symbolic names for the number of pins to use -/// for the motor interface. Updated examples to suit. -/// Replaced individual pin assignment variables _pin1, _pin2 etc with array _pin[4]. -/// _pins member changed to _interface. -/// Added _pinInverted array to simplify pin inversion operations. -/// Added new function setOutputPins() which sets the motor output pins. -/// It can be overridden in order to provide, say, serial output instead of parallel output -/// Some refactoring and code size reduction. -/// \version 1.20 Improved documentation and examples to show need for correctly -/// specifying AccelStepper::FULL4WIRE and friends. -/// \version 1.21 Fixed a problem where desiredSpeed could compute the wrong step acceleration -/// when _speed was small but non-zero. Reported by Brian Schmalz. -/// Precompute sqrt_twoa to improve performance and max possible stepping speed -/// \version 1.22 Added Bounce.pde example -/// Fixed a problem where calling moveTo(), setMaxSpeed(), setAcceleration() more -/// frequently than the step time, even -/// with the same values, would interfere with speed calcs. Now a new speed is computed -/// only if there was a change in the set value. Reported by Brian Schmalz. -/// \version 1.23 Rewrite of the speed algorithms in line with -/// http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf -/// Now expect smoother and more linear accelerations and decelerations. The desiredSpeed() -/// function was removed. -/// \version 1.24 Fixed a problem introduced in 1.23: with runToPosition, which did never returned -/// \version 1.25 Now ignore attempts to set acceleration to 0.0 -/// \version 1.26 Fixed a problem where certina combinations of speed and accelration could cause -/// oscillation about the target position. -/// \version 1.27 Added stop() function to stop as fast as possible with current acceleration parameters. -/// Also added new Quickstop example showing its use. -/// \version 1.28 Fixed another problem where certain combinations of speed and accelration could cause -/// oscillation about the target position. -/// Added support for 3 wire full and half steppers such as Hard Disk Drive spindle. -/// Contributed by Yuri Ivatchkovitch. -/// \version 1.29 Fixed a problem that could cause a DRIVER stepper to continually step -/// with some sketches. Reported by Vadim. -/// \version 1.30 Fixed a problem that could cause stepper to back up a few steps at the end of -/// accelerated travel with certain speeds. Reported and patched by jolo. -/// \version 1.31 Updated author and distribution location details to airspayce.com -/// \version 1.32 Fixed a problem with enableOutputs() and setEnablePin on Arduino Due that -/// prevented the enable pin changing stae correctly. Reported by Duane Bishop. -/// \version 1.33 Fixed an error in example AFMotor_ConstantSpeed.pde did not setMaxSpeed(); -/// Fixed a problem that caused incorrect pin sequencing of FULL3WIRE and HALF3WIRE. -/// Unfortunately this meant changing the signature for all step*() functions. -/// Added example MotorShield, showing how to use AdaFruit Motor Shield to control -/// a 3 phase motor such as a HDD spindle motor (and without using the AFMotor library. -/// \version 1.34 Added setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert) -/// to allow inversion of 2, 3 and 4 wire stepper pins. Requested by Oleg. -/// \version 1.35 Removed default args from setPinsInverted(bool, bool, bool, bool, bool) to prevent ambiguity with -/// setPinsInverted(bool, bool, bool). Reported by Mac Mac. -/// \version 1.36 Changed enableOutputs() and disableOutputs() to be virtual so can be overridden. -/// Added new optional argument 'enable' to constructor, which allows you toi disable the -/// automatic enabling of outputs at construction time. Suggested by Guido. -/// \version 1.37 Fixed a problem with step1 that could cause a rogue step in the -/// wrong direction (or not, -/// depending on the setup-time requirements of the connected hardware). -/// Reported by Mark Tillotson. -/// \version 1.38 run() function incorrectly always returned true. Updated function and doc so it returns true -/// if the motor is still running to the target position. -/// \version 1.39 Updated typos in keywords.txt, courtesey Jon Magill. -/// \version 1.40 Updated documentation, including testing on Teensy 3.1 -/// \version 1.41 Fixed an error in the acceleration calculations, resulting in acceleration of haldf the intended value -/// \version 1.42 Improved support for FULL3WIRE and HALF3WIRE output pins. These changes were in Yuri's original -/// contribution but did not make it into production.<br> -/// \version 1.43 Added DualMotorShield example. Shows how to use AccelStepper to control 2 x 2 phase steppers using the -/// Itead Studio Arduino Dual Stepper Motor Driver Shield model IM120417015.<br> -/// \version 1.44 examples/DualMotorShield/DualMotorShield.ino examples/DualMotorShield/DualMotorShield.pde -/// was missing from the distribution.<br> -/// \version 1.45 Fixed a problem where if setAcceleration was not called, there was no default -/// acceleration. Reported by Michael Newman.<br> -/// \version 1.45 Fixed inaccuracy in acceleration rate by using Equation 15, suggested by Sebastian Gracki.<br> -/// Performance improvements in runSpeed suggested by Jaakko Fagerlund.<br> -/// \version 1.46 Fixed error in documentation for runToPosition(). -/// Reinstated time calculations in runSpeed() since new version is reported -/// not to work correctly under some circumstances. Reported by Oleg V Gavva.<br> - -/// -/// \author Mike McCauley (mikem@airspayce.com) DO NOT CONTACT THE AUTHOR DIRECTLY: USE THE LISTS -// Copyright (C) 2009-2013 Mike McCauley -// $Id: AccelStepper.h,v 1.21 2014/10/31 06:05:30 mikem Exp mikem $ - -#ifndef AccelStepper_h -#define AccelStepper_h - -#include <stdlib.h> -#if ARDUINO >= 100 -#include <Arduino.h> -#else -#include <WProgram.h> -#include <wiring.h> -#endif - -// These defs cause trouble on some versions of Arduino -#undef round - -///////////////////////////////////////////////////////////////////// -/// \class AccelStepper AccelStepper.h <AccelStepper.h> -/// \brief Support for stepper motors with acceleration etc. -/// -/// This defines a single 2 or 4 pin stepper motor, or stepper moter with fdriver chip, with optional -/// acceleration, deceleration, absolute positioning commands etc. Multiple -/// simultaneous steppers are supported, all moving -/// at different speeds and accelerations. -/// -/// \par Operation -/// This module operates by computing a step time in microseconds. The step -/// time is recomputed after each step and after speed and acceleration -/// parameters are changed by the caller. The time of each step is recorded in -/// microseconds. The run() function steps the motor once if a new step is due. -/// The run() function must be called frequently until the motor is in the -/// desired position, after which time run() will do nothing. -/// -/// \par Positioning -/// Positions are specified by a signed long integer. At -/// construction time, the current position of the motor is consider to be 0. Positive -/// positions are clockwise from the initial position; negative positions are -/// anticlockwise. The current position can be altered for instance after -/// initialization positioning. -/// -/// \par Caveats -/// This is an open loop controller: If the motor stalls or is oversped, -/// AccelStepper will not have a correct -/// idea of where the motor really is (since there is no feedback of the motor's -/// real position. We only know where we _think_ it is, relative to the -/// initial starting point). -/// -/// \par Performance -/// The fastest motor speed that can be reliably supported is about 4000 steps per -/// second at a clock frequency of 16 MHz on Arduino such as Uno etc. -/// Faster processors can support faster stepping speeds. -/// However, any speed less than that -/// down to very slow speeds (much less than one per second) are also supported, -/// provided the run() function is called frequently enough to step the motor -/// whenever required for the speed set. -/// Calling setAcceleration() is expensive, -/// since it requires a square root to be calculated. -class AccelStepper -{ -public: - /// \brief Symbolic names for number of pins. - /// Use this in the pins argument the AccelStepper constructor to - /// provide a symbolic name for the number of pins - /// to use. - typedef enum - { - FUNCTION = 0, ///< Use the functional interface, implementing your own driver functions (internal use only) - DRIVER = 1, ///< Stepper Driver, 2 driver pins required - FULL2WIRE = 2, ///< 2 wire stepper, 2 motor pins required - FULL3WIRE = 3, ///< 3 wire stepper, such as HDD spindle, 3 motor pins required - FULL4WIRE = 4, ///< 4 wire full stepper, 4 motor pins required - HALF3WIRE = 6, ///< 3 wire half stepper, such as HDD spindle, 3 motor pins required - HALF4WIRE = 8 ///< 4 wire half stepper, 4 motor pins required - } MotorInterfaceType; - - /// Constructor. You can have multiple simultaneous steppers, all moving - /// at different speeds and accelerations, provided you call their run() - /// functions at frequent enough intervals. Current Position is set to 0, target - /// position is set to 0. MaxSpeed and Acceleration default to 1.0. - /// The motor pins will be initialised to OUTPUT mode during the - /// constructor by a call to enableOutputs(). - /// \param[in] interface Number of pins to interface to. 1, 2, 4 or 8 are - /// supported, but it is preferred to use the \ref MotorInterfaceType symbolic names. - /// AccelStepper::DRIVER (1) means a stepper driver (with Step and Direction pins). - /// If an enable line is also needed, call setEnablePin() after construction. - /// You may also invert the pins using setPinsInverted(). - /// AccelStepper::FULL2WIRE (2) means a 2 wire stepper (2 pins required). - /// AccelStepper::FULL3WIRE (3) means a 3 wire stepper, such as HDD spindle (3 pins required). - /// AccelStepper::FULL4WIRE (4) means a 4 wire stepper (4 pins required). - /// AccelStepper::HALF3WIRE (6) means a 3 wire half stepper, such as HDD spindle (3 pins required) - /// AccelStepper::HALF4WIRE (8) means a 4 wire half stepper (4 pins required) - /// Defaults to AccelStepper::FULL4WIRE (4) pins. - /// \param[in] pin1 Arduino digital pin number for motor pin 1. Defaults - /// to pin 2. For a AccelStepper::DRIVER (interface==1), - /// this is the Step input to the driver. Low to high transition means to step) - /// \param[in] pin2 Arduino digital pin number for motor pin 2. Defaults - /// to pin 3. For a AccelStepper::DRIVER (interface==1), - /// this is the Direction input the driver. High means forward. - /// \param[in] pin3 Arduino digital pin number for motor pin 3. Defaults - /// to pin 4. - /// \param[in] pin4 Arduino digital pin number for motor pin 4. Defaults - /// to pin 5. - /// \param[in] enable If this is true (the default), enableOutputs() will be called to enable - /// the output pins at construction time. - AccelStepper(uint8_t interface = AccelStepper::FULL4WIRE, uint8_t pin1 = 2, uint8_t pin2 = 3, uint8_t pin3 = 4, uint8_t pin4 = 5, bool enable = true); - - /// Alternate Constructor which will call your own functions for forward and backward steps. - /// You can have multiple simultaneous steppers, all moving - /// at different speeds and accelerations, provided you call their run() - /// functions at frequent enough intervals. Current Position is set to 0, target - /// position is set to 0. MaxSpeed and Acceleration default to 1.0. - /// Any motor initialization should happen before hand, no pins are used or initialized. - /// \param[in] forward void-returning procedure that will make a forward step - /// \param[in] backward void-returning procedure that will make a backward step - AccelStepper(void (*forward)(), void (*backward)()); - - /// Set the target position. The run() function will try to move the motor (at most one step per call) - /// from the current position to the target position set by the most - /// recent call to this function. Caution: moveTo() also recalculates the speed for the next step. - /// If you are trying to use constant speed movements, you should call setSpeed() after calling moveTo(). - /// \param[in] absolute The desired absolute position. Negative is - /// anticlockwise from the 0 position. - void moveTo(long absolute); - - /// Set the target position relative to the current position - /// \param[in] relative The desired position relative to the current position. Negative is - /// anticlockwise from the current position. - void move(long relative); - - /// Poll the motor and step it if a step is due, implementing - /// accelerations and decelerations to acheive the target position. You must call this as - /// frequently as possible, but at least once per minimum step time interval, - /// preferably in your main loop. Note that each call to run() will make at most one step, and then only when a step is due, - /// based on the current speed and the time since the last step. - /// \return true if the motor is still running to the target position. - boolean run(); - - /// Poll the motor and step it if a step is due, implementing a constant - /// speed as set by the most recent call to setSpeed(). You must call this as - /// frequently as possible, but at least once per step interval, - /// \return true if the motor was stepped. - boolean runSpeed(); - - /// Sets the maximum permitted speed. The run() function will accelerate - /// up to the speed set by this function. - /// Caution: the maximum speed achievable depends on your processor and clock speed. - /// \param[in] speed The desired maximum speed in steps per second. Must - /// be > 0. Caution: Speeds that exceed the maximum speed supported by the processor may - /// Result in non-linear accelerations and decelerations. - void setMaxSpeed(float speed); - - /// Sets the acceleration/deceleration rate. - /// \param[in] acceleration The desired acceleration in steps per second - /// per second. Must be > 0.0. This is an expensive call since it requires a square - /// root to be calculated. Dont call more ofthen than needed - void setAcceleration(float acceleration); - - /// Sets the desired constant speed for use with runSpeed(). - /// \param[in] speed The desired constant speed in steps per - /// second. Positive is clockwise. Speeds of more than 1000 steps per - /// second are unreliable. Very slow speeds may be set (eg 0.00027777 for - /// once per hour, approximately. Speed accuracy depends on the Arduino - /// crystal. Jitter depends on how frequently you call the runSpeed() function. - void setSpeed(float speed); - - /// The most recently set speed - /// \return the most recent speed in steps per second - float speed(); - - /// The distance from the current position to the target position. - /// \return the distance from the current position to the target position - /// in steps. Positive is clockwise from the current position. - long distanceToGo(); - - /// The most recently set target position. - /// \return the target position - /// in steps. Positive is clockwise from the 0 position. - long targetPosition(); - - /// The currently motor position. - /// \return the current motor position - /// in steps. Positive is clockwise from the 0 position. - long currentPosition(); - - /// Resets the current position of the motor, so that wherever the motor - /// happens to be right now is considered to be the new 0 position. Useful - /// for setting a zero position on a stepper after an initial hardware - /// positioning move. - /// Has the side effect of setting the current motor speed to 0. - /// \param[in] position The position in steps of wherever the motor - /// happens to be right now. - void setCurrentPosition(long position); - - /// Moves the motor (with acceleration/deceleration) - /// to the target position and blocks until it is at - /// position. Dont use this in event loops, since it blocks. - void runToPosition(); - - /// Runs at the currently selected speed until the target position is reached - /// Does not implement accelerations. - /// \return true if it stepped - boolean runSpeedToPosition(); - - /// Moves the motor (with acceleration/deceleration) - /// to the new target position and blocks until it is at - /// position. Dont use this in event loops, since it blocks. - /// \param[in] position The new target position. - void runToNewPosition(long position); - - /// Sets a new target position that causes the stepper - /// to stop as quickly as possible, using the current speed and acceleration parameters. - void stop(); - - /// Disable motor pin outputs by setting them all LOW - /// Depending on the design of your electronics this may turn off - /// the power to the motor coils, saving power. - /// This is useful to support Arduino low power modes: disable the outputs - /// during sleep and then reenable with enableOutputs() before stepping - /// again. - virtual void disableOutputs(); - - /// Enable motor pin outputs by setting the motor pins to OUTPUT - /// mode. Called automatically by the constructor. - virtual void enableOutputs(); - - /// Sets the minimum pulse width allowed by the stepper driver. The minimum practical pulse width is - /// approximately 20 microseconds. Times less than 20 microseconds - /// will usually result in 20 microseconds or so. - /// \param[in] minWidth The minimum pulse width in microseconds. - void setMinPulseWidth(unsigned int minWidth); - - /// Sets the enable pin number for stepper drivers. - /// 0xFF indicates unused (default). - /// Otherwise, if a pin is set, the pin will be turned on when - /// enableOutputs() is called and switched off when disableOutputs() - /// is called. - /// \param[in] enablePin Arduino digital pin number for motor enable - /// \sa setPinsInverted - void setEnablePin(uint8_t enablePin = 0xff); - - /// Sets the inversion for stepper driver pins - /// \param[in] directionInvert True for inverted direction pin, false for non-inverted - /// \param[in] stepInvert True for inverted step pin, false for non-inverted - /// \param[in] enableInvert True for inverted enable pin, false (default) for non-inverted - void setPinsInverted(bool directionInvert = false, bool stepInvert = false, bool enableInvert = false); - - /// Sets the inversion for 2, 3 and 4 wire stepper pins - /// \param[in] pin1Invert True for inverted pin1, false for non-inverted - /// \param[in] pin2Invert True for inverted pin2, false for non-inverted - /// \param[in] pin3Invert True for inverted pin3, false for non-inverted - /// \param[in] pin4Invert True for inverted pin4, false for non-inverted - /// \param[in] enableInvert True for inverted enable pin, false (default) for non-inverted - void setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert); - -protected: - - /// \brief Direction indicator - /// Symbolic names for the direction the motor is turning - typedef enum - { - DIRECTION_CCW = 0, ///< Clockwise - DIRECTION_CW = 1 ///< Counter-Clockwise - } Direction; - - /// Forces the library to compute a new instantaneous speed and set that as - /// the current speed. It is called by - /// the library: - /// \li after each step - /// \li after change to maxSpeed through setMaxSpeed() - /// \li after change to acceleration through setAcceleration() - /// \li after change to target position (relative or absolute) through - /// move() or moveTo() - void computeNewSpeed(); - - /// Low level function to set the motor output pins - /// bit 0 of the mask corresponds to _pin[0] - /// bit 1 of the mask corresponds to _pin[1] - /// You can override this to impment, for example serial chip output insted of using the - /// output pins directly - virtual void setOutputPins(uint8_t mask); - - /// Called to execute a step. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default calls step1(), step2(), step4() or step8() depending on the - /// number of pins defined for the stepper. - /// \param[in] step The current step phase number (0 to 7) - virtual void step(long step); - - /// Called to execute a step using stepper functions (pins = 0) Only called when a new step is - /// required. Calls _forward() or _backward() to perform the step - /// \param[in] step The current step phase number (0 to 7) - virtual void step0(long step); - - /// Called to execute a step on a stepper driver (ie where pins == 1). Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of Step pin1 to step, - /// and sets the output of _pin2 to the desired direction. The Step pin (_pin1) is pulsed for 1 microsecond - /// which is the minimum STEP pulse width for the 3967 driver. - /// \param[in] step The current step phase number (0 to 7) - virtual void step1(long step); - - /// Called to execute a step on a 2 pin motor. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of pin1 and pin2 - /// \param[in] step The current step phase number (0 to 7) - virtual void step2(long step); - - /// Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of pin1, pin2, - /// pin3 - /// \param[in] step The current step phase number (0 to 7) - virtual void step3(long step); - - /// Called to execute a step on a 4 pin motor. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of pin1, pin2, - /// pin3, pin4. - /// \param[in] step The current step phase number (0 to 7) - virtual void step4(long step); - - /// Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of pin1, pin2, - /// pin3 - /// \param[in] step The current step phase number (0 to 7) - virtual void step6(long step); - - /// Called to execute a step on a 4 pin half-steper motor. Only called when a new step is - /// required. Subclasses may override to implement new stepping - /// interfaces. The default sets or clears the outputs of pin1, pin2, - /// pin3, pin4. - /// \param[in] step The current step phase number (0 to 7) - virtual void step8(long step); - -private: - /// Number of pins on the stepper motor. Permits 2 or 4. 2 pins is a - /// bipolar, and 4 pins is a unipolar. - uint8_t _interface; // 0, 1, 2, 4, 8, See MotorInterfaceType - - /// Arduino pin number assignments for the 2 or 4 pins required to interface to the - /// stepper motor or driver - uint8_t _pin[4]; - - /// Whether the _pins is inverted or not - uint8_t _pinInverted[4]; - - /// The current absolution position in steps. - long _currentPos; // Steps - - /// The target position in steps. The AccelStepper library will move the - /// motor from the _currentPos to the _targetPos, taking into account the - /// max speed, acceleration and deceleration - long _targetPos; // Steps - - /// The current motos speed in steps per second - /// Positive is clockwise - float _speed; // Steps per second - - /// The maximum permitted speed in steps per second. Must be > 0. - float _maxSpeed; - - /// The acceleration to use to accelerate or decelerate the motor in steps - /// per second per second. Must be > 0 - float _acceleration; - float _sqrt_twoa; // Precomputed sqrt(2*_acceleration) - - /// The current interval between steps in microseconds. - /// 0 means the motor is currently stopped with _speed == 0 - unsigned long _stepInterval; - - /// The last step time in microseconds - unsigned long _lastStepTime; - - /// The minimum allowed pulse width in microseconds - unsigned int _minPulseWidth; - - /// Is the direction pin inverted? - ///bool _dirInverted; /// Moved to _pinInverted[1] - - /// Is the step pin inverted? - ///bool _stepInverted; /// Moved to _pinInverted[0] - - /// Is the enable pin inverted? - bool _enableInverted; - - /// Enable pin for stepper driver, or 0xFF if unused. - uint8_t _enablePin; - - /// The pointer to a forward-step procedure - void (*_forward)(); - - /// The pointer to a backward-step procedure - void (*_backward)(); - - /// The step counter for speed calculations - long _n; - - /// Initial step size in microseconds - float _c0; - - /// Last step size in microseconds - float _cn; - - /// Min step size in microseconds based on maxSpeed - float _cmin; // at max speed - - /// Current direction motor is spinning in - boolean _direction; // 1 == CW - -}; - -/// @example Random.pde -/// Make a single stepper perform random changes in speed, position and acceleration - -/// @example Overshoot.pde -/// Check overshoot handling -/// which sets a new target position and then waits until the stepper has -/// achieved it. This is used for testing the handling of overshoots - -/// @example MultiStepper.pde -/// Shows how to multiple simultaneous steppers -/// Runs one stepper forwards and backwards, accelerating and decelerating -/// at the limits. Runs other steppers at the same time - -/// @example ConstantSpeed.pde -/// Shows how to run AccelStepper in the simplest, -/// fixed speed mode with no accelerations - -/// @example Blocking.pde -/// Shows how to use the blocking call runToNewPosition -/// Which sets a new target position and then waits until the stepper has -/// achieved it. - -/// @example AFMotor_MultiStepper.pde -/// Control both Stepper motors at the same time with different speeds -/// and accelerations. - -/// @example AFMotor_ConstantSpeed.pde -/// Shows how to run AccelStepper in the simplest, -/// fixed speed mode with no accelerations - -/// @example ProportionalControl.pde -/// Make a single stepper follow the analog value read from a pot or whatever -/// The stepper will move at a constant speed to each newly set posiiton, -/// depending on the value of the pot. - -/// @example Bounce.pde -/// Make a single stepper bounce from one limit to another, observing -/// accelrations at each end of travel - -/// @example Quickstop.pde -/// Check stop handling. -/// Calls stop() while the stepper is travelling at full speed, causing -/// the stepper to stop as quickly as possible, within the constraints of the -/// current acceleration. - -/// @example MotorShield.pde -/// Shows how to use AccelStepper to control a 3-phase motor, such as a HDD spindle motor -/// using the Adafruit Motor Shield http://www.ladyada.net/make/mshield/index.html. - -/// @example DualMotorShield.pde -/// Shows how to use AccelStepper to control 2 x 2 phase steppers using the -/// Itead Studio Arduino Dual Stepper Motor Driver Shield -/// model IM120417015 - -#endif diff --git a/firmware/libraries/AccelStepper/LICENSE b/firmware/libraries/AccelStepper/LICENSE deleted file mode 100644 index da124e1..0000000 --- a/firmware/libraries/AccelStepper/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -This software is Copyright (C) 2008 Mike McCauley. Use is subject to license -conditions. The main licensing options available are GPL V2 or Commercial: - -Open Source Licensing GPL V2 - -This is the appropriate option if you want to share the source code of your -application with everyone you distribute it to, and you also want to give them -the right to share who uses it. If you wish to use this software under Open -Source Licensing, you must contribute all your source code to the open source -community in accordance with the GPL Version 2 when your application is -distributed. See http://www.gnu.org/copyleft/gpl.html - -Commercial Licensing - -This is the appropriate option if you are creating proprietary applications -and you are not prepared to distribute and share the source code of your -application. Contact info@open.com.au for details. diff --git a/firmware/libraries/AccelStepper/MANIFEST b/firmware/libraries/AccelStepper/MANIFEST deleted file mode 100644 index 78ec812..0000000 --- a/firmware/libraries/AccelStepper/MANIFEST +++ /dev/null @@ -1,35 +0,0 @@ -AccelStepper/Makefile -AccelStepper/AccelStepper.h -AccelStepper/AccelStepper.cpp -AccelStepper/MANIFEST -AccelStepper/LICENSE -AccelStepper/project.cfg -AccelStepper/keywords.txt -AccelStepper/doc -AccelStepper/examples/Blocking/Blocking.pde -AccelStepper/examples/MultiStepper/MultiStepper.pde -AccelStepper/examples/Overshoot/Overshoot.pde -AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde -AccelStepper/examples/Random/Random.pde -AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde -AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde -AccelStepper/examples/ProportionalControl/ProportionalControl.pde -AccelStepper/examples/Bounce/Bounce.pde -AccelStepper/examples/Quickstop/Quickstop.pde -AccelStepper/examples/MotorShield/MotorShield.pde -AccelStepper/examples/DualMotorShield/DualMotorShield.pde -AccelStepper/doc -AccelStepper/doc/index.html -AccelStepper/doc/functions.html -AccelStepper/doc/annotated.html -AccelStepper/doc/tab_l.gif -AccelStepper/doc/tabs.css -AccelStepper/doc/files.html -AccelStepper/doc/classAccelStepper-members.html -AccelStepper/doc/doxygen.css -AccelStepper/doc/AccelStepper_8h-source.html -AccelStepper/doc/tab_r.gif -AccelStepper/doc/doxygen.png -AccelStepper/doc/tab_b.gif -AccelStepper/doc/functions_func.html -AccelStepper/doc/classAccelStepper.html diff --git a/firmware/libraries/AccelStepper/Makefile b/firmware/libraries/AccelStepper/Makefile deleted file mode 100644 index 83d1c95..0000000 --- a/firmware/libraries/AccelStepper/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# Makefile -# -# Makefile for the Arduino AccelStepper project -# -# Author: Mike McCauley (mikem@airspayce.com) -# Copyright (C) 2010 Mike McCauley -# $Id: Makefile,v 1.4 2013/03/21 21:48:27 mikem Exp mikem $ - -PROJNAME = AccelStepper -VERSION_MAJOR = 1 -VERSION_MINOR = 47 - -DISTFILE = $(PROJNAME)-$(VERSION_MAJOR).$(VERSION_MINOR).zip - -all: versioning doxygen dist upload - -versioning: - sed -i.bak -e 's/AccelStepper-.*\.zip/$(DISTFILE)/' AccelStepper.h - -doxygen: - doxygen project.cfg - -ci: - (cd ..;ci -l `cat $(PROJNAME)/MANIFEST`) - -dist: - (cd ..; zip $(PROJNAME)/$(DISTFILE) `cat $(PROJNAME)/MANIFEST`) - -upload: - rsync -avz $(DISTFILE) doc/ www.airspayce.com:public_html/mikem/arduino/$(PROJNAME) diff --git a/firmware/libraries/AccelStepper/doc/AccelStepper_8h-source.html b/firmware/libraries/AccelStepper/doc/AccelStepper_8h-source.html deleted file mode 100644 index 098f9f5..0000000 --- a/firmware/libraries/AccelStepper/doc/AccelStepper_8h-source.html +++ /dev/null @@ -1,420 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> -<title>AccelStepper: AccelStepper.h Source File - - - - - -
Generated on Sun Jan 8 17:27:41 2012 for AccelStepper by  - -doxygen 1.5.6
- - diff --git a/firmware/libraries/AccelStepper/doc/annotated.html b/firmware/libraries/AccelStepper/doc/annotated.html deleted file mode 100644 index 43c5723..0000000 --- a/firmware/libraries/AccelStepper/doc/annotated.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - -AccelStepper: Class List - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - -
-
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
- - -
\CAccelStepperSupport for stepper motors with acceleration etc
-
-
- - - - diff --git a/firmware/libraries/AccelStepper/doc/classAccelStepper-members.html b/firmware/libraries/AccelStepper/doc/classAccelStepper-members.html deleted file mode 100644 index 961da97..0000000 --- a/firmware/libraries/AccelStepper/doc/classAccelStepper-members.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -AccelStepper: Member List - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - -
-
-
-
AccelStepper Member List
-
-
- -

This is the complete list of members for AccelStepper, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AccelStepper(uint8_t interface=AccelStepper::FULL4WIRE, uint8_t pin1=2, uint8_t pin2=3, uint8_t pin3=4, uint8_t pin4=5, bool enable=true)AccelStepper
AccelStepper(void(*forward)(), void(*backward)())AccelStepper
computeNewSpeed()AccelStepperprotected
currentPosition()AccelStepper
Direction enum nameAccelStepperprotected
DIRECTION_CCW enum valueAccelStepperprotected
DIRECTION_CW enum valueAccelStepperprotected
disableOutputs()AccelSteppervirtual
distanceToGo()AccelStepper
DRIVER enum valueAccelStepper
enableOutputs()AccelSteppervirtual
FULL2WIRE enum valueAccelStepper
FULL3WIRE enum valueAccelStepper
FULL4WIRE enum valueAccelStepper
FUNCTION enum valueAccelStepper
HALF3WIRE enum valueAccelStepper
HALF4WIRE enum valueAccelStepper
MotorInterfaceType enum nameAccelStepper
move(long relative)AccelStepper
moveTo(long absolute)AccelStepper
run()AccelStepper
runSpeed()AccelStepper
runSpeedToPosition()AccelStepper
runToNewPosition(long position)AccelStepper
runToPosition()AccelStepper
setAcceleration(float acceleration)AccelStepper
setCurrentPosition(long position)AccelStepper
setEnablePin(uint8_t enablePin=0xff)AccelStepper
setMaxSpeed(float speed)AccelStepper
setMinPulseWidth(unsigned int minWidth)AccelStepper
setOutputPins(uint8_t mask)AccelStepperprotectedvirtual
setPinsInverted(bool directionInvert=false, bool stepInvert=false, bool enableInvert=false)AccelStepper
setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert)AccelStepper
setSpeed(float speed)AccelStepper
speed()AccelStepper
step(long step)AccelStepperprotectedvirtual
step0(long step)AccelStepperprotectedvirtual
step1(long step)AccelStepperprotectedvirtual
step2(long step)AccelStepperprotectedvirtual
step3(long step)AccelStepperprotectedvirtual
step4(long step)AccelStepperprotectedvirtual
step6(long step)AccelStepperprotectedvirtual
step8(long step)AccelStepperprotectedvirtual
stop()AccelStepper
targetPosition()AccelStepper
- - - - diff --git a/firmware/libraries/AccelStepper/doc/classAccelStepper.html b/firmware/libraries/AccelStepper/doc/classAccelStepper.html deleted file mode 100644 index f83654d..0000000 --- a/firmware/libraries/AccelStepper/doc/classAccelStepper.html +++ /dev/null @@ -1,1251 +0,0 @@ - - - - - - -AccelStepper: AccelStepper Class Reference - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - -
- -
- -

Support for stepper motors with acceleration etc. - More...

- -

#include <AccelStepper.h>

- - - - - -

-Public Types

enum  MotorInterfaceType {
-  FUNCTION = 0, -DRIVER = 1, -FULL2WIRE = 2, -FULL3WIRE = 3, -
-  FULL4WIRE = 4, -HALF3WIRE = 6, -HALF4WIRE = 8 -
- }
 Symbolic names for number of pins. Use this in the pins argument the AccelStepper constructor to provide a symbolic name for the number of pins to use. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 AccelStepper (uint8_t interface=AccelStepper::FULL4WIRE, uint8_t pin1=2, uint8_t pin2=3, uint8_t pin3=4, uint8_t pin4=5, bool enable=true)
 
 AccelStepper (void(*forward)(), void(*backward)())
 
void moveTo (long absolute)
 
void move (long relative)
 
boolean run ()
 
boolean runSpeed ()
 
void setMaxSpeed (float speed)
 
void setAcceleration (float acceleration)
 
void setSpeed (float speed)
 
float speed ()
 
long distanceToGo ()
 
long targetPosition ()
 
long currentPosition ()
 
void setCurrentPosition (long position)
 
void runToPosition ()
 
boolean runSpeedToPosition ()
 
void runToNewPosition (long position)
 
void stop ()
 
virtual void disableOutputs ()
 
virtual void enableOutputs ()
 
void setMinPulseWidth (unsigned int minWidth)
 
void setEnablePin (uint8_t enablePin=0xff)
 
void setPinsInverted (bool directionInvert=false, bool stepInvert=false, bool enableInvert=false)
 
void setPinsInverted (bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert)
 
- - - - -

-Protected Types

enum  Direction { DIRECTION_CCW = 0, -DIRECTION_CW = 1 - }
 Direction indicator Symbolic names for the direction the motor is turning. More...
 
- - - - - - - - - - - - - - - - - - - - - -

-Protected Member Functions

void computeNewSpeed ()
 
virtual void setOutputPins (uint8_t mask)
 
virtual void step (long step)
 
virtual void step0 (long step)
 
virtual void step1 (long step)
 
virtual void step2 (long step)
 
virtual void step3 (long step)
 
virtual void step4 (long step)
 
virtual void step6 (long step)
 
virtual void step8 (long step)
 
-

Detailed Description

-

Support for stepper motors with acceleration etc.

-
Author
Mike McCauley (mikem.nosp@m.@air.nosp@m.spayc.nosp@m.e.co.nosp@m.m) DO NOT CONTACT THE AUTHOR DIRECTLY: USE THE LISTS
-

This defines a single 2 or 4 pin stepper motor, or stepper moter with fdriver chip, with optional acceleration, deceleration, absolute positioning commands etc. Multiple simultaneous steppers are supported, all moving at different speeds and accelerations.

-
Operation
This module operates by computing a step time in microseconds. The step time is recomputed after each step and after speed and acceleration parameters are changed by the caller. The time of each step is recorded in microseconds. The run() function steps the motor once if a new step is due. The run() function must be called frequently until the motor is in the desired position, after which time run() will do nothing.
-
Positioning
Positions are specified by a signed long integer. At construction time, the current position of the motor is consider to be 0. Positive positions are clockwise from the initial position; negative positions are anticlockwise. The current position can be altered for instance after initialization positioning.
-
Caveats
This is an open loop controller: If the motor stalls or is oversped, AccelStepper will not have a correct idea of where the motor really is (since there is no feedback of the motor's real position. We only know where we think it is, relative to the initial starting point).
-
Performance
The fastest motor speed that can be reliably supported is about 4000 steps per second at a clock frequency of 16 MHz on Arduino such as Uno etc. Faster processors can support faster stepping speeds. However, any speed less than that down to very slow speeds (much less than one per second) are also supported, provided the run() function is called frequently enough to step the motor whenever required for the speed set. Calling setAcceleration() is expensive, since it requires a square root to be calculated.
-
Examples:
AFMotor_ConstantSpeed.pde, AFMotor_MultiStepper.pde, Blocking.pde, Bounce.pde, ConstantSpeed.pde, DualMotorShield.pde, MotorShield.pde, MultiStepper.pde, Overshoot.pde, ProportionalControl.pde, Quickstop.pde, and Random.pde.
-

Member Enumeration Documentation

- -
-
- - - - - -
- - - - -
enum AccelStepper::Direction
-
-protected
-
- -

Direction indicator Symbolic names for the direction the motor is turning.

- - - -
Enumerator
DIRECTION_CCW  -

Clockwise.

-
DIRECTION_CW  -

Counter-Clockwise.

-
- -
-
- -
-
- -

Symbolic names for number of pins. Use this in the pins argument the AccelStepper constructor to provide a symbolic name for the number of pins to use.

- - - - - - - - -
Enumerator
FUNCTION  -

Use the functional interface, implementing your own driver functions (internal use only)

-
DRIVER  -

Stepper Driver, 2 driver pins required.

-
FULL2WIRE  -

2 wire stepper, 2 motor pins required

-
FULL3WIRE  -

3 wire stepper, such as HDD spindle, 3 motor pins required

-
FULL4WIRE  -

4 wire full stepper, 4 motor pins required

-
HALF3WIRE  -

3 wire half stepper, such as HDD spindle, 3 motor pins required

-
HALF4WIRE  -

4 wire half stepper, 4 motor pins required

-
- -
-
-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AccelStepper::AccelStepper (uint8_t interface = AccelStepper::FULL4WIRE,
uint8_t pin1 = 2,
uint8_t pin2 = 3,
uint8_t pin3 = 4,
uint8_t pin4 = 5,
bool enable = true 
)
-
-

Constructor. You can have multiple simultaneous steppers, all moving at different speeds and accelerations, provided you call their run() functions at frequent enough intervals. Current Position is set to 0, target position is set to 0. MaxSpeed and Acceleration default to 1.0. The motor pins will be initialised to OUTPUT mode during the constructor by a call to enableOutputs().

-
Parameters
- - - - - - - -
[in]interfaceNumber of pins to interface to. 1, 2, 4 or 8 are supported, but it is preferred to use the MotorInterfaceType symbolic names. AccelStepper::DRIVER (1) means a stepper driver (with Step and Direction pins). If an enable line is also needed, call setEnablePin() after construction. You may also invert the pins using setPinsInverted(). AccelStepper::FULL2WIRE (2) means a 2 wire stepper (2 pins required). AccelStepper::FULL3WIRE (3) means a 3 wire stepper, such as HDD spindle (3 pins required). AccelStepper::FULL4WIRE (4) means a 4 wire stepper (4 pins required). AccelStepper::HALF3WIRE (6) means a 3 wire half stepper, such as HDD spindle (3 pins required) AccelStepper::HALF4WIRE (8) means a 4 wire half stepper (4 pins required) Defaults to AccelStepper::FULL4WIRE (4) pins.
[in]pin1Arduino digital pin number for motor pin 1. Defaults to pin 2. For a AccelStepper::DRIVER (interface==1), this is the Step input to the driver. Low to high transition means to step)
[in]pin2Arduino digital pin number for motor pin 2. Defaults to pin 3. For a AccelStepper::DRIVER (interface==1), this is the Direction input the driver. High means forward.
[in]pin3Arduino digital pin number for motor pin 3. Defaults to pin 4.
[in]pin4Arduino digital pin number for motor pin 4. Defaults to pin 5.
[in]enableIf this is true (the default), enableOutputs() will be called to enable the output pins at construction time.
-
-
- -

References DIRECTION_CCW, enableOutputs(), and setAcceleration().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
AccelStepper::AccelStepper (void(*)() forward,
void(*)() backward 
)
-
-

Alternate Constructor which will call your own functions for forward and backward steps. You can have multiple simultaneous steppers, all moving at different speeds and accelerations, provided you call their run() functions at frequent enough intervals. Current Position is set to 0, target position is set to 0. MaxSpeed and Acceleration default to 1.0. Any motor initialization should happen before hand, no pins are used or initialized.

-
Parameters
- - - -
[in]forwardvoid-returning procedure that will make a forward step
[in]backwardvoid-returning procedure that will make a backward step
-
-
- -

References DIRECTION_CCW, and setAcceleration().

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
void AccelStepper::computeNewSpeed ()
-
-protected
-
-

Forces the library to compute a new instantaneous speed and set that as the current speed. It is called by the library:

- - -

References DIRECTION_CCW, DIRECTION_CW, and distanceToGo().

- -

Referenced by moveTo(), run(), setAcceleration(), and setMaxSpeed().

- -
-
- -
-
- - - - - - - -
long AccelStepper::currentPosition ()
-
-

The currently motor position.

-
Returns
the current motor position in steps. Positive is clockwise from the 0 position.
-
Examples:
Bounce.pde, MultiStepper.pde, Overshoot.pde, and Quickstop.pde.
-
-
-
- -
-
- - - - - -
- - - - - - - -
void AccelStepper::disableOutputs ()
-
-virtual
-
-

Disable motor pin outputs by setting them all LOW Depending on the design of your electronics this may turn off the power to the motor coils, saving power. This is useful to support Arduino low power modes: disable the outputs during sleep and then reenable with enableOutputs() before stepping again.

- -

References setOutputPins().

- -
-
- -
-
- - - - - - - -
long AccelStepper::distanceToGo ()
-
-

The distance from the current position to the target position.

-
Returns
the distance from the current position to the target position in steps. Positive is clockwise from the current position.
-
Examples:
Bounce.pde, MultiStepper.pde, and Random.pde.
-
-

Referenced by computeNewSpeed(), and run().

- -
-
- -
-
- - - - - -
- - - - - - - -
void AccelStepper::enableOutputs ()
-
-virtual
-
-

Enable motor pin outputs by setting the motor pins to OUTPUT mode. Called automatically by the constructor.

- -

References FULL3WIRE, FULL4WIRE, HALF3WIRE, and HALF4WIRE.

- -

Referenced by AccelStepper().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::move (long relative)
-
-

Set the target position relative to the current position

-
Parameters
- - -
[in]relativeThe desired position relative to the current position. Negative is anticlockwise from the current position.
-
-
- -

References moveTo().

- -

Referenced by stop().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::moveTo (long absolute)
-
-

Set the target position. The run() function will try to move the motor (at most one step per call) from the current position to the target position set by the most recent call to this function. Caution: moveTo() also recalculates the speed for the next step. If you are trying to use constant speed movements, you should call setSpeed() after calling moveTo().

-
Parameters
- - -
[in]absoluteThe desired absolute position. Negative is anticlockwise from the 0 position.
-
-
-
Examples:
Bounce.pde, MultiStepper.pde, Overshoot.pde, ProportionalControl.pde, Quickstop.pde, and Random.pde.
-
-

References computeNewSpeed().

- -

Referenced by move(), and runToNewPosition().

- -
-
- -
-
- - - - - - - -
boolean AccelStepper::run ()
-
-

Poll the motor and step it if a step is due, implementing accelerations and decelerations to acheive the target position. You must call this as frequently as possible, but at least once per minimum step time interval, preferably in your main loop. Note that each call to run() will make at most one step, and then only when a step is due, based on the current speed and the time since the last step.

-
Returns
true if the motor is still running to the target position.
-
Examples:
Bounce.pde, MultiStepper.pde, Overshoot.pde, Quickstop.pde, and Random.pde.
-
-

References computeNewSpeed(), distanceToGo(), and runSpeed().

- -

Referenced by runToPosition().

- -
-
- -
-
- - - - - - - -
boolean AccelStepper::runSpeed ()
-
-

Poll the motor and step it if a step is due, implementing a constant speed as set by the most recent call to setSpeed(). You must call this as frequently as possible, but at least once per step interval,

-
Returns
true if the motor was stepped.
-
Examples:
ConstantSpeed.pde.
-
-

References DIRECTION_CW, and step().

- -

Referenced by run(), and runSpeedToPosition().

- -
-
- -
-
- - - - - - - -
boolean AccelStepper::runSpeedToPosition ()
-
-

Runs at the currently selected speed until the target position is reached Does not implement accelerations.

-
Returns
true if it stepped
-
Examples:
ProportionalControl.pde.
-
-

References DIRECTION_CCW, DIRECTION_CW, and runSpeed().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::runToNewPosition (long position)
-
-

Moves the motor (with acceleration/deceleration) to the new target position and blocks until it is at position. Dont use this in event loops, since it blocks.

-
Parameters
- - -
[in]positionThe new target position.
-
-
-
Examples:
Blocking.pde, and Overshoot.pde.
-
-

References moveTo(), and runToPosition().

- -
-
- -
-
- - - - - - - -
void AccelStepper::runToPosition ()
-
-

Moves the motor (with acceleration/deceleration) to the target position and blocks until it is at position. Dont use this in event loops, since it blocks.

-
Examples:
Quickstop.pde.
-
-

References run().

- -

Referenced by runToNewPosition().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::setAcceleration (float acceleration)
-
-

Sets the acceleration/deceleration rate.

-
Parameters
- - -
[in]accelerationThe desired acceleration in steps per second per second. Must be > 0.0. This is an expensive call since it requires a square root to be calculated. Dont call more ofthen than needed
-
-
-
Examples:
Blocking.pde, Bounce.pde, MultiStepper.pde, Overshoot.pde, Quickstop.pde, and Random.pde.
-
-

References computeNewSpeed().

- -

Referenced by AccelStepper().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::setCurrentPosition (long position)
-
-

Resets the current position of the motor, so that wherever the motor happens to be right now is considered to be the new 0 position. Useful for setting a zero position on a stepper after an initial hardware positioning move. Has the side effect of setting the current motor speed to 0.

-
Parameters
- - -
[in]positionThe position in steps of wherever the motor happens to be right now.
-
-
- -
-
- -
-
- - - - - - - - -
void AccelStepper::setEnablePin (uint8_t enablePin = 0xff)
-
-

Sets the enable pin number for stepper drivers. 0xFF indicates unused (default). Otherwise, if a pin is set, the pin will be turned on when enableOutputs() is called and switched off when disableOutputs() is called.

-
Parameters
- - -
[in]enablePinArduino digital pin number for motor enable
-
-
-
See Also
setPinsInverted
- -
-
- -
-
- - - - - - - - -
void AccelStepper::setMaxSpeed (float speed)
-
-

Sets the maximum permitted speed. The run() function will accelerate up to the speed set by this function. Caution: the maximum speed achievable depends on your processor and clock speed.

-
Parameters
- - -
[in]speedThe desired maximum speed in steps per second. Must be > 0. Caution: Speeds that exceed the maximum speed supported by the processor may Result in non-linear accelerations and decelerations.
-
-
-
Examples:
Blocking.pde, Bounce.pde, ConstantSpeed.pde, MultiStepper.pde, Overshoot.pde, ProportionalControl.pde, Quickstop.pde, and Random.pde.
-
-

References computeNewSpeed(), and speed().

- -
-
- -
-
- - - - - - - - -
void AccelStepper::setMinPulseWidth (unsigned int minWidth)
-
-

Sets the minimum pulse width allowed by the stepper driver. The minimum practical pulse width is approximately 20 microseconds. Times less than 20 microseconds will usually result in 20 microseconds or so.

-
Parameters
- - -
[in]minWidthThe minimum pulse width in microseconds.
-
-
- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::setOutputPins (uint8_t mask)
-
-protectedvirtual
-
-

Low level function to set the motor output pins bit 0 of the mask corresponds to _pin[0] bit 1 of the mask corresponds to _pin[1] You can override this to impment, for example serial chip output insted of using the output pins directly

-
Examples:
MotorShield.pde.
-
-

References FULL3WIRE, FULL4WIRE, HALF3WIRE, and HALF4WIRE.

- -

Referenced by disableOutputs(), step1(), step2(), step3(), step4(), step6(), and step8().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
void AccelStepper::setPinsInverted (bool directionInvert = false,
bool stepInvert = false,
bool enableInvert = false 
)
-
-

Sets the inversion for stepper driver pins

-
Parameters
- - - - -
[in]directionInvertTrue for inverted direction pin, false for non-inverted
[in]stepInvertTrue for inverted step pin, false for non-inverted
[in]enableInvertTrue for inverted enable pin, false (default) for non-inverted
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
void AccelStepper::setPinsInverted (bool pin1Invert,
bool pin2Invert,
bool pin3Invert,
bool pin4Invert,
bool enableInvert 
)
-
-

Sets the inversion for 2, 3 and 4 wire stepper pins

-
Parameters
- - - - - - -
[in]pin1InvertTrue for inverted pin1, false for non-inverted
[in]pin2InvertTrue for inverted pin2, false for non-inverted
[in]pin3InvertTrue for inverted pin3, false for non-inverted
[in]pin4InvertTrue for inverted pin4, false for non-inverted
[in]enableInvertTrue for inverted enable pin, false (default) for non-inverted
-
-
- -
-
- -
-
- - - - - - - - -
void AccelStepper::setSpeed (float speed)
-
-

Sets the desired constant speed for use with runSpeed().

-
Parameters
- - -
[in]speedThe desired constant speed in steps per second. Positive is clockwise. Speeds of more than 1000 steps per second are unreliable. Very slow speeds may be set (eg 0.00027777 for once per hour, approximately. Speed accuracy depends on the Arduino crystal. Jitter depends on how frequently you call the runSpeed() function.
-
-
-
Examples:
ConstantSpeed.pde, and ProportionalControl.pde.
-
-

References DIRECTION_CCW, DIRECTION_CW, and speed().

- -
-
- -
-
- - - - - - - -
float AccelStepper::speed ()
-
-

The most recently set speed

-
Returns
the most recent speed in steps per second
- -

Referenced by setMaxSpeed(), and setSpeed().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step (long step)
-
-protectedvirtual
-
-

Called to execute a step. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default calls step1(), step2(), step4() or step8() depending on the number of pins defined for the stepper.

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References DRIVER, FULL2WIRE, FULL3WIRE, FULL4WIRE, FUNCTION, HALF3WIRE, HALF4WIRE, step0(), step1(), step2(), step3(), step4(), step6(), and step8().

- -

Referenced by runSpeed().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step0 (long step)
-
-protectedvirtual
-
-

Called to execute a step using stepper functions (pins = 0) Only called when a new step is required. Calls _forward() or _backward() to perform the step

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step1 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a stepper driver (ie where pins == 1). Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of Step pin1 to step, and sets the output of _pin2 to the desired direction. The Step pin (_pin1) is pulsed for 1 microsecond which is the minimum STEP pulse width for the 3967 driver.

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step2 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a 2 pin motor. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of pin1 and pin2

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step3 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of pin1, pin2, pin3

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step4 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a 4 pin motor. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of pin1, pin2, pin3, pin4.

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step6 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a 3 pin motor, such as HDD spindle. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of pin1, pin2, pin3

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void AccelStepper::step8 (long step)
-
-protectedvirtual
-
-

Called to execute a step on a 4 pin half-steper motor. Only called when a new step is required. Subclasses may override to implement new stepping interfaces. The default sets or clears the outputs of pin1, pin2, pin3, pin4.

-
Parameters
- - -
[in]stepThe current step phase number (0 to 7)
-
-
- -

References setOutputPins().

- -

Referenced by step().

- -
-
- -
-
- - - - - - - -
void AccelStepper::stop ()
-
-

Sets a new target position that causes the stepper to stop as quickly as possible, using the current speed and acceleration parameters.

-
Examples:
Quickstop.pde.
-
-

References move().

- -
-
- -
-
- - - - - - - -
long AccelStepper::targetPosition ()
-
-

The most recently set target position.

-
Returns
the target position in steps. Positive is clockwise from the 0 position.
- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff --git a/firmware/libraries/AccelStepper/doc/doxygen.css b/firmware/libraries/AccelStepper/doc/doxygen.css deleted file mode 100644 index 4699e69..0000000 --- a/firmware/libraries/AccelStepper/doc/doxygen.css +++ /dev/null @@ -1,1357 +0,0 @@ -/* The standard CSS for doxygen 1.8.5 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 0px; - margin: 0px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view when not used as main index */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - diff --git a/firmware/libraries/AccelStepper/doc/doxygen.png b/firmware/libraries/AccelStepper/doc/doxygen.png deleted file mode 100644 index 3ff17d807fd8aa003bed8bb2a69e8f0909592fd1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3779 zcmV;!4m|ORP)tMIv#Q0*~7*`IBSO7_x;@a8#Zk6_PeKR_s92J&)(m+);m9Iz3blw)z#Gi zP!9lj4$%+*>Hz@HCmM9L9|8c+0u=!H$O3?R0Kgx|#WP<6fKfC8fM-CQZT|_r@`>VO zX^Hgb|9cJqpdJA5$MCEK`F_2@2Y@s>^+;pF`~jdI0Pvr|vl4`=C)EH@1IFe7pdJ8F zH(qGi004~QnF)Ggga~8v08kGAs2hKTATxr7pwfNk|4#_AaT>w8P6TV+R2kbS$v==} zAjf`s0g#V8lB+b3)5oEI*q+{Yt$MZDruD2^;$+(_%Qn+%v0X-bJO=;@kiJ^ygLBnC z?1OVv_%aex1M@jKU|Z~$eI?PoF4Vj>fDzyo zAiLfpXY*a^Sj-S5D0S3@#V$sRW)g)_1e#$%8xdM>Jm7?!h zu0P2X=xoN>^!4DoPRgph2(2va07yfpXF+WH7EOg1GY%Zn z7~1A<(z7Q$ktEXhW_?GMpHp9l_UL18F3KOsxu81pqoBiNbFSGsof-W z6~eloMoz=4?OOnl2J268x5rOY`dCk0us(uS#Ud4yqOr@?=Q57a}tit|BhY>}~frH1sP`ScHS_d)oqH^lYy zZ%VP`#10MlE~P?cE(%(#(AUSv_T{+;t@$U}El}(1ig`vZo`Rm;+5&(AYzJ^Ae=h2X z@Re%vHwZU>|f0NI&%$*4eJweC5OROQrpPMA@*w|o z()A==l}(@bv^&>H1Ob3C=<^|hob?0+xJ?QQ3-ueQC}zy&JQNib!OqSO@-=>XzxlSF zAZ^U*1l6EEmg3r};_HY>&Jo_{dOPEFTWPmt=U&F#+0(O59^UIlHbNX+eF8UzyDR*T z(=5X$VF3!gm@RooS-&iiUYGG^`hMR(07zr_xP`d!^BH?uD>Phl8Rdifx3Af^Zr`Ku ztL+~HkVeL#bJ)7;`=>;{KNRvjmc}1}c58Sr#Treq=4{xo!ATy|c>iRSp4`dzMMVd@ zL8?uwXDY}Wqgh4mH`|$BTXpUIu6A1-cSq%hJw;@^Zr8TP=GMh*p(m(tN7@!^D~sl$ zz^tf4II4|};+irE$Fnm4NTc5%p{PRA`%}Zk`CE5?#h3|xcyQsS#iONZ z6H(@^i9td!$z~bZiJLTax$o>r(p}3o@< zyD7%(>ZYvy=6$U3e!F{Z`uSaYy`xQyl?b{}eg|G3&fz*`QH@mDUn)1%#5u`0m$%D} z?;tZ0u(mWeMV0QtzjgN!lT*pNRj;6510Wwx?Yi_=tYw|J#7@(Xe7ifDzXuK;JB;QO z#bg~K$cgm$@{QiL_3yr}y&~wuv=P=#O&Tj=Sr)aCUlYmZMcw?)T?c%0rUe1cS+o!qs_ zQ6Gp)-{)V!;=q}llyK3|^WeLKyjf%y;xHku;9(vM!j|~<7w1c*Mk-;P{T&yG) z@C-8E?QPynNQ<8f01D`2qexcVEIOU?y}MG)TAE6&VT5`rK8s(4PE;uQ92LTXUQ<>^ ztyQ@=@kRdh@ebUG^Z6NWWIL;_IGJ2ST>$t!$m$qvtj0Qmw8moN6GUV^!QKNK zHBXCtUH8)RY9++gH_TUV4^=-j$t}dD3qsN7GclJ^Zc&(j6&a_!$jCf}%c5ey`pm~1)@{yI3 zTdWyB+*X{JFw#z;PwRr5evb2!ueWF;v`B0HoUu4-(~aL=z;OXUUEtG`_$)Oxw6FKg zEzY`CyKaSBK3xt#8gA|r_|Kehn_HYVBMpEwbn9-fI*!u*eTA1ef8Mkl1=!jV4oYwWYM}i`A>_F4nhmlCIC6WLa zY%;4&@AlnaG11ejl61Jev21|r*m+?Kru3;1tFDl}#!OzUp6c>go4{C|^erwpG*&h6bspUPJag}oOkN2912Y3I?(eRc@U9>z#HPBHC?nps7H5!zP``90!Q1n80jo+B3TWXp!8Pe zwuKuLLI6l3Gv@+QH*Y}2wPLPQ1^EZhT#+Ed8q8Wo z1pTmIBxv14-{l&QVKxAyQF#8Q@NeJwWdKk>?cpiJLkJr+aZ!Me+Cfp!?FWSRf^j2k z73BRR{WSKaMkJ>1Nbx5dan5hg^_}O{Tj6u%iV%#QGz0Q@j{R^Ik)Z*+(YvY2ziBG)?AmJa|JV%4UT$k`hcOg5r9R?5>?o~JzK zJCrj&{i#hG>N7!B4kNX(%igb%kDj0fOQThC-8mtfap82PNRXr1D>lbgg)dYTQ(kbx z`Ee5kXG~Bh+BHQBf|kJEy6(ga%WfhvdQNDuOfQoe377l#ht&DrMGeIsI5C<&ai zWG$|hop2@@q5YDa)_-A?B02W;#fH!%k`daQLEItaJJ8Yf1L%8x;kg?)k)00P-lH+w z)5$QNV6r2$YtnV(4o=0^3{kmaXn*Dm0F*fU(@o)yVVjk|ln8ea6BMy%vZAhW9|wvA z8RoDkVoMEz1d>|5(k0Nw>22ZT){V<3$^C-cN+|~hKt2)){+l-?3m@-$c?-dlzQ)q- zZ)j%n^gerV{|+t}9m1_&&Ly!9$rtG4XX|WQ8`xYzGC~U@nYh~g(z9)bdAl#xH)xd5a=@|qql z|FzEil{P5(@gy!4ek05i$>`E^G~{;pnf6ftpLh$h#W?^#4UkPfa;;?bsIe&kz!+40 zI|6`F2n020)-r`pFaZ38F!S-lJM-o&inOw|66=GMeP@xQU5ghQH{~5Uh~TMTd;I9` z>YhVB`e^EVj*S7JF39ZgNf}A-0DwOcTT63ydN$I3b?yBQtUI*_fae~kPvzoD$zjX3 zoqBe#>12im4WzZ=f^4+u=!lA|#r%1`WB0-6*3BL#at`47#ebPpR|D1b)3BjT34nYY z%Ds%d?5$|{LgOIaRO{{oC&RK`O91$fqwM0(C_TALcozu*fWHb%%q&p-q{_8*2Zsi^ zh1ZCnr^UYa;4vQEtHk{~zi>wwMC5o{S=$P0X681y`SXwFH?Ewn{x-MOZynmc)JT5v zuHLwh;tLfxRrr%|k370}GofLl7thg>ACWWY&msqaVu&ry+`7+Ss>NL^%T1|z{IGMA zW-SKl=V-^{(f!Kf^#3(|T2W47d(%JVCI4JgRrT1pNz>+ietmFToNv^`gzC@&O-)+i zPQ~RwK8%C_vf%;%e>NyTp~dM5;!C|N0Q^6|CEb7Bw=Vz~$1#FA;Z*?mKSC)Hl-20s t8QyHj(g6VK0RYbl8UjE)0O0w=e*@m04r>stuEhWV002ovPDHLkV1hl;dM*F} diff --git a/firmware/libraries/AccelStepper/doc/files.html b/firmware/libraries/AccelStepper/doc/files.html deleted file mode 100644 index c056fa6..0000000 --- a/firmware/libraries/AccelStepper/doc/files.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - -AccelStepper: File List - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - -
-
-
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
- - -
\*AccelStepper.h
-
-
- - - - diff --git a/firmware/libraries/AccelStepper/doc/functions.html b/firmware/libraries/AccelStepper/doc/functions.html deleted file mode 100644 index 919e8e2..0000000 --- a/firmware/libraries/AccelStepper/doc/functions.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -AccelStepper: Class Members - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- a -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- h -

- - -

- m -

- - -

- r -

- - -

- s -

- - -

- t -

-
- - - - diff --git a/firmware/libraries/AccelStepper/doc/functions_func.html b/firmware/libraries/AccelStepper/doc/functions_func.html deleted file mode 100644 index a2b9672..0000000 --- a/firmware/libraries/AccelStepper/doc/functions_func.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - - -AccelStepper: Class Members - Functions - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - - - - -
-
-  - -

- a -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- m -

- - -

- r -

- - -

- s -

- - -

- t -

-
- - - - diff --git a/firmware/libraries/AccelStepper/doc/index.html b/firmware/libraries/AccelStepper/doc/index.html deleted file mode 100644 index d7d18b3..0000000 --- a/firmware/libraries/AccelStepper/doc/index.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -AccelStepper: AccelStepper library for Arduino - - - - - - -
-
- - - - - - -
-
AccelStepper -
-
-
- - - -
-
-
-
AccelStepper library for Arduino
-
-
-

This is the Arduino AccelStepper library. It provides an object-oriented interface for 2, 3 or 4 pin stepper motors.

-

The standard Arduino IDE includes the Stepper library (http://arduino.cc/en/Reference/Stepper) for stepper motors. It is perfectly adequate for simple, single motor applications.

-

AccelStepper significantly improves on the standard Arduino Stepper library in several ways:

-
    -
  • Supports acceleration and deceleration
  • -
  • Supports multiple simultaneous steppers, with independent concurrent stepping on each stepper
  • -
  • API functions never delay() or block
  • -
  • Supports 2, 3 and 4 wire steppers, plus 3 and 4 wire half steppers.
  • -
  • Supports alternate stepping functions to enable support of AFMotor (https://github.com/adafruit/Adafruit-Motor-Shield-library)
  • -
  • Supports stepper drivers such as the Sparkfun EasyDriver (based on 3967 driver chip)
  • -
  • Very slow speeds are supported
  • -
  • Extensive API
  • -
  • Subclass support
  • -
-

The latest version of this documentation can be downloaded from http://www.airspayce.com/mikem/arduino/AccelStepper The version of the package that this documentation refers to can be downloaded from http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.47.zip

-

Example Arduino programs are included to show the main modes of use.

-

You can also find online help and discussion at http://groups.google.com/group/accelstepper Please use that group for all questions and discussions on this topic. Do not contact the author directly, unless it is to discuss commercial licensing. Before asking a question or reporting a bug, please read http://www.catb.org/esr/faqs/smart-questions.html

-

Tested on Arduino Diecimila and Mega with arduino-0018 & arduino-0021 on OpenSuSE 11.1 and avr-libc-1.6.1-1.15, cross-avr-binutils-2.19-9.1, cross-avr-gcc-4.1.3_20080612-26.5. Tested on Teensy http://www.pjrc.com/teensy including Teensy 3.1 built using Arduino IDE 1.0.5 with teensyduino addon 1.18 and later.

-
Installation
-

Install in the usual way: unzip the distribution zip file to the libraries sub-folder of your sketchbook.

-
Theory
-

This code uses speed calculations as described in "Generate stepper-motor speed profiles in real time" by David Austin http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf with the exception that AccelStepper uses steps per second rather than radians per second (because we dont know the step angle of the motor) An initial step interval is calculated for the first step, based on the desired acceleration On subsequent steps, shorter step intervals are calculated based on the previous step until max speed is achieved.

-
Donations
-

This library is offered under a free GPL license for those who want to use it that way. We try hard to keep it up to date, fix bugs and to provide free support. If this library has helped you save time or money, please consider donating at http://www.airspayce.com or here:

-
Trademarks
-

AccelStepper is a trademark of AirSpayce Pty Ltd. The AccelStepper mark was first used on April 26 2010 for international trade, and is used only in relation to motor control hardware and software. It is not to be confused with any other similar marks covering other goods and services.

-
Copyright
-

This software is Copyright (C) 2010 Mike McCauley. Use is subject to license conditions. The main licensing options available are GPL V2 or Commercial:

-
Open Source Licensing GPL V2
This is the appropriate option if you want to share the source code of your application with everyone you distribute it to, and you also want to give them the right to share who uses it. If you wish to use this software under Open Source Licensing, you must contribute all your source code to the open source community in accordance with the GPL Version 2 when your application is distributed. See http://www.gnu.org/copyleft/gpl.html
-
Commercial Licensing
This is the appropriate option if you are creating proprietary applications and you are not prepared to distribute and share the source code of your application. Contact info@.nosp@m.airs.nosp@m.payce.nosp@m..com for details.
-
Revision History
-
Version
1.0 Initial release
-
-1.1 Added speed() function to get the current speed.
-
-1.2 Added runSpeedToPosition() submitted by Gunnar Arndt.
-
-1.3 Added support for stepper drivers (ie with Step and Direction inputs) with _pins == 1
-
-1.4 Added functional contructor to support AFMotor, contributed by Limor, with example sketches.
-
-1.5 Improvements contributed by Peter Mousley: Use of microsecond steps and other speed improvements to increase max stepping speed to about 4kHz. New option for user to set the min allowed pulse width. Added checks for already running at max speed and skip further calcs if so.
-
-1.6 Fixed a problem with wrapping of microsecond stepping that could cause stepping to hang. Reported by Sandy Noble. Removed redundant _lastRunTime member.
-
-1.7 Fixed a bug where setCurrentPosition() did not always work as expected. Reported by Peter Linhart.
-
-1.8 Added support for 4 pin half-steppers, requested by Harvey Moon
-
-1.9 setCurrentPosition() now also sets motor speed to 0.
-
-1.10 Builds on Arduino 1.0
-
-1.11 Improvments from Michael Ellison: Added optional enable line support for stepper drivers Added inversion for step/direction/enable lines for stepper drivers
-
-1.12 Announce Google Group
-
-1.13 Improvements to speed calculation. Cost of calculation is now less in the worst case, and more or less constant in all cases. This should result in slightly beter high speed performance, and reduce anomalous speed glitches when other steppers are accelerating. However, its hard to see how to replace the sqrt() required at the very first step from 0 speed.
-
-1.14 Fixed a problem with compiling under arduino 0021 reported by EmbeddedMan
-
-1.15 Fixed a problem with runSpeedToPosition which did not correctly handle running backwards to a smaller target position. Added examples
-
-1.16 Fixed some cases in the code where abs() was used instead of fabs().
-
-1.17 Added example ProportionalControl
-
-1.18 Fixed a problem: If one calls the funcion runSpeed() when Speed is zero, it makes steps without counting. reported by Friedrich, Klappenbach.
-
-1.19 Added MotorInterfaceType and symbolic names for the number of pins to use for the motor interface. Updated examples to suit. Replaced individual pin assignment variables _pin1, _pin2 etc with array _pin[4]. _pins member changed to _interface. Added _pinInverted array to simplify pin inversion operations. Added new function setOutputPins() which sets the motor output pins. It can be overridden in order to provide, say, serial output instead of parallel output Some refactoring and code size reduction.
-
-1.20 Improved documentation and examples to show need for correctly specifying AccelStepper::FULL4WIRE and friends.
-
-1.21 Fixed a problem where desiredSpeed could compute the wrong step acceleration when _speed was small but non-zero. Reported by Brian Schmalz. Precompute sqrt_twoa to improve performance and max possible stepping speed
-
-1.22 Added Bounce.pde example Fixed a problem where calling moveTo(), setMaxSpeed(), setAcceleration() more frequently than the step time, even with the same values, would interfere with speed calcs. Now a new speed is computed only if there was a change in the set value. Reported by Brian Schmalz.
-
-1.23 Rewrite of the speed algorithms in line with http://fab.cba.mit.edu/classes/MIT/961.09/projects/i0/Stepper_Motor_Speed_Profile.pdf Now expect smoother and more linear accelerations and decelerations. The desiredSpeed() function was removed.
-
-1.24 Fixed a problem introduced in 1.23: with runToPosition, which did never returned
-
-1.25 Now ignore attempts to set acceleration to 0.0
-
-1.26 Fixed a problem where certina combinations of speed and accelration could cause oscillation about the target position.
-
-1.27 Added stop() function to stop as fast as possible with current acceleration parameters. Also added new Quickstop example showing its use.
-
-1.28 Fixed another problem where certain combinations of speed and accelration could cause oscillation about the target position. Added support for 3 wire full and half steppers such as Hard Disk Drive spindle. Contributed by Yuri Ivatchkovitch.
-
-1.29 Fixed a problem that could cause a DRIVER stepper to continually step with some sketches. Reported by Vadim.
-
-1.30 Fixed a problem that could cause stepper to back up a few steps at the end of accelerated travel with certain speeds. Reported and patched by jolo.
-
-1.31 Updated author and distribution location details to airspayce.com
-
-1.32 Fixed a problem with enableOutputs() and setEnablePin on Arduino Due that prevented the enable pin changing stae correctly. Reported by Duane Bishop.
-
-1.33 Fixed an error in example AFMotor_ConstantSpeed.pde did not setMaxSpeed(); Fixed a problem that caused incorrect pin sequencing of FULL3WIRE and HALF3WIRE. Unfortunately this meant changing the signature for all step*() functions. Added example MotorShield, showing how to use AdaFruit Motor Shield to control a 3 phase motor such as a HDD spindle motor (and without using the AFMotor library.
-
-1.34 Added setPinsInverted(bool pin1Invert, bool pin2Invert, bool pin3Invert, bool pin4Invert, bool enableInvert) to allow inversion of 2, 3 and 4 wire stepper pins. Requested by Oleg.
-
-1.35 Removed default args from setPinsInverted(bool, bool, bool, bool, bool) to prevent ambiguity with setPinsInverted(bool, bool, bool). Reported by Mac Mac.
-
-1.36 Changed enableOutputs() and disableOutputs() to be virtual so can be overridden. Added new optional argument 'enable' to constructor, which allows you toi disable the automatic enabling of outputs at construction time. Suggested by Guido.
-
-1.37 Fixed a problem with step1 that could cause a rogue step in the wrong direction (or not, depending on the setup-time requirements of the connected hardware). Reported by Mark Tillotson.
-
-1.38 run() function incorrectly always returned true. Updated function and doc so it returns true if the motor is still running to the target position.
-
-1.39 Updated typos in keywords.txt, courtesey Jon Magill.
-
-1.40 Updated documentation, including testing on Teensy 3.1
-
-1.41 Fixed an error in the acceleration calculations, resulting in acceleration of haldf the intended value
-
-1.42 Improved support for FULL3WIRE and HALF3WIRE output pins. These changes were in Yuri's original contribution but did not make it into production.
-
-
-1.43 Added DualMotorShield example. Shows how to use AccelStepper to control 2 x 2 phase steppers using the Itead Studio Arduino Dual Stepper Motor Driver Shield model IM120417015.
-
-
-1.44 examples/DualMotorShield/DualMotorShield.ino examples/DualMotorShield/DualMotorShield.pde was missing from the distribution.
-
-
-1.45 Fixed a problem where if setAcceleration was not called, there was no default acceleration. Reported by Michael Newman.
-
-
-1.45 Fixed inaccuracy in acceleration rate by using Equation 15, suggested by Sebastian Gracki.
- Performance improvements in runSpeed suggested by Jaakko Fagerlund.
-
-
-1.46 Fixed error in documentation for runToPosition(). Reinstated time calculations in runSpeed() since new version is reported not to work correctly under some circumstances. Reported by Oleg V Gavva.
-
-
- - - - diff --git a/firmware/libraries/AccelStepper/doc/tab_b.gif b/firmware/libraries/AccelStepper/doc/tab_b.gif deleted file mode 100644 index 0d623483ffdf5f9f96900108042a7ab0643fe2a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35 ncmZ?wbhEHbWMp7uXkcJy*>IeJfk6j|fqX^=1|}vKMh0sDa2W*H diff --git a/firmware/libraries/AccelStepper/doc/tab_l.gif b/firmware/libraries/AccelStepper/doc/tab_l.gif deleted file mode 100644 index 9b1e6337c9299a700401a2a78a2c6ffced475216..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 706 zcmZ?wbhEHbZT`}F1e&(Gg}Y(8=I;HA5#Z$3JI=gGB)FQ#odI(O&E^@q;x zK6mr*m3xOS-#u~t!I@i+u0DKm^U160k6t`|^WpV}&n+8{U%dD9&a>B#U%!9-@yol< zU%&tQ{rk_K|NsC0`}dE5ET99@1@a36+kb~?0UJ*yc&I3X_m z!ND^5$O7$#8OFRuDhG}!?8z?cdZK&!`PWjdR;Aj^wZ` zeK{IEYHBJ)6K8VIp1`BVt++swf6j+=L{p1*nO(VhE`pFexG@5$|>uaCcd z`0m=9m+yak{QmXN#Sc$^{$X9h9&q2jiKAI|&T)a;PPx2K9p`YIdw8HtR5k2Q$2-O2 z*;3y{MQ-RnJTgJfI&R5|O)AHxDf_00XbPvDZPy4t=hHd)nfLPvms&O`Ok(sD()5v$ z5U@&h;a=#xbxVbo2~X&Xj0Ie(f{v>vERH+qC+nTG=B8Nca=wU-O$?1&vUgV~9=!H; zx>3p9Yn%*<>t~sk+&0xfyS8RsPfYBd<~wWK%j-LmpU>O7yX^h#UCp1x-p#i7@bE;py8XI6 zmY<)m>~)W~yIWcMVoiPg{duuf<*)9qZ9l$m*Ph&W&$jlv*Vpa+{pH@n=IQ$L?0$ax ec60Ul|8o2P|NVbd{6P)#weSbE3}s?04AuZvx_~SI diff --git a/firmware/libraries/AccelStepper/doc/tab_r.gif b/firmware/libraries/AccelStepper/doc/tab_r.gif deleted file mode 100644 index ce9dd9f533cb5486d6941844f442b59d4a9e9175..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2585 zcmbV}`9Bkk1ILFF--w5zJc=ZZT(zjE=;2|_S)Qm~rCWz1Pc)KPl;jv%A#&v2*x}yc zmf2~Jm~&=xjJY?PqwIN}f8qQ2{r$uH{c*nJbmr{cR5??*egHrs-B=MzCF`3%e{FAW z{oL5xTHn~5TM{jaB;@|_Ue5F&Zb@p(kMyG{*;gWDg zyeL|eZf7Qd8=#bXzSiR{yzRgLSj-fJS8>lBjVHN z^o-0eS=nE6a`W;LChBs=`+QAJP~{b93>H^eRb5kCSC1zUNezun%`L5M?RDzv#%jk7 zYVRX=vATPD`+oEfum^{RM@GjuP?-r=yh0!p;Vx^T9G7~`7%5ydH%70=jyJ;;`d;hv92x3R=z{xp+Lg2!*@OK*K15-t&okoPtSED)h&$RLxdbA zseWm^C3d%-yRNi-ryk^!ek+C`n&~cd$#ZWct_cUL{l~i+Nzx^5d!n94(>bW-iL~Rl z&8r)?q|1DIo=0=judQ{FaGcfLERz8gfn3-Qt<2lksh{mzpT}DXxUuR^z=^key&q4! z+wWI45vL0k$R^(F#{qfqhUsN@WA+w-V?LPH33!Q?WFSB3)WBojE@hK41Nb?KfS+Qo zXgrzfsP$wr4Qzy*{OD>uJBjdgGM@VMml5)2f~_}lD*YyOb}Hjeobhz#4c`w(l^>KK zr?Ud;W~Z}*w;%hZ|2^p^+f06gJDJQD zeIhGADbDmm&6arh(q>EZ<7mjzg7l|z$hRL8=1>)Nv=S7CY$B}iYJ&*T_-T_OG*L1q ztZ3Lana33?y3AKnyq^YCF|4x%Rb5WU&2qcl{TFKey%QJeMxn^SdT!hZ5+0i1zeusiYVp-phBl7b5+Px-X&LhByq z0F&<;K0l2+v>qiHlXb#$jXMv$uK-dEGE9L~qtdU(XeRXmvu*K2Q&6!fD**JxYP4b4BR7FdJ$Qx9G9`J%-_X!a#LGpp3g9)VWytGCa;7`S1_e8F~!R+aSJ zOF17p2`H?2kPs8Q`_;U}+D%3p zs2-0BTqFwpUoBk`?P;iPQ(IbEA|JmMx!P&YYG|R@S=5Mnw;-?A6rEEVyV%d7{iU4a zNk`i!%F(Ykpm`}#oH;BjY->@b8vQedv;pza2FL&*6ufjd+*3Ute&>kes~TU?^KkojsTh(o~(3tk1Y6>4(yn( z#U*ID9@eg-beKo1B;HXe+}{Z%n@7m0+yxivuqk9~;!1LGQlah)xYK4>wgL}l6dsaN zIxlRlq`*`j9PG4*0hD6YV_b_2w5b#)o7J?`q#{GjvvKlD`T*dWcZx<-s(ZvLB44E# z=!|sw!?)@%y$oRNL#25WS3lzdii}TuQ3?CLnvQ1_n};2sT_;Y;#d3=+-(O% zMN$>O!3;ke(UuLR%h_&)N zs^!-@A>QR}4yB1bPp`9S19ikTbZ~O{&FF-yHK{En;mmShDUIEw03`j(DBIsM}Rjki2J#SQa3gFZTKBPDeIiLt9Z z%bL3(B@Qw%(B`wSMS~dPh$=R`(}lBoFXKy(s|*{#ru$wjsBc_O#zxNk9w+UUHmx(U zmJ8+M+ndtnZ<7|VU9Mbt61zpo9T&3%Wx&XII=#QJxjR`CZf22ac3d51Z?GD%LEe_&*t46Qf;4`bZ7p2K(Ab5>GfT^}4! zBT&HZD`^PEgWoI&{~o-ID0F?O`75sm(87x%A{(}Ch1)QlzdJ)1B-eqe5a(weg0`4lQIf1evjvbBY50DVbzO7CLf|vP z2#0(U-|jZ`H{y5N^o7%iK6H>_HEGN->U6^!)1{XpJV!!4(Ig7wzZQ*9WYF4X1rG0x z=1uA@i`rIAciubDC{;~b(|&|A@xkjRP5aRcvRU9tvIm}jDB6J eQ0-6-y)mpwdT=ayS0tBxKDA*~;EWmo diff --git a/firmware/libraries/AccelStepper/doc/tabs.css b/firmware/libraries/AccelStepper/doc/tabs.css deleted file mode 100644 index 9cf578f..0000000 --- a/firmware/libraries/AccelStepper/doc/tabs.css +++ /dev/null @@ -1,60 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/firmware/libraries/AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde b/firmware/libraries/AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde deleted file mode 100644 index 3358a20..0000000 --- a/firmware/libraries/AccelStepper/examples/AFMotor_ConstantSpeed/AFMotor_ConstantSpeed.pde +++ /dev/null @@ -1,36 +0,0 @@ -// AFMotor_ConstantSpeed.pde -// -*- mode: C++ -*- -// -// Shows how to run AccelStepper in the simplest, -// fixed speed mode with no accelerations -// Requires the AFMotor library (https://github.com/adafruit/Adafruit-Motor-Shield-library) - -#include -#include - -AF_Stepper motor1(200, 1); - - -// you can change these to DOUBLE or INTERLEAVE or MICROSTEP! -void forwardstep() { - motor1.onestep(FORWARD, SINGLE); -} -void backwardstep() { - motor1.onestep(BACKWARD, SINGLE); -} - -AccelStepper stepper(forwardstep, backwardstep); // use functions to step - -void setup() -{ - Serial.begin(9600); // set up Serial library at 9600 bps - Serial.println("Stepper test!"); - - stepper.setMaxSpeed(50); - stepper.setSpeed(50); -} - -void loop() -{ - stepper.runSpeed(); -} diff --git a/firmware/libraries/AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde b/firmware/libraries/AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde deleted file mode 100644 index 8e86bbc..0000000 --- a/firmware/libraries/AccelStepper/examples/AFMotor_MultiStepper/AFMotor_MultiStepper.pde +++ /dev/null @@ -1,54 +0,0 @@ -// AFMotor_MultiStepper.pde -// -*- mode: C++ -*- -// -// Control both Stepper motors at the same time with different speeds -// and accelerations. -// Requires the AFMotor library (https://github.com/adafruit/Adafruit-Motor-Shield-library) - -#include -#include - -// two stepper motors one on each port -AF_Stepper motor1(200, 1); -AF_Stepper motor2(200, 2); - -// you can change these to DOUBLE or INTERLEAVE or MICROSTEP! -// wrappers for the first motor! -void forwardstep1() { - motor1.onestep(FORWARD, SINGLE); -} -void backwardstep1() { - motor1.onestep(BACKWARD, SINGLE); -} -// wrappers for the second motor! -void forwardstep2() { - motor2.onestep(FORWARD, SINGLE); -} -void backwardstep2() { - motor2.onestep(BACKWARD, SINGLE); -} - -// Motor shield has two motor ports, now we'll wrap them in an AccelStepper object -AccelStepper stepper1(forwardstep1, backwardstep1); -AccelStepper stepper2(forwardstep2, backwardstep2); - -void setup() -{ - stepper1.setMaxSpeed(200.0); - stepper1.setAcceleration(100.0); - stepper1.moveTo(24); - - stepper2.setMaxSpeed(300.0); - stepper2.setAcceleration(100.0); - stepper2.moveTo(1000000); - -} - -void loop() -{ - // Change direction at the limits - if (stepper1.distanceToGo() == 0) - stepper1.moveTo(-stepper1.currentPosition()); - stepper1.run(); - stepper2.run(); -} diff --git a/firmware/libraries/AccelStepper/examples/Blocking/Blocking.pde b/firmware/libraries/AccelStepper/examples/Blocking/Blocking.pde deleted file mode 100644 index f91b34e..0000000 --- a/firmware/libraries/AccelStepper/examples/Blocking/Blocking.pde +++ /dev/null @@ -1,28 +0,0 @@ -// Blocking.pde -// -*- mode: C++ -*- -// -// Shows how to use the blocking call runToNewPosition -// Which sets a new target position and then waits until the stepper has -// achieved it. -// -// Copyright (C) 2009 Mike McCauley -// $Id: Blocking.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ - stepper.setMaxSpeed(200.0); - stepper.setAcceleration(100.0); -} - -void loop() -{ - stepper.runToNewPosition(0); - stepper.runToNewPosition(500); - stepper.runToNewPosition(100); - stepper.runToNewPosition(120); -} diff --git a/firmware/libraries/AccelStepper/examples/Bounce/Bounce.pde b/firmware/libraries/AccelStepper/examples/Bounce/Bounce.pde deleted file mode 100644 index 6073c53..0000000 --- a/firmware/libraries/AccelStepper/examples/Bounce/Bounce.pde +++ /dev/null @@ -1,29 +0,0 @@ -// Bounce.pde -// -*- mode: C++ -*- -// -// Make a single stepper bounce from one limit to another -// -// Copyright (C) 2012 Mike McCauley -// $Id: Random.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ - // Change these to suit your stepper if you want - stepper.setMaxSpeed(100); - stepper.setAcceleration(20); - stepper.moveTo(500); -} - -void loop() -{ - // If at the end of travel go to the other end - if (stepper.distanceToGo() == 0) - stepper.moveTo(-stepper.currentPosition()); - - stepper.run(); -} diff --git a/firmware/libraries/AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde b/firmware/libraries/AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde deleted file mode 100644 index 8aef26d..0000000 --- a/firmware/libraries/AccelStepper/examples/ConstantSpeed/ConstantSpeed.pde +++ /dev/null @@ -1,23 +0,0 @@ -// ConstantSpeed.pde -// -*- mode: C++ -*- -// -// Shows how to run AccelStepper in the simplest, -// fixed speed mode with no accelerations -/// \author Mike McCauley (mikem@airspayce.com) -// Copyright (C) 2009 Mike McCauley -// $Id: ConstantSpeed.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ - stepper.setMaxSpeed(1000); - stepper.setSpeed(50); -} - -void loop() -{ - stepper.runSpeed(); -} diff --git a/firmware/libraries/AccelStepper/examples/DualMotorShield/DualMotorShield.pde b/firmware/libraries/AccelStepper/examples/DualMotorShield/DualMotorShield.pde deleted file mode 100644 index 1ca70b1..0000000 --- a/firmware/libraries/AccelStepper/examples/DualMotorShield/DualMotorShield.pde +++ /dev/null @@ -1,49 +0,0 @@ -// DualMotorShield.pde -// -*- mode: C++ -*- -// -// Shows how to run 2 simultaneous steppers -// using the Itead Studio Arduino Dual Stepper Motor Driver Shield -// model IM120417015 -// This shield is capable of driving 2 steppers at -// currents of up to 750mA -// and voltages up to 30V -// Runs both steppers forwards and backwards, accelerating and decelerating -// at the limits. -// -// Copyright (C) 2014 Mike McCauley -// $Id: $ - -#include - -// The X Stepper pins -#define STEPPER1_DIR_PIN 3 -#define STEPPER1_STEP_PIN 2 -// The Y stepper pins -#define STEPPER2_DIR_PIN 7 -#define STEPPER2_STEP_PIN 6 - -// Define some steppers and the pins the will use -AccelStepper stepper1(AccelStepper::DRIVER, STEPPER1_STEP_PIN, STEPPER1_DIR_PIN); -AccelStepper stepper2(AccelStepper::DRIVER, STEPPER2_STEP_PIN, STEPPER2_DIR_PIN); - -void setup() -{ - stepper1.setMaxSpeed(200.0); - stepper1.setAcceleration(200.0); - stepper1.moveTo(100); - - stepper2.setMaxSpeed(100.0); - stepper2.setAcceleration(100.0); - stepper2.moveTo(100); -} - -void loop() -{ - // Change direction at the limits - if (stepper1.distanceToGo() == 0) - stepper1.moveTo(-stepper1.currentPosition()); - if (stepper2.distanceToGo() == 0) - stepper2.moveTo(-stepper2.currentPosition()); - stepper1.run(); - stepper2.run(); -} diff --git a/firmware/libraries/AccelStepper/examples/MotorShield/MotorShield.pde b/firmware/libraries/AccelStepper/examples/MotorShield/MotorShield.pde deleted file mode 100644 index 8018ed1..0000000 --- a/firmware/libraries/AccelStepper/examples/MotorShield/MotorShield.pde +++ /dev/null @@ -1,103 +0,0 @@ -// AFMotor_ConstantSpeed.pde -// -*- mode: C++ -*- -// -// Shows how to use AccelStepper to control a 3-phase motor, such as a HDD spindle motor -// using the Adafruit Motor Shield -// http://www.ladyada.net/make/mshield/index.html. -// Create a subclass of AccelStepper which controls the motor pins via the -// Motor Shield serial-to-parallel interface - -#include - -// Arduino pin names for interface to 74HCT595 latch -// on Adafruit Motor Shield -#define MOTORLATCH 12 -#define MOTORCLK 4 -#define MOTORENABLE 7 -#define MOTORDATA 8 - -// PWM pins, also used to enable motor outputs -#define PWM0A 5 -#define PWM0B 6 -#define PWM1A 9 -#define PWM1B 10 -#define PWM2A 11 -#define PWM2B 3 - - -// The main purpose of this class is to override setOutputPins to work with Adafruit Motor Shield -class AFMotorShield : public AccelStepper -{ - public: - AFMotorShield(uint8_t interface = AccelStepper::FULL4WIRE, uint8_t pin1 = 2, uint8_t pin2 = 3, uint8_t pin3 = 4, uint8_t pin4 = 5); - - virtual void setOutputPins(uint8_t mask); -}; - - -AFMotorShield::AFMotorShield(uint8_t interface, uint8_t pin1, uint8_t pin2, uint8_t pin3, uint8_t pin4) - : AccelStepper(interface, pin1, pin2, pin3, pin4) -{ - // Enable motor control serial to parallel latch - pinMode(MOTORLATCH, OUTPUT); - pinMode(MOTORENABLE, OUTPUT); - pinMode(MOTORDATA, OUTPUT); - pinMode(MOTORCLK, OUTPUT); - digitalWrite(MOTORENABLE, LOW); - - // enable both H bridges on motor 1 - pinMode(PWM2A, OUTPUT); - pinMode(PWM2B, OUTPUT); - pinMode(PWM0A, OUTPUT); - pinMode(PWM0B, OUTPUT); - digitalWrite(PWM2A, HIGH); - digitalWrite(PWM2B, HIGH); - digitalWrite(PWM0A, HIGH); - digitalWrite(PWM0B, HIGH); - - setOutputPins(0); // Reset -}; - -// Use the AF Motor Shield serial-to-parallel to set the state of the motor pins -// Caution: the mapping of AccelStepper pins to AF motor outputs is not -// obvious: -// AccelStepper Motor Shield output -// pin1 M4A -// pin2 M1A -// pin3 M2A -// pin4 M3A -// Caution this is pretty slow and limits the max speed of the motor to about 500/3 rpm -void AFMotorShield::setOutputPins(uint8_t mask) -{ - uint8_t i; - - digitalWrite(MOTORLATCH, LOW); - digitalWrite(MOTORDATA, LOW); - - for (i=0; i<8; i++) - { - digitalWrite(MOTORCLK, LOW); - - if (mask & _BV(7-i)) - digitalWrite(MOTORDATA, HIGH); - else - digitalWrite(MOTORDATA, LOW); - - digitalWrite(MOTORCLK, HIGH); - } - digitalWrite(MOTORLATCH, HIGH); -} - -AFMotorShield stepper(AccelStepper::HALF3WIRE, 0, 0, 0, 0); // 3 phase HDD spindle drive - -void setup() -{ - stepper.setMaxSpeed(500); // divide by 3 to get rpm - stepper.setAcceleration(80); - stepper.moveTo(10000000); -} - -void loop() -{ - stepper.run(); -} diff --git a/firmware/libraries/AccelStepper/examples/MultiStepper/MultiStepper.pde b/firmware/libraries/AccelStepper/examples/MultiStepper/MultiStepper.pde deleted file mode 100644 index 242e9f5..0000000 --- a/firmware/libraries/AccelStepper/examples/MultiStepper/MultiStepper.pde +++ /dev/null @@ -1,41 +0,0 @@ -// MultiStepper.pde -// -*- mode: C++ -*- -// -// Shows how to multiple simultaneous steppers -// Runs one stepper forwards and backwards, accelerating and decelerating -// at the limits. Runs other steppers at the same time -// -// Copyright (C) 2009 Mike McCauley -// $Id: MultiStepper.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define some steppers and the pins the will use -AccelStepper stepper1; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 -AccelStepper stepper2(AccelStepper::FULL4WIRE, 6, 7, 8, 9); -AccelStepper stepper3(AccelStepper::FULL2WIRE, 10, 11); - -void setup() -{ - stepper1.setMaxSpeed(200.0); - stepper1.setAcceleration(100.0); - stepper1.moveTo(24); - - stepper2.setMaxSpeed(300.0); - stepper2.setAcceleration(100.0); - stepper2.moveTo(1000000); - - stepper3.setMaxSpeed(300.0); - stepper3.setAcceleration(100.0); - stepper3.moveTo(1000000); -} - -void loop() -{ - // Change direction at the limits - if (stepper1.distanceToGo() == 0) - stepper1.moveTo(-stepper1.currentPosition()); - stepper1.run(); - stepper2.run(); - stepper3.run(); -} diff --git a/firmware/libraries/AccelStepper/examples/Overshoot/Overshoot.pde b/firmware/libraries/AccelStepper/examples/Overshoot/Overshoot.pde deleted file mode 100644 index 7e16baf..0000000 --- a/firmware/libraries/AccelStepper/examples/Overshoot/Overshoot.pde +++ /dev/null @@ -1,28 +0,0 @@ -// Overshoot.pde -// -*- mode: C++ -*- -// -// Check overshoot handling -// which sets a new target position and then waits until the stepper has -// achieved it. This is used for testing the handling of overshoots -// -// Copyright (C) 2009 Mike McCauley -// $Id: Overshoot.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ - stepper.setMaxSpeed(150); - stepper.setAcceleration(100); -} - -void loop() -{ - stepper.moveTo(500); - while (stepper.currentPosition() != 300) // Full speed up to 300 - stepper.run(); - stepper.runToNewPosition(0); // Cause an overshoot then back to 0 -} diff --git a/firmware/libraries/AccelStepper/examples/ProportionalControl/ProportionalControl.pde b/firmware/libraries/AccelStepper/examples/ProportionalControl/ProportionalControl.pde deleted file mode 100644 index 2afe444..0000000 --- a/firmware/libraries/AccelStepper/examples/ProportionalControl/ProportionalControl.pde +++ /dev/null @@ -1,32 +0,0 @@ -// ProportionalControl.pde -// -*- mode: C++ -*- -// -// Make a single stepper follow the analog value read from a pot or whatever -// The stepper will move at a constant speed to each newly set posiiton, -// depending on the value of the pot. -// -// Copyright (C) 2012 Mike McCauley -// $Id: ProportionalControl.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -// This defines the analog input pin for reading the control voltage -// Tested with a 10k linear pot between 5v and GND -#define ANALOG_IN A0 - -void setup() -{ - stepper.setMaxSpeed(1000); -} - -void loop() -{ - // Read new position - int analog_in = analogRead(ANALOG_IN); - stepper.moveTo(analog_in); - stepper.setSpeed(100); - stepper.runSpeedToPosition(); -} diff --git a/firmware/libraries/AccelStepper/examples/Quickstop/Quickstop.pde b/firmware/libraries/AccelStepper/examples/Quickstop/Quickstop.pde deleted file mode 100644 index e6cfd44..0000000 --- a/firmware/libraries/AccelStepper/examples/Quickstop/Quickstop.pde +++ /dev/null @@ -1,40 +0,0 @@ -// Quickstop.pde -// -*- mode: C++ -*- -// -// Check stop handling. -// Calls stop() while the stepper is travelling at full speed, causing -// the stepper to stop as quickly as possible, within the constraints of the -// current acceleration. -// -// Copyright (C) 2012 Mike McCauley -// $Id: $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ - stepper.setMaxSpeed(150); - stepper.setAcceleration(100); -} - -void loop() -{ - stepper.moveTo(500); - while (stepper.currentPosition() != 300) // Full speed up to 300 - stepper.run(); - stepper.stop(); // Stop as fast as possible: sets new target - stepper.runToPosition(); - // Now stopped after quickstop - - // Now go backwards - stepper.moveTo(-500); - while (stepper.currentPosition() != 0) // Full speed basck to 0 - stepper.run(); - stepper.stop(); // Stop as fast as possible: sets new target - stepper.runToPosition(); - // Now stopped after quickstop - -} diff --git a/firmware/libraries/AccelStepper/examples/Random/Random.pde b/firmware/libraries/AccelStepper/examples/Random/Random.pde deleted file mode 100644 index 871d361..0000000 --- a/firmware/libraries/AccelStepper/examples/Random/Random.pde +++ /dev/null @@ -1,30 +0,0 @@ -// Random.pde -// -*- mode: C++ -*- -// -// Make a single stepper perform random changes in speed, position and acceleration -// -// Copyright (C) 2009 Mike McCauley -// $Id: Random.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $ - -#include - -// Define a stepper and the pins it will use -AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 - -void setup() -{ -} - -void loop() -{ - if (stepper.distanceToGo() == 0) - { - // Random change to speed, position and acceleration - // Make sure we dont get 0 speed or accelerations - delay(1000); - stepper.moveTo(rand() % 200); - stepper.setMaxSpeed((rand() % 200) + 1); - stepper.setAcceleration((rand() % 200) + 1); - } - stepper.run(); -} diff --git a/firmware/libraries/AccelStepper/keywords.txt b/firmware/libraries/AccelStepper/keywords.txt deleted file mode 100644 index 940f611..0000000 --- a/firmware/libraries/AccelStepper/keywords.txt +++ /dev/null @@ -1,40 +0,0 @@ -####################################### -# Syntax Coloring Map For AccelStepper -####################################### - -####################################### -# Datatypes (KEYWORD1) -####################################### - -AccelStepper KEYWORD1 - -####################################### -# Methods and Functions (KEYWORD2) -####################################### - -moveTo KEYWORD2 -move KEYWORD2 -run KEYWORD2 -runSpeed KEYWORD2 -setMaxSpeed KEYWORD2 -setAcceleration KEYWORD2 -setSpeed KEYWORD2 -speed KEYWORD2 -distanceToGo KEYWORD2 -targetPosition KEYWORD2 -currentPosition KEYWORD2 -setCurrentPosition KEYWORD2 -runToPosition KEYWORD2 -runSpeedToPosition KEYWORD2 -runToNewPosition KEYWORD2 -stop KEYWORD2 -disableOutputs KEYWORD2 -enableOutputs KEYWORD2 -setMinPulseWidth KEYWORD2 -setEnablePin KEYWORD2 -setPinsInverted KEYWORD2 - -####################################### -# Constants (LITERAL1) -####################################### - diff --git a/firmware/libraries/AccelStepper/project.cfg b/firmware/libraries/AccelStepper/project.cfg deleted file mode 100644 index 0d20fb8..0000000 --- a/firmware/libraries/AccelStepper/project.cfg +++ /dev/null @@ -1,290 +0,0 @@ -# Doxyfile 1.8.2 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = AccelStepper -PROJECT_NUMBER = -PROJECT_BRIEF = -PROJECT_LOGO = -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -OUTPUT_LANGUAGE = English -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -QT_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 8 -ALIASES = -TCL_SUBST = -OPTIMIZE_OUTPUT_FOR_C = NO -OPTIMIZE_OUTPUT_JAVA = NO -OPTIMIZE_FOR_FORTRAN = NO -OPTIMIZE_OUTPUT_VHDL = NO -EXTENSION_MAPPING = -MARKDOWN_SUPPORT = YES -AUTOLINK_SUPPORT = YES -BUILTIN_STL_SUPPORT = NO -CPP_CLI_SUPPORT = NO -SIP_SUPPORT = NO -IDL_PROPERTY_SUPPORT = YES -DISTRIBUTE_GROUP_DOC = NO -SUBGROUPING = YES -INLINE_GROUPED_CLASSES = NO -INLINE_SIMPLE_STRUCTS = NO -TYPEDEF_HIDES_STRUCT = NO -SYMBOL_CACHE_SIZE = 0 -LOOKUP_CACHE_SIZE = 0 -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO -EXTRACT_PACKAGE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -EXTRACT_ANON_NSPACES = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = YES -HIDE_SCOPE_NAMES = NO -SHOW_INCLUDE_FILES = YES -FORCE_LOCAL_INCLUDES = NO -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_MEMBERS_CTORS_1ST = NO -SORT_GROUP_NAMES = NO -SORT_BY_SCOPE_NAME = NO -STRICT_PROTO_MATCHING = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_FILES = YES -SHOW_NAMESPACES = YES -FILE_VERSION_FILTER = -LAYOUT_FILE = -CITE_BIB_FILES = -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = -INPUT_ENCODING = UTF-8 -FILE_PATTERNS = -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXCLUDE_SYMBOLS = -EXAMPLE_PATH = examples -EXAMPLE_PATTERNS = -EXAMPLE_RECURSIVE = YES -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -FILTER_SOURCE_PATTERNS = -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = NO -REFERENCED_BY_RELATION = YES -REFERENCES_RELATION = YES -REFERENCES_LINK_SOURCE = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = NO -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = doc -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_EXTRA_STYLESHEET = -HTML_EXTRA_FILES = -HTML_COLORSTYLE_HUE = 220 -HTML_COLORSTYLE_SAT = 100 -HTML_COLORSTYLE_GAMMA = 80 -HTML_TIMESTAMP = NO -HTML_DYNAMIC_SECTIONS = NO -HTML_INDEX_NUM_ENTRIES = 100 -GENERATE_DOCSET = NO -DOCSET_FEEDNAME = "Doxygen generated docs" -DOCSET_BUNDLE_ID = org.doxygen.Project -DOCSET_PUBLISHER_ID = org.doxygen.Publisher -DOCSET_PUBLISHER_NAME = Publisher -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -CHM_INDEX_ENCODING = -BINARY_TOC = NO -TOC_EXPAND = NO -GENERATE_QHP = NO -QCH_FILE = -QHP_NAMESPACE = org.doxygen.Project -QHP_VIRTUAL_FOLDER = doc -QHP_CUST_FILTER_NAME = -QHP_CUST_FILTER_ATTRS = -QHP_SECT_FILTER_ATTRS = -QHG_LOCATION = -GENERATE_ECLIPSEHELP = NO -ECLIPSE_DOC_ID = org.doxygen.Project -DISABLE_INDEX = NO -GENERATE_TREEVIEW = NO -ENUM_VALUES_PER_LINE = 4 -TREEVIEW_WIDTH = 250 -EXT_LINKS_IN_WINDOW = NO -FORMULA_FONTSIZE = 10 -FORMULA_TRANSPARENT = YES -USE_MATHJAX = NO -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest -MATHJAX_EXTENSIONS = -SEARCHENGINE = NO -SERVER_BASED_SEARCH = NO -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = NO -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = -LATEX_FOOTER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -LATEX_SOURCE_CODE = NO -LATEX_BIB_STYLE = plain -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -MSCGEN_PATH = -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -DOT_NUM_THREADS = 0 -DOT_FONTNAME = Helvetica -DOT_FONTSIZE = 10 -DOT_FONTPATH = -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -UML_LIMIT_NUM_FIELDS = 10 -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -CALLER_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -INTERACTIVE_SVG = NO -DOT_PATH = -DOTFILE_DIRS = -MSCFILE_DIRS = -DOT_GRAPH_MAX_NODES = 50 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES diff --git a/firmware/libraries/SoftI2CMaster/LICENSE.txt b/firmware/libraries/SoftI2CMaster/LICENSE.txt deleted file mode 100644 index 91a4dc6..0000000 --- a/firmware/libraries/SoftI2CMaster/LICENSE.txt +++ /dev/null @@ -1,33 +0,0 @@ - -Copyright (c) Tod E. Kurt, 2010-2015 - ---- - -LICENSE: -Creative Commons - Attribution - ShareAlike 3.0 -http://creativecommons.org/licenses/by-sa/3.0/ -See why we chose this license: http://www.inmojo.com/licenses/ - -This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. - - -This is a human-readable summary of the full license. - -You are free: -- to Share - to copy, distribute and transmit the work, and -- to Remix - to adapt the work - -Under the following conditions: -- Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work.) -- Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. - -With the understanding that: -- Waiver - Any of the above conditions can be waived if you get permission from the copyright holder. -- Other Rights - In no way are any of the following rights affected by the license: --- your fair dealing or fair use rights; --- the author's moral rights; and --- rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights. - -Notice - For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do that is with a link to -http://creativecommons.org/licenses/by-sa/3.0/ - diff --git a/firmware/libraries/SoftI2CMaster/README.TXT b/firmware/libraries/SoftI2CMaster/README.TXT deleted file mode 100644 index 7b0e841..0000000 --- a/firmware/libraries/SoftI2CMaster/README.TXT +++ /dev/null @@ -1,16 +0,0 @@ - -SoftI2CMaster - -2010-2012, Tod E. Kurt, http://todbot.com/blog/ -2014, by Testato: update library and examples for follow Wire’s API of Arduino IDE 1.x - - -SoftI2CMaster is an Arduino library that implements -a simple "bit-bang" software-only I2C (aka "TWI") Master. - -This lets you use any two Arduino pins to be the SDA & SCL -pins needed to communicate with I2C devices like BlinkMs. - -SoftI2CMaster was originally in the BlinkMSoftI2CDemo example -in http://code.google.com/p/blinkm-projects/ - diff --git a/firmware/libraries/SoftI2CMaster/SoftI2CMaster.cpp b/firmware/libraries/SoftI2CMaster/SoftI2CMaster.cpp deleted file mode 100644 index f836696..0000000 --- a/firmware/libraries/SoftI2CMaster/SoftI2CMaster.cpp +++ /dev/null @@ -1,328 +0,0 @@ -/* - * SoftI2CMaster.cpp -- Multi-instance software I2C Master library - * - * - * 2010-12 Tod E. Kurt, http://todbot.com/blog/ - * - * This code takes some tricks from: - * http://codinglab.blogspot.com/2008/10/i2c-on-avr-using-bit-banging.html - * - * 2014, by Testato: update library and examples for follow Wire’s API of Arduino IDE 1.x - * - */ - -#if (ARDUINO >= 100) -#include -#else -#include -#endif - -#include "SoftI2CMaster.h" - -#include -#include - -#define i2cbitdelay 50 - -#define I2C_ACK 1 -#define I2C_NAK 0 - - -#define i2c_scl_release() \ - *_sclDirReg &=~ _sclBitMask -#define i2c_sda_release() \ - *_sdaDirReg &=~ _sdaBitMask - -// sets SCL low and drives output -#define i2c_scl_lo() \ - *_sclPortReg &=~ _sclBitMask; \ - *_sclDirReg |= _sclBitMask; - -// sets SDA low and drives output -#define i2c_sda_lo() \ - *_sdaPortReg &=~ _sdaBitMask; \ - *_sdaDirReg |= _sdaBitMask; - -// set SCL high and to input (releases pin) (i.e. change to input,turnon pullup) -#define i2c_scl_hi() \ - *_sclDirReg &=~ _sclBitMask; \ - if(usePullups) { *_sclPortReg |= _sclBitMask; } - -// set SDA high and to input (releases pin) (i.e. change to input,turnon pullup) -#define i2c_sda_hi() \ - *_sdaDirReg &=~ _sdaBitMask; \ - if(usePullups) { *_sdaPortReg |= _sdaBitMask; } - - -// -// Constructor -// -SoftI2CMaster::SoftI2CMaster() -{ - // do nothing, use setPins() later -} -// -SoftI2CMaster::SoftI2CMaster(uint8_t sclPin, uint8_t sdaPin) -{ - setPins(sclPin, sdaPin, true); - i2c_init(); -} - -// -SoftI2CMaster::SoftI2CMaster(uint8_t sclPin, uint8_t sdaPin, uint8_t pullups) -{ - setPins(sclPin, sdaPin, pullups); - i2c_init(); -} - -// -// Turn Arduino pin numbers into PORTx, DDRx, and PINx -// -void SoftI2CMaster::setPins(uint8_t sclPin, uint8_t sdaPin, uint8_t pullups) -{ - uint8_t port; - - usePullups = pullups; - - _sclPin = sclPin; - _sdaPin = sdaPin; - - _sclBitMask = digitalPinToBitMask(sclPin); - _sdaBitMask = digitalPinToBitMask(sdaPin); - - port = digitalPinToPort(sclPin); - _sclPortReg = portOutputRegister(port); - _sclDirReg = portModeRegister(port); - - port = digitalPinToPort(sdaPin); - _sdaPortReg = portOutputRegister(port); - _sdaDirReg = portModeRegister(port); - -} - -// -// -// -uint8_t SoftI2CMaster::beginTransmission(uint8_t address) -{ - i2c_start(); - uint8_t rc = i2c_write((address<<1) | 0); // clr read bit - return rc; -} - -// -uint8_t SoftI2CMaster::requestFrom(uint8_t address) -{ - i2c_start(); - uint8_t rc = i2c_write((address<<1) | 1); // set read bit - return rc; -} -// -uint8_t SoftI2CMaster::requestFrom(int address) -{ - return requestFrom( (uint8_t) address); -} - -// -uint8_t SoftI2CMaster::beginTransmission(int address) -{ - return beginTransmission((uint8_t)address); -} - -// -// -// -uint8_t SoftI2CMaster::endTransmission(void) -{ - i2c_stop(); - //return ret; // FIXME - return 0; -} - -// must be called in: -// slave tx event callback -// or after beginTransmission(address) -uint8_t SoftI2CMaster::write(uint8_t data) -{ - return i2c_write(data); -} - -// must be called in: -// slave tx event callback -// or after beginTransmission(address) -void SoftI2CMaster::write(uint8_t* data, uint8_t quantity) -{ - for(uint8_t i = 0; i < quantity; ++i){ - write(data[i]); - } -} - -// must be called in: -// slave tx event callback -// or after beginTransmission(address) -void SoftI2CMaster::write(char* data) -{ - write((uint8_t*)data, strlen(data)); -} - -// must be called in: -// slave tx event callback -// or after beginTransmission(address) -void SoftI2CMaster::write(int data) -{ - write((uint8_t)data); -} - -//-------------------------------------------------------------------- - - -void SoftI2CMaster::i2c_writebit( uint8_t c ) -{ - if ( c > 0 ) { - i2c_sda_hi(); - } else { - i2c_sda_lo(); - } - - i2c_scl_hi(); - _delay_us(i2cbitdelay); - - i2c_scl_lo(); - _delay_us(i2cbitdelay); - - if ( c > 0 ) { - i2c_sda_lo(); - } - _delay_us(i2cbitdelay); -} - -// -uint8_t SoftI2CMaster::i2c_readbit(void) -{ - i2c_sda_hi(); - i2c_scl_hi(); - _delay_us(i2cbitdelay); - - uint8_t port = digitalPinToPort(_sdaPin); - volatile uint8_t* pinReg = portInputRegister(port); - uint8_t c = *pinReg; // I2C_PIN; - - i2c_scl_lo(); - _delay_us(i2cbitdelay); - - return ( c & _sdaBitMask) ? 1 : 0; -} - -// Inits bitbanging port, must be called before using the functions below -// -void SoftI2CMaster::i2c_init(void) -{ - //I2C_PORT &=~ (_BV( I2C_SDA ) | _BV( I2C_SCL )); - //*_sclPortReg &=~ (_sdaBitMask | _sclBitMask); - i2c_sda_hi(); - i2c_scl_hi(); - - _delay_us(i2cbitdelay); -} - -// Send a START Condition -// -void SoftI2CMaster::i2c_start(void) -{ - // set both to high at the same time - //I2C_DDR &=~ (_BV( I2C_SDA ) | _BV( I2C_SCL )); - //*_sclDirReg &=~ (_sdaBitMask | _sclBitMask); - i2c_sda_hi(); - i2c_scl_hi(); - - _delay_us(i2cbitdelay); - - i2c_sda_lo(); - _delay_us(i2cbitdelay); - - i2c_scl_lo(); - _delay_us(i2cbitdelay); -} - -void SoftI2CMaster::i2c_repstart(void) -{ - // set both to high at the same time (releases drive on both lines) - //I2C_DDR &=~ (_BV( I2C_SDA ) | _BV( I2C_SCL )); - //*_sclDirReg &=~ (_sdaBitMask | _sclBitMask); - i2c_sda_hi(); - i2c_scl_hi(); - - i2c_scl_lo(); // force SCL low - _delay_us(i2cbitdelay); - - i2c_sda_release(); // release SDA - _delay_us(i2cbitdelay); - - i2c_scl_release(); // release SCL - _delay_us(i2cbitdelay); - - i2c_sda_lo(); // force SDA low - _delay_us(i2cbitdelay); -} - -// Send a STOP Condition -// -void SoftI2CMaster::i2c_stop(void) -{ - i2c_scl_hi(); - _delay_us(i2cbitdelay); - - i2c_sda_hi(); - _delay_us(i2cbitdelay); -} - -// write a byte to the I2C slave device -// -uint8_t SoftI2CMaster::i2c_write( uint8_t c ) -{ - for ( uint8_t i=0;i<8;i++) { - i2c_writebit( c & 128 ); - c<<=1; - } - - return i2c_readbit(); -} - -// read a byte from the I2C slave device -// -uint8_t SoftI2CMaster::i2c_read( uint8_t ack ) -{ - uint8_t res = 0; - - for ( uint8_t i=0;i<8;i++) { - res <<= 1; - res |= i2c_readbit(); - } - - if ( ack ) - i2c_writebit( 0 ); - else - i2c_writebit( 1 ); - - _delay_us(i2cbitdelay); - - return res; -} - -// FIXME: this isn't right, surely -uint8_t SoftI2CMaster::read( uint8_t ack ) -{ - return i2c_read( ack ); -} - -// -uint8_t SoftI2CMaster::read() -{ - return i2c_read( I2C_ACK ); -} - -// -uint8_t SoftI2CMaster::readLast() -{ - return i2c_read( I2C_NAK ); -} diff --git a/firmware/libraries/SoftI2CMaster/SoftI2CMaster.h b/firmware/libraries/SoftI2CMaster/SoftI2CMaster.h deleted file mode 100644 index 260ce90..0000000 --- a/firmware/libraries/SoftI2CMaster/SoftI2CMaster.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * SoftI2CMaster.h -- Multi-instance software I2C Master library - * - * 2010-2012 Tod E. Kurt, http://todbot.com/blog/ - * 2014, by Testato: update library and examples for follow Wire’s API of Arduino IDE 1.x - * - */ - -#ifndef SoftI2CMaster_h -#define SoftI2CMaster_h - -#include - -#define _SOFTI2CMASTER_VERSION 13 // software version of this library - - -class SoftI2CMaster -{ - -private: - // per object data - uint8_t _sclPin; - uint8_t _sdaPin; - uint8_t _sclBitMask; - uint8_t _sdaBitMask; - volatile uint8_t *_sclPortReg; - volatile uint8_t *_sdaPortReg; - volatile uint8_t *_sclDirReg; - volatile uint8_t *_sdaDirReg; - - uint8_t usePullups; - - // private methods - - void i2c_writebit( uint8_t c ); - uint8_t i2c_readbit(void); - void i2c_init(void); - void i2c_start(void); - void i2c_repstart(void); - void i2c_stop(void); - uint8_t i2c_write( uint8_t c ); - uint8_t i2c_read( uint8_t ack ); - -public: - // public methods - SoftI2CMaster(); - SoftI2CMaster(uint8_t sclPin, uint8_t sdaPin); - SoftI2CMaster(uint8_t sclPin, uint8_t sdaPin, uint8_t usePullups); - - void setPins(uint8_t sclPin, uint8_t sdaPin, uint8_t usePullups); - - uint8_t beginTransmission(uint8_t address); - uint8_t beginTransmission(int address); - uint8_t endTransmission(void); - uint8_t write(uint8_t); - void write(uint8_t*, uint8_t); - void write(int); - void write(char*); - void begin(void) {return;}; - uint8_t requestFrom(int address); - uint8_t requestFrom(uint8_t address); - uint8_t read( uint8_t ack ); - uint8_t read(); - uint8_t readLast(); - -}; - -#endif diff --git a/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkMSoftI2CDemo.ino b/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkMSoftI2CDemo.ino deleted file mode 100644 index b44150f..0000000 --- a/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkMSoftI2CDemo.ino +++ /dev/null @@ -1,95 +0,0 @@ -/* - * BlinkMSoftI2CDemo -- very simply demonstrate Softi2CMaster library - * - * - * - * 2010 Tod E. Kurt, http://todbot.com/blog/ - * 2014, by Testato: update library and examples for follow Wire’s API of Arduino IDE 1.x - * - */ - -const boolean testingI2CReads = true; - -// Choose any pins you want. The pins below let you plug in a BlinkM directly -const byte sclPin = 7; // digital pin 7 wired to 'c' on BlinkM -const byte sdaPin = 6; // digital pin 6 wired to 'd' on BlinkM -const byte pwrPin = 5; // digital pin 5 wired to '+' on BlinkM -const byte gndPin = 4; // digital pin 4 wired to '-' on BlinkM - -#include "SoftI2CMaster.h" -#include "BlinkM_funcs_soft.h" - - -byte blinkm_addr = 9; - -// -void setup() -{ - Serial.begin( 19200 ); - Serial.println(F("BlinkMSoftI2CDemo")); - - BlinkM_begin( sclPin, sdaPin, pwrPin, gndPin ); - - delay(100); - - BlinkM_off(0); - BlinkM_setFadeSpeed( blinkm_addr, 5); - - for( int i=0; i< 10; i++ ) { // flash the blinkms - BlinkM_setRGB( blinkm_addr, 255,255,255 ); - delay(20); - BlinkM_setRGB( blinkm_addr, 0,0,0 ); - delay(20); - } - - if( testingI2CReads ) { - Serial.print(F("BlinkM version: ")); - int num = BlinkM_getVersion( blinkm_addr ); - char major_version = (char)(num>>8); - char minor_version = (char)(num&0xff); - Serial.print( major_version ); - Serial.println( minor_version ); - if( major_version == -1 ) { - Serial.println(F("\nERROR: couldn't find a BlinkM\n")); - } - } -} - -void loop() -{ - byte r = random(255); - byte g = random(255); - byte b = random(255); - - Serial.print(F("Setting r,g,b:")); Serial.print(r,HEX); - Serial.print(","); Serial.print(g,HEX); - Serial.print(","); Serial.println(b,HEX); - - BlinkM_setRGB( blinkm_addr, r,g,b ); - delay(50); - BlinkM_fadeToRGB( blinkm_addr, 0,0,0 ); - - if( testingI2CReads ) { - for( int i=0; i<10; i++ ) { - showCurrentColor(); - delay(100); - } - } - else { - delay(1000); - } -} - -// -void showCurrentColor() -{ - byte r,g,b; - BlinkM_getRGBColor( blinkm_addr, &r,&g,&b); - - Serial.print(F(" r,g,b:")); Serial.print(r,HEX); - Serial.print(","); Serial.print(g,HEX); - Serial.print(","); Serial.println(b,HEX); -} - - - diff --git a/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkM_funcs_soft.h b/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkM_funcs_soft.h deleted file mode 100644 index b39e74d..0000000 --- a/firmware/libraries/SoftI2CMaster/examples/BlinkMSoftI2CDemo/BlinkM_funcs_soft.h +++ /dev/null @@ -1,127 +0,0 @@ -/** - * BlinkM_funcs_soft.h -- an extremely cut-down version of BlinkM_funcs.h - * for use with SoftI2CMaster library - * - * - * 2010 Tod E. Kurt, http://todbot.com/blog/ - * 2014, by Testato: update library and examples for follow Wire’s API of Arduino IDE 1.x - * - */ - -int errcnt; - -#include "SoftI2CMaster.h" - -SoftI2CMaster i2c = SoftI2CMaster(); - - -// set which arbitrary I/O pins will be "power" and "ground" for the BlinkM -static void BlinkM_setPowerPins(byte pwrpin, byte gndpin) -{ - pinMode(pwrpin, OUTPUT); - pinMode(gndpin, OUTPUT); - digitalWrite(pwrpin, HIGH); - digitalWrite(gndpin, LOW); - delay(10); // wait for power to stabilize -} - -// set which arbitrary I/O pins will be BlinkMs SCL and SDA -// note, this sets the internal pull-up resistors -static void BlinkM_begin( byte sclpin, byte sdapin ) -{ - i2c.setPins( sclPin,sdaPin, true ); -} - -// start up a BlinkM with four arbitrary I/O pins -static void BlinkM_begin( byte sclpin, byte sdapin, byte pwrpin, byte gndpin) -{ - BlinkM_setPowerPins( pwrpin, gndpin ); - i2c.setPins( sclPin,sdaPin, true ); -} - -// ----------------------------------------------------------------------------- -// many BlinkM commands are 3 arguments in length, here's a generalized form -static void BlinkM_sendCmd3( uint8_t addr, uint8_t c, uint8_t a1, uint8_t a2, uint8_t a3 ) -{ - if( i2c.beginTransmission( addr ) == 0 ) { - ++errcnt; - //Serial.println( errcnt); // FIXME - } - i2c.write( c ); - i2c.write( a1 ); - i2c.write( a2 ); - i2c.write( a3 ); - i2c.endTransmission(); -} - -// other BlinkM commands have a single argument -static void BlinkM_sendCmd1( uint8_t addr, uint8_t c, uint8_t a1) -{ - if( i2c.beginTransmission( addr ) == 0 ) { - ++errcnt; - //Serial.println( errcnt); // FIXME - } - i2c.write( c ); - i2c.write( a1 ); -} - -static void BlinkM_stopScript(uint8_t addr) -{ - i2c.beginTransmission( addr ); - i2c.write( 'o' ); - i2c.endTransmission(); -} - -static void BlinkM_setFadeSpeed( uint8_t addr, uint8_t f) -{ - BlinkM_sendCmd1( addr, 'f', f ); -} - -static void BlinkM_fadeToRGB( uint8_t addr, uint8_t r, uint8_t g, uint8_t b ) -{ - BlinkM_sendCmd3( addr, 'c', r,g,b ); -} - -static void BlinkM_setRGB( uint8_t addr, uint8_t r, uint8_t g, uint8_t b ) -{ - BlinkM_sendCmd3( addr, 'n', r,g,b ); -} - -static void BlinkM_off(uint8_t addr) -{ - BlinkM_stopScript( addr ); - BlinkM_setFadeSpeed(addr,10); - BlinkM_setRGB(addr, 0,0,0 ); -} - -// Get the BlinkM firmware version -static int BlinkM_getVersion(byte addr) -{ - i2c.beginTransmission( addr ); - i2c.write( 'Z' ); - i2c.endTransmission(); - - i2c.requestFrom( addr ); - uint8_t major_ver = i2c.read(); - uint8_t minor_ver = i2c.readLast(); - i2c.endTransmission(); - return (major_ver<<8) + minor_ver; -} - -// -static void BlinkM_getRGBColor(byte addr, byte* r, byte* g, byte* b) -{ - i2c.beginTransmission(addr); - i2c.write('g'); - i2c.endTransmission(); - - i2c.requestFrom( addr ); - *r = i2c.read(); - *g = i2c.read(); - *b = i2c.readLast(); - i2c.endTransmission(); -} - - - - diff --git a/firmware/libraries/SoftI2CMaster/examples/MMA8452Q_Example_SoftI2C/MMA8452Q_Example_SoftI2C.ino b/firmware/libraries/SoftI2CMaster/examples/MMA8452Q_Example_SoftI2C/MMA8452Q_Example_SoftI2C.ino deleted file mode 100644 index f728585..0000000 --- a/firmware/libraries/SoftI2CMaster/examples/MMA8452Q_Example_SoftI2C/MMA8452Q_Example_SoftI2C.ino +++ /dev/null @@ -1,317 +0,0 @@ -/* MMA8452Q Example Code - by: Jim Lindblom - SparkFun Electronics - date: October 13, 2011 - license: Creative Commons Share-Alike v3.0 (CC BY-SA 3.0) - - This code should provide example usage for most features of - the MMA8452Q 3-axis, I2C accelerometer. In the loop function - the accelerometer interrupt outputs will be polled, and either - the x/y/z accel data will be output, or single/double-taps, - portrait/landscape changes will be announced. - - The skeleton is here, feel free to cut/paste what code you need. - Play around with the settings in initMMA8452Q. Try running the - code without printing the accel values, to really appreciate - the single/double-tap and portrait landscape functions. The - P/L stuff is really neat, something not many accelerometers have. - - Hardware setup: - MMA8452 Breakout ------------ Arduino - 3.3V --------------------- 3.3V - SDA ----------------------- A4 - SCL ----------------------- A5 - INT2 ---------------------- D3 - INT1 ---------------------- D2 - GND ---------------------- GND - - SDA and SCL should have external pull-up resistors (to 3.3V). - 10k resistors worked for me. They should be on the breakout - board. - - Note: The MMA8452 is an I2C sensor, however this code does - not make use of the Arduino Wire library. Because the sensor - is not 5V tolerant, we can't use the internal pull-ups used - by the Wire library. Instead use the included i2c.h file. -*/ - -//#include "i2c.h" // not the wire library, can't use pull-ups -#include "SoftI2CMaster.h" - -//const int sdaPin = A4; -//const int sclPin = A5; -const int sdaPin = 4; -const int sclPin = 5; -SoftI2CMaster i2c = SoftI2CMaster( sclPin, sdaPin, 0 ); - -#define SA0 1 // Breakout board defaults to 1, set to 0 if SA0 jumper is set -#if SA0 - #define MMA8452_ADDRESS 0x1D // SA0 is high, 0x1C if low -#else - #define MMA8452_ADDRESS 0x1C -#endif - -/* Set the scale below either 2, 4 or 8*/ -const byte scale = 2; // Sets full-scale range to +/-2, 4, or 8g. Used to calc real g values. -/* Set the output data rate below. Value should be between 0 and 7*/ -const byte dataRate = 0; // 0=800Hz, 1=400, 2=200, 3=100, 4=50, 5=12.5, 6=6.25, 7=1.56 - -/* Pin definitions */ -int int1Pin = 2; // These can be changed, 2 and 3 are the Arduinos ext int pins -int int2Pin = 3; - -byte data[6]; // x/y/z accel register data store here -int accelCount[3]; // Stores the 12-bit signed value -float accel[3]; // Stores the real accel value in g's - -void setup() -{ - byte c; - - Serial.begin(115200); - - /* Set up the interrupt pins, they're set as active high, push-pull */ - pinMode(int1Pin, INPUT); - digitalWrite(int1Pin, LOW); - pinMode(int2Pin, INPUT); - digitalWrite(int2Pin, LOW); - - /* Read the WHO_AM_I register, this is a good test of communication */ - c = readRegister(0x0D); // Read WHO_AM_I register - if (c == 0x2A) // WHO_AM_I should always be 0x2A - { - initMMA8452(scale, dataRate); // init the accelerometer if communication is good - Serial.println(F("MMA8452Q is online...")); - } - else - { - Serial.print(F("Could not connect to MMA8452Q: 0x")); - Serial.println(c, HEX); - while (1) // Loop forever if communication doesn't happen - ; - } -} - -void loop() -{ - static byte source; - - /* If int1 goes high, all data registers have new data */ - - if (digitalRead(int1Pin)) // Interrupt pin, should probably attach to interrupt function - //if (readRegister(0x00)&0x7) // Polling, you can use this instead of the interrupt pins - { - readRegisters(0x01, 6, &data[0]); // Read the six data registers into data array - - // For loop to calculate 12-bit ADC and g value for each axis - for (int i=0; i<6; i+=2) - { - accelCount[i/2] = ((data[i] << 8) | data[i+1]) >> 4; // Turn the MSB and LSB into a 12-bit value - if (data[i] > 0x7F) - { // If the number is negative, we have to make it so manually (no 12-bit data type) - accelCount[i/2] = ~accelCount[i/2] + 1; - accelCount[i/2] *= -1; // Transform into negative 2's complement # - } - accel[i/2] = (float) accelCount[i/2]/((1<<12)/(2*scale)); // get actual g value, this depends on scale being set - } - - // For loop to print out values - - for (int i=0; i<3; i++) - { - Serial.print(accel[i], 4); // Print g values - //Serial.print(accelCount[i], DEC); // Print adc count values, feel free to uncomment this line - Serial.print("\t\t"); - } - Serial.println(); - - } - - - /* If int2 goes high, either p/l has changed or there's been a single/double tap */ - if (digitalRead(int2Pin)) - { - source = readRegister(0x0C); // Read the interrupt source reg. - if ((source & 0x10)==0x10) // If the p/l bit is set, go check those registers - portraitLandscapeHandler(); - else if ((source & 0x08)==0x08) // Otherwise, if tap register is set go check that - tapHandler(); - delay(100); // Delay here for a little printing visibility, make it longer, or delete it - } - delay(20); -} - -/* This function will read the status of the tap source register. - And print if there's been a single or double tap, and on what - axis. */ -void tapHandler() -{ - byte source = readRegister(0x22); // Reads the PULSE_SRC register - - if ((source & 0x10)==0x10) // If AxX bit is set - { - if ((source & 0x08)==0x08) // If DPE (double puls) bit is set - Serial.print(" 2 X"); - else - Serial.print("1 X"); - - if ((source & 0x01)==0x01) // If PoIX is set - Serial.println(" +"); - else - Serial.println(" -"); - } - if ((source & 0x20)==0x20) // If AxY bit is set - { - if ((source & 0x08)==0x08) // If DPE (double puls) bit is set - Serial.print(" 2 Y"); - else - Serial.print("1 Y"); - - if ((source & 0x02)==0x02) // If PoIY is set - Serial.println(" +"); - else - Serial.println(" -"); - } - if ((source & 0x40)==0x40) // If AxZ bit is set - { - if ((source & 0x08)==0x08) // If DPE (double puls) bit is set - Serial.print(" 2 Z"); - else - Serial.print("1 Z"); - if ((source & 0x04)==0x04) // If PoIZ is set - Serial.println(" +"); - else - Serial.println(" -"); - } -} - -/* This function will read the p/l source register and - print what direction the sensor is now facing */ -void portraitLandscapeHandler() -{ - byte pl = readRegister(0x10); // Reads the PL_STATUS register - switch((pl&0x06)>>1) // Check on the LAPO[1:0] bits - { - case 0: - Serial.print(F("Portrait up, ")); - break; - case 1: - Serial.print(F("Portrait Down, ")); - break; - case 2: - Serial.print(F("Landscape Right, ")); - break; - case 3: - Serial.print(F("Landscape Left, ")); - break; - } - if (pl&0x01) // Check the BAFRO bit - Serial.print(F("Back")); - else - Serial.print(F("Front")); - if (pl&0x40) // Check the LO bit - Serial.print(F(", Z-tilt!")); - Serial.println(); -} - -/* Initialize the MMA8452 registers - See the many application notes for more info on setting - all of these registers: - http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MMA8452Q - - Feel free to modify any values, these are settings that work well for me. -*/ -void initMMA8452(byte fsr, byte dataRate) -{ - MMA8452Standby(); // Must be in standby to change registers - - /* Set up the full scale range to 2, 4, or 8g. */ - if ((fsr==2)||(fsr==4)||(fsr==8)) - writeRegister(0x0E, fsr >> 2); - else - writeRegister(0x0E, 0); - /* Setup the 3 data rate bits, from 0 to 7 */ - writeRegister(0x2A, readRegister(0x2A) & ~(0x38)); - if (dataRate <= 7) - writeRegister(0x2A, readRegister(0x2A) | (dataRate << 3)); - /* Set up portrait/landscap registers */ - writeRegister(0x11, 0x40); // Enable P/L - writeRegister(0x13, 0x14); // 29deg z-lock, - writeRegister(0x14, 0x84); // 45deg thresh, 14deg hyst - writeRegister(0x12, 0x05); // debounce counter at 100ms - /* Set up single and double tap */ - writeRegister(0x21, 0x7F); // enable single/double taps on all axes - writeRegister(0x23, 0x20); // x thresh at 2g - writeRegister(0x24, 0x20); // y thresh at 2g - writeRegister(0x25, 0x8); // z thresh at .5g - writeRegister(0x26, 0x30); // 60ms time limit, the min/max here is very dependent on output data rate - writeRegister(0x27, 0x28); // 200ms between taps min - writeRegister(0x28, 0xFF); // 1.275s (max value) between taps max - /* Set up interrupt 1 and 2 */ - writeRegister(0x2C, 0x02); // Active high, push-pull - writeRegister(0x2D, 0x19); // DRDY int enabled, P/L enabled - writeRegister(0x2E, 0x01); // DRDY on INT1, P/L on INT2 - - MMA8452Active(); // Set to active to start reading -} - -/* Sets the MMA8452 to standby mode. - It must be in standby to change most register settings */ -void MMA8452Standby() -{ - byte c = readRegister(0x2A); - writeRegister(0x2A, c & ~(0x01)); -} - -/* Sets the MMA8452 to active mode. - Needs to be in this mode to output data */ -void MMA8452Active() -{ - byte c = readRegister(0x2A); - writeRegister(0x2A, c | 0x01); -} - -/* Read i registers sequentially, starting at address - into the dest byte arra */ -void readRegisters(byte address, int i, byte * dest) -{ - i2c.beginTransmission( MMA8452_ADDRESS ); - i2c.write( address ); - i2c.endTransmission(); - - i2c.requestFrom( MMA8452_ADDRESS ); - int j; - for( j=0; j -#include -#include -#include - -#define DIR_AZ 6 /*PIN for Azimuth Direction*/ -#define STEP_AZ 5 /*PIN for Azimuth Steps*/ -#define DIR_EL 10 /*PIN for Elevation Direction*/ -#define STEP_EL 9 /*PIN for Elevation Steps*/ - -#define EN 8 /*PIN for Enable or Disable Stepper Motors*/ - -#define SPR 200 /*Step Per Revolution*/ -#define RATIO 54 /*Gear ratio*/ -#define T_DELAY 60000 /*Time to disable the motors in millisecond*/ - -#define HOME_AZ 4 /*Homing switch for Azimuth*/ -#define HOME_EL 3 /*Homing switch for Elevation*/ - -#define MAX_AZ_ANGLE 365 /*Maximum Angle of Azimuth for homing scanning*/ -#define MAX_EL_ANGLE 365 /*Maximum Angle of Elevation for homing scanning*/ - -#define MAX_SPEED 300 -#define MAX_ACCELERATION 100 - -#define MIN_PULSE_WIDTH 20 /*in microsecond*/ - -#define DEFAULT_HOME_STATE HIGH /*Change to LOW according to Home sensor*/ - -#define HOME_DELAY 6000 /*Time for homing Decceleration in millisecond*/ - -#define BufferSize 256 -#define BaudRate 19200 - -/*Global Variables*/ -unsigned long t_DIS = 0; /*time to disable the Motors*/ -/*Define a stepper and the pins it will use*/ -AccelStepper AZstepper(1, STEP_AZ, DIR_AZ); -AccelStepper ELstepper(1, STEP_EL, DIR_EL); - -void setup() -{ - /*Change these to suit your stepper if you want*/ - AZstepper.setMaxSpeed(MAX_SPEED); - AZstepper.setAcceleration(MAX_ACCELERATION); - /*Change these to suit your stepper if you want*/ - ELstepper.setMaxSpeed(MAX_SPEED); - ELstepper.setAcceleration(MAX_ACCELERATION); - /*Set minimum pulse width*/ - AZstepper.setMinPulseWidth(MIN_PULSE_WIDTH); - ELstepper.setMinPulseWidth(MIN_PULSE_WIDTH); - /*Enable Motors*/ - pinMode(EN, OUTPUT); - digitalWrite(EN, LOW); - /*Homing switch*/ - pinMode(HOME_AZ, INPUT_PULLUP); - pinMode(HOME_EL, INPUT_PULLUP); - /*Serial Communication*/ - Serial.begin(BaudRate); - /*Initial Homing*/ - Homing(deg2step(-MAX_AZ_ANGLE), deg2step(-MAX_EL_ANGLE)); -} - -void loop() -{ - /*Define the steps*/ - static int AZstep = 0; - static int ELstep = 0; - /*Time Check*/ - if (t_DIS == 0) - t_DIS = millis(); - - /*Disable Motors*/ - if (AZstep == AZstepper.currentPosition() && ELstep == ELstepper.currentPosition() && millis()-t_DIS > T_DELAY) - digitalWrite(EN, HIGH); - /*Enable Motors*/ - else - digitalWrite(EN, LOW); - - /*Read the steps from serial*/ - cmd_proc(AZstep, ELstep); - /*Move the Azimuth & Elevation Motor*/ - stepper_move(AZstep, ELstep); -} - -/*Homing Function*/ -void Homing(int AZsteps, int ELsteps) -{ - int value_Home_AZ = DEFAULT_HOME_STATE; - int value_Home_EL = DEFAULT_HOME_STATE; - boolean isHome_AZ = false; - boolean isHome_EL = false; - - AZstepper.moveTo(AZsteps); - ELstepper.moveTo(ELsteps); - - while(isHome_AZ == false || isHome_EL == false) - { - value_Home_AZ = digitalRead(HOME_AZ); - value_Home_EL = digitalRead(HOME_EL); - /*Change to LOW according to Home sensor*/ - if (value_Home_AZ == DEFAULT_HOME_STATE) - { - AZstepper.moveTo(AZstepper.currentPosition()); - isHome_AZ = true; - } - /*Change to LOW according to Home sensor*/ - if (value_Home_EL == DEFAULT_HOME_STATE) - { - ELstepper.moveTo(ELstepper.currentPosition()); - isHome_EL = true; - } - if (AZstepper.distanceToGo() == 0 && !isHome_AZ) - { - error(0); - break; - } - if (ELstepper.distanceToGo() == 0 && !isHome_EL) - { - error(1); - break; - } - AZstepper.run(); - ELstepper.run(); - } - /*Delay to Deccelerate*/ - long time = millis(); - while(millis() - time < HOME_DELAY) - { - AZstepper.run(); - ELstepper.run(); - } - /*Reset the steps*/ - AZstepper.setCurrentPosition(0); - ELstepper.setCurrentPosition(0); -} - -/*EasyComm 2 Protocol & Calculate the steps*/ -void cmd_proc(int &stepAz, int &stepEl) -{ - /*Serial*/ - char buffer[BufferSize]; - char incomingByte; - char *Data = buffer; - char *rawData; - static int BufferCnt = 0; - char data[100]; - - double angleAz, angleEl; - - /*Read from serial*/ - while (Serial.available() > 0) - { - incomingByte = Serial.read(); - /* XXX: Get position using custom and test code */ - if (incomingByte == '!') - { - /*Get position*/ - Serial.print("TM"); - Serial.print(1); - Serial.print(" "); - Serial.print("AZ"); - Serial.print(10*step2deg(AZstepper.currentPosition()), 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(10*step2deg(ELstepper.currentPosition()), 1); - } - /*new data*/ - else if (incomingByte == '\n') - { - buffer[BufferCnt] = 0; - if (buffer[0] == 'A' && buffer[1] == 'Z') - { - if (buffer[2] == ' ' && buffer[3] == 'E' && buffer[4] == 'L') - { - /*Get position*/ - Serial.print("AZ"); - Serial.print(step2deg(AZstepper.currentPosition()), 1); - Serial.print(" "); - Serial.print("EL"); - Serial.print(step2deg(ELstepper.currentPosition()), 1); - Serial.println(" "); - } - else - { - /*Get the absolute value of angle*/ - rawData = strtok_r(Data, " " , &Data); - strncpy(data, rawData+2, 10); - if (isNumber(data)) - { - angleAz = atof(data); - /*Calculate the steps*/ - stepAz = deg2step(angleAz); - } - /*Get the absolute value of angle*/ - rawData = strtok_r(Data, " " , &Data); - if (rawData[0] == 'E' && rawData[1] == 'L') - { - strncpy(data, rawData+2, 10); - if (isNumber(data)) - { - angleEl = atof(data); - /*Calculate the steps*/ - stepEl = deg2step(angleEl); - } - } - } - } - /*Stop Moving*/ - else if (buffer[0] == 'S' && buffer[1] == 'A' && buffer[2] == ' ' && buffer[3] == 'S' && buffer[4] == 'E') - { - /*Get position*/ - Serial.print("AZ"); - Serial.print(step2deg(AZstepper.currentPosition()), 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(step2deg(ELstepper.currentPosition()), 1); - stepAz = AZstepper.currentPosition(); - stepEl = ELstepper.currentPosition(); - } - /*Reset the rotator*/ - else if (buffer[0] == 'R' && buffer[1] == 'E' && buffer[2] == 'S' && buffer[3] == 'E' && buffer[4] == 'T') - { - /*Get position*/ - Serial.print("AZ"); - Serial.print(step2deg(AZstepper.currentPosition()), 1); - Serial.print(" "); - Serial.print("EL"); - Serial.println(step2deg(ELstepper.currentPosition()), 1); - /*Move the steppers to initial position*/ - Homing(deg2step(-MAX_AZ_ANGLE), deg2step(-MAX_EL_ANGLE)); - /*Zero the steps*/ - stepAz = 0; - stepEl = 0; - } - BufferCnt = 0; - /*Reset the disable motor time*/ - t_DIS = 0; - } - /*Fill the buffer with incoming data*/ - else { - buffer[BufferCnt] = incomingByte; - BufferCnt++; - } - } -} - -/*Error Handling*/ -void error(int num_error) -{ - switch (num_error) - { - /*Azimuth error*/ - case (0): - while(1) - { - Serial.println("AL001"); - delay(100); - } - /*Elevation error*/ - case (1): - while(1) - { - Serial.println("AL002"); - delay(100); - } - default: - while(1) - { - Serial.println("AL000"); - delay(100); - } - } -} - -/*Send pulses to stepper motor drivers*/ -void stepper_move(int stepAz, int stepEl) -{ - AZstepper.moveTo(stepAz); - ELstepper.moveTo(stepEl); - - AZstepper.run(); - ELstepper.run(); -} - -/*Convert degrees to steps*/ -int deg2step(double deg) -{ - return(RATIO*SPR*deg/360); -} - -/*Convert steps to degrees*/ -double step2deg(int Step) -{ - return(360.00*Step/(SPR*RATIO)); -} - -/*Check if is argument in number*/ -boolean isNumber(char *input) -{ - for (int i = 0; input[i] != '\0'; i++) - { - if (isalpha(input[i])) - return false; - } - return true; -} diff --git a/PCB/library/satnogs.3dshapes/Arduino_Pro_Mini.x3d b/library/satnogs.3dshapes/Arduino_Pro_Mini.x3d similarity index 100% rename from PCB/library/satnogs.3dshapes/Arduino_Pro_Mini.x3d rename to library/satnogs.3dshapes/Arduino_Pro_Mini.x3d diff --git a/PCB/library/satnogs.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl b/library/satnogs.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl rename to library/satnogs.3dshapes/CP_Radial_D10.0mm_P5.00mm.wrl diff --git a/PCB/library/satnogs.3dshapes/DO-214AB.wrl b/library/satnogs.3dshapes/DO-214AB.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/DO-214AB.wrl rename to library/satnogs.3dshapes/DO-214AB.wrl diff --git a/PCB/library/satnogs.3dshapes/FuseHolder_Keystone-3557-10.wrl b/library/satnogs.3dshapes/FuseHolder_Keystone-3557-10.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/FuseHolder_Keystone-3557-10.wrl rename to library/satnogs.3dshapes/FuseHolder_Keystone-3557-10.wrl diff --git a/PCB/library/satnogs.3dshapes/HSOP-8.wrl b/library/satnogs.3dshapes/HSOP-8.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/HSOP-8.wrl rename to library/satnogs.3dshapes/HSOP-8.wrl diff --git a/PCB/library/satnogs.3dshapes/Inductor_Bourns-SRR1210.wrl b/library/satnogs.3dshapes/Inductor_Bourns-SRR1210.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/Inductor_Bourns-SRR1210.wrl rename to library/satnogs.3dshapes/Inductor_Bourns-SRR1210.wrl diff --git a/PCB/library/satnogs.3dshapes/MKDS_1.5-4.wrl b/library/satnogs.3dshapes/MKDS_1.5-4.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/MKDS_1.5-4.wrl rename to library/satnogs.3dshapes/MKDS_1.5-4.wrl diff --git a/PCB/library/satnogs.3dshapes/Pololu-Dual-MC33926.x3d b/library/satnogs.3dshapes/Pololu-Dual-MC33926.x3d similarity index 100% rename from PCB/library/satnogs.3dshapes/Pololu-Dual-MC33926.x3d rename to library/satnogs.3dshapes/Pololu-Dual-MC33926.x3d diff --git a/PCB/library/satnogs.3dshapes/Pololu_A4988_Headers.fcstd b/library/satnogs.3dshapes/Pololu_A4988_Headers.fcstd similarity index 100% rename from PCB/library/satnogs.3dshapes/Pololu_A4988_Headers.fcstd rename to library/satnogs.3dshapes/Pololu_A4988_Headers.fcstd diff --git a/PCB/library/satnogs.3dshapes/Pololu_A4988_Headers.wrl b/library/satnogs.3dshapes/Pololu_A4988_Headers.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/Pololu_A4988_Headers.wrl rename to library/satnogs.3dshapes/Pololu_A4988_Headers.wrl diff --git a/PCB/library/satnogs.3dshapes/TCST2103.fcstd b/library/satnogs.3dshapes/TCST2103.fcstd similarity index 100% rename from PCB/library/satnogs.3dshapes/TCST2103.fcstd rename to library/satnogs.3dshapes/TCST2103.fcstd diff --git a/PCB/library/satnogs.3dshapes/TCST2103.wrl b/library/satnogs.3dshapes/TCST2103.wrl similarity index 100% rename from PCB/library/satnogs.3dshapes/TCST2103.wrl rename to library/satnogs.3dshapes/TCST2103.wrl diff --git a/PCB/library/satnogs.dcm b/library/satnogs.dcm similarity index 100% rename from PCB/library/satnogs.dcm rename to library/satnogs.dcm diff --git a/PCB/library/satnogs.lib b/library/satnogs.lib similarity index 100% rename from PCB/library/satnogs.lib rename to library/satnogs.lib diff --git a/PCB/library/satnogs.pretty/Arduino_Pro_Mini.kicad_mod b/library/satnogs.pretty/Arduino_Pro_Mini.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/Arduino_Pro_Mini.kicad_mod rename to library/satnogs.pretty/Arduino_Pro_Mini.kicad_mod diff --git a/PCB/library/satnogs.pretty/CP_Radial_D10.0mm_P5.00mm.kicad_mod b/library/satnogs.pretty/CP_Radial_D10.0mm_P5.00mm.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/CP_Radial_D10.0mm_P5.00mm.kicad_mod rename to library/satnogs.pretty/CP_Radial_D10.0mm_P5.00mm.kicad_mod diff --git a/PCB/library/satnogs.pretty/DO-214AB_Handsoldering.kicad_mod b/library/satnogs.pretty/DO-214AB_Handsoldering.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/DO-214AB_Handsoldering.kicad_mod rename to library/satnogs.pretty/DO-214AB_Handsoldering.kicad_mod diff --git a/PCB/library/satnogs.pretty/FuseHolder_Keystone-3557-10.kicad_mod b/library/satnogs.pretty/FuseHolder_Keystone-3557-10.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/FuseHolder_Keystone-3557-10.kicad_mod rename to library/satnogs.pretty/FuseHolder_Keystone-3557-10.kicad_mod diff --git a/PCB/library/satnogs.pretty/HSOP-8.kicad_mod b/library/satnogs.pretty/HSOP-8.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/HSOP-8.kicad_mod rename to library/satnogs.pretty/HSOP-8.kicad_mod diff --git a/PCB/library/satnogs.pretty/Inductor_Bourns-SRR1210.kicad_mod b/library/satnogs.pretty/Inductor_Bourns-SRR1210.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/Inductor_Bourns-SRR1210.kicad_mod rename to library/satnogs.pretty/Inductor_Bourns-SRR1210.kicad_mod diff --git a/PCB/library/satnogs.pretty/Inductor_Bourns-SRR1210_HandSoldering.kicad_mod b/library/satnogs.pretty/Inductor_Bourns-SRR1210_HandSoldering.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/Inductor_Bourns-SRR1210_HandSoldering.kicad_mod rename to library/satnogs.pretty/Inductor_Bourns-SRR1210_HandSoldering.kicad_mod diff --git a/PCB/library/satnogs.pretty/MKDS_1.5-4.kicad_mod b/library/satnogs.pretty/MKDS_1.5-4.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/MKDS_1.5-4.kicad_mod rename to library/satnogs.pretty/MKDS_1.5-4.kicad_mod diff --git a/PCB/library/satnogs.pretty/Pololu_A4988.kicad_mod b/library/satnogs.pretty/Pololu_A4988.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/Pololu_A4988.kicad_mod rename to library/satnogs.pretty/Pololu_A4988.kicad_mod diff --git a/PCB/library/satnogs.pretty/Pololu_Dual_MC33926.kicad_mod b/library/satnogs.pretty/Pololu_Dual_MC33926.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/Pololu_Dual_MC33926.kicad_mod rename to library/satnogs.pretty/Pololu_Dual_MC33926.kicad_mod diff --git a/PCB/library/satnogs.pretty/SOIC-8_3.9x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod b/library/satnogs.pretty/SOIC-8_3.9x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/SOIC-8_3.9x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod rename to library/satnogs.pretty/SOIC-8_3.9x4.9mm_Pitch1.27mm_HandSoldering.kicad_mod diff --git a/PCB/library/satnogs.pretty/SOT-23-5_HandSoldering.kicad_mod b/library/satnogs.pretty/SOT-23-5_HandSoldering.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/SOT-23-5_HandSoldering.kicad_mod rename to library/satnogs.pretty/SOT-23-5_HandSoldering.kicad_mod diff --git a/PCB/library/satnogs.pretty/TCST2103.kicad_mod b/library/satnogs.pretty/TCST2103.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/TCST2103.kicad_mod rename to library/satnogs.pretty/TCST2103.kicad_mod diff --git a/PCB/library/satnogs.pretty/TSSOP-8_3x3mm_Pitch0.65mm_HandSoldering.kicad_mod b/library/satnogs.pretty/TSSOP-8_3x3mm_Pitch0.65mm_HandSoldering.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/TSSOP-8_3x3mm_Pitch0.65mm_HandSoldering.kicad_mod rename to library/satnogs.pretty/TSSOP-8_3x3mm_Pitch0.65mm_HandSoldering.kicad_mod diff --git a/PCB/library/satnogs.pretty/satnogs_logo.kicad_mod b/library/satnogs.pretty/satnogs_logo.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/satnogs_logo.kicad_mod rename to library/satnogs.pretty/satnogs_logo.kicad_mod diff --git a/PCB/library/satnogs.pretty/via-0.8mm.kicad_mod b/library/satnogs.pretty/via-0.8mm.kicad_mod similarity index 100% rename from PCB/library/satnogs.pretty/via-0.8mm.kicad_mod rename to library/satnogs.pretty/via-0.8mm.kicad_mod diff --git a/PCB/satnogs_controller/fp-lib-table b/satnogs_controller/fp-lib-table similarity index 100% rename from PCB/satnogs_controller/fp-lib-table rename to satnogs_controller/fp-lib-table diff --git a/PCB/satnogs_controller/satnogs_controller-cache.lib b/satnogs_controller/satnogs_controller-cache.lib similarity index 100% rename from PCB/satnogs_controller/satnogs_controller-cache.lib rename to satnogs_controller/satnogs_controller-cache.lib diff --git a/PCB/satnogs_controller/satnogs_controller.cmp b/satnogs_controller/satnogs_controller.cmp similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.cmp rename to satnogs_controller/satnogs_controller.cmp diff --git a/PCB/satnogs_controller/satnogs_controller.csv b/satnogs_controller/satnogs_controller.csv similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.csv rename to satnogs_controller/satnogs_controller.csv diff --git a/PCB/satnogs_controller/satnogs_controller.kicad_pcb b/satnogs_controller/satnogs_controller.kicad_pcb similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.kicad_pcb rename to satnogs_controller/satnogs_controller.kicad_pcb diff --git a/PCB/satnogs_controller/satnogs_controller.net b/satnogs_controller/satnogs_controller.net similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.net rename to satnogs_controller/satnogs_controller.net diff --git a/PCB/satnogs_controller/satnogs_controller.pro b/satnogs_controller/satnogs_controller.pro similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.pro rename to satnogs_controller/satnogs_controller.pro diff --git a/PCB/satnogs_controller/satnogs_controller.sch b/satnogs_controller/satnogs_controller.sch similarity index 100% rename from PCB/satnogs_controller/satnogs_controller.sch rename to satnogs_controller/satnogs_controller.sch diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601 b/satnogs_encoder/encoder_as5601/encoder_as5601 similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601 rename to satnogs_encoder/encoder_as5601/encoder_as5601 diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601-cache.lib b/satnogs_encoder/encoder_as5601/encoder_as5601-cache.lib similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601-cache.lib rename to satnogs_encoder/encoder_as5601/encoder_as5601-cache.lib diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.csv b/satnogs_encoder/encoder_as5601/encoder_as5601.csv similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.csv rename to satnogs_encoder/encoder_as5601/encoder_as5601.csv diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.kicad_pcb b/satnogs_encoder/encoder_as5601/encoder_as5601.kicad_pcb similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.kicad_pcb rename to satnogs_encoder/encoder_as5601/encoder_as5601.kicad_pcb diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.net b/satnogs_encoder/encoder_as5601/encoder_as5601.net similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.net rename to satnogs_encoder/encoder_as5601/encoder_as5601.net diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.pro b/satnogs_encoder/encoder_as5601/encoder_as5601.pro similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.pro rename to satnogs_encoder/encoder_as5601/encoder_as5601.pro diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.sch b/satnogs_encoder/encoder_as5601/encoder_as5601.sch similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.sch rename to satnogs_encoder/encoder_as5601/encoder_as5601.sch diff --git a/PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.xml b/satnogs_encoder/encoder_as5601/encoder_as5601.xml similarity index 100% rename from PCB/SatNOGS_Encoder/encoder_as5601/encoder_as5601.xml rename to satnogs_encoder/encoder_as5601/encoder_as5601.xml