draw current circuit
This commit is contained in:
parent
c13ad07e14
commit
460903a503
|
@ -25,9 +25,9 @@ long last_serialdebug=0;
|
|||
#define INTERVAL_SERIALDEBUG 200
|
||||
|
||||
//Inputs
|
||||
#define PIN_BUTTON 9 //D9 = PB1
|
||||
#define PIN_ENCA 7 //D7 = PD7
|
||||
#define PIN_ENCB 8 //D8 = PB0
|
||||
#define PIN_BUTTON PB0 //D8 = PB0
|
||||
#define PIN_ENCA PD6 //D6 = PD6
|
||||
#define PIN_ENCB PD7 //D7 = PD7
|
||||
#define BUTTON_RELEASE_DEBOUNCE 100 //minimum time after button release to reenable triggering
|
||||
|
||||
boolean button_flag=false; //true if button pressed
|
||||
|
@ -36,9 +36,9 @@ long last_button_released=0; //last time button has been released (for debounce)
|
|||
|
||||
//Shift Register 595
|
||||
//connections: https://www.arduino.cc/en/tutorial/ShiftOut
|
||||
#define SRLATCH 4 //D4 = PD4
|
||||
#define SRCLOCK 5 //D5 = PD5
|
||||
#define SRDATA 6 //D6 = PD6
|
||||
#define SRLATCH PD4 //D4 = PD4
|
||||
#define SRCLOCK PD3 //D3 = PD3
|
||||
#define SRDATA PD2 //D2 = PD2
|
||||
uint16_t srbits=0;
|
||||
|
||||
#include <Encoder.h>
|
||||
|
@ -205,7 +205,6 @@ void loop() {
|
|||
if (error==0){ //no errors
|
||||
|
||||
if (!poti_reachedposition && abs(poti_read-poti_set)>DEADZONE_POTI){ //error too high
|
||||
|
||||
if (poti_read-poti_set < 0){
|
||||
MOTOR_LEFT();
|
||||
}else{
|
||||
|
|
|
@ -1,6 +1,277 @@
|
|||
EESchema-LIBRARY Version 2.4
|
||||
#encoding utf-8
|
||||
#
|
||||
# 74xx_74HC595
|
||||
#
|
||||
DEF 74xx_74HC595 U 0 20 Y Y 1 F N
|
||||
F0 "U" -300 550 50 H V C CNN
|
||||
F1 "74xx_74HC595" -300 -650 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
ALIAS 74LS595 74HCT595
|
||||
$FPLIST
|
||||
DIP*W7.62mm*
|
||||
SOIC*3.9x9.9mm*P1.27mm*
|
||||
TSSOP*4.4x5mm*P0.65mm*
|
||||
SOIC*5.3x10.2mm*P1.27mm*
|
||||
SOIC*7.5x10.3mm*P1.27mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -300 500 300 -600 1 1 10 f
|
||||
X QB 1 400 300 100 L 50 50 1 0 T
|
||||
X ~SRCLR 10 -400 100 100 R 50 50 1 0 I
|
||||
X SRCLK 11 -400 200 100 R 50 50 1 0 I
|
||||
X RCLK 12 -400 -100 100 R 50 50 1 0 I
|
||||
X ~OE 13 -400 -200 100 R 50 50 1 0 I
|
||||
X SER 14 -400 400 100 R 50 50 1 0 I
|
||||
X QA 15 400 400 100 L 50 50 1 0 T
|
||||
X VCC 16 0 600 100 D 50 50 1 0 W
|
||||
X QC 2 400 200 100 L 50 50 1 0 T
|
||||
X QD 3 400 100 100 L 50 50 1 0 T
|
||||
X QE 4 400 0 100 L 50 50 1 0 T
|
||||
X QF 5 400 -100 100 L 50 50 1 0 T
|
||||
X QG 6 400 -200 100 L 50 50 1 0 T
|
||||
X QH 7 400 -300 100 L 50 50 1 0 T
|
||||
X GND 8 0 -700 100 U 50 50 1 0 W
|
||||
X QH' 9 400 -500 100 L 50 50 1 0 O
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Connector_Conn_01x02_Male
|
||||
#
|
||||
DEF Connector_Conn_01x02_Male J 0 40 Y N 1 F N
|
||||
F0 "J" 0 100 50 H V C CNN
|
||||
F1 "Connector_Conn_01x02_Male" 0 -200 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_1x??_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S 34 -95 0 -105 1 1 6 F
|
||||
S 34 5 0 -5 1 1 6 F
|
||||
P 2 1 1 6 50 -100 34 -100 N
|
||||
P 2 1 1 6 50 0 34 0 N
|
||||
X Pin_1 1 200 0 150 L 50 50 1 1 P
|
||||
X Pin_2 2 200 -100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Connector_Conn_01x06_Female
|
||||
#
|
||||
DEF Connector_Conn_01x06_Female J 0 40 Y N 1 F N
|
||||
F0 "J" 0 300 50 H V C CNN
|
||||
F1 "Connector_Conn_01x06_Female" 0 -400 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_1x??_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
A 0 -300 20 901 -901 1 1 6 N 0 -280 0 -320
|
||||
A 0 -200 20 901 -901 1 1 6 N 0 -180 0 -220
|
||||
A 0 -100 20 901 -901 1 1 6 N 0 -80 0 -120
|
||||
A 0 0 20 901 -901 1 1 6 N 0 20 0 -20
|
||||
A 0 100 20 901 -901 1 1 6 N 0 120 0 80
|
||||
A 0 200 20 901 -901 1 1 6 N 0 220 0 180
|
||||
P 2 1 1 6 -50 -300 -20 -300 N
|
||||
P 2 1 1 6 -50 -200 -20 -200 N
|
||||
P 2 1 1 6 -50 -100 -20 -100 N
|
||||
P 2 1 1 6 -50 0 -20 0 N
|
||||
P 2 1 1 6 -50 100 -20 100 N
|
||||
P 2 1 1 6 -50 200 -20 200 N
|
||||
X Pin_1 1 -200 200 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 100 150 R 50 50 1 1 P
|
||||
X Pin_3 3 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_4 4 -200 -100 150 R 50 50 1 1 P
|
||||
X Pin_5 5 -200 -200 150 R 50 50 1 1 P
|
||||
X Pin_6 6 -200 -300 150 R 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Connector_Generic_Conn_02x04_Counter_Clockwise
|
||||
#
|
||||
DEF Connector_Generic_Conn_02x04_Counter_Clockwise J 0 40 Y N 1 F N
|
||||
F0 "J" 50 200 50 H V C CNN
|
||||
F1 "Connector_Generic_Conn_02x04_Counter_Clockwise" 50 -300 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Connector*:*_2x??_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -50 -195 0 -205 1 1 6 N
|
||||
S -50 -95 0 -105 1 1 6 N
|
||||
S -50 5 0 -5 1 1 6 N
|
||||
S -50 105 0 95 1 1 6 N
|
||||
S -50 150 150 -250 1 1 10 f
|
||||
S 150 -195 100 -205 1 1 6 N
|
||||
S 150 -95 100 -105 1 1 6 N
|
||||
S 150 5 100 -5 1 1 6 N
|
||||
S 150 105 100 95 1 1 6 N
|
||||
X Pin_1 1 -200 100 150 R 50 50 1 1 P
|
||||
X Pin_2 2 -200 0 150 R 50 50 1 1 P
|
||||
X Pin_3 3 -200 -100 150 R 50 50 1 1 P
|
||||
X Pin_4 4 -200 -200 150 R 50 50 1 1 P
|
||||
X Pin_5 5 300 -200 150 L 50 50 1 1 P
|
||||
X Pin_6 6 300 -100 150 L 50 50 1 1 P
|
||||
X Pin_7 7 300 0 150 L 50 50 1 1 P
|
||||
X Pin_8 8 300 100 150 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Device_C
|
||||
#
|
||||
DEF Device_C C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "Device_C" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
C_*
|
||||
$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 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Device_CP
|
||||
#
|
||||
DEF Device_CP C 0 10 N Y 1 F N
|
||||
F0 "C" 25 100 50 H V L CNN
|
||||
F1 "Device_CP" 25 -100 50 H V L CNN
|
||||
F2 "" 38 -150 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
CP_*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -90 20 -90 40 0 1 0 N
|
||||
S -90 20 90 20 0 1 0 N
|
||||
S 90 -20 -90 -40 0 1 0 F
|
||||
S 90 40 -90 40 0 1 0 N
|
||||
S 90 40 90 20 0 1 0 N
|
||||
P 2 0 1 0 -70 90 -30 90 N
|
||||
P 2 0 1 0 -50 110 -50 70 N
|
||||
X ~ 1 0 150 110 D 50 50 1 1 P
|
||||
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Device_Crystal
|
||||
#
|
||||
DEF Device_Crystal Y 0 40 N N 1 F N
|
||||
F0 "Y" 0 150 50 H V C CNN
|
||||
F1 "Device_Crystal" 0 -150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
Crystal*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -45 100 45 -100 0 1 12 N
|
||||
P 2 0 1 0 -100 0 -75 0 N
|
||||
P 2 0 1 20 -75 -50 -75 50 N
|
||||
P 2 0 1 20 75 -50 75 50 N
|
||||
P 2 0 1 0 100 0 75 0 N
|
||||
X 1 1 -150 0 50 R 50 50 1 1 P
|
||||
X 2 2 150 0 50 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Device_R
|
||||
#
|
||||
DEF Device_R R 0 0 N Y 1 F N
|
||||
F0 "R" 80 0 50 V V C CNN
|
||||
F1 "Device_R" 0 0 50 V V C CNN
|
||||
F2 "" -70 0 50 V I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
R_*
|
||||
$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
|
||||
#
|
||||
# Driver_Motor_L293D
|
||||
#
|
||||
DEF Driver_Motor_L293D U 0 40 Y Y 1 F N
|
||||
F0 "U" -200 1025 50 H V R CNN
|
||||
F1 "Driver_Motor_L293D" -200 950 50 H V R CNN
|
||||
F2 "Package_DIP:DIP-16_W7.62mm" 250 -750 50 H I L CNN
|
||||
F3 "" -300 700 50 H I C CNN
|
||||
ALIAS L293D
|
||||
$FPLIST
|
||||
DIP*W7.62mm*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
C -90 -270 10 0 1 0 F
|
||||
C -90 325 10 0 1 0 F
|
||||
S -400 900 400 -700 0 1 10 f
|
||||
P 2 0 1 0 -250 -195 -50 -195 N
|
||||
P 2 0 1 0 -250 5 -125 5 N
|
||||
P 2 0 1 0 -250 400 -50 400 N
|
||||
P 2 0 1 0 -250 600 -125 600 N
|
||||
P 2 0 1 0 -50 5 250 5 N
|
||||
P 2 0 1 0 -50 600 250 600 N
|
||||
P 2 0 1 0 25 -195 250 -195 N
|
||||
P 2 0 1 0 25 400 250 400 N
|
||||
P 3 0 1 0 -90 -270 -10 -270 -10 -220 N
|
||||
P 3 0 1 0 -90 -25 -90 -400 -140 -400 N
|
||||
P 3 0 1 0 -90 325 -10 325 -10 375 N
|
||||
P 3 0 1 0 -90 570 -90 200 -140 200 N
|
||||
P 4 0 1 0 -125 55 -125 -45 -50 5 -125 55 N
|
||||
P 4 0 1 0 -125 650 -125 550 -50 600 -125 650 N
|
||||
P 4 0 1 0 -50 -145 -50 -245 25 -195 -50 -145 N
|
||||
P 4 0 1 0 -50 450 -50 350 25 400 -50 450 N
|
||||
X EN1,2 1 -500 200 100 R 50 50 1 1 I
|
||||
X 3A 10 -500 0 100 R 50 50 1 1 I
|
||||
X 3Y 11 500 0 100 L 50 50 1 1 O
|
||||
X GND 12 100 -800 100 U 50 50 1 1 W
|
||||
X GND 13 200 -800 100 U 50 50 1 1 W
|
||||
X 4Y 14 500 -200 100 L 50 50 1 1 O
|
||||
X 4A 15 -500 -200 100 R 50 50 1 1 I
|
||||
X VCC1 16 -100 1000 100 D 50 50 1 1 W
|
||||
X 1A 2 -500 600 100 R 50 50 1 1 I
|
||||
X 1Y 3 500 600 100 L 50 50 1 1 O
|
||||
X GND 4 -200 -800 100 U 50 50 1 1 W
|
||||
X GND 5 -100 -800 100 U 50 50 1 1 W
|
||||
X 2Y 6 500 400 100 L 50 50 1 1 O
|
||||
X 2A 7 -500 400 100 R 50 50 1 1 I
|
||||
X VCC2 8 100 1000 100 D 50 50 1 1 W
|
||||
X EN3,4 9 -500 -400 100 R 50 50 1 1 I
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Jumper_SolderJumper_2_Bridged
|
||||
#
|
||||
DEF Jumper_SolderJumper_2_Bridged JP 0 0 Y N 1 F N
|
||||
F0 "JP" 0 80 50 H V C CNN
|
||||
F1 "Jumper_SolderJumper_2_Bridged" 0 -100 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
$FPLIST
|
||||
SolderJumper*Bridged*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
A -10 0 40 901 -901 0 1 0 N -10 40 -10 -40
|
||||
A -10 0 40 901 -901 0 1 0 F -10 40 -10 -40
|
||||
A 10 0 40 -899 899 0 1 0 N 10 -40 10 40
|
||||
A 10 0 40 -899 899 0 1 0 F 10 -40 10 40
|
||||
S -20 20 20 -20 0 1 0 F
|
||||
P 2 0 1 0 -10 40 -10 -40 N
|
||||
P 2 0 1 0 10 40 10 -40 N
|
||||
X A 1 -150 0 100 R 50 50 1 1 P
|
||||
X B 2 150 0 100 L 50 50 1 1 P
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# MCU_Microchip_ATmega_ATmega328P-PU
|
||||
#
|
||||
DEF MCU_Microchip_ATmega_ATmega328P-PU U 0 20 Y Y 1 F N
|
||||
|
@ -45,6 +316,25 @@ X XTAL1/PB6 9 600 600 100 L 50 50 1 1 T
|
|||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# Regulator_Linear_L78L33_TO92
|
||||
#
|
||||
DEF Regulator_Linear_L78L33_TO92 U 0 10 Y Y 1 F N
|
||||
F0 "U" -150 125 50 H V C CNN
|
||||
F1 "Regulator_Linear_L78L33_TO92" 0 125 50 H V L CNN
|
||||
F2 "Package_TO_SOT_THT:TO-92_Inline" 0 225 50 H I C CIN
|
||||
F3 "" 0 -50 50 H I C CNN
|
||||
ALIAS LM78L05_TO92 MC78L06_TO92 MC78L08_TO92 MC78L12_TO92 LM78L12_TO92 MC78L15_TO92 MC78L18_TO92 MC78L24_TO92 LM2931AZ-5.0_TO92 LM2936-3.0_TO92 LM2936-3.3_TO92 LM2936-5.0_TO92 LP2950-3.0_TO92 LP2950-3.3_TO92 LP2950-5.0_TO92 L78L33_TO92 L78L05_TO92 L78L06_TO92 L78L08_TO92 L78L09_TO92 L78L10_TO92 L78L12_TO92 L78L15_TO92 L78L18_TO92 L78L24_TO92
|
||||
$FPLIST
|
||||
TO?92*
|
||||
$ENDFPLIST
|
||||
DRAW
|
||||
S -200 -200 200 75 0 1 10 f
|
||||
X VO 1 300 0 100 L 50 50 1 1 w
|
||||
X GND 2 0 -300 100 U 50 50 1 1 W
|
||||
X VI 3 -300 0 100 R 50 50 1 1 W
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# power_+5V
|
||||
#
|
||||
DEF power_+5V #PWR 0 0 Y Y 1 F P
|
||||
|
@ -87,4 +377,18 @@ X GNDD 1 0 0 0 D 50 50 1 1 W N
|
|||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
# power_VCC
|
||||
#
|
||||
DEF power_VCC #PWR 0 0 Y Y 1 F P
|
||||
F0 "#PWR" 0 -150 50 H I C CNN
|
||||
F1 "power_VCC" 0 150 50 H V C CNN
|
||||
F2 "" 0 0 50 H I C CNN
|
||||
F3 "" 0 0 50 H I C CNN
|
||||
DRAW
|
||||
C 0 75 25 0 1 0 N
|
||||
P 2 0 1 0 0 0 0 50 N
|
||||
X VCC 1 0 0 0 U 50 50 1 1 W N
|
||||
ENDDRAW
|
||||
ENDDEF
|
||||
#
|
||||
#End Library
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
EESchema Schematic File Version 4
|
||||
LIBS:controller-cache
|
||||
EELAYER 26 0
|
||||
EELAYER END
|
||||
$Descr A4 11693 8268
|
||||
|
@ -16,71 +17,915 @@ $EndDescr
|
|||
$Comp
|
||||
L MCU_Microchip_ATmega:ATmega328P-PU U?
|
||||
U 1 1 5CD141F3
|
||||
P 4800 3550
|
||||
F 0 "U?" H 4159 3596 50 0000 R CNN
|
||||
F 1 "ATmega328P-PU" H 4159 3505 50 0000 R CNN
|
||||
F 2 "Package_DIP:DIP-28_W7.62mm" H 4800 3550 50 0001 C CIN
|
||||
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 4800 3550 50 0001 C CNN
|
||||
1 4800 3550
|
||||
P 1950 3000
|
||||
F 0 "U?" H 1309 3046 50 0000 R CNN
|
||||
F 1 "ATmega328P-PU" H 1309 2955 50 0000 R CNN
|
||||
F 2 "Package_DIP:DIP-28_W7.62mm" H 1950 3000 50 0001 C CIN
|
||||
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 1950 3000 50 0001 C CNN
|
||||
1 1950 3000
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD142C5
|
||||
P 4800 5200
|
||||
F 0 "#PWR?" H 4800 4950 50 0001 C CNN
|
||||
F 1 "GNDD" H 4804 5045 50 0000 C CNN
|
||||
F 2 "" H 4800 5200 50 0001 C CNN
|
||||
F 3 "" H 4800 5200 50 0001 C CNN
|
||||
1 4800 5200
|
||||
P 1950 4650
|
||||
F 0 "#PWR?" H 1950 4400 50 0001 C CNN
|
||||
F 1 "GNDD" H 1954 4495 50 0000 C CNN
|
||||
F 2 "" H 1950 4650 50 0001 C CNN
|
||||
F 3 "" H 1950 4650 50 0001 C CNN
|
||||
1 1950 4650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDA #PWR?
|
||||
U 1 1 5CD1433E
|
||||
P 3550 4650
|
||||
F 0 "#PWR?" H 3550 4400 50 0001 C CNN
|
||||
F 1 "GNDA" H 3555 4477 50 0000 C CNN
|
||||
F 2 "" H 3550 4650 50 0001 C CNN
|
||||
F 3 "" H 3550 4650 50 0001 C CNN
|
||||
1 3550 4650
|
||||
P 7150 3350
|
||||
F 0 "#PWR?" H 7150 3100 50 0001 C CNN
|
||||
F 1 "GNDA" H 7155 3177 50 0000 C CNN
|
||||
F 2 "" H 7150 3350 50 0001 C CNN
|
||||
F 3 "" H 7150 3350 50 0001 C CNN
|
||||
1 7150 3350
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD1438D
|
||||
P 4800 1850
|
||||
F 0 "#PWR?" H 4800 1700 50 0001 C CNN
|
||||
F 1 "+5V" H 4815 2023 50 0000 C CNN
|
||||
F 2 "" H 4800 1850 50 0001 C CNN
|
||||
F 3 "" H 4800 1850 50 0001 C CNN
|
||||
1 4800 1850
|
||||
P 1950 1300
|
||||
F 0 "#PWR?" H 1950 1150 50 0001 C CNN
|
||||
F 1 "+5V" H 1965 1473 50 0000 C CNN
|
||||
F 2 "" H 1950 1300 50 0001 C CNN
|
||||
F 3 "" H 1950 1300 50 0001 C CNN
|
||||
1 1950 1300
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4800 1850 4800 1900
|
||||
1950 1300 1950 1350
|
||||
Wire Wire Line
|
||||
4900 2050 4900 1900
|
||||
2050 1500 2050 1350
|
||||
Wire Wire Line
|
||||
4900 1900 4800 1900
|
||||
Connection ~ 4800 1900
|
||||
2050 1350 1950 1350
|
||||
Connection ~ 1950 1350
|
||||
Wire Wire Line
|
||||
4800 1900 4800 2050
|
||||
1950 1350 1950 1500
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD143AC
|
||||
P 4100 2250
|
||||
F 0 "#PWR?" H 4100 2100 50 0001 C CNN
|
||||
F 1 "+5V" H 4115 2423 50 0000 C CNN
|
||||
F 2 "" H 4100 2250 50 0001 C CNN
|
||||
F 3 "" H 4100 2250 50 0001 C CNN
|
||||
1 4100 2250
|
||||
P 1250 1700
|
||||
F 0 "#PWR?" H 1250 1550 50 0001 C CNN
|
||||
F 1 "+5V" H 1265 1873 50 0000 C CNN
|
||||
F 2 "" H 1250 1700 50 0001 C CNN
|
||||
F 3 "" H 1250 1700 50 0001 C CNN
|
||||
1 1250 1700
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
4100 2250 4100 2350
|
||||
1250 1700 1250 1800
|
||||
Wire Wire Line
|
||||
4100 2350 4200 2350
|
||||
1250 1800 1350 1800
|
||||
Wire Wire Line
|
||||
4800 5200 4800 5050
|
||||
1950 4650 1950 4500
|
||||
Wire Wire Line
|
||||
2550 1800 3050 1800
|
||||
Wire Wire Line
|
||||
2550 4100 3050 4100
|
||||
Wire Wire Line
|
||||
2550 4200 3050 4200
|
||||
Text GLabel 3050 1800 2 50 Input ~ 0
|
||||
ENCODER_BUTTON
|
||||
Text GLabel 3050 4100 2 50 Input ~ 0
|
||||
ENCODER_A
|
||||
Text GLabel 3050 4200 2 50 Input ~ 0
|
||||
ENCODER_B
|
||||
Text GLabel 3250 3900 2 50 Input ~ 0
|
||||
SRLATCH
|
||||
Text GLabel 3250 3800 2 50 Input ~ 0
|
||||
SRCLOCK
|
||||
Text GLabel 3250 3700 2 50 Input ~ 0
|
||||
SRDATA
|
||||
Wire Wire Line
|
||||
3250 3700 2550 3700
|
||||
Wire Wire Line
|
||||
3250 3800 2550 3800
|
||||
Wire Wire Line
|
||||
2550 3900 3250 3900
|
||||
$Comp
|
||||
L Device:R R?
|
||||
U 1 1 5CD153B9
|
||||
P 3000 3300
|
||||
F 0 "R?" V 2793 3300 50 0000 C CNN
|
||||
F 1 "10k" V 2884 3300 50 0000 C CNN
|
||||
F 2 "" V 2930 3300 50 0001 C CNN
|
||||
F 3 "~" H 3000 3300 50 0001 C CNN
|
||||
1 3000 3300
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD1548E
|
||||
P 3300 3300
|
||||
F 0 "#PWR?" H 3300 3150 50 0001 C CNN
|
||||
F 1 "+5V" H 3315 3473 50 0000 C CNN
|
||||
F 2 "" H 3300 3300 50 0001 C CNN
|
||||
F 3 "" H 3300 3300 50 0001 C CNN
|
||||
1 3300 3300
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3300 3300 3150 3300
|
||||
Wire Wire Line
|
||||
2850 3300 2600 3300
|
||||
Wire Wire Line
|
||||
2600 3300 2600 3400
|
||||
Connection ~ 2600 3300
|
||||
Wire Wire Line
|
||||
2600 3300 2550 3300
|
||||
Text GLabel 3600 3400 2 50 Input ~ 0
|
||||
RESET
|
||||
$Comp
|
||||
L Device:R R?
|
||||
U 1 1 5CD157F9
|
||||
P 2900 3600
|
||||
F 0 "R?" V 2800 3600 50 0000 C CNN
|
||||
F 1 "1k" V 2900 3600 50 0000 C CNN
|
||||
F 2 "" V 2830 3600 50 0001 C CNN
|
||||
F 3 "~" H 2900 3600 50 0001 C CNN
|
||||
1 2900 3600
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:R R?
|
||||
U 1 1 5CD15825
|
||||
P 3200 3500
|
||||
F 0 "R?" V 3100 3500 50 0000 C CNN
|
||||
F 1 "1k" V 3200 3500 50 0000 C CNN
|
||||
F 2 "" V 3130 3500 50 0001 C CNN
|
||||
F 3 "~" H 3200 3500 50 0001 C CNN
|
||||
1 3200 3500
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3050 3500 2550 3500
|
||||
Wire Wire Line
|
||||
2550 3600 2750 3600
|
||||
Text GLabel 3600 3600 2 50 Input ~ 0
|
||||
TX
|
||||
Text GLabel 3600 3500 2 50 Input ~ 0
|
||||
RX
|
||||
Wire Wire Line
|
||||
3600 3500 3350 3500
|
||||
Wire Wire Line
|
||||
3600 3600 3050 3600
|
||||
$Comp
|
||||
L Device:Crystal Y?
|
||||
U 1 1 5CD163A1
|
||||
P 3100 2450
|
||||
F 0 "Y?" V 3054 2581 50 0000 L CNN
|
||||
F 1 "Crystal" V 3145 2581 50 0000 L CNN
|
||||
F 2 "" H 3100 2450 50 0001 C CNN
|
||||
F 3 "~" H 3100 2450 50 0001 C CNN
|
||||
1 3100 2450
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3100 2300 2950 2300
|
||||
Wire Wire Line
|
||||
2950 2300 2950 2400
|
||||
Wire Wire Line
|
||||
2950 2400 2550 2400
|
||||
Wire Wire Line
|
||||
2550 2500 2950 2500
|
||||
Wire Wire Line
|
||||
2950 2500 2950 2600
|
||||
Wire Wire Line
|
||||
2950 2600 3100 2600
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD16AB1
|
||||
P 3550 2300
|
||||
F 0 "C?" V 3298 2300 50 0000 C CNN
|
||||
F 1 "22p" V 3389 2300 50 0000 C CNN
|
||||
F 2 "" H 3588 2150 50 0001 C CNN
|
||||
F 3 "~" H 3550 2300 50 0001 C CNN
|
||||
1 3550 2300
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD16B2E
|
||||
P 3550 2600
|
||||
F 0 "C?" V 3700 2600 50 0000 C CNN
|
||||
F 1 "22p" V 3800 2600 50 0000 C CNN
|
||||
F 2 "" H 3588 2450 50 0001 C CNN
|
||||
F 3 "~" H 3550 2600 50 0001 C CNN
|
||||
1 3550 2600
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3400 2600 3100 2600
|
||||
Connection ~ 3100 2600
|
||||
Wire Wire Line
|
||||
3100 2300 3400 2300
|
||||
Connection ~ 3100 2300
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD17431
|
||||
P 3850 2650
|
||||
F 0 "#PWR?" H 3850 2400 50 0001 C CNN
|
||||
F 1 "GNDD" H 3854 2495 50 0000 C CNN
|
||||
F 2 "" H 3850 2650 50 0001 C CNN
|
||||
F 3 "" H 3850 2650 50 0001 C CNN
|
||||
1 3850 2650
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3850 2650 3850 2600
|
||||
Wire Wire Line
|
||||
3850 2300 3700 2300
|
||||
Wire Wire Line
|
||||
3700 2600 3850 2600
|
||||
Connection ~ 3850 2600
|
||||
Wire Wire Line
|
||||
3850 2600 3850 2300
|
||||
$Comp
|
||||
L 74xx:74HC595 U?
|
||||
U 1 1 5CD17EBC
|
||||
P 5900 2200
|
||||
F 0 "U?" H 6100 2850 50 0000 C CNN
|
||||
F 1 "74HC595" H 6100 2750 50 0000 C CNN
|
||||
F 2 "" H 5900 2200 50 0001 C CNN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 5900 2200 50 0001 C CNN
|
||||
1 5900 2200
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD17FA8
|
||||
P 5900 1550
|
||||
F 0 "#PWR?" H 5900 1400 50 0001 C CNN
|
||||
F 1 "+5V" H 5915 1723 50 0000 C CNN
|
||||
F 2 "" H 5900 1550 50 0001 C CNN
|
||||
F 3 "" H 5900 1550 50 0001 C CNN
|
||||
1 5900 1550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD17FCB
|
||||
P 5900 2950
|
||||
F 0 "#PWR?" H 5900 2700 50 0001 C CNN
|
||||
F 1 "GNDD" H 5904 2795 50 0000 C CNN
|
||||
F 2 "" H 5900 2950 50 0001 C CNN
|
||||
F 3 "" H 5900 2950 50 0001 C CNN
|
||||
1 5900 2950
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5900 1550 5900 1600
|
||||
Wire Wire Line
|
||||
5900 2900 5900 2950
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD18B0D
|
||||
P 4950 2100
|
||||
F 0 "#PWR?" H 4950 1950 50 0001 C CNN
|
||||
F 1 "+5V" V 4965 2273 50 0000 C CNN
|
||||
F 2 "" H 4950 2100 50 0001 C CNN
|
||||
F 3 "" H 4950 2100 50 0001 C CNN
|
||||
1 4950 2100
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5500 2100 4950 2100
|
||||
Text GLabel 5350 2000 0 50 Input ~ 0
|
||||
SRCLOCK
|
||||
Wire Wire Line
|
||||
5500 2000 5350 2000
|
||||
Text GLabel 5350 2300 0 50 Input ~ 0
|
||||
SRLATCH
|
||||
Wire Wire Line
|
||||
5500 2300 5350 2300
|
||||
Text GLabel 5350 1800 0 50 Input ~ 0
|
||||
SRDATA
|
||||
Wire Wire Line
|
||||
5350 1800 5500 1800
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD1B4D1
|
||||
P 5350 2500
|
||||
F 0 "#PWR?" H 5350 2250 50 0001 C CNN
|
||||
F 1 "GNDD" H 5354 2345 50 0000 C CNN
|
||||
F 2 "" H 5350 2500 50 0001 C CNN
|
||||
F 3 "" H 5350 2500 50 0001 C CNN
|
||||
1 5350 2500
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5500 2400 5350 2400
|
||||
Wire Wire Line
|
||||
5350 2400 5350 2500
|
||||
$Comp
|
||||
L 74xx:74HC595 U?
|
||||
U 1 1 5CD1CCAE
|
||||
P 5900 4100
|
||||
F 0 "U?" H 6100 4800 50 0000 C CNN
|
||||
F 1 "74HC595" H 6100 4700 50 0000 C CNN
|
||||
F 2 "" H 5900 4100 50 0001 C CNN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/sn74hc595.pdf" H 5900 4100 50 0001 C CNN
|
||||
1 5900 4100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD1CCB4
|
||||
P 5900 3450
|
||||
F 0 "#PWR?" H 5900 3300 50 0001 C CNN
|
||||
F 1 "+5V" H 5915 3623 50 0000 C CNN
|
||||
F 2 "" H 5900 3450 50 0001 C CNN
|
||||
F 3 "" H 5900 3450 50 0001 C CNN
|
||||
1 5900 3450
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD1CCBA
|
||||
P 5900 4850
|
||||
F 0 "#PWR?" H 5900 4600 50 0001 C CNN
|
||||
F 1 "GNDD" H 5904 4695 50 0000 C CNN
|
||||
F 2 "" H 5900 4850 50 0001 C CNN
|
||||
F 3 "" H 5900 4850 50 0001 C CNN
|
||||
1 5900 4850
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5900 3450 5900 3500
|
||||
Wire Wire Line
|
||||
5900 4800 5900 4850
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD1CCC2
|
||||
P 4950 4000
|
||||
F 0 "#PWR?" H 4950 3850 50 0001 C CNN
|
||||
F 1 "+5V" V 4965 4173 50 0000 C CNN
|
||||
F 2 "" H 4950 4000 50 0001 C CNN
|
||||
F 3 "" H 4950 4000 50 0001 C CNN
|
||||
1 4950 4000
|
||||
0 -1 -1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5500 4000 4950 4000
|
||||
Text GLabel 5350 3900 0 50 Input ~ 0
|
||||
SRCLOCK
|
||||
Wire Wire Line
|
||||
5500 3900 5350 3900
|
||||
Text GLabel 5350 4200 0 50 Input ~ 0
|
||||
SRLATCH
|
||||
Wire Wire Line
|
||||
5500 4200 5350 4200
|
||||
Wire Wire Line
|
||||
5350 3700 5500 3700
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD1CCCF
|
||||
P 5350 4400
|
||||
F 0 "#PWR?" H 5350 4150 50 0001 C CNN
|
||||
F 1 "GNDD" H 5354 4245 50 0000 C CNN
|
||||
F 2 "" H 5350 4400 50 0001 C CNN
|
||||
F 3 "" H 5350 4400 50 0001 C CNN
|
||||
1 5350 4400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
5500 4300 5350 4300
|
||||
Wire Wire Line
|
||||
5350 4300 5350 4400
|
||||
Wire Wire Line
|
||||
5350 3200 6400 3200
|
||||
Wire Wire Line
|
||||
6400 3200 6400 2700
|
||||
Wire Wire Line
|
||||
6400 2700 6300 2700
|
||||
Wire Wire Line
|
||||
5350 3200 5350 3700
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD239F2
|
||||
P 5350 1300
|
||||
F 0 "C?" H 5235 1254 50 0000 R CNN
|
||||
F 1 "100nF" H 5235 1345 50 0000 R CNN
|
||||
F 2 "" H 5388 1150 50 0001 C CNN
|
||||
F 3 "~" H 5350 1300 50 0001 C CNN
|
||||
1 5350 1300
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD24539
|
||||
P 5350 1450
|
||||
F 0 "#PWR?" H 5350 1200 50 0001 C CNN
|
||||
F 1 "GNDD" H 5354 1295 50 0000 C CNN
|
||||
F 2 "" H 5350 1450 50 0001 C CNN
|
||||
F 3 "" H 5350 1450 50 0001 C CNN
|
||||
1 5350 1450
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD24558
|
||||
P 5350 1150
|
||||
F 0 "#PWR?" H 5350 1000 50 0001 C CNN
|
||||
F 1 "+5V" H 5365 1323 50 0000 C CNN
|
||||
F 2 "" H 5350 1150 50 0001 C CNN
|
||||
F 3 "" H 5350 1150 50 0001 C CNN
|
||||
1 5350 1150
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD250AE
|
||||
P 5100 3450
|
||||
F 0 "C?" H 4985 3404 50 0000 R CNN
|
||||
F 1 "100nF" H 4985 3495 50 0000 R CNN
|
||||
F 2 "" H 5138 3300 50 0001 C CNN
|
||||
F 3 "~" H 5100 3450 50 0001 C CNN
|
||||
1 5100 3450
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD250B4
|
||||
P 5100 3600
|
||||
F 0 "#PWR?" H 5100 3350 50 0001 C CNN
|
||||
F 1 "GNDD" H 5104 3445 50 0000 C CNN
|
||||
F 2 "" H 5100 3600 50 0001 C CNN
|
||||
F 3 "" H 5100 3600 50 0001 C CNN
|
||||
1 5100 3600
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD250BA
|
||||
P 5100 3300
|
||||
F 0 "#PWR?" H 5100 3150 50 0001 C CNN
|
||||
F 1 "+5V" H 5115 3473 50 0000 C CNN
|
||||
F 2 "" H 5100 3300 50 0001 C CNN
|
||||
F 3 "" H 5100 3300 50 0001 C CNN
|
||||
1 5100 3300
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD25D56
|
||||
P 1550 1200
|
||||
F 0 "C?" H 1435 1154 50 0000 R CNN
|
||||
F 1 "100nF" H 1435 1245 50 0000 R CNN
|
||||
F 2 "" H 1588 1050 50 0001 C CNN
|
||||
F 3 "~" H 1550 1200 50 0001 C CNN
|
||||
1 1550 1200
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD25D5C
|
||||
P 1550 1350
|
||||
F 0 "#PWR?" H 1550 1100 50 0001 C CNN
|
||||
F 1 "GNDD" H 1554 1195 50 0000 C CNN
|
||||
F 2 "" H 1550 1350 50 0001 C CNN
|
||||
F 3 "" H 1550 1350 50 0001 C CNN
|
||||
1 1550 1350
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD25D62
|
||||
P 1550 1050
|
||||
F 0 "#PWR?" H 1550 900 50 0001 C CNN
|
||||
F 1 "+5V" H 1565 1223 50 0000 C CNN
|
||||
F 2 "" H 1550 1050 50 0001 C CNN
|
||||
F 3 "" H 1550 1050 50 0001 C CNN
|
||||
1 1550 1050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Driver_Motor:L293D U?
|
||||
U 1 1 5CD2818F
|
||||
P 7350 2450
|
||||
F 0 "U?" H 7650 3500 50 0000 C CNN
|
||||
F 1 "L293D" H 7650 3400 50 0000 C CNN
|
||||
F 2 "Package_DIP:DIP-16_W7.62mm" H 7600 1700 50 0001 L CNN
|
||||
F 3 "http://www.ti.com/lit/ds/symlink/l293.pdf" H 7050 3150 50 0001 C CNN
|
||||
1 7350 2450
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:VCC #PWR?
|
||||
U 1 1 5CD2A75C
|
||||
P 7250 1350
|
||||
F 0 "#PWR?" H 7250 1200 50 0001 C CNN
|
||||
F 1 "VCC" H 7267 1523 50 0000 C CNN
|
||||
F 2 "" H 7250 1350 50 0001 C CNN
|
||||
F 3 "" H 7250 1350 50 0001 C CNN
|
||||
1 7250 1350
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7250 1350 7250 1450
|
||||
Wire Wire Line
|
||||
7150 3350 7150 3300
|
||||
Wire Wire Line
|
||||
7250 3250 7250 3300
|
||||
Wire Wire Line
|
||||
7250 3300 7150 3300
|
||||
Connection ~ 7150 3300
|
||||
Wire Wire Line
|
||||
7150 3300 7150 3250
|
||||
Wire Wire Line
|
||||
7550 3250 7550 3300
|
||||
Wire Wire Line
|
||||
7550 3300 7450 3300
|
||||
Connection ~ 7250 3300
|
||||
Wire Wire Line
|
||||
7450 3250 7450 3300
|
||||
Connection ~ 7450 3300
|
||||
Wire Wire Line
|
||||
7450 3300 7250 3300
|
||||
$Comp
|
||||
L power:VCC #PWR?
|
||||
U 1 1 5CD2E54B
|
||||
P 7450 1350
|
||||
F 0 "#PWR?" H 7450 1200 50 0001 C CNN
|
||||
F 1 "VCC" H 7467 1523 50 0000 C CNN
|
||||
F 2 "" H 7450 1350 50 0001 C CNN
|
||||
F 3 "" H 7450 1350 50 0001 C CNN
|
||||
1 7450 1350
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
7450 1350 7450 1450
|
||||
Wire Wire Line
|
||||
6850 1850 6500 1850
|
||||
Wire Wire Line
|
||||
6500 1850 6500 1900
|
||||
Wire Wire Line
|
||||
6500 1900 6300 1900
|
||||
Wire Wire Line
|
||||
6850 2050 6500 2050
|
||||
Wire Wire Line
|
||||
6500 2050 6500 2000
|
||||
Wire Wire Line
|
||||
6500 2000 6300 2000
|
||||
$Comp
|
||||
L Connector:Conn_01x02_Male J?
|
||||
U 1 1 5CD323EC
|
||||
P 8350 2000
|
||||
F 0 "J?" H 8322 1880 50 0000 R CNN
|
||||
F 1 "Conn_Motor" H 8322 1971 50 0000 R CNN
|
||||
F 2 "" H 8350 2000 50 0001 C CNN
|
||||
F 3 "~" H 8350 2000 50 0001 C CNN
|
||||
1 8350 2000
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
8150 1900 8000 1900
|
||||
Wire Wire Line
|
||||
8000 1900 8000 1850
|
||||
Wire Wire Line
|
||||
8000 1850 7850 1850
|
||||
Wire Wire Line
|
||||
7850 2050 8000 2050
|
||||
Wire Wire Line
|
||||
8000 2050 8000 2000
|
||||
Wire Wire Line
|
||||
8000 2000 8150 2000
|
||||
$Comp
|
||||
L Connector:Conn_01x02_Male Conn_Motor?
|
||||
U 1 1 5CD34BBF
|
||||
P 2800 950
|
||||
F 0 "Conn_Motor?" H 2906 1128 50 0000 C CNN
|
||||
F 1 "Conn_5V" H 2906 1037 50 0000 C CNN
|
||||
F 2 "" H 2800 950 50 0001 C CNN
|
||||
F 3 "~" H 2800 950 50 0001 C CNN
|
||||
1 2800 950
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD34CC4
|
||||
P 3250 800
|
||||
F 0 "#PWR?" H 3250 650 50 0001 C CNN
|
||||
F 1 "+5V" H 3265 973 50 0000 C CNN
|
||||
F 2 "" H 3250 800 50 0001 C CNN
|
||||
F 3 "" H 3250 800 50 0001 C CNN
|
||||
1 3250 800
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD34CED
|
||||
P 3250 1100
|
||||
F 0 "#PWR?" H 3250 850 50 0001 C CNN
|
||||
F 1 "GNDD" H 3254 945 50 0000 C CNN
|
||||
F 2 "" H 3250 1100 50 0001 C CNN
|
||||
F 3 "" H 3250 1100 50 0001 C CNN
|
||||
1 3250 1100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDA #PWR?
|
||||
U 1 1 5CD37667
|
||||
P 4350 1100
|
||||
F 0 "#PWR?" H 4350 850 50 0001 C CNN
|
||||
F 1 "GNDA" H 4355 927 50 0000 C CNN
|
||||
F 2 "" H 4350 1100 50 0001 C CNN
|
||||
F 3 "" H 4350 1100 50 0001 C CNN
|
||||
1 4350 1100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:VCC #PWR?
|
||||
U 1 1 5CD38E26
|
||||
P 4350 800
|
||||
F 0 "#PWR?" H 4350 650 50 0001 C CNN
|
||||
F 1 "VCC" H 4367 973 50 0000 C CNN
|
||||
F 2 "" H 4350 800 50 0001 C CNN
|
||||
F 3 "" H 4350 800 50 0001 C CNN
|
||||
1 4350 800
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:CP C?
|
||||
U 1 1 5CD3C177
|
||||
P 3450 950
|
||||
F 0 "C?" H 3568 996 50 0000 L CNN
|
||||
F 1 "100uF" H 3568 905 50 0000 L CNN
|
||||
F 2 "" H 3488 800 50 0001 C CNN
|
||||
F 3 "~" H 3450 950 50 0001 C CNN
|
||||
1 3450 950
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD3F935
|
||||
P 3400 3400
|
||||
F 0 "C?" V 3150 3500 50 0000 C CNN
|
||||
F 1 "100nF" V 3250 3500 50 0000 C CNN
|
||||
F 2 "" H 3438 3250 50 0001 C CNN
|
||||
F 3 "~" H 3400 3400 50 0001 C CNN
|
||||
1 3400 3400
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3250 3400 2600 3400
|
||||
Wire Wire Line
|
||||
3600 3400 3550 3400
|
||||
$Comp
|
||||
L Connector:Conn_01x06_Female J?
|
||||
U 1 1 5CD43722
|
||||
P 3700 4750
|
||||
F 0 "J?" H 3727 4726 50 0000 L CNN
|
||||
F 1 "Conn_01x06_Female" H 3727 4635 50 0000 L CNN
|
||||
F 2 "" H 3700 4750 50 0001 C CNN
|
||||
F 3 "~" H 3700 4750 50 0001 C CNN
|
||||
1 3700 4750
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD43924
|
||||
P 3300 5050
|
||||
F 0 "#PWR?" H 3300 4800 50 0001 C CNN
|
||||
F 1 "GNDD" H 3304 4895 50 0000 C CNN
|
||||
F 2 "" H 3300 5050 50 0001 C CNN
|
||||
F 3 "" H 3300 5050 50 0001 C CNN
|
||||
1 3300 5050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3500 5050 3300 5050
|
||||
Text GLabel 3300 4550 0 50 Input ~ 0
|
||||
RESET
|
||||
Wire Wire Line
|
||||
3500 4550 3300 4550
|
||||
Text GLabel 2950 4650 0 50 Input ~ 0
|
||||
TX
|
||||
Text GLabel 2950 4750 0 50 Input ~ 0
|
||||
RX
|
||||
Wire Wire Line
|
||||
2950 4750 3500 4750
|
||||
Wire Wire Line
|
||||
2950 4650 3500 4650
|
||||
$Comp
|
||||
L Connector_Generic:Conn_02x04_Counter_Clockwise J?
|
||||
U 1 1 5CD7CCFC
|
||||
P 2250 6050
|
||||
F 0 "J?" H 1950 6250 50 0000 C CNN
|
||||
F 1 "Conn_w5100" H 2300 6276 50 0000 C CNN
|
||||
F 2 "" H 2250 6050 50 0001 C CNN
|
||||
F 3 "~" H 2250 6050 50 0001 C CNN
|
||||
1 2250 6050
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD7CFCE
|
||||
P 1650 5950
|
||||
F 0 "#PWR?" H 1650 5700 50 0001 C CNN
|
||||
F 1 "GNDD" H 1654 5795 50 0000 C CNN
|
||||
F 2 "" H 1650 5950 50 0001 C CNN
|
||||
F 3 "" H 1650 5950 50 0001 C CNN
|
||||
1 1650 5950
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
2050 5950 1650 5950
|
||||
Text GLabel 1900 6050 0 50 Input ~ 0
|
||||
MOSI
|
||||
Text GLabel 1900 6150 0 50 Input ~ 0
|
||||
SCK
|
||||
Text GLabel 2700 6050 2 50 Input ~ 0
|
||||
MISO
|
||||
Text GLabel 2700 6150 2 50 Input ~ 0
|
||||
SS
|
||||
Wire Wire Line
|
||||
2700 6050 2550 6050
|
||||
Wire Wire Line
|
||||
2550 6150 2700 6150
|
||||
Wire Wire Line
|
||||
1900 6150 2050 6150
|
||||
Wire Wire Line
|
||||
2050 6050 1900 6050
|
||||
$Comp
|
||||
L Regulator_Linear:L78L33_TO92 U?
|
||||
U 1 1 5CD8B474
|
||||
P 2300 5250
|
||||
F 0 "U?" H 2300 5492 50 0000 C CNN
|
||||
F 1 "L78L33_TO92" H 2300 5401 50 0000 C CNN
|
||||
F 2 "Package_TO_SOT_THT:TO-92_Inline" H 2300 5475 50 0001 C CIN
|
||||
F 3 "http://www.st.com/content/ccc/resource/technical/document/datasheet/15/55/e5/aa/23/5b/43/fd/CD00000446.pdf/files/CD00000446.pdf/jcr:content/translations/en.CD00000446.pdf" H 2300 5200 50 0001 C CNN
|
||||
1 2300 5250
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD8B5FA
|
||||
P 2300 5550
|
||||
F 0 "#PWR?" H 2300 5300 50 0001 C CNN
|
||||
F 1 "GNDD" H 2304 5395 50 0000 C CNN
|
||||
F 2 "" H 2300 5550 50 0001 C CNN
|
||||
F 3 "" H 2300 5550 50 0001 C CNN
|
||||
1 2300 5550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
2800 5250 2800 5950
|
||||
Wire Wire Line
|
||||
2800 5950 2550 5950
|
||||
Wire Wire Line
|
||||
2600 5250 2800 5250
|
||||
Text Label 2750 5950 2 50 ~ 0
|
||||
3v3
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD8E795
|
||||
P 1850 5250
|
||||
F 0 "#PWR?" H 1850 5100 50 0001 C CNN
|
||||
F 1 "+5V" H 1865 5423 50 0000 C CNN
|
||||
F 2 "" H 1850 5250 50 0001 C CNN
|
||||
F 3 "" H 1850 5250 50 0001 C CNN
|
||||
1 1850 5250
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
2000 5250 1850 5250
|
||||
$Comp
|
||||
L Device:C C?
|
||||
U 1 1 5CD91735
|
||||
P 1650 5400
|
||||
F 0 "C?" H 1535 5354 50 0000 R CNN
|
||||
F 1 "100nF" H 1535 5445 50 0000 R CNN
|
||||
F 2 "" H 1688 5250 50 0001 C CNN
|
||||
F 3 "~" H 1650 5400 50 0001 C CNN
|
||||
1 1650 5400
|
||||
-1 0 0 1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDD #PWR?
|
||||
U 1 1 5CD9173B
|
||||
P 1650 5550
|
||||
F 0 "#PWR?" H 1650 5300 50 0001 C CNN
|
||||
F 1 "GNDD" H 1654 5395 50 0000 C CNN
|
||||
F 2 "" H 1650 5550 50 0001 C CNN
|
||||
F 3 "" H 1650 5550 50 0001 C CNN
|
||||
1 1650 5550
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:+5V #PWR?
|
||||
U 1 1 5CD91741
|
||||
P 1650 5250
|
||||
F 0 "#PWR?" H 1650 5100 50 0001 C CNN
|
||||
F 1 "+5V" H 1665 5423 50 0000 C CNN
|
||||
F 2 "" H 1650 5250 50 0001 C CNN
|
||||
F 3 "" H 1650 5250 50 0001 C CNN
|
||||
1 1650 5250
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Text GLabel 2700 2000 2 50 Input ~ 0
|
||||
SS
|
||||
Text GLabel 2700 2100 2 50 Input ~ 0
|
||||
MOSI
|
||||
Text GLabel 2700 2200 2 50 Input ~ 0
|
||||
MISO
|
||||
Wire Wire Line
|
||||
2700 2200 2550 2200
|
||||
Wire Wire Line
|
||||
2550 2100 2700 2100
|
||||
Wire Wire Line
|
||||
2700 2000 2550 2000
|
||||
Text GLabel 2700 2300 2 50 Input ~ 0
|
||||
SCK
|
||||
Wire Wire Line
|
||||
2700 2300 2550 2300
|
||||
$Comp
|
||||
L Device:CP C?
|
||||
U 1 1 5CDA1999
|
||||
P 6850 1250
|
||||
F 0 "C?" H 6968 1296 50 0000 L CNN
|
||||
F 1 "470uF" H 6968 1205 50 0000 L CNN
|
||||
F 2 "" H 6888 1100 50 0001 C CNN
|
||||
F 3 "~" H 6850 1250 50 0001 C CNN
|
||||
1 6850 1250
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:GNDA #PWR?
|
||||
U 1 1 5CDA1A27
|
||||
P 6850 1400
|
||||
F 0 "#PWR?" H 6850 1150 50 0001 C CNN
|
||||
F 1 "GNDA" H 6855 1227 50 0000 C CNN
|
||||
F 2 "" H 6850 1400 50 0001 C CNN
|
||||
F 3 "" H 6850 1400 50 0001 C CNN
|
||||
1 6850 1400
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L power:VCC #PWR?
|
||||
U 1 1 5CDA1A5E
|
||||
P 6850 1100
|
||||
F 0 "#PWR?" H 6850 950 50 0001 C CNN
|
||||
F 1 "VCC" H 6867 1273 50 0000 C CNN
|
||||
F 2 "" H 6850 1100 50 0001 C CNN
|
||||
F 3 "" H 6850 1100 50 0001 C CNN
|
||||
1 6850 1100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3450 1100 3250 1100
|
||||
Wire Wire Line
|
||||
3250 1100 3100 1100
|
||||
Wire Wire Line
|
||||
3100 1100 3100 1050
|
||||
Wire Wire Line
|
||||
3100 1050 3000 1050
|
||||
Connection ~ 3250 1100
|
||||
Wire Wire Line
|
||||
3000 950 3100 950
|
||||
Wire Wire Line
|
||||
3100 950 3100 800
|
||||
Wire Wire Line
|
||||
3100 800 3250 800
|
||||
Wire Wire Line
|
||||
3250 800 3450 800
|
||||
Connection ~ 3250 800
|
||||
$Comp
|
||||
L Jumper:SolderJumper_2_Bridged JP?
|
||||
U 1 1 5CDB8600
|
||||
P 3850 1100
|
||||
F 0 "JP?" H 3850 900 50 0000 C CNN
|
||||
F 1 "SolderJumper_2_Bridged" H 3850 1000 50 0000 C CNN
|
||||
F 2 "" H 3850 1100 50 0001 C CNN
|
||||
F 3 "~" H 3850 1100 50 0001 C CNN
|
||||
1 3850 1100
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
$Comp
|
||||
L Jumper:SolderJumper_2_Bridged JP?
|
||||
U 1 1 5CDBB9F4
|
||||
P 3850 800
|
||||
F 0 "JP?" H 3850 950 50 0000 C CNN
|
||||
F 1 "SolderJumper_2_Bridged" H 3850 900 50 0000 C CNN
|
||||
F 2 "" H 3850 800 50 0001 C CNN
|
||||
F 3 "~" H 3850 800 50 0001 C CNN
|
||||
1 3850 800
|
||||
1 0 0 -1
|
||||
$EndComp
|
||||
Wire Wire Line
|
||||
3700 800 3450 800
|
||||
Connection ~ 3450 800
|
||||
Wire Wire Line
|
||||
3450 1100 3700 1100
|
||||
Connection ~ 3450 1100
|
||||
Wire Wire Line
|
||||
4350 1100 4000 1100
|
||||
Wire Wire Line
|
||||
4000 800 4350 800
|
||||
$EndSCHEMATC
|
||||
|
|
Loading…
Reference in New Issue