summaryrefslogtreecommitdiffstats
path: root/usb-interface/hardware/bitvend-interface.sch
diff options
context:
space:
mode:
authorPiotr Dobrowolski <admin@tastycode.pl>2021-12-11 15:32:00 +0100
committerPiotr Dobrowolski <admin@tastycode.pl>2021-12-11 15:32:00 +0100
commit2637d00c7fa08eb0a547b3c4f96398b160a38fd7 (patch)
tree7e34d832c0bd454db59071ee5a42a35f46bf106e /usb-interface/hardware/bitvend-interface.sch
parent56df3a536f4291cf9380534bd994096870fe0d90 (diff)
downloadbitvend-master.tar.gz
bitvend-master.tar.bz2
bitvend-master.tar.xz
bitvend-master.zip
usb-interface rev 2: MDB loopbackHEADmaster
This adds an optional loopback from MDB TX (which sees all slave communication) back to the STM32 over UART1 or UART3 (with a three-way selection pin header). We also update the resistor footprint because the old one's missing from kicad libraries. Not yet tested. by q3k
Diffstat (limited to 'usb-interface/hardware/bitvend-interface.sch')
-rw-r--r--usb-interface/hardware/bitvend-interface.sch222
1 files changed, 149 insertions, 73 deletions
diff --git a/usb-interface/hardware/bitvend-interface.sch b/usb-interface/hardware/bitvend-interface.sch
index 268fe57..3c71746 100644
--- a/usb-interface/hardware/bitvend-interface.sch
+++ b/usb-interface/hardware/bitvend-interface.sch
@@ -34,7 +34,7 @@ U 1 1 5EEF5E00
P 1850 950
F 0 "R2" H 1920 996 50 0000 L CNN
F 1 "330" H 1920 905 50 0000 L CNN
-F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder" V 1780 950 50 0001 C CNN
+F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 1780 950 50 0001 C CNN
F 3 "~" H 1850 950 50 0001 C CNN
1 1850 950
1 0 0 -1
@@ -81,7 +81,7 @@ U 1 1 5EEF8B9E
P 1950 2050
F 0 "R3" V 1743 2050 50 0000 C CNN
F 1 "330" V 1834 2050 50 0000 C CNN
-F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder" V 1880 2050 50 0001 C CNN
+F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 1880 2050 50 0001 C CNN
F 3 "~" H 1950 2050 50 0001 C CNN
1 1950 2050
0 1 1 0
@@ -111,82 +111,12 @@ U 1 1 5EEFA474
P 1050 1300
F 0 "R1" V 1257 1300 50 0000 C CNN
F 1 "470" V 1166 1300 50 0000 C CNN
-F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder" V 980 1300 50 0001 C CNN
+F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 980 1300 50 0001 C CNN
F 3 "~" H 1050 1300 50 0001 C CNN
1 1050 1300
0 -1 -1 0
$EndComp
$Comp
-L YAAJ_STM32:BluePill_1 BP?1
-U 1 1 5EEFB3BF
-P 4150 1500
-F 0 "BP?1" H 4725 1675 50 0000 C CNN
-F 1 "BluePill_1" H 4725 1584 50 0000 C CNN
-F 2 "Modules:YAAJ_BluePill" H 5400 -450 50 0001 C CNN
-F 3 "" H 5400 -450 50 0001 C CNN
- 1 4150 1500
- 1 0 0 -1
-$EndComp
-Text Label 5500 2850 0 50 ~ 0
-UART2_TX
-Text Label 5500 2750 0 50 ~ 0
-UART2_RX
-$Comp
-L power:GND #PWR0104
-U 1 1 5EEFF1CD
-P 5500 1550
-F 0 "#PWR0104" H 5500 1300 50 0001 C CNN
-F 1 "GND" V 5505 1422 50 0000 R CNN
-F 2 "" H 5500 1550 50 0001 C CNN
-F 3 "" H 5500 1550 50 0001 C CNN
- 1 5500 1550
- 0 -1 -1 0
-$EndComp
-$Comp
-L power:GND #PWR0105
-U 1 1 5EEFF592
-P 5500 1650
-F 0 "#PWR0105" H 5500 1400 50 0001 C CNN
-F 1 "GND" V 5505 1522 50 0000 R CNN
-F 2 "" H 5500 1650 50 0001 C CNN
-F 3 "" H 5500 1650 50 0001 C CNN
- 1 5500 1650
- 0 -1 -1 0
-$EndComp
-$Comp
-L power:+3V3 #PWR0106
-U 1 1 5EEFF9C7
-P 5500 1750
-F 0 "#PWR0106" H 5500 1600 50 0001 C CNN
-F 1 "+3V3" V 5515 1878 50 0000 L CNN
-F 2 "" H 5500 1750 50 0001 C CNN
-F 3 "" H 5500 1750 50 0001 C CNN
- 1 5500 1750
- 0 1 1 0
-$EndComp
-$Comp
-L power:+3V3 #PWR0107
-U 1 1 5EEFFFB4
-P 3950 3450
-F 0 "#PWR0107" H 3950 3300 50 0001 C CNN
-F 1 "+3V3" V 3965 3578 50 0000 L CNN
-F 2 "" H 3950 3450 50 0001 C CNN
-F 3 "" H 3950 3450 50 0001 C CNN
- 1 3950 3450
- 0 -1 -1 0
-$EndComp
-$Comp
-L power:GND #PWR0108
-U 1 1 5EF00B58
-P 3950 3350
-F 0 "#PWR0108" H 3950 3100 50 0001 C CNN
-F 1 "GND" V 3955 3222 50 0000 R CNN
-F 2 "" H 3950 3350 50 0001 C CNN
-F 3 "" H 3950 3350 50 0001 C CNN
- 1 3950 3350
- 0 1 1 0
-$EndComp
-$Comp
L Connector_Generic:Conn_02x03_Top_Bottom J2
U 1 1 5EF0784E
P 1550 3400
@@ -306,4 +236,150 @@ Text Label 2850 3750 0 50 ~ 0
MDB_TX
Text Label 2900 1650 0 50 ~ 0
UART2_RX
+$Comp
+L Isolator:PC817 U3
+U 1 1 613408F5
+P 1500 2800
+F 0 "U3" H 1500 3100 50 0000 C CNN
+F 1 "PC817" H 1500 3000 50 0000 C CNN
+F 2 "Package_DIP:DIP-4_W7.62mm" H 1300 2600 50 0001 L CIN
+F 3 "http://www.soselectronic.cz/a_info/resource/d/pc817.pdf" H 1500 2800 50 0001 L CNN
+ 1 1500 2800
+ 1 0 0 -1
+$EndComp
+Text Label 1200 2700 2 50 ~ 0
+MDB_TX
+Text Label 1200 2900 2 50 ~ 0
+MDB_GND
+$Comp
+L power:GND #PWR0114
+U 1 1 61344D71
+P 1800 2900
+F 0 "#PWR0114" H 1800 2650 50 0001 C CNN
+F 1 "GND" V 1805 2772 50 0000 R CNN
+F 2 "" H 1800 2900 50 0001 C CNN
+F 3 "" H 1800 2900 50 0001 C CNN
+ 1 1800 2900
+ 0 -1 -1 0
+$EndComp
+$Comp
+L Device:R R4
+U 1 1 613451D7
+P 1850 2550
+F 0 "R4" H 1920 2596 50 0000 L CNN
+F 1 "330" H 1920 2505 50 0000 L CNN
+F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 1780 2550 50 0001 C CNN
+F 3 "~" H 1850 2550 50 0001 C CNN
+ 1 1850 2550
+ 1 0 0 -1
+$EndComp
+$Comp
+L power:+3V3 #PWR0115
+U 1 1 6134813F
+P 1850 2400
+F 0 "#PWR0115" H 1850 2250 50 0001 C CNN
+F 1 "+3V3" H 1865 2573 50 0000 C CNN
+F 2 "" H 1850 2400 50 0001 C CNN
+F 3 "" H 1850 2400 50 0001 C CNN
+ 1 1850 2400
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 1800 2700 1850 2700
+Wire Wire Line
+ 1850 2700 2000 2700
+Connection ~ 1850 2700
+Text Label 2000 2700 0 50 ~ 0
+UART_LOOPBACK
+Text Label 4500 1100 0 50 ~ 0
+UART1_RX
+Text Label 4500 900 0 50 ~ 0
+UART3_RX
+$Comp
+L Connector:Conn_01x03_Male J5
+U 1 1 61358074
+P 4300 1000
+F 0 "J5" H 4408 1281 50 0000 C CNN
+F 1 "Conn_01x03_Male" H 4408 1190 50 0000 C CNN
+F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical" H 4300 1000 50 0001 C CNN
+F 3 "~" H 4300 1000 50 0001 C CNN
+ 1 4300 1000
+ 1 0 0 -1
+$EndComp
+Text Label 4500 1000 0 50 ~ 0
+UART_LOOPBACK
+Text Label 5500 1950 0 50 ~ 0
+UART3_RX
+Text Label 3950 2150 2 50 ~ 0
+UART1_RX
+$Comp
+L power:GND #PWR0108
+U 1 1 5EF00B58
+P 3950 3350
+F 0 "#PWR0108" H 3950 3100 50 0001 C CNN
+F 1 "GND" V 3955 3222 50 0000 R CNN
+F 2 "" H 3950 3350 50 0001 C CNN
+F 3 "" H 3950 3350 50 0001 C CNN
+ 1 3950 3350
+ 0 1 1 0
+$EndComp
+$Comp
+L power:+3V3 #PWR0107
+U 1 1 5EEFFFB4
+P 3950 3450
+F 0 "#PWR0107" H 3950 3300 50 0001 C CNN
+F 1 "+3V3" V 3965 3578 50 0000 L CNN
+F 2 "" H 3950 3450 50 0001 C CNN
+F 3 "" H 3950 3450 50 0001 C CNN
+ 1 3950 3450
+ 0 -1 -1 0
+$EndComp
+$Comp
+L power:+3V3 #PWR0106
+U 1 1 5EEFF9C7
+P 5500 1750
+F 0 "#PWR0106" H 5500 1600 50 0001 C CNN
+F 1 "+3V3" V 5515 1878 50 0000 L CNN
+F 2 "" H 5500 1750 50 0001 C CNN
+F 3 "" H 5500 1750 50 0001 C CNN
+ 1 5500 1750
+ 0 1 1 0
+$EndComp
+$Comp
+L power:GND #PWR0105
+U 1 1 5EEFF592
+P 5500 1650
+F 0 "#PWR0105" H 5500 1400 50 0001 C CNN
+F 1 "GND" V 5505 1522 50 0000 R CNN
+F 2 "" H 5500 1650 50 0001 C CNN
+F 3 "" H 5500 1650 50 0001 C CNN
+ 1 5500 1650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L power:GND #PWR0104
+U 1 1 5EEFF1CD
+P 5500 1550
+F 0 "#PWR0104" H 5500 1300 50 0001 C CNN
+F 1 "GND" V 5505 1422 50 0000 R CNN
+F 2 "" H 5500 1550 50 0001 C CNN
+F 3 "" H 5500 1550 50 0001 C CNN
+ 1 5500 1550
+ 0 -1 -1 0
+$EndComp
+Text Label 5500 2750 0 50 ~ 0
+UART2_RX
+Text Label 5500 2850 0 50 ~ 0
+UART2_TX
+$Comp
+L YAAJ_STM32:BluePill_1 BP?1
+U 1 1 5EEFB3BF
+P 4150 1500
+F 0 "BP?1" H 4725 1675 50 0000 C CNN
+F 1 "BluePill_1" H 4725 1584 50 0000 C CNN
+F 2 "Modules:YAAJ_BluePill" H 5400 -450 50 0001 C CNN
+F 3 "" H 5400 -450 50 0001 C CNN
+ 1 4150 1500
+ 1 0 0 -1
+$EndComp
$EndSCHEMATC