EESchema Schematic File Version 4 EELAYER 30 0 EELAYER END $Descr A4 11693 8268 encoding utf-8 Sheet 1 1 Title "" Date "" Rev "" Comp "" Comment1 "" Comment2 "" Comment3 "" Comment4 "" $EndDescr $Comp L Driver_Motor:STSPIN220 U2 U 1 1 60BA5CA4 P 7500 1900 F 0 "U2" H 7150 1250 50 0000 C CNN F 1 "STSPIN220" H 7900 1250 50 0000 C CNN F 2 "Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.8x1.8mm" H 7700 2650 50 0001 L CNN F 3 "www.st.com/resource/en/datasheet/stspin220.pdf" H 7650 2150 50 0001 C CNN 1 7500 1900 1 0 0 -1 $EndComp $Comp L Driver_Motor:STSPIN220 U3 U 1 1 60BA7446 P 7500 3950 F 0 "U3" H 7150 3300 50 0000 C CNN F 1 "STSPIN220" H 7900 3300 50 0000 C CNN F 2 "Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.8x1.8mm" H 7700 4700 50 0001 L CNN F 3 "www.st.com/resource/en/datasheet/stspin220.pdf" H 7650 4200 50 0001 C CNN 1 7500 3950 1 0 0 -1 $EndComp $Comp L Motor:Stepper_Motor_bipolar M1 U 1 1 60BA8272 P 9700 1900 F 0 "M1" H 9888 2024 50 0000 L CNN F 1 "Stepper_Motor_bipolar" H 9888 1933 50 0000 L CNN F 2 "" H 9710 1890 50 0001 C CNN F 3 "http://www.infineon.com/dgdl/Application-Note-TLE8110EE_driving_UniPolarStepperMotor_V1.1.pdf?fileId=db3a30431be39b97011be5d0aa0a00b0" H 9710 1890 50 0001 C CNN 1 9700 1900 1 0 0 -1 $EndComp $Comp L Motor:Stepper_Motor_bipolar M2 U 1 1 60BA9931 P 9700 3950 F 0 "M2" H 9888 4074 50 0000 L CNN F 1 "Stepper_Motor_bipolar" H 9888 3983 50 0000 L CNN F 2 "" H 9710 3940 50 0001 C CNN F 3 "http://www.infineon.com/dgdl/Application-Note-TLE8110EE_driving_UniPolarStepperMotor_V1.1.pdf?fileId=db3a30431be39b97011be5d0aa0a00b0" H 9710 3940 50 0001 C CNN 1 9700 3950 1 0 0 -1 $EndComp $Comp L MCU_ST_STM32F1:STM32F103C8Tx U1 U 1 1 60BADD13 P 4900 3200 F 0 "U1" H 4400 1750 50 0000 C CNN F 1 "STM32F103C8Tx" H 5350 1750 50 0000 C CNN F 2 "Package_QFP:LQFP-48_7x7mm_P0.5mm" H 4300 1800 50 0001 R CNN F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00161566.pdf" H 4900 3200 50 0001 C CNN 1 4900 3200 1 0 0 -1 $EndComp $Comp L Device:R R6 U 1 1 60BB01AD P 8500 4350 F 0 "R6" H 8570 4396 50 0000 L CNN F 1 "330mE" H 8570 4305 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 8430 4350 50 0001 C CNN F 3 "~" H 8500 4350 50 0001 C CNN 1 8500 4350 1 0 0 -1 $EndComp $Comp L Device:R R8 U 1 1 60BB2E3C P 8950 4350 F 0 "R8" H 9020 4396 50 0000 L CNN F 1 "330mE" H 9020 4305 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 8880 4350 50 0001 C CNN F 3 "~" H 8950 4350 50 0001 C CNN 1 8950 4350 1 0 0 -1 $EndComp $Comp L Device:R R5 U 1 1 60BB457F P 8500 2350 F 0 "R5" H 8570 2396 50 0000 L CNN F 1 "330mE" H 8570 2305 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 8430 2350 50 0001 C CNN F 3 "~" H 8500 2350 50 0001 C CNN 1 8500 2350 1 0 0 -1 $EndComp $Comp L Device:R R7 U 1 1 60BB47EF P 8950 2350 F 0 "R7" H 9020 2396 50 0000 L CNN F 1 "330mE" H 9020 2305 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 8880 2350 50 0001 C CNN F 3 "~" H 8950 2350 50 0001 C CNN 1 8950 2350 1 0 0 -1 $EndComp Wire Wire Line 8100 2100 8500 2100 Wire Wire Line 8500 2100 8500 2200 Wire Wire Line 8100 1600 8950 1600 Wire Wire Line 8950 1600 8950 2200 Wire Wire Line 8100 4150 8500 4150 Wire Wire Line 8500 4150 8500 4200 Wire Wire Line 8100 3650 8950 3650 Wire Wire Line 8950 3650 8950 4200 $Comp L power:GND #PWR0101 U 1 1 60BB684A P 8500 4750 F 0 "#PWR0101" H 8500 4500 50 0001 C CNN F 1 "GND" H 8505 4577 50 0000 C CNN F 2 "" H 8500 4750 50 0001 C CNN F 3 "" H 8500 4750 50 0001 C CNN 1 8500 4750 1 0 0 -1 $EndComp $Comp L power:GND #PWR0102 U 1 1 60BB70BF P 8950 4750 F 0 "#PWR0102" H 8950 4500 50 0001 C CNN F 1 "GND" H 8955 4577 50 0000 C CNN F 2 "" H 8950 4750 50 0001 C CNN F 3 "" H 8950 4750 50 0001 C CNN 1 8950 4750 1 0 0 -1 $EndComp $Comp L power:GND #PWR0103 U 1 1 60BB74CF P 7600 4750 F 0 "#PWR0103" H 7600 4500 50 0001 C CNN F 1 "GND" H 7605 4577 50 0000 C CNN F 2 "" H 7600 4750 50 0001 C CNN F 3 "" H 7600 4750 50 0001 C CNN 1 7600 4750 1 0 0 -1 $EndComp $Comp L power:GND #PWR0104 U 1 1 60BB79DB P 7600 2650 F 0 "#PWR0104" H 7600 2400 50 0001 C CNN F 1 "GND" H 7605 2477 50 0000 C CNN F 2 "" H 7600 2650 50 0001 C CNN F 3 "" H 7600 2650 50 0001 C CNN 1 7600 2650 1 0 0 -1 $EndComp $Comp L power:GND #PWR0105 U 1 1 60BB7E59 P 8500 2650 F 0 "#PWR0105" H 8500 2400 50 0001 C CNN F 1 "GND" H 8505 2477 50 0000 C CNN F 2 "" H 8500 2650 50 0001 C CNN F 3 "" H 8500 2650 50 0001 C CNN 1 8500 2650 1 0 0 -1 $EndComp $Comp L power:GND #PWR0106 U 1 1 60BB828C P 8950 2650 F 0 "#PWR0106" H 8950 2400 50 0001 C CNN F 1 "GND" H 8955 2477 50 0000 C CNN F 2 "" H 8950 2650 50 0001 C CNN F 3 "" H 8950 2650 50 0001 C CNN 1 8950 2650 1 0 0 -1 $EndComp Wire Wire Line 8500 2500 8500 2650 Wire Wire Line 8950 2500 8950 2650 Wire Wire Line 8500 4500 8500 4750 Wire Wire Line 8950 4500 8950 4750 $Comp L Connector_Generic:Conn_01x04 J1 U 1 1 60BB9569 P 1850 7250 F 0 "J1" H 1800 6950 50 0000 L CNN F 1 "Conn_01x04" H 1650 6850 50 0000 L CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 1850 7250 50 0001 C CNN F 3 "~" H 1850 7250 50 0001 C CNN 1 1850 7250 1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x04 J3 U 1 1 60BBA03E P 2700 7250 F 0 "J3" H 2650 6950 50 0000 L CNN F 1 "Conn_01x04" H 2450 6850 50 0000 L CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 2700 7250 50 0001 C CNN F 3 "~" H 2700 7250 50 0001 C CNN 1 2700 7250 1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x04 J4 U 1 1 60BBA98A P 3550 7250 F 0 "J4" H 3500 6950 50 0000 L CNN F 1 "Conn_01x04" H 3300 6850 50 0000 L CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 3550 7250 50 0001 C CNN F 3 "~" H 3550 7250 50 0001 C CNN 1 3550 7250 1 0 0 -1 $EndComp $Comp L Connector_Generic:Conn_01x04 J5 U 1 1 60BBB19E P 4350 7250 F 0 "J5" H 4300 6950 50 0000 L CNN F 1 "Conn_01x04" H 4100 6850 50 0000 L CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 4350 7250 50 0001 C CNN F 3 "~" H 4350 7250 50 0001 C CNN 1 4350 7250 1 0 0 -1 $EndComp Wire Wire Line 1650 7150 2500 7150 Wire Wire Line 2500 7150 3350 7150 Connection ~ 2500 7150 Wire Wire Line 3350 7150 4150 7150 Connection ~ 3350 7150 Wire Wire Line 4150 7250 3350 7250 Wire Wire Line 3350 7350 4150 7350 Wire Wire Line 4150 7450 3350 7450 Wire Wire Line 3350 7450 2500 7450 Connection ~ 3350 7450 Wire Wire Line 2500 7350 3350 7350 Connection ~ 3350 7350 Wire Wire Line 3350 7250 2500 7250 Connection ~ 3350 7250 Wire Wire Line 2500 7250 1650 7250 Connection ~ 2500 7250 Wire Wire Line 1650 7350 2500 7350 Connection ~ 2500 7350 Wire Wire Line 2500 7450 1650 7450 Connection ~ 2500 7450 Text GLabel 1450 7350 0 50 Input ~ 0 I2C_SDA Text GLabel 1450 7250 0 50 Input ~ 0 I2C_CLK Text GLabel 1450 7150 0 50 Input ~ 0 +5V Text GLabel 1450 7450 0 50 Input ~ 0 GND Wire Wire Line 1450 7450 1650 7450 Connection ~ 1650 7450 Wire Wire Line 1450 7350 1650 7350 Connection ~ 1650 7350 Wire Wire Line 1650 7250 1450 7250 Connection ~ 1650 7250 Wire Wire Line 1450 7150 1650 7150 Connection ~ 1650 7150 $Comp L Connector:Raspberry_Pi_2_3 J2 U 1 1 60BC7AC8 P 2100 3100 F 0 "J2" H 2100 4581 50 0000 C CNN F 1 "Raspberry_Pi_2_3" H 2100 4490 50 0000 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_2x20_P2.54mm_Horizontal" H 2100 3100 50 0001 C CNN F 3 "https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_3bplus_1p0_reduced.pdf" H 2100 3100 50 0001 C CNN 1 2100 3100 1 0 0 -1 $EndComp $Comp L Switch:SW_DIP_x04 SW1 U 1 1 60BCB5AC P 4750 6000 F 0 "SW1" H 4750 6467 50 0000 C CNN F 1 "SW_DIP_x04" H 4750 6376 50 0000 C CNN F 2 "Button_Switch_THT:SW_DIP_SPSTx06_Slide_9.78x17.42mm_W7.62mm_P2.54mm" H 4750 6000 50 0001 C CNN F 3 "~" H 4750 6000 50 0001 C CNN 1 4750 6000 1 0 0 -1 $EndComp $Comp L power:GND #PWR0107 U 1 1 60BCD679 P 5200 6200 F 0 "#PWR0107" H 5200 5950 50 0001 C CNN F 1 "GND" H 5205 6027 50 0000 C CNN F 2 "" H 5200 6200 50 0001 C CNN F 3 "" H 5200 6200 50 0001 C CNN 1 5200 6200 1 0 0 -1 $EndComp Wire Wire Line 7600 4650 7600 4750 Wire Wire Line 5050 5800 5200 5800 Wire Wire Line 5200 5800 5200 5900 Wire Wire Line 5050 5900 5200 5900 Connection ~ 5200 5900 Wire Wire Line 5200 5900 5200 6000 Wire Wire Line 5050 6000 5200 6000 Connection ~ 5200 6000 Wire Wire Line 5200 6000 5200 6100 Wire Wire Line 5050 6100 5200 6100 Connection ~ 5200 6100 Wire Wire Line 5200 6100 5200 6200 Text GLabel 4300 5800 0 50 Input ~ 0 ADDR0 Text GLabel 4300 5900 0 50 Input ~ 0 ADDR1 Text GLabel 4300 6000 0 50 Input ~ 0 ADDR2 Text GLabel 4300 6100 0 50 Input ~ 0 ADDR3 Wire Wire Line 4300 5800 4450 5800 Wire Wire Line 4300 5900 4450 5900 Wire Wire Line 4300 6000 4450 6000 Wire Wire Line 4300 6100 4450 6100 $Comp L Connector_Generic:Conn_01x04 J6 U 1 1 60BD39C6 P 4750 850 F 0 "J6" H 4700 550 50 0000 L CNN F 1 "Conn_01x04" H 4500 450 50 0000 L CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 4750 850 50 0001 C CNN F 3 "~" H 4750 850 50 0001 C CNN 1 4750 850 1 0 0 -1 $EndComp Text GLabel 4400 750 0 50 Input ~ 0 +3v3 Text GLabel 4400 850 0 50 Input ~ 0 SDO Text GLabel 4400 950 0 50 Input ~ 0 SDC Text GLabel 4400 1050 0 50 Input ~ 0 GND Wire Wire Line 4400 1050 4550 1050 Wire Wire Line 4550 950 4400 950 Wire Wire Line 4400 850 4550 850 Wire Wire Line 4550 750 4400 750 $Comp L power:+5V #PWR0108 U 1 1 60BDA4A1 P 7500 850 F 0 "#PWR0108" H 7500 700 50 0001 C CNN F 1 "+5V" H 7515 1023 50 0000 C CNN F 2 "" H 7500 850 50 0001 C CNN F 3 "" H 7500 850 50 0001 C CNN 1 7500 850 1 0 0 -1 $EndComp Wire Wire Line 7500 850 7500 1200 $Comp L power:+5V #PWR0109 U 1 1 60BDB7ED P 7500 3200 F 0 "#PWR0109" H 7500 3050 50 0001 C CNN F 1 "+5V" H 7515 3373 50 0000 C CNN F 2 "" H 7500 3200 50 0001 C CNN F 3 "" H 7500 3200 50 0001 C CNN 1 7500 3200 1 0 0 -1 $EndComp Wire Wire Line 7500 3200 7500 3250 Wire Wire Line 7500 2600 7600 2600 Wire Wire Line 7600 2600 7600 2650 Connection ~ 7600 2600 Wire Wire Line 7500 4650 7600 4650 Connection ~ 7600 4650 Wire Wire Line 8100 2000 9400 2000 Wire Wire Line 8100 1900 9300 1900 Wire Wire Line 9300 1900 9300 1800 Wire Wire Line 9300 1800 9400 1800 Wire Wire Line 8100 1500 9600 1500 Wire Wire Line 9600 1500 9600 1600 Wire Wire Line 9800 1600 9800 1400 Wire Wire Line 9800 1400 8100 1400 Wire Wire Line 9400 4050 8100 4050 Wire Wire Line 8100 3950 9300 3950 Wire Wire Line 9300 3950 9300 3850 Wire Wire Line 9300 3850 9400 3850 Wire Wire Line 8100 3550 9600 3550 Wire Wire Line 9600 3550 9600 3650 Wire Wire Line 8100 3450 9800 3450 Wire Wire Line 9800 3450 9800 3650 Text GLabel 6850 4150 0 50 Input ~ 0 MOT_RST Text GLabel 6850 2100 0 50 Input ~ 0 MOT_RST Text GLabel 6850 2000 0 50 Input ~ 0 MOT_EN0 Text GLabel 6850 4050 0 50 Input ~ 0 MOT_EN1 Text GLabel 6850 1400 0 50 Input ~ 0 MOT_DIR0 Text GLabel 6850 1500 0 50 Input ~ 0 MOT_STCK0 Text GLabel 6850 3450 0 50 Input ~ 0 MOT_DIR1 Text GLabel 6850 3550 0 50 Input ~ 0 MOT_STCK1 Wire Wire Line 6850 1400 7000 1400 Wire Wire Line 7000 1500 6850 1500 Wire Wire Line 6850 2000 7000 2000 Wire Wire Line 7000 2100 6850 2100 $Comp L Device:R R4 U 1 1 60BF2DDC P 6850 4800 F 0 "R4" H 6920 4846 50 0000 L CNN F 1 "47K" H 6920 4755 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6780 4800 50 0001 C CNN F 3 "~" H 6850 4800 50 0001 C CNN 1 6850 4800 1 0 0 -1 $EndComp $Comp L Device:R R2 U 1 1 60BF36D6 P 6600 4650 F 0 "R2" H 6670 4696 50 0000 L CNN F 1 "47K" H 6670 4605 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6530 4650 50 0001 C CNN F 3 "~" H 6600 4650 50 0001 C CNN 1 6600 4650 -1 0 0 1 $EndComp $Comp L Device:C C2 U 1 1 60BFA833 P 6600 5100 F 0 "C2" H 6486 5054 50 0000 R CNN F 1 "22nF" H 6486 5145 50 0000 R CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 6638 4950 50 0001 C CNN F 3 "~" H 6600 5100 50 0001 C CNN 1 6600 5100 1 0 0 1 $EndComp Wire Wire Line 7000 4450 6850 4450 Wire Wire Line 6600 4450 6600 4500 Wire Wire Line 6600 4800 6600 4950 Wire Wire Line 6850 4650 6850 4450 Connection ~ 6850 4450 Wire Wire Line 6850 4450 6600 4450 Wire Wire Line 6850 4950 6850 5250 Wire Wire Line 6850 5250 6750 5250 $Comp L power:GND #PWR0110 U 1 1 60C01F63 P 6750 5300 F 0 "#PWR0110" H 6750 5050 50 0001 C CNN F 1 "GND" H 6755 5127 50 0000 C CNN F 2 "" H 6750 5300 50 0001 C CNN F 3 "" H 6750 5300 50 0001 C CNN 1 6750 5300 1 0 0 -1 $EndComp Wire Wire Line 6750 5300 6750 5250 Connection ~ 6750 5250 Wire Wire Line 6750 5250 6600 5250 $Comp L Device:R R3 U 1 1 60C05757 P 6850 2750 F 0 "R3" H 6920 2796 50 0000 L CNN F 1 "47K" H 6920 2705 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6780 2750 50 0001 C CNN F 3 "~" H 6850 2750 50 0001 C CNN 1 6850 2750 1 0 0 -1 $EndComp $Comp L Device:R R1 U 1 1 60C0575D P 6600 2600 F 0 "R1" H 6670 2646 50 0000 L CNN F 1 "47K" H 6670 2555 50 0000 L CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6530 2600 50 0001 C CNN F 3 "~" H 6600 2600 50 0001 C CNN 1 6600 2600 -1 0 0 1 $EndComp $Comp L Device:C C1 U 1 1 60C05763 P 6600 2950 F 0 "C1" H 6486 2904 50 0000 R CNN F 1 "22nF" H 6486 2995 50 0000 R CNN F 2 "Capacitor_SMD:C_0603_1608Metric" H 6638 2800 50 0001 C CNN F 3 "~" H 6600 2950 50 0001 C CNN 1 6600 2950 1 0 0 1 $EndComp Wire Wire Line 7000 2400 6850 2400 Wire Wire Line 6600 2400 6600 2450 Wire Wire Line 6600 2750 6600 2800 Wire Wire Line 6850 2600 6850 2400 Connection ~ 6850 2400 Wire Wire Line 6850 2400 6600 2400 Wire Wire Line 6850 2900 6850 3100 Wire Wire Line 6850 3100 6750 3100 $Comp L power:GND #PWR0111 U 1 1 60C05771 P 6750 3100 F 0 "#PWR0111" H 6750 2850 50 0001 C CNN F 1 "GND" H 6755 2927 50 0000 C CNN F 2 "" H 6750 3100 50 0001 C CNN F 3 "" H 6750 3100 50 0001 C CNN 1 6750 3100 1 0 0 -1 $EndComp Connection ~ 6750 3100 Wire Wire Line 6750 3100 6600 3100 Wire Wire Line 6850 3450 7000 3450 Wire Wire Line 7000 3550 6850 3550 Wire Wire Line 6850 4050 7000 4050 Wire Wire Line 7000 4150 6850 4150 Text GLabel 6850 1800 0 50 Input ~ 0 GND Text GLabel 6850 1700 0 50 Input ~ 0 GND Wire Wire Line 6850 1700 7000 1700 Wire Wire Line 7000 1800 6850 1800 Text GLabel 6850 3750 0 50 Input ~ 0 GND Text GLabel 6850 3850 0 50 Input ~ 0 GND Wire Wire Line 6850 3850 7000 3850 Wire Wire Line 7000 3750 6850 3750 Text GLabel 6850 4350 0 50 Input ~ 0 MOT_REF1 Wire Wire Line 6850 4350 7000 4350 Text GLabel 6850 2300 0 50 Input ~ 0 MOT_REF1 Wire Wire Line 6850 2300 7000 2300 $EndSCHEMATC