Make PCB for fabric made

This commit is contained in:
eddyem 2018-01-24 12:48:36 +03:00
parent be520f32de
commit ff79aa36e3
12 changed files with 6416 additions and 2739 deletions

View File

@ -77,20 +77,28 @@ Getters returning more than one field ends with `DATAEND` meaning that's all dat
All variables here are fields of `user_conf` struct.
* **R** - get *raw ADC* values, e.g.
* **R** - get *raw ADC* values:
* 0 - Steppers current
* 1 - Input voltage 12V
* 2 - EndSwitch2 of motor1
* 3 - EndSwitch1 of motor1
* 4 - inner temperature
* 5 - vref
E.g.:
```
ADC[0]=1991
ADC[1]=124
ADC[2]=1351
ADC[3]=1909
ADC[4]=0
ADC[5]=0
ADC[6]=1707
ADC[7]=1531
ADC[0]=4095
ADC[1]=2340
ADC[2]=4095
ADC[3]=4087
ADC[4]=1665
ADC[5]=1532
DATAEND
```
* **S** - get *motors' status*, e.g.
```
@ -99,7 +107,8 @@ MOTOR0=STOP
POS0=-1
ESW00=ERR
ESW01=BTN
MOTOR1=STOPPOS1=-1
MOTOR1=STOP
POS1=-1
ESW10=HALL
ESW11=HALL
@ -130,6 +139,7 @@ Change of any setter takes place in MCU RAM immediately. To store them permanent
* **E num** - set *numerator*
* **I num** - set *device ID*
* **M#num** - set maxsteps (*num* is 1..65535) for motor `#`
* **P num** - properties of internal pullup (0 - disabled, other or without `num` - enabled)
* **R#num** - set reverse for motor # (*num* == 0 turns reverse off, *num* == 1 turns it on)
* **S#num** - set *speed* (`motspd`) to *num* for motor #
* **T num** - set *end-switches threshold* (in ADU, near 0 for Hall switch, 2048 for user button

View File

@ -45,6 +45,7 @@ user_conf the_conf = {
,.motspd = {10, 10} // max speed: 300 steps per second
,.maxsteps = {50000, 50000} // max steps from point to point
,.reverse = {0,0} // set DIR to this value when moving to '+'
,.intpullup = 1 // by default internal pullup @ Tx pin enabled
};
static int erase_flash();

View File

@ -40,6 +40,7 @@ typedef struct{
uint16_t motspd[2]; // max motor speed ([3000 / motspd] steps per second)
uint16_t maxsteps[2]; // maximum amount of steps for each motor (0 - infinity)
uint8_t reverse[2]; // == 1 if positive direction when DIR is low
uint8_t intpullup; // internal pullup @ Tx
} user_conf;
extern user_conf the_conf;

View File

@ -38,7 +38,7 @@ void sys_tick_handler(void){
* PA6 (Tim3Ch1) M2STEP
* PA5 - M2EN
* PA7 - M2DIR
* PB1 - 12V on/off
* PB1 - 12V current sensor on/off - set it to 1 to turn off MAX471
* PF0 - M1EN
* PF1 - M1DIR
*/

View File

@ -267,7 +267,9 @@ static char *get_conf(){
put_uint((uint32_t) *curdesc->ptr);
SENDBUF();
}while((++curdesc)->fieldname);
write2trbuf("USARTSPD=");
write2trbuf("INTPULLUP=");
put2trbuf(the_conf.intpullup ? '1' : '0');
write2trbuf("\nUSARTSPD=");
put_uint(the_conf.usartspd);
SENDBUF();
write2trbuf("REVERSE0=");
@ -338,6 +340,11 @@ static char *set_something(char *str){
case 'M': // set maxsteps
setmotvals('M', str);
break;
case 'P': // set pullup
omitwsp(str);
if(*str == '0') the_conf.intpullup = 0;
else the_conf.intpullup = 1;
break;
case 'R': // set reverse
setmotvals('R', str);
break;

View File

@ -72,9 +72,8 @@ void USART1_config(){
| (1 << (1 * 4)) | (1 << (2 * 4)); /* (2) */
// Tx (PA9) in OD mode
GPIOA->OTYPER |= 1 << 9;
#ifdef EBUG
if(the_conf.intpullup)
GPIOA->PUPDR = (GPIOA->PUPDR & ~GPIO_PUPDR_PUPDR9) | GPIO_PUPDR_PUPDR9_0; // set pullup for Tx
#endif
/* Enable the peripheral clock USART1 */
RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
/* Configure USART1 */

View File

@ -0,0 +1,10 @@
(module VIA (layer F.Cu) (tedit 5A65DDA8)
(fp_text reference REF** (at 0 0.5) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value VIA (at 0 -0.5) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 1 thru_hole circle (at 0 0) (size 1.5 1.5) (drill 0.8) (layers *.Cu *.Mask)
(zone_connect 1))
)

View File

@ -93,28 +93,6 @@ X ~ 2 0 -100 73 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x01
#
DEF Conn_01x01 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Conn_01x01" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Connector*:*_??x*mm*
Connector*:*1x??x*mm*
Pin?Header?Straight?1X*
Pin?Header?Angled?1X*
Socket?Strip?Straight?1X*
Socket?Strip?Angled?1X*
$ENDFPLIST
DRAW
S -50 5 0 -5 1 1 6 N
S -50 50 50 -50 1 1 10 f
X Pin_1 1 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Conn_01x02
#
DEF Conn_01x02 J 0 40 Y N 1 F N

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
(export (version D)
(design
(source /home/eddy/Docs/SAO/Zeiss-1000/Simple_photometer/kicad/steppers.sch)
(date "Пт 19 янв 2018 11:53:59")
(date "Ср 24 янв 2018 09:48:27")
(tool "Eeschema 4.0.7")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -22,23 +22,11 @@
(sheetpath (names /) (tstamps /))
(tstamp 58C454F6))
(comp (ref Q1)
(value AO3401)
(value AO3407)
(footprint TO_SOT_Packages_SMD.pretty:SOT-23_Handsoldering)
(libsource (lib device) (part Q_PMOS_GSD))
(sheetpath (names /) (tstamps /))
(tstamp 5910E2F2))
(comp (ref D2)
(value MM3Z3V6)
(footprint Diodes_SMD.pretty:D_0805)
(libsource (lib device) (part D_Zener))
(sheetpath (names /) (tstamps /))
(tstamp 5910F169))
(comp (ref R5)
(value 2k2)
(footprint Resistors_SMD.pretty:R_0805_HandSoldering)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 591101C8))
(comp (ref R1)
(value 10k)
(footprint Resistors_SMD.pretty:R_0603_HandSoldering)
@ -59,52 +47,16 @@
(tstamp 590D4832))
(comp (ref SW2)
(value Boot)
(footprint Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1)
(footprint Buttons_Switches_SMD.pretty:SW_SPST_FSMSM)
(libsource (lib switches) (part SW_Push))
(sheetpath (names /) (tstamps /))
(tstamp 5909F6B6))
(comp (ref SW1)
(value Reset)
(footprint Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1)
(footprint Buttons_Switches_SMD.pretty:SW_SPST_FSMSM)
(libsource (lib switches) (part SW_Push))
(sheetpath (names /) (tstamps /))
(tstamp 590A0134))
(comp (ref P4)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 59143415))
(comp (ref P5)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 5914456D))
(comp (ref P6)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 591446F3))
(comp (ref P1)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 591446F9))
(comp (ref P2)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 5A16E72F))
(comp (ref P3)
(value Hole)
(footprint my_footprints:Hole_3mm)
(libsource (lib conn) (part Conn_01x01))
(sheetpath (names /) (tstamps /))
(tstamp 5A16E735))
(comp (ref J2)
(value 12VIN)
(footprint Connectors_Terminal_Blocks.pretty:TerminalBlock_Pheonix_MKDS1.5-2pol)
@ -189,12 +141,6 @@
(libsource (lib conn) (part Conn_02x05_Odd_Even))
(sheetpath (names /) (tstamps /))
(tstamp 5A1727CF))
(comp (ref R14)
(value 47)
(footprint Resistors_SMD.pretty:R_0603_HandSoldering)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A1727D9))
(comp (ref R22)
(value 220)
(footprint Resistors_SMD.pretty:R_0603_HandSoldering)
@ -268,17 +214,11 @@
(sheetpath (names /) (tstamps /))
(tstamp 5A18903C))
(comp (ref C6)
(value 0.1)
(footprint Capacitors_SMD.pretty:C_0603_HandSoldering)
(value 1)
(footprint Capacitors_SMD.pretty:C_0805_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 5A1AB970))
(comp (ref C7)
(value 0.1)
(footprint Capacitors_SMD.pretty:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 5A1ABACF))
(comp (ref C8)
(value 1u)
(footprint Capacitors_SMD.pretty:C_0805_HandSoldering)
@ -335,7 +275,7 @@
(tstamp 5A1F544E))
(comp (ref R23)
(value 47k)
(footprint Resistors_SMD.pretty:R_0603_HandSoldering)
(footprint Resistors_SMD.pretty:R_0805_HandSoldering)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A21099C))
@ -357,12 +297,6 @@
(libsource (lib steppers-rescue) (part LM1117-3.3-RESCUE-steppers))
(sheetpath (names /) (tstamps /))
(tstamp 5A2588E7))
(comp (ref R27)
(value 0)
(footprint Resistors_SMD.pretty:R_0805_HandSoldering)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A27F88F))
(comp (ref C5)
(value 0.1)
(footprint Capacitors_SMD.pretty:C_0603_HandSoldering)
@ -374,7 +308,13 @@
(footprint Capacitors_SMD.pretty:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 5A386BD0)))
(tstamp 5A386BD0))
(comp (ref C7)
(value 1u)
(footprint Capacitors_SMD.pretty:C_0805_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 5A69BFB3)))
(libparts
(libpart (lib device) (part C)
(description "Unpolarized capacitor")
@ -406,21 +346,6 @@
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib conn) (part Conn_01x01)
(description "Generic connector, single row, 01x01")
(docs ~)
(footprints
(fp Connector*:*_??x*mm*)
(fp Connector*:*1x??x*mm*)
(fp Pin?Header?Straight?1X*)
(fp Pin?Header?Angled?1X*)
(fp Socket?Strip?Straight?1X*)
(fp Socket?Strip?Angled?1X*))
(fields
(field (name Reference) J)
(field (name Value) Conn_01x01))
(pins
(pin (num 1) (name Pin_1) (type passive))))
(libpart (lib conn) (part Conn_01x02)
(description "Generic connector, single row, 01x02")
(docs ~)
@ -632,265 +557,240 @@
(pin (num 1) (name 1) (type passive))
(pin (num 2) (name 2) (type passive)))))
(libraries
(library (logical steppers-rescue)
(uri steppers-rescue.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib))
(library (logical device)
(uri /usr/share/kicad/library/device.lib))
(library (logical ESD_Protection)
(uri /usr/share/kicad/library/ESD_Protection.lib))
(library (logical linear)
(uri /usr/share/kicad/library/linear.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib))
(library (logical stm32)
(uri /usr/share/kicad/library/stm32.lib))
(library (logical ESD_Protection)
(uri /usr/share/kicad/library/ESD_Protection.lib))
(library (logical device)
(uri /usr/share/kicad/library/device.lib))
(library (logical steppers-rescue)
(uri steppers-rescue.lib))
(library (logical switches)
(uri /usr/share/kicad/library/switches.lib)))
(nets
(net (code 1) (name "Net-(J6-Pad7)")
(net (code 1) (name "Net-(J7-Pad6)")
(node (ref J7) (pin 6))
(node (ref R20) (pin 2)))
(net (code 2) (name /~Fault)
(node (ref U3) (pin 14))
(node (ref J5) (pin 2))
(node (ref J4) (pin 2)))
(net (code 3) (name "Net-(J6-Pad7)")
(node (ref R18) (pin 2))
(node (ref J6) (pin 7)))
(net (code 2) (name "Net-(J6-Pad5)")
(node (ref R16) (pin 2))
(node (ref J6) (pin 5)))
(net (code 3) (name "Net-(J6-Pad6)")
(node (ref J6) (pin 6))
(node (ref R17) (pin 2)))
(net (code 4) (name /M2ESW2)
(node (ref U3) (pin 20))
(node (ref D4) (pin 5))
(node (ref R22) (pin 1)))
(net (code 5) (name "Net-(J4-Pad2)")
(node (ref J4) (pin 2)))
(net (code 6) (name "Net-(J7-Pad5)")
(node (ref J7) (pin 5))
(node (ref R19) (pin 2)))
(net (code 4) (name "Net-(J6-Pad5)")
(node (ref J6) (pin 5))
(node (ref R16) (pin 2)))
(net (code 5) (name "Net-(J6-Pad6)")
(node (ref R17) (pin 2))
(node (ref J6) (pin 6)))
(net (code 6) (name /M1EN)
(node (ref J6) (pin 8))
(node (ref U3) (pin 2)))
(net (code 7) (name "Net-(J7-Pad7)")
(node (ref J7) (pin 7))
(node (ref R21) (pin 2)))
(net (code 8) (name /M2_B*)
(node (ref J5) (pin 6))
(node (ref J8) (pin 8)))
(net (code 9) (name "Net-(J5-Pad2)")
(node (ref J5) (pin 2)))
(net (code 10) (name /M2_A*)
(node (ref J5) (pin 3))
(node (ref J8) (pin 2)))
(net (code 11) (name /M2_B)
(node (ref J8) (pin 6))
(node (ref J5) (pin 5)))
(net (code 12) (name "Net-(J7-Pad6)")
(node (ref J7) (pin 6))
(node (ref R20) (pin 2)))
(net (code 13) (name GND)
(node (ref J4) (pin 7))
(node (ref J1) (pin 1))
(node (ref D4) (pin 2))
(node (ref D1) (pin 3))
(node (ref U3) (pin 15))
(node (ref J8) (pin 1))
(node (ref C12) (pin 2))
(node (ref C5) (pin 1))
(node (ref J3) (pin 1))
(node (ref U1) (pin 1))
(node (ref J2) (pin 1))
(node (ref J5) (pin 7))
(node (ref J5) (pin 1))
(node (ref C8) (pin 2))
(node (ref D3) (pin 2))
(node (ref C9) (pin 2))
(node (ref R9) (pin 1))
(node (ref C3) (pin 2))
(node (ref C7) (pin 2))
(node (ref C6) (pin 2))
(node (ref J4) (pin 1))
(node (ref SW1) (pin 2))
(node (ref R1) (pin 2))
(node (ref C2) (pin 2))
(node (ref C1) (pin 2))
(node (ref C4) (pin 2))
(node (ref R5) (pin 2))
(node (ref U2) (pin 4))
(node (ref R6) (pin 1))
(node (ref C10) (pin 2))
(node (ref C11) (pin 2)))
(net (code 14) (name +3V3)
(node (ref R24) (pin 1))
(node (ref C7) (pin 1))
(node (ref C6) (pin 1))
(node (ref R23) (pin 1))
(node (ref R11) (pin 1))
(node (ref U3) (pin 5))
(node (ref J7) (pin 3))
(node (ref J7) (pin 4))
(node (ref R19) (pin 1))
(node (ref SW2) (pin 2))
(node (ref R20) (pin 1))
(node (ref R21) (pin 1))
(node (ref U1) (pin 2))
(node (ref U3) (pin 16))
(node (ref C4) (pin 1))
(node (ref R16) (pin 1))
(node (ref R17) (pin 1))
(node (ref R18) (pin 1))
(node (ref U1) (pin 4))
(node (ref J6) (pin 3))
(node (ref J6) (pin 4))
(node (ref R14) (pin 2)))
(net (code 15) (name "Net-(J3-Pad10)")
(net (code 8) (name "Net-(J7-Pad5)")
(node (ref J7) (pin 5))
(node (ref R19) (pin 2)))
(net (code 9) (name "Net-(J3-Pad10)")
(node (ref J3) (pin 10)))
(net (code 16) (name "Net-(R6-Pad2)")
(node (ref U2) (pin 8))
(node (ref R6) (pin 2))
(node (ref R7) (pin 1)))
(net (code 17) (name "Net-(J1-Pad2)")
(node (ref R4) (pin 2))
(node (ref J1) (pin 2)))
(net (code 18) (name "Net-(J1-Pad3)")
(net (code 10) (name "Net-(J1-Pad3)")
(node (ref J1) (pin 3))
(node (ref R3) (pin 2)))
(net (code 19) (name "Net-(D2-Pad2)")
(node (ref Q1) (pin 1))
(node (ref R5) (pin 1))
(node (ref D2) (pin 2)))
(net (code 20) (name /M1_B)
(node (ref J4) (pin 5))
(node (ref J3) (pin 6)))
(net (code 21) (name "Net-(J3-Pad7)")
(node (ref J3) (pin 7))
(node (ref R13) (pin 2)))
(net (code 22) (name /M1_B*)
(node (ref J4) (pin 6))
(node (ref J3) (pin 8)))
(net (code 23) (name "Net-(J3-Pad9)")
(net (code 11) (name "Net-(J1-Pad2)")
(node (ref J1) (pin 2))
(node (ref R4) (pin 2)))
(net (code 12) (name "Net-(R6-Pad2)")
(node (ref R6) (pin 2))
(node (ref U2) (pin 8))
(node (ref R7) (pin 1)))
(net (code 13) (name /STP12)
(node (ref C10) (pin 1))
(node (ref C11) (pin 1))
(node (ref J5) (pin 8))
(node (ref U2) (pin 7))
(node (ref U2) (pin 6))
(node (ref J4) (pin 8)))
(net (code 14) (name "Net-(J8-Pad7)")
(node (ref R22) (pin 2))
(node (ref J8) (pin 7)))
(net (code 15) (name "Net-(J3-Pad7)")
(node (ref R13) (pin 2))
(node (ref J3) (pin 7)))
(net (code 16) (name "Net-(J3-Pad9)")
(node (ref J3) (pin 9))
(node (ref R12) (pin 2)))
(net (code 24) (name "Net-(J8-Pad7)")
(node (ref J8) (pin 7))
(node (ref R22) (pin 2)))
(net (code 25) (name "Net-(J8-Pad5)")
(node (ref J8) (pin 5))
(node (ref R14) (pin 1)))
(net (code 26) (name "Net-(J8-Pad9)")
(node (ref R15) (pin 2))
(node (ref J8) (pin 9)))
(net (code 27) (name /M1_A*)
(node (ref J4) (pin 3))
(node (ref J3) (pin 2)))
(net (code 28) (name "Net-(J3-Pad3)")
(net (code 17) (name /M1_B*)
(node (ref J3) (pin 8))
(node (ref J4) (pin 6)))
(net (code 18) (name /M1_B)
(node (ref J3) (pin 6))
(node (ref J4) (pin 5)))
(net (code 19) (name /M1_A)
(node (ref J4) (pin 4))
(node (ref J3) (pin 4)))
(net (code 20) (name "Net-(J3-Pad3)")
(node (ref J3) (pin 3)))
(net (code 29) (name /M1_A)
(node (ref J3) (pin 4))
(node (ref J4) (pin 4)))
(net (code 30) (name /M1ESW1)
(node (ref U3) (pin 9))
(node (ref D4) (pin 4))
(net (code 21) (name GND)
(node (ref SW1) (pin 2))
(node (ref C5) (pin 1))
(node (ref C1) (pin 2))
(node (ref U2) (pin 1))
(node (ref C12) (pin 2))
(node (ref R1) (pin 2))
(node (ref Q1) (pin 1))
(node (ref D4) (pin 2))
(node (ref J1) (pin 1))
(node (ref D1) (pin 3))
(node (ref C3) (pin 2))
(node (ref C2) (pin 2))
(node (ref J2) (pin 1))
(node (ref J3) (pin 1))
(node (ref J8) (pin 1))
(node (ref R6) (pin 1))
(node (ref C11) (pin 2))
(node (ref C10) (pin 2))
(node (ref U3) (pin 15))
(node (ref J5) (pin 7))
(node (ref U1) (pin 1))
(node (ref C6) (pin 2))
(node (ref J4) (pin 7))
(node (ref C7) (pin 1))
(node (ref R9) (pin 1))
(node (ref C4) (pin 2))
(node (ref J5) (pin 1))
(node (ref C9) (pin 2))
(node (ref U2) (pin 4))
(node (ref D3) (pin 2))
(node (ref C8) (pin 2))
(node (ref J4) (pin 1)))
(net (code 22) (name /3.3Vsen)
(node (ref R11) (pin 2))
(node (ref J8) (pin 5))
(node (ref C7) (pin 2))
(node (ref J3) (pin 5)))
(net (code 23) (name /M1_A*)
(node (ref J3) (pin 2))
(node (ref J4) (pin 3)))
(net (code 24) (name /M1ESW2)
(node (ref D4) (pin 3))
(node (ref U3) (pin 8))
(node (ref R13) (pin 1))
(node (ref R24) (pin 2))
(node (ref C5) (pin 2)))
(net (code 25) (name /M1ESW1)
(node (ref R23) (pin 2))
(node (ref C12) (pin 1))
(node (ref D4) (pin 4))
(node (ref R12) (pin 1))
(node (ref C12) (pin 1)))
(net (code 31) (name /M2ESW1)
(node (ref R15) (pin 1))
(node (ref D4) (pin 1))
(node (ref U3) (pin 19)))
(net (code 32) (name "Net-(R27-Pad1)")
(node (ref U3) (pin 1))
(node (ref R27) (pin 1)))
(net (code 33) (name /BOOT0)
(node (ref R1) (pin 1))
(node (ref R27) (pin 2))
(node (ref SW2) (pin 1))
(node (ref C2) (pin 1)))
(net (code 34) (name "Net-(D3-Pad1)")
(node (ref D3) (pin 1))
(node (ref U3) (pin 9)))
(net (code 26) (name /U12V)
(node (ref U3) (pin 7))
(node (ref C9) (pin 1))
(node (ref R10) (pin 2)))
(net (code 27) (name +12V)
(node (ref C3) (pin 1))
(node (ref U2) (pin 2))
(node (ref Q1) (pin 2))
(node (ref U2) (pin 3))
(node (ref R8) (pin 2))
(node (ref U1) (pin 3)))
(net (code 28) (name "Net-(D3-Pad1)")
(node (ref R10) (pin 1))
(node (ref R9) (pin 2))
(node (ref R8) (pin 1))
(node (ref R10) (pin 1)))
(net (code 35) (name /U12V)
(node (ref R10) (pin 2))
(node (ref U3) (pin 7))
(node (ref C9) (pin 1)))
(net (code 36) (name +12V)
(node (ref R8) (pin 2))
(node (ref U2) (pin 2))
(node (ref C3) (pin 1))
(node (ref U2) (pin 3))
(node (ref Q1) (pin 2))
(node (ref U1) (pin 3))
(node (ref D2) (pin 1)))
(net (code 37) (name "Net-(J3-Pad5)")
(node (ref J3) (pin 5))
(node (ref R11) (pin 2)))
(net (code 38) (name /STP12)
(node (ref C10) (pin 1))
(node (ref J5) (pin 8))
(node (ref C11) (pin 1))
(node (ref U2) (pin 6))
(node (ref U2) (pin 7))
(node (ref J4) (pin 8)))
(net (code 39) (name /M2STEP)
(node (ref U3) (pin 12))
(node (ref J7) (pin 2)))
(net (code 40) (name /STPCURRENT)
(node (ref C8) (pin 1))
(node (ref R7) (pin 2))
(node (ref U3) (pin 6)))
(net (code 41) (name /M1STEP)
(node (ref U3) (pin 10))
(node (ref J6) (pin 2)))
(net (code 42) (name /M2EN)
(node (ref U3) (pin 11))
(node (ref J7) (pin 8)))
(net (code 43) (name /M2DIR)
(node (ref U3) (pin 13))
(node (ref J7) (pin 1)))
(net (code 44) (name /USART_TX)
(node (ref D3) (pin 1)))
(net (code 29) (name "Net-(J8-Pad9)")
(node (ref J8) (pin 9))
(node (ref R15) (pin 2)))
(net (code 30) (name /USART_TX)
(node (ref D1) (pin 2))
(node (ref U3) (pin 17))
(node (ref R4) (pin 1)))
(net (code 45) (name /USART_RX)
(node (ref U3) (pin 18))
(node (ref R4) (pin 1))
(node (ref U3) (pin 17)))
(net (code 31) (name /USART_RX)
(node (ref R3) (pin 1))
(node (ref D1) (pin 1))
(node (ref R3) (pin 1)))
(net (code 46) (name "Net-(J8-Pad3)")
(node (ref U3) (pin 18)))
(net (code 32) (name /M2ESW1)
(node (ref D4) (pin 1))
(node (ref U3) (pin 19))
(node (ref R15) (pin 1)))
(net (code 33) (name "Net-(J8-Pad3)")
(node (ref J8) (pin 3)))
(net (code 47) (name /M1ESW2)
(node (ref U3) (pin 8))
(node (ref C5) (pin 2))
(node (ref R24) (pin 2))
(node (ref R13) (pin 1))
(node (ref D4) (pin 3)))
(net (code 48) (name /M2_A)
(net (code 34) (name "Net-(J8-Pad10)")
(node (ref J8) (pin 10)))
(net (code 35) (name /M2_B*)
(node (ref J8) (pin 8))
(node (ref J5) (pin 6)))
(net (code 36) (name /M2_B)
(node (ref J5) (pin 5))
(node (ref J8) (pin 6)))
(net (code 37) (name /M2_A)
(node (ref J5) (pin 4))
(node (ref J8) (pin 4)))
(net (code 49) (name "Net-(J8-Pad10)")
(node (ref J8) (pin 10)))
(net (code 50) (name /NRST)
(net (code 38) (name /M2_A*)
(node (ref J8) (pin 2))
(node (ref J5) (pin 3)))
(net (code 39) (name "Net-(J2-Pad2)")
(node (ref Q1) (pin 3))
(node (ref J2) (pin 2)))
(net (code 40) (name /M2DIR)
(node (ref U3) (pin 13))
(node (ref J7) (pin 1)))
(net (code 41) (name /M2STEP)
(node (ref U3) (pin 12))
(node (ref J7) (pin 2)))
(net (code 42) (name /M2EN)
(node (ref J7) (pin 8))
(node (ref U3) (pin 11)))
(net (code 43) (name /M2ESW2)
(node (ref D4) (pin 5))
(node (ref U3) (pin 20))
(node (ref R22) (pin 1)))
(net (code 44) (name /M1STEP)
(node (ref U3) (pin 10))
(node (ref J6) (pin 2)))
(net (code 45) (name /STPCURRENT)
(node (ref R7) (pin 2))
(node (ref U3) (pin 6))
(node (ref C8) (pin 1)))
(net (code 46) (name /NRST)
(node (ref SW1) (pin 1))
(node (ref U3) (pin 4))
(node (ref C1) (pin 1))
(node (ref SW1) (pin 1)))
(net (code 51) (name "Net-(J2-Pad2)")
(node (ref J2) (pin 2))
(node (ref Q1) (pin 3)))
(net (code 52) (name "Net-(P4-Pad1)")
(node (ref P4) (pin 1)))
(net (code 53) (name "Net-(P5-Pad1)")
(node (ref P5) (pin 1)))
(net (code 54) (name "Net-(P6-Pad1)")
(node (ref P6) (pin 1)))
(net (code 55) (name "Net-(U2-Pad5)")
(node (ref C1) (pin 1)))
(net (code 47) (name /M1DIR)
(node (ref J6) (pin 1))
(node (ref U3) (pin 3)))
(net (code 48) (name /BOOT0)
(node (ref SW2) (pin 1))
(node (ref C2) (pin 1))
(node (ref R1) (pin 1))
(node (ref U3) (pin 1)))
(net (code 49) (name "Net-(U2-Pad5)")
(node (ref U2) (pin 5)))
(net (code 56) (name /M1EN)
(node (ref U3) (pin 2))
(node (ref J6) (pin 8)))
(net (code 57) (name /M1DIR)
(node (ref U3) (pin 3))
(node (ref J6) (pin 1)))
(net (code 58) (name /SHDN)
(node (ref U2) (pin 1))
(node (ref U3) (pin 14)))
(net (code 59) (name "Net-(P3-Pad1)")
(node (ref P3) (pin 1)))
(net (code 60) (name "Net-(P2-Pad1)")
(node (ref P2) (pin 1)))
(net (code 61) (name "Net-(P1-Pad1)")
(node (ref P1) (pin 1)))))
(net (code 50) (name +3V3)
(node (ref R11) (pin 1))
(node (ref R18) (pin 1))
(node (ref R17) (pin 1))
(node (ref R16) (pin 1))
(node (ref R24) (pin 1))
(node (ref R19) (pin 1))
(node (ref U1) (pin 2))
(node (ref U3) (pin 16))
(node (ref U1) (pin 4))
(node (ref U3) (pin 5))
(node (ref R23) (pin 1))
(node (ref C4) (pin 1))
(node (ref C6) (pin 1))
(node (ref J7) (pin 3))
(node (ref J7) (pin 4))
(node (ref R20) (pin 1))
(node (ref R21) (pin 1))
(node (ref SW2) (pin 2))
(node (ref J6) (pin 3))
(node (ref J6) (pin 4)))))

View File

@ -31,10 +31,10 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L GND #PWR01
L GND #PWR9
U 1 1 58C453C7
P 2750 5600
F 0 "#PWR01" H 2750 5350 50 0001 C CNN
F 0 "#PWR9" H 2750 5350 50 0001 C CNN
F 1 "GND" H 2750 5450 50 0000 C CNN
F 2 "" H 2750 5600 50 0000 C CNN
F 3 "" H 2750 5600 50 0000 C CNN
@ -53,10 +53,10 @@ F 3 "" H 3150 5400 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR02
L +3.3V #PWR10
U 1 1 58C455CB
P 3350 5100
F 0 "#PWR02" H 3350 4950 50 0001 C CNN
F 0 "#PWR10" H 3350 4950 50 0001 C CNN
F 1 "+3.3V" H 3350 5240 50 0000 C CNN
F 2 "" H 3350 5100 50 0000 C CNN
F 3 "" H 3350 5100 50 0000 C CNN
@ -66,14 +66,14 @@ $EndComp
Text Notes 900 4650 0 100 ~ 0
3.3V MCU power source\nwith short-circuit protection
$Comp
L GND #PWR03
L GND #PWR6
U 1 1 5910CDAC
P 1400 5550
F 0 "#PWR03" H 1400 5300 50 0001 C CNN
F 1 "GND" H 1400 5400 50 0000 C CNN
F 2 "" H 1400 5550 50 0000 C CNN
F 3 "" H 1400 5550 50 0000 C CNN
1 1400 5550
P 1600 5550
F 0 "#PWR6" H 1600 5300 50 0001 C CNN
F 1 "GND" H 1600 5400 50 0000 C CNN
F 2 "" H 1600 5550 50 0000 C CNN
F 3 "" H 1600 5550 50 0000 C CNN
1 1600 5550
1 0 0 -1
$EndComp
$Comp
@ -81,34 +81,12 @@ L Q_PMOS_GSD Q1
U 1 1 5910E2F2
P 1750 5200
F 0 "Q1" H 1950 5250 50 0000 L CNN
F 1 "AO3401" H 1950 5150 50 0000 L CNN
F 1 "AO3407" H 1950 5150 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD.pretty:SOT-23_Handsoldering" H 1950 5300 50 0001 C CNN
F 3 "" H 1750 5200 50 0000 C CNN
1 1750 5200
0 -1 -1 0
$EndComp
$Comp
L D_Zener D2
U 1 1 5910F169
P 1950 5500
F 0 "D2" H 1950 5600 50 0000 C CNN
F 1 "MM3Z3V6" H 1950 5400 50 0000 C CNN
F 2 "Diodes_SMD.pretty:D_0805" H 1950 5500 50 0001 C CNN
F 3 "" H 1950 5500 50 0000 C CNN
1 1950 5500
-1 0 0 1
$EndComp
$Comp
L R R5
U 1 1 591101C8
P 1600 5500
F 0 "R5" V 1680 5500 50 0000 C CNN
F 1 "2k2" V 1600 5500 50 0000 C CNN
F 2 "Resistors_SMD.pretty:R_0805_HandSoldering" V 1530 5500 50 0001 C CNN
F 3 "" H 1600 5500 50 0000 C CNN
1 1600 5500
0 1 1 0
$EndComp
Text Notes 750 2350 0 100 ~ 0
Bootloader init
Text Label 1050 3450 2 60 ~ 0
@ -154,7 +132,7 @@ U 1 1 5909F6B6
P 1350 2800
F 0 "SW2" H 1400 2900 50 0000 L CNN
F 1 "Boot" H 1350 2740 50 0000 C CNN
F 2 "Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1" H 1350 3000 50 0001 C CNN
F 2 "Buttons_Switches_SMD.pretty:SW_SPST_FSMSM" H 1350 3000 50 0001 C CNN
F 3 "" H 1350 3000 50 0000 C CNN
1 1350 2800
0 1 1 0
@ -165,16 +143,16 @@ U 1 1 590A0134
P 1300 3650
F 0 "SW1" H 1350 3750 50 0000 L CNN
F 1 "Reset" H 1300 3590 50 0000 C CNN
F 2 "Buttons_Switches_SMD.pretty:SW_SPST_EVQPE1" H 1300 3850 50 0001 C CNN
F 2 "Buttons_Switches_SMD.pretty:SW_SPST_FSMSM" H 1300 3850 50 0001 C CNN
F 3 "" H 1300 3850 50 0000 C CNN
1 1300 3650
0 1 1 0
$EndComp
$Comp
L GND #PWR04
L GND #PWR2
U 1 1 590A03AF
P 1050 3000
F 0 "#PWR04" H 1050 2750 50 0001 C CNN
F 0 "#PWR2" H 1050 2750 50 0001 C CNN
F 1 "GND" H 1050 2850 50 0000 C CNN
F 2 "" H 1050 3000 50 0000 C CNN
F 3 "" H 1050 3000 50 0000 C CNN
@ -182,10 +160,10 @@ F 3 "" H 1050 3000 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR06
L GND #PWR4
U 1 1 590A509B
P 1450 3900
F 0 "#PWR06" H 1450 3650 50 0001 C CNN
F 0 "#PWR4" H 1450 3650 50 0001 C CNN
F 1 "GND" H 1450 3750 50 0000 C CNN
F 2 "" H 1450 3900 50 0000 C CNN
F 3 "" H 1450 3900 50 0000 C CNN
@ -193,10 +171,10 @@ F 3 "" H 1450 3900 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L PWR_FLAG #FLG07
L PWR_FLAG #FLG1
U 1 1 590C1070
P 1250 5100
F 0 "#FLG07" H 1250 5195 50 0001 C CNN
F 0 "#FLG1" H 1250 5195 50 0001 C CNN
F 1 "PWR_FLAG" H 1250 5280 50 0000 C CNN
F 2 "" H 1250 5100 50 0000 C CNN
F 3 "" H 1250 5100 50 0000 C CNN
@ -204,78 +182,6 @@ F 3 "" H 1250 5100 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L Conn_01x01 P4
U 1 1 59143415
P 1300 7050
F 0 "P4" H 1300 7150 50 0000 C CNN
F 1 "Hole" V 1400 7050 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 1300 7050 50 0001 C CNN
F 3 "" H 1300 7050 50 0000 C CNN
1 1300 7050
1 0 0 -1
$EndComp
$Comp
L Conn_01x01 P5
U 1 1 5914456D
P 1300 7300
F 0 "P5" H 1300 7400 50 0000 C CNN
F 1 "Hole" V 1400 7300 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 1300 7300 50 0001 C CNN
F 3 "" H 1300 7300 50 0000 C CNN
1 1300 7300
1 0 0 -1
$EndComp
$Comp
L Conn_01x01 P6
U 1 1 591446F3
P 1300 7550
F 0 "P6" H 1300 7650 50 0000 C CNN
F 1 "Hole" V 1400 7550 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 1300 7550 50 0001 C CNN
F 3 "" H 1300 7550 50 0000 C CNN
1 1300 7550
1 0 0 -1
$EndComp
$Comp
L Conn_01x01 P1
U 1 1 591446F9
P 850 7000
F 0 "P1" H 850 7100 50 0000 C CNN
F 1 "Hole" V 950 7000 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 850 7000 50 0001 C CNN
F 3 "" H 850 7000 50 0000 C CNN
1 850 7000
1 0 0 -1
$EndComp
NoConn ~ 1100 7050
NoConn ~ 1100 7300
NoConn ~ 1100 7550
NoConn ~ 650 7000
$Comp
L Conn_01x01 P2
U 1 1 5A16E72F
P 850 7300
F 0 "P2" H 850 7400 50 0000 C CNN
F 1 "Hole" V 950 7300 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 850 7300 50 0001 C CNN
F 3 "" H 850 7300 50 0000 C CNN
1 850 7300
1 0 0 -1
$EndComp
$Comp
L Conn_01x01 P3
U 1 1 5A16E735
P 850 7550
F 0 "P3" H 850 7650 50 0000 C CNN
F 1 "Hole" V 950 7550 50 0000 C CNN
F 2 "my_footprints:Hole_3mm" H 850 7550 50 0001 C CNN
F 3 "" H 850 7550 50 0000 C CNN
1 850 7550
1 0 0 -1
$EndComp
NoConn ~ 650 7300
NoConn ~ 650 7550
$Comp
L Conn_01x02 J2
U 1 1 5A170C1F
P 900 5200
@ -286,8 +192,6 @@ F 3 "" H 900 5200 50 0001 C CNN
1 900 5200
-1 0 0 1
$EndComp
Text Notes 1800 5650 0 20 ~ 0
need at least 5mA
$Comp
L C C3
U 1 1 5A178C32
@ -310,8 +214,6 @@ F 3 "" H 4500 5050 50 0001 C CNN
1 4500 5050
1 0 0 -1
$EndComp
Text Label 4100 5150 2 49 ~ 0
SHDN
Text Label 5000 4850 0 49 ~ 0
STP12
Text Label 5350 5150 0 49 ~ 0
@ -331,10 +233,10 @@ F 3 "" H 4950 5450 50 0000 C CNN
-1 0 0 1
$EndComp
$Comp
L GND #PWR08
L GND #PWR15
U 1 1 5A18356D
P 4700 5600
F 0 "#PWR08" H 4700 5350 50 0001 C CNN
F 0 "#PWR15" H 4700 5350 50 0001 C CNN
F 1 "GND" H 4700 5450 50 0000 C CNN
F 2 "" H 4700 5600 50 0000 C CNN
F 3 "" H 4700 5600 50 0000 C CNN
@ -354,7 +256,7 @@ F 3 "" H 4600 2200 50 0001 C CNN
1 4600 2200
1 0 0 -1
$EndComp
Text Label 2700 2100 2 60 ~ 0
Text Label 2900 1800 2 60 ~ 0
BOOT0
Text Label 2900 1600 2 60 ~ 0
NRST
@ -416,10 +318,10 @@ F 3 "" H 1250 1250 50 0000 C CNN
0 1 1 0
$EndComp
$Comp
L GND #PWR09
L GND #PWR1
U 1 1 5A162CD6
P 1000 1450
F 0 "#PWR09" H 1000 1200 50 0001 C CNN
F 0 "#PWR1" H 1000 1200 50 0001 C CNN
F 1 "GND" H 1000 1300 50 0000 C CNN
F 2 "" H 1000 1450 50 0000 C CNN
F 3 "" H 1000 1450 50 0000 C CNN
@ -427,10 +329,10 @@ F 3 "" H 1000 1450 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR010
L GND #PWR5
U 1 1 5A16363F
P 1550 1800
F 0 "#PWR010" H 1550 1550 50 0001 C CNN
F 0 "#PWR5" H 1550 1550 50 0001 C CNN
F 1 "GND" H 1550 1650 50 0000 C CNN
F 2 "" H 1550 1800 50 0000 C CNN
F 3 "" H 1550 1800 50 0000 C CNN
@ -466,10 +368,10 @@ F 3 "" H 8000 4850 50 0000 C CNN
$EndComp
NoConn ~ 8350 4600
$Comp
L GND #PWR011
L GND #PWR21
U 1 1 5A16CBE7
P 8250 4500
F 0 "#PWR011" H 8250 4250 50 0001 C CNN
F 0 "#PWR21" H 8250 4250 50 0001 C CNN
F 1 "GND" H 8250 4350 50 0000 C CNN
F 2 "" H 8250 4500 50 0000 C CNN
F 3 "" H 8250 4500 50 0000 C CNN
@ -499,10 +401,10 @@ F 3 "" H 8350 5200 50 0000 C CNN
-1 0 0 1
$EndComp
$Comp
L +3.3V #PWR012
L +3.3V #PWR20
U 1 1 5A170095
P 8000 4650
F 0 "#PWR012" H 8000 4500 50 0001 C CNN
F 0 "#PWR20" H 8000 4500 50 0001 C CNN
F 1 "+3.3V" H 8000 4790 50 0000 C CNN
F 2 "" H 8000 4650 50 0000 C CNN
F 3 "" H 8000 4650 50 0000 C CNN
@ -528,17 +430,6 @@ Text Label 10200 4500 0 60 ~ 0
M2_A*
Text Label 10200 4800 0 60 ~ 0
M2_B*
$Comp
L R R14
U 1 1 5A1727D9
P 9350 4750
F 0 "R14" V 9430 4750 50 0000 C CNN
F 1 "47" V 9350 4750 50 0000 C CNN
F 2 "Resistors_SMD.pretty:R_0603_HandSoldering" V 9280 4750 50 0001 C CNN
F 3 "" H 9350 4750 50 0000 C CNN
1 9350 4750
-1 0 0 1
$EndComp
NoConn ~ 10200 4900
NoConn ~ 9700 4600
$Comp
@ -564,21 +455,10 @@ F 3 "" H 9700 5150 50 0000 C CNN
-1 0 0 1
$EndComp
$Comp
L +3.3V #PWR013
U 1 1 5A1727F8
P 9350 4550
F 0 "#PWR013" H 9350 4400 50 0001 C CNN
F 1 "+3.3V" H 9350 4690 50 0000 C CNN
F 2 "" H 9350 4550 50 0000 C CNN
F 3 "" H 9350 4550 50 0000 C CNN
1 9350 4550
1 0 0 -1
$EndComp
$Comp
L GND #PWR014
L GND #PWR27
U 1 1 5A173D79
P 9250 5800
F 0 "#PWR014" H 9250 5550 50 0001 C CNN
F 0 "#PWR27" H 9250 5550 50 0001 C CNN
F 1 "GND" H 9250 5650 50 0000 C CNN
F 2 "" H 9250 5800 50 0000 C CNN
F 3 "" H 9250 5800 50 0000 C CNN
@ -713,10 +593,10 @@ F 3 "" H 10200 2000 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L +3.3V #PWR015
L +3.3V #PWR29
U 1 1 5A17A2C5
P 10450 1500
F 0 "#PWR015" H 10450 1350 50 0001 C CNN
F 0 "#PWR29" H 10450 1350 50 0001 C CNN
F 1 "+3.3V" H 10450 1640 50 0000 C CNN
F 2 "" H 10450 1500 50 0000 C CNN
F 3 "" H 10450 1500 50 0000 C CNN
@ -725,23 +605,22 @@ F 3 "" H 10450 1500 50 0000 C CNN
$EndComp
Text Notes 10050 1650 0 20 ~ 0
Solder only those need for\nmicrostepping desired
NoConn ~ 8550 1450
$Comp
L PWR_FLAG #FLG016
L PWR_FLAG #FLG3
U 1 1 5A17FC22
P 2200 5550
F 0 "#FLG016" H 2200 5645 50 0001 C CNN
F 1 "PWR_FLAG" H 2200 5730 50 0000 C CNN
F 2 "" H 2200 5550 50 0000 C CNN
F 3 "" H 2200 5550 50 0000 C CNN
1 2200 5550
P 2150 5100
F 0 "#FLG3" H 2150 5195 50 0001 C CNN
F 1 "PWR_FLAG" H 2150 5280 50 0001 C CNN
F 2 "" H 2150 5100 50 0000 C CNN
F 3 "" H 2150 5100 50 0000 C CNN
1 2150 5100
-1 0 0 1
$EndComp
$Comp
L +12V #PWR017
L +12V #PWR8
U 1 1 5A17FD59
P 2150 5100
F 0 "#PWR017" H 2150 4950 50 0001 C CNN
F 0 "#PWR8" H 2150 4950 50 0001 C CNN
F 1 "+12V" H 2150 5240 50 0000 C CNN
F 2 "" H 2150 5100 50 0001 C CNN
F 3 "" H 2150 5100 50 0001 C CNN
@ -749,10 +628,10 @@ F 3 "" H 2150 5100 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L +12V #PWR018
L +12V #PWR13
U 1 1 5A17FE17
P 4000 4850
F 0 "#PWR018" H 4000 4700 50 0001 C CNN
F 0 "#PWR13" H 4000 4700 50 0001 C CNN
F 1 "+12V" H 4000 4990 50 0000 C CNN
F 2 "" H 4000 4850 50 0001 C CNN
F 3 "" H 4000 4850 50 0001 C CNN
@ -760,10 +639,10 @@ F 3 "" H 4000 4850 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR019
L GND #PWR24
U 1 1 5A181880
P 8550 2150
F 0 "#PWR019" H 8550 1900 50 0001 C CNN
F 0 "#PWR24" H 8550 1900 50 0001 C CNN
F 1 "GND" H 8550 2000 50 0000 C CNN
F 2 "" H 8550 2150 50 0001 C CNN
F 3 "" H 8550 2150 50 0001 C CNN
@ -771,10 +650,10 @@ F 3 "" H 8550 2150 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR020
L GND #PWR23
U 1 1 5A18265B
P 8550 1250
F 0 "#PWR020" H 8550 1000 50 0001 C CNN
F 0 "#PWR23" H 8550 1000 50 0001 C CNN
F 1 "GND" H 8550 1100 50 0000 C CNN
F 2 "" H 8550 1250 50 0001 C CNN
F 3 "" H 8550 1250 50 0001 C CNN
@ -887,10 +766,10 @@ F 3 "" H 10200 3500 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L +3.3V #PWR021
L +3.3V #PWR30
U 1 1 5A189048
P 10450 3000
F 0 "#PWR021" H 10450 2850 50 0001 C CNN
F 0 "#PWR30" H 10450 2850 50 0001 C CNN
F 1 "+3.3V" H 10450 3140 50 0000 C CNN
F 2 "" H 10450 3000 50 0000 C CNN
F 3 "" H 10450 3000 50 0000 C CNN
@ -899,12 +778,11 @@ F 3 "" H 10450 3000 50 0000 C CNN
$EndComp
Text Notes 10050 3150 0 20 ~ 0
Solder only those need for\nmicrostepping desired
NoConn ~ 8550 2950
$Comp
L GND #PWR022
L GND #PWR26
U 1 1 5A18905C
P 8550 3650
F 0 "#PWR022" H 8550 3400 50 0001 C CNN
F 0 "#PWR26" H 8550 3400 50 0001 C CNN
F 1 "GND" H 8550 3500 50 0000 C CNN
F 2 "" H 8550 3650 50 0001 C CNN
F 3 "" H 8550 3650 50 0001 C CNN
@ -912,10 +790,10 @@ F 3 "" H 8550 3650 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR023
L GND #PWR25
U 1 1 5A189062
P 8550 2750
F 0 "#PWR023" H 8550 2500 50 0001 C CNN
F 0 "#PWR25" H 8550 2500 50 0001 C CNN
F 1 "GND" H 8550 2600 50 0000 C CNN
F 2 "" H 8550 2750 50 0001 C CNN
F 3 "" H 8550 2750 50 0001 C CNN
@ -930,35 +808,22 @@ Text Notes 7950 900 0 100 ~ 0
DRV8825
Text Notes 8050 4300 0 100 ~ 0
Steppers' connectors
Text Label 2900 2700 2 49 ~ 0
SHDN
$Comp
L C C6
U 1 1 5A1AB970
P 3900 950
F 0 "C6" H 3925 1050 50 0000 L CNN
F 1 "0.1" H 3925 850 50 0000 L CNN
F 2 "Capacitors_SMD.pretty:C_0603_HandSoldering" H 3938 800 50 0001 C CNN
F 1 "1" H 3925 850 50 0000 L CNN
F 2 "Capacitors_SMD.pretty:C_0805_HandSoldering" H 3938 800 50 0001 C CNN
F 3 "" H 3900 950 50 0000 C CNN
1 3900 950
1 0 0 -1
$EndComp
$Comp
L C C7
U 1 1 5A1ABACF
P 4200 950
F 0 "C7" H 4225 1050 50 0000 L CNN
F 1 "0.1" H 4225 850 50 0000 L CNN
F 2 "Capacitors_SMD.pretty:C_0603_HandSoldering" H 4238 800 50 0001 C CNN
F 3 "" H 4200 950 50 0000 C CNN
1 4200 950
1 0 0 -1
$EndComp
$Comp
L GND #PWR024
L GND #PWR12
U 1 1 5A1B3C28
P 3900 1100
F 0 "#PWR024" H 3900 850 50 0001 C CNN
F 0 "#PWR12" H 3900 850 50 0001 C CNN
F 1 "GND" H 3900 950 50 0000 C CNN
F 2 "" H 3900 1100 50 0000 C CNN
F 3 "" H 3900 1100 50 0000 C CNN
@ -966,10 +831,10 @@ F 3 "" H 3900 1100 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L GND #PWR025
L GND #PWR14
U 1 1 5A1B4A11
P 4600 3150
F 0 "#PWR025" H 4600 2900 50 0001 C CNN
F 0 "#PWR14" H 4600 2900 50 0001 C CNN
F 1 "GND" H 4600 3000 50 0000 C CNN
F 2 "" H 4600 3150 50 0000 C CNN
F 3 "" H 4600 3150 50 0000 C CNN
@ -977,10 +842,10 @@ F 3 "" H 4600 3150 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR026
L +3.3V #PWR11
U 1 1 5A1B5A75
P 3900 750
F 0 "#PWR026" H 3900 600 50 0001 C CNN
F 0 "#PWR11" H 3900 600 50 0001 C CNN
F 1 "+3.3V" H 3900 890 50 0000 C CNN
F 2 "" H 3900 750 50 0000 C CNN
F 3 "" H 3900 750 50 0000 C CNN
@ -990,9 +855,7 @@ $EndComp
Text Notes 750 850 0 100 ~ 0
UART ESD protection
Text Notes 3850 4550 0 59 ~ 0
Steppers' current measurement\nand power management
Text Notes 750 6800 0 59 ~ 0
Assembly holes
Steppers' current measurement
$Comp
L C C8
U 1 1 5A1CC7B7
@ -1027,10 +890,10 @@ F 3 "" H 7000 5350 50 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L +12V #PWR027
L +12V #PWR16
U 1 1 5A1CB29C
P 6350 4750
F 0 "#PWR027" H 6350 4600 50 0001 C CNN
F 0 "#PWR16" H 6350 4600 50 0001 C CNN
F 1 "+12V" H 6350 4890 50 0000 C CNN
F 2 "" H 6350 4750 50 0001 C CNN
F 3 "" H 6350 4750 50 0001 C CNN
@ -1075,10 +938,10 @@ F 3 "" H 6800 5150 50 0000 C CNN
0 -1 -1 0
$EndComp
$Comp
L GND #PWR028
L GND #PWR17
U 1 1 5A1E710E
P 6600 5600
F 0 "#PWR028" H 6600 5350 50 0001 C CNN
F 0 "#PWR17" H 6600 5350 50 0001 C CNN
F 1 "GND" H 6600 5450 50 0000 C CNN
F 2 "" H 6600 5600 50 0000 C CNN
F 3 "" H 6600 5600 50 0000 C CNN
@ -1133,7 +996,7 @@ Tim3
Text Notes 6850 1750 0 60 ~ 0
ADC
Text Notes 6750 2700 0 60 ~ 0
Floating inputs\nwith pullups
Floating inputs\nwith pullups (IPU)
Text Notes 6850 2450 0 60 ~ 0
UART
Text Notes 6700 2100 0 60 ~ 0
@ -1144,8 +1007,6 @@ Text Notes 2600 2500 2 60 ~ 0
PUPD
Text Notes 2600 2400 2 60 ~ 0
PUPD
Text Notes 2600 2700 2 60 ~ 0
PUPD
Text Notes 3000 7450 0 79 ~ 0
Pins 7,8,9 and 7,8,10 of steppers' connectors\nare for Hall switches and switch buttons.\nWithout signal voltage is 3.3V through 47k pullup,\nwith Hall signal it is near 0V, \nwhen there's no Hall you can connect the input\nby button with 47k pulldown and voltage will be\nnear 1.7V.
$Comp
@ -1154,7 +1015,7 @@ U 1 1 5A21099C
P 8700 5600
F 0 "R23" V 8780 5600 50 0000 C CNN
F 1 "47k" V 8700 5600 50 0000 C CNN
F 2 "Resistors_SMD.pretty:R_0603_HandSoldering" V 8630 5600 50 0001 C CNN
F 2 "Resistors_SMD.pretty:R_0805_HandSoldering" V 8630 5600 50 0001 C CNN
F 3 "" H 8700 5600 50 0000 C CNN
1 8700 5600
-1 0 0 1
@ -1171,10 +1032,10 @@ F 3 "" H 8900 5600 50 0000 C CNN
-1 0 0 1
$EndComp
$Comp
L +3.3V #PWR029
L +3.3V #PWR22
U 1 1 5A211AF7
P 8450 5750
F 0 "#PWR029" H 8450 5600 50 0001 C CNN
F 0 "#PWR22" H 8450 5600 50 0001 C CNN
F 1 "+3.3V" H 8450 5890 50 0000 C CNN
F 2 "" H 8450 5750 50 0000 C CNN
F 3 "" H 8450 5750 50 0000 C CNN
@ -1183,10 +1044,10 @@ F 3 "" H 8450 5750 50 0000 C CNN
$EndComp
NoConn ~ 8850 4900
$Comp
L GND #PWR030
L GND #PWR28
U 1 1 5A22ADB2
P 9650 4500
F 0 "#PWR030" H 9650 4250 50 0001 C CNN
F 0 "#PWR28" H 9650 4250 50 0001 C CNN
F 1 "GND" H 9650 4350 50 0000 C CNN
F 2 "" H 9650 4500 50 0000 C CNN
F 3 "" H 9650 4500 50 0000 C CNN
@ -1230,22 +1091,10 @@ Wire Wire Line
Connection ~ 1250 5100
Wire Wire Line
1750 5500 1750 5400
Wire Wire Line
1750 5500 1800 5500
Wire Wire Line
2100 5500 2200 5500
Wire Wire Line
2150 5500 2150 5100
Wire Wire Line
1950 5100 2450 5100
Wire Wire Line
1400 5550 1400 5500
Wire Wire Line
1400 5500 1450 5500
Wire Wire Line
1450 5500 1450 5200
Connection ~ 1450 5500
Connection ~ 1750 5500
1450 5200 1450 5500
Connection ~ 2150 5100
Wire Wire Line
3050 5100 3350 5100
@ -1308,7 +1157,7 @@ Connection ~ 8850 5250
Wire Wire Line
8650 1350 8550 1350
Wire Wire Line
8550 1450 8650 1450
8250 1450 8650 1450
Wire Wire Line
8350 1550 8650 1550
Wire Wire Line
@ -1356,9 +1205,6 @@ Wire Wire Line
9600 1650 9600 1550
Connection ~ 10450 1550
Connection ~ 9600 1550
Wire Wire Line
2200 5500 2200 5550
Connection ~ 2150 5500
Wire Wire Line
8550 1950 8550 2150
Wire Wire Line
@ -1366,7 +1212,7 @@ Wire Wire Line
Wire Wire Line
8650 2850 8550 2850
Wire Wire Line
8550 2950 8650 2950
8250 2950 8650 2950
Wire Wire Line
8350 3050 8650 3050
Wire Wire Line
@ -1456,7 +1302,6 @@ Wire Notes Line
10600 4150 7900 4150
Wire Wire Line
4500 800 4500 1200
Connection ~ 4200 800
Wire Wire Line
4600 1200 4600 1150
Wire Wire Line
@ -1480,14 +1325,6 @@ Wire Notes Line
3800 5800 5850 5800
Wire Notes Line
3800 4350 5850 4350
Wire Notes Line
600 6700 600 7700
Wire Notes Line
600 7700 1500 7700
Wire Notes Line
1500 7700 1500 6700
Wire Notes Line
1500 6700 600 6700
Connection ~ 4950 5600
Wire Wire Line
6350 5100 6350 5200
@ -1583,15 +1420,13 @@ Wire Wire Line
Wire Wire Line
8250 4500 8350 4500
Wire Wire Line
9700 4500 9650 4500
Wire Wire Line
9350 4600 9350 4550
9300 4500 9700 4500
Wire Wire Line
9700 4700 9450 4700
Wire Wire Line
9450 4700 9450 4900
Wire Wire Line
9450 4900 9350 4900
9450 4900 9300 4900
Wire Wire Line
9700 5000 9700 4900
Wire Wire Line
@ -1608,7 +1443,6 @@ Wire Wire Line
2300 5400 2300 5550
Wire Wire Line
3150 5200 3050 5200
Connection ~ 3900 1100
Connection ~ 3900 800
$Comp
L Conn_02x05_Odd_Even J3
@ -1651,13 +1485,11 @@ F 3 "" H 2750 5100 50 0001 C CNN
1 2750 5100
1 0 0 -1
$EndComp
Wire Wire Line
4200 1100 3900 1100
$Comp
L PWR_FLAG #FLG031
L PWR_FLAG #FLG2
U 1 1 5A265B5F
P 1250 5250
F 0 "#FLG031" H 1250 5345 50 0001 C CNN
F 0 "#FLG2" H 1250 5345 50 0001 C CNN
F 1 "PWR_FLAG" H 1250 5430 50 0000 C CNN
F 2 "" H 1250 5250 50 0000 C CNN
F 3 "" H 1250 5250 50 0000 C CNN
@ -1679,25 +1511,10 @@ Connection ~ 9500 5200
Wire Wire Line
8350 5350 9350 5350
$Comp
L R R27
U 1 1 5A27F88F
P 2800 1950
F 0 "R27" V 2880 1950 50 0000 C CNN
F 1 "0" V 2800 1950 50 0000 C CNN
F 2 "Resistors_SMD.pretty:R_0805_HandSoldering" V 2730 1950 50 0001 C CNN
F 3 "" H 2800 1950 50 0001 C CNN
1 2800 1950
1 0 0 -1
$EndComp
Wire Wire Line
2800 1800 2900 1800
Wire Wire Line
2800 2100 2700 2100
$Comp
L +3.3V #PWR032
L +3.3V #PWR3
U 1 1 590A1E6C
P 1350 3050
F 0 "#PWR032" H 1350 2900 50 0001 C CNN
F 0 "#PWR3" H 1350 2900 50 0001 C CNN
F 1 "+3.3V" H 1350 3190 50 0000 C CNN
F 2 "" H 1350 3050 50 0000 C CNN
F 3 "" H 1350 3050 50 0000 C CNN
@ -1707,10 +1524,10 @@ $EndComp
Wire Wire Line
1350 3050 1350 3000
$Comp
L GND #PWR033
L GND #PWR7
U 1 1 5A283BCF
P 1650 3000
F 0 "#PWR033" H 1650 2750 50 0001 C CNN
F 0 "#PWR7" H 1650 2750 50 0001 C CNN
F 1 "GND" H 1650 2850 50 0000 C CNN
F 2 "" H 1650 3000 50 0000 C CNN
F 3 "" H 1650 3000 50 0000 C CNN
@ -1748,10 +1565,10 @@ Wire Wire Line
Wire Wire Line
7150 1800 6300 1800
$Comp
L GND #PWR034
L GND #PWR18
U 1 1 5A3879CF
P 7350 2200
F 0 "#PWR034" H 7350 1950 50 0001 C CNN
F 0 "#PWR18" H 7350 1950 50 0001 C CNN
F 1 "GND" H 7350 2050 50 0000 C CNN
F 2 "" H 7350 2200 50 0001 C CNN
F 3 "" H 7350 2200 50 0001 C CNN
@ -1761,10 +1578,10 @@ $EndComp
Wire Wire Line
7150 2200 7350 2200
$Comp
L GND #PWR035
L GND #PWR19
U 1 1 5A388241
P 7400 1500
F 0 "#PWR035" H 7400 1250 50 0001 C CNN
F 0 "#PWR19" H 7400 1250 50 0001 C CNN
F 1 "GND" H 7400 1350 50 0000 C CNN
F 2 "" H 7400 1500 50 0001 C CNN
F 3 "" H 7400 1500 50 0001 C CNN
@ -1775,4 +1592,40 @@ Wire Wire Line
7400 1500 7150 1500
Wire Wire Line
1050 3450 1600 3450
Wire Wire Line
1600 5550 1600 5500
Connection ~ 1600 5500
Wire Wire Line
1450 5500 1750 5500
Wire Wire Line
4500 5500 4100 5500
Wire Wire Line
4100 5500 4100 5150
Connection ~ 4500 5500
Text Label 2900 2700 2 60 ~ 0
~Fault
Text Notes 2450 2700 0 60 ~ 0
IPU
Text Label 8250 1450 2 60 ~ 0
~Fault
Text Label 8250 2950 2 60 ~ 0
~Fault
$Comp
L C C7
U 1 1 5A69BFB3
P 9300 4750
F 0 "C7" H 9325 4850 50 0000 L CNN
F 1 "1u" H 9325 4650 50 0000 L CNN
F 2 "Capacitors_SMD.pretty:C_0805_HandSoldering" H 9338 4600 50 0001 C CNN
F 3 "" H 9300 4750 50 0000 C CNN
1 9300 4750
1 0 0 -1
$EndComp
Text Label 8200 4700 1 60 ~ 0
3.3Vsen
Text Label 9550 4700 1 60 ~ 0
3.3Vsen
Wire Wire Line
9300 4600 9300 4500
Connection ~ 9650 4500
$EndSCHEMATC

File diff suppressed because it is too large Load Diff