Update schematic and pcb to match mbus_master_101

This commit is contained in:
Håkon Løvdal 2018-02-26 18:00:38 +01:00
parent f11b98b0e2
commit e1dcd3a7b6
5 changed files with 1199 additions and 824 deletions

View File

@ -109,6 +109,22 @@ X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# Mounting_Hole
#
DEF Mounting_Hole MK 0 40 Y Y 1 F N
F0 "MK" 0 200 50 H V C CNN
F1 "Mounting_Hole" 0 125 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Mounting?Hole*
Hole*
$ENDFPLIST
DRAW
C 0 0 50 0 1 50 N
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
(export (version D)
(design
(source /usr/src/hlovdal/forks-github/AmsToMqttBridge/Electrical/Board_003/mbus_master.sch)
(date "to. 01. feb. 2018 kl. 20.58 +0100")
(date "ma. 26. feb. 2018 kl. 22.49 +0100")
(tool "Eeschema 4.0.7")
(sheet (number 1) (name /) (tstamps /)
(title_block
@ -17,37 +17,37 @@
(components
(comp (ref J2)
(value Conn_01x02)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5520))
(comp (ref J1)
(value Conn_01x02)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C56AB))
(comp (ref Q1)
(comp (ref Q3)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C58F3))
(comp (ref R1)
(value 1k)
(value 10k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5956))
(comp (ref D1)
(value D_Zener_Small_ALT)
(footprint Diodes_THT:D_A-405_P7.62mm_Horizontal)
(value 13V)
(footprint Diodes_THT:D_5W_P12.70mm_Horizontal)
(libsource (lib device) (part D_Zener_Small_ALT))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5A7F))
(comp (ref J3)
(value Conn_01x02)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5F4D))
@ -63,42 +63,102 @@
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70E602))
(comp (ref R5)
(value 22k)
(comp (ref R2)
(value 8.2k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EB33))
(comp (ref Q3)
(tstamp 5A92EF05))
(comp (ref Q1)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(tstamp 5A70ED17))
(tstamp 5A92F34B))
(comp (ref R4)
(value 10k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A92F359))
(comp (ref R3)
(value 10k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A92F5C3))
(comp (ref Q2)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EDBB))
(comp (ref R4)
(value 150)
(tstamp 5A92F825))
(comp (ref R5)
(value 10k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EE1E))
(comp (ref R2)
(value 6k8)
(tstamp 5A92F832))
(comp (ref R7)
(value 82)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EEBF))
(comp (ref R3)
(value 1)
(tstamp 5A931949))
(comp (ref Q5)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(tstamp 5A931D4A))
(comp (ref J4)
(value Conn_01x02)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A932150))
(comp (ref D2)
(value 4.7V)
(footprint Diodes_THT:D_A-405_P7.62mm_Horizontal)
(libsource (lib device) (part D_Zener_Small_ALT))
(sheetpath (names /) (tstamps /))
(tstamp 5A9323FA))
(comp (ref R9)
(value 1k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EF3B)))
(tstamp 5A9325DE))
(comp (ref R8)
(value 10k)
(footprint Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A9328A6))
(comp (ref MK3)
(value Mounting_Hole)
(footprint Mounting_Holes:MountingHole_4.3mm_M4_ISO14580)
(libsource (lib Mechanical) (part Mounting_Hole))
(sheetpath (names /) (tstamps /))
(tstamp 5A9353BE))
(comp (ref MK1)
(value Mounting_Hole)
(footprint Mounting_Holes:MountingHole_4.3mm_M4_ISO14580)
(libsource (lib Mechanical) (part Mounting_Hole))
(sheetpath (names /) (tstamps /))
(tstamp 5A935470))
(comp (ref MK2)
(value Mounting_Hole)
(footprint Mounting_Holes:MountingHole_4.3mm_M4_ISO14580)
(libsource (lib Mechanical) (part Mounting_Hole))
(sheetpath (names /) (tstamps /))
(tstamp 5A9354CC))
(comp (ref MK4)
(value Mounting_Hole)
(footprint Mounting_Holes:MountingHole_4.3mm_M4_ISO14580)
(libsource (lib Mechanical) (part Mounting_Hole))
(sheetpath (names /) (tstamps /))
(tstamp 5A935545)))
(libparts
(libpart (lib transistors) (part BC547)
(aliases
@ -170,6 +230,14 @@
(pins
(pin (num 1) (name K) (type passive))
(pin (num 2) (name A) (type passive))))
(libpart (lib Mechanical) (part Mounting_Hole)
(description "Mounting Hole without connection")
(footprints
(fp Mounting?Hole*)
(fp Hole*))
(fields
(field (name Reference) MK)
(field (name Value) Mounting_Hole)))
(libpart (lib device) (part R)
(description Resistor)
(footprints
@ -187,47 +255,65 @@
(library (logical transistors)
(uri /usr/share/kicad/library/transistors.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib)))
(uri /usr/share/kicad/library/conn.lib))
(library (logical Mechanical)
(uri /usr/src/hlovdal/forks-github/AmsToMqttBridge/Electrical/kicad-libs/kicad-symbols/Mechanical.lib)))
(nets
(net (code 1) (name "Net-(Q2-Pad2)")
(node (ref Q2) (pin 2))
(node (ref R3) (pin 2)))
(net (code 1) (name "Net-(Q1-Pad1)")
(node (ref R4) (pin 2))
(node (ref Q1) (pin 1))
(node (ref Q2) (pin 2)))
(net (code 2) (name "Net-(Q2-Pad1)")
(node (ref Q2) (pin 1))
(node (ref Q3) (pin 2))
(node (ref R2) (pin 2)))
(net (code 3) (name GND)
(node (ref J2) (pin 1))
(node (ref Q4) (pin 2))
(node (ref R5) (pin 2))
(node (ref Q2) (pin 1)))
(net (code 3) (name "Net-(Q1-Pad2)")
(node (ref Q1) (pin 2))
(node (ref R3) (pin 1)))
(net (code 4) (name GND)
(node (ref J1) (pin 1))
(node (ref Q1) (pin 3))
(node (ref R5) (pin 2)))
(net (code 4) (name /MBus-)
(node (ref Q5) (pin 3))
(node (ref J4) (pin 1))
(node (ref D2) (pin 2))
(node (ref Q3) (pin 3))
(node (ref R7) (pin 2))
(node (ref J2) (pin 1))
(node (ref Q1) (pin 3)))
(net (code 5) (name "Net-(D2-Pad1)")
(node (ref D2) (pin 1))
(node (ref Q5) (pin 1))
(node (ref R9) (pin 2))
(node (ref R8) (pin 2)))
(net (code 6) (name "Net-(J4-Pad2)")
(node (ref R9) (pin 1))
(node (ref J4) (pin 2)))
(net (code 7) (name "Net-(Q4-Pad2)")
(node (ref Q5) (pin 2))
(node (ref Q4) (pin 2))
(node (ref R7) (pin 1)))
(net (code 8) (name "Net-(J1-Pad2)")
(node (ref J1) (pin 2))
(node (ref R3) (pin 2))
(node (ref R1) (pin 2)))
(net (code 9) (name "Net-(Q3-Pad2)")
(node (ref R1) (pin 1))
(node (ref Q3) (pin 2)))
(net (code 10) (name "Net-(Q3-Pad1)")
(node (ref R2) (pin 2))
(node (ref Q3) (pin 1)))
(net (code 11) (name "Net-(D1-Pad2)")
(node (ref Q4) (pin 3))
(node (ref R2) (pin 1))
(node (ref Q2) (pin 3))
(node (ref D1) (pin 2)))
(net (code 12) (name /MBus-)
(node (ref J3) (pin 1))
(node (ref Q4) (pin 1))
(node (ref R6) (pin 2)))
(net (code 5) (name "Net-(Q3-Pad3)")
(node (ref R3) (pin 1))
(node (ref R4) (pin 1))
(node (ref Q3) (pin 3)))
(net (code 6) (name "Net-(Q1-Pad1)")
(node (ref Q2) (pin 3))
(node (ref Q1) (pin 1))
(node (ref R4) (pin 2)))
(net (code 7) (name "Net-(J1-Pad2)")
(node (ref R1) (pin 2))
(node (ref J1) (pin 2)))
(net (code 8) (name "Net-(Q1-Pad2)")
(node (ref Q1) (pin 2))
(node (ref R1) (pin 1)))
(net (code 9) (name /EXT_PWR)
(node (ref R6) (pin 1))
(node (ref D1) (pin 1))
(net (code 13) (name /EXT_PWR)
(node (ref R8) (pin 1))
(node (ref J3) (pin 2))
(node (ref J2) (pin 2)))
(net (code 10) (name "Net-(D1-Pad2)")
(node (ref Q4) (pin 3))
(node (ref D1) (pin 2))
(node (ref D1) (pin 1))
(node (ref R6) (pin 1))
(node (ref R5) (pin 1))
(node (ref Q3) (pin 1))
(node (ref R2) (pin 1)))))
(node (ref J2) (pin 2))
(node (ref R4) (pin 1)))))

View File

@ -1,4 +1,4 @@
update=. 27. jan. 2018 kl. 11.31 +0100
update=ma. 26. feb. 2018 kl. 17.58 +0100
version=1
last_client=kicad
[pcbnew]
@ -23,9 +23,11 @@ ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[general]
version=1
[eeschema]
version=1
LibDir=
LibDir=../kicad-libs/kicad-symbols
[eeschema/libraries]
LibName1=power
LibName2=device
@ -59,5 +61,4 @@ LibName29=opto
LibName30=atmel
LibName31=contrib
LibName32=valves
[general]
version=1
LibName33=Mechanical

View File

@ -31,6 +31,7 @@ LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:Mechanical
LIBS:mbus_master-cache
EELAYER 25 0
EELAYER END
@ -49,221 +50,203 @@ $EndDescr
$Comp
L Conn_01x02 J2
U 1 1 5A6C5520
P 2900 3300
F 0 "J2" H 2900 3400 50 0000 C CNN
F 1 "Conn_01x02" H 2900 3100 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm" H 2900 3300 50 0001 C CNN
F 3 "" H 2900 3300 50 0001 C CNN
1 2900 3300
P 1700 3300
F 0 "J2" H 1700 3400 50 0000 C CNN
F 1 "Conn_01x02" H 1700 3100 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 1700 3300 50 0001 C CNN
F 3 "" H 1700 3300 50 0001 C CNN
1 1700 3300
-1 0 0 1
$EndComp
$Comp
L GND #PWR01
U 1 1 5A6C5572
P 3600 3400
F 0 "#PWR01" H 3600 3150 50 0001 C CNN
F 1 "GND" H 3600 3250 50 0000 C CNN
F 2 "" H 3600 3400 50 0001 C CNN
F 3 "" H 3600 3400 50 0001 C CNN
1 3600 3400
P 2400 3400
F 0 "#PWR01" H 2400 3150 50 0001 C CNN
F 1 "GND" H 2400 3250 50 0000 C CNN
F 2 "" H 2400 3400 50 0001 C CNN
F 3 "" H 2400 3400 50 0001 C CNN
1 2400 3400
1 0 0 -1
$EndComp
$Comp
L PWR_FLAG #FLG02
U 1 1 5A6C558D
P 3250 3400
F 0 "#FLG02" H 3250 3475 50 0001 C CNN
F 1 "PWR_FLAG" H 3250 3550 50 0000 C CNN
F 2 "" H 3250 3400 50 0001 C CNN
F 3 "" H 3250 3400 50 0001 C CNN
1 3250 3400
P 2050 3400
F 0 "#FLG02" H 2050 3475 50 0001 C CNN
F 1 "PWR_FLAG" H 2050 3550 50 0000 C CNN
F 2 "" H 2050 3400 50 0001 C CNN
F 3 "" H 2050 3400 50 0001 C CNN
1 2050 3400
-1 0 0 1
$EndComp
Wire Wire Line
3100 3200 3250 3200
1900 3200 9200 3200
Wire Wire Line
3250 3200 4200 3200
1900 3300 2400 3300
Wire Wire Line
4200 3200 5300 3200
2400 3300 2400 3400
Wire Wire Line
5300 3200 6700 3200
Wire Wire Line
6700 3200 7550 3200
Wire Wire Line
7550 3200 8450 3200
Wire Wire Line
3100 3300 3250 3300
Wire Wire Line
3250 3300 3600 3300
Wire Wire Line
3600 3300 3600 3400
Wire Wire Line
3250 3400 3250 3300
Connection ~ 3250 3300
2050 3400 2050 3300
Connection ~ 2050 3300
$Comp
L PWR_FLAG #FLG03
U 1 1 5A6C5614
P 3250 3050
F 0 "#FLG03" H 3250 3125 50 0001 C CNN
F 1 "PWR_FLAG" H 3250 3200 50 0000 C CNN
F 2 "" H 3250 3050 50 0001 C CNN
F 3 "" H 3250 3050 50 0001 C CNN
1 3250 3050
P 2050 3050
F 0 "#FLG03" H 2050 3125 50 0001 C CNN
F 1 "PWR_FLAG" H 2050 3200 50 0000 C CNN
F 2 "" H 2050 3050 50 0001 C CNN
F 3 "" H 2050 3050 50 0001 C CNN
1 2050 3050
1 0 0 -1
$EndComp
Wire Wire Line
3250 3050 3250 3200
Connection ~ 3250 3200
Text Label 3600 3200 1 60 ~ 0
2050 3050 2050 3200
Connection ~ 2050 3200
Text Label 2400 3200 1 60 ~ 0
EXT_PWR
Text Notes 2050 3350 0 60 ~ 0
Text Notes 850 3350 0 60 ~ 0
External power\n21-42V
$Comp
L Conn_01x02 J1
U 1 1 5A6C56AB
P 1950 6800
F 0 "J1" H 1950 6900 50 0000 C CNN
F 1 "Conn_01x02" H 1950 6600 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm" H 1950 6800 50 0001 C CNN
F 3 "" H 1950 6800 50 0001 C CNN
1 1950 6800
P 1950 5850
F 0 "J1" H 1950 5950 50 0000 C CNN
F 1 "Conn_01x02" H 1950 5650 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 1950 5850 50 0001 C CNN
F 3 "" H 1950 5850 50 0001 C CNN
1 1950 5850
-1 0 0 1
$EndComp
Text Notes 950 6800 0 60 ~ 0
Text Notes 950 5850 0 60 ~ 0
Input signal, TTL\nSendt to m-bus
$Comp
L GND #PWR04
U 1 1 5A6C5767
P 2300 6900
F 0 "#PWR04" H 2300 6650 50 0001 C CNN
F 1 "GND" H 2300 6750 50 0000 C CNN
F 2 "" H 2300 6900 50 0001 C CNN
F 3 "" H 2300 6900 50 0001 C CNN
1 2300 6900
P 2300 5950
F 0 "#PWR04" H 2300 5700 50 0001 C CNN
F 1 "GND" H 2300 5800 50 0000 C CNN
F 2 "" H 2300 5950 50 0001 C CNN
F 3 "" H 2300 5950 50 0001 C CNN
1 2300 5950
1 0 0 -1
$EndComp
Wire Wire Line
2150 6800 2300 6800
2150 5850 2300 5850
Wire Wire Line
2300 6800 2300 6900
2300 5850 2300 5950
$Comp
L BC337 Q1
L BC337 Q3
U 1 1 5A6C58F3
P 3200 6700
F 0 "Q1" H 3400 6775 50 0000 L CNN
F 1 "BC337" H 3400 6700 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 3400 6625 50 0001 L CIN
F 3 "" H 3200 6700 50 0001 L CNN
1 3200 6700
P 5150 5750
F 0 "Q3" H 5350 5825 50 0000 L CNN
F 1 "BC337" H 5350 5750 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 5350 5675 50 0001 L CIN
F 3 "" H 5150 5750 50 0001 L CNN
1 5150 5750
1 0 0 -1
$EndComp
$Comp
L R R1
U 1 1 5A6C5956
P 2700 6700
F 0 "R1" V 2780 6700 50 0000 C CNN
F 1 "10k" V 2700 6700 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 2630 6700 50 0001 C CNN
F 3 "" H 2700 6700 50 0001 C CNN
1 2700 6700
P 4150 5750
F 0 "R1" V 4230 5750 50 0000 C CNN
F 1 "10k" V 4150 5750 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 4080 5750 50 0001 C CNN
F 3 "" H 4150 5750 50 0001 C CNN
1 4150 5750
0 1 1 0
$EndComp
Wire Wire Line
2150 6700 2400 6700
2150 5750 4000 5750
Wire Wire Line
2400 6700 2550 6700
Wire Wire Line
2850 6700 3000 6700
4300 5750 4950 5750
$Comp
L GND #PWR05
U 1 1 5A6C59DD
P 3300 7100
F 0 "#PWR05" H 3300 6850 50 0001 C CNN
F 1 "GND" H 3300 6950 50 0000 C CNN
F 2 "" H 3300 7100 50 0001 C CNN
F 3 "" H 3300 7100 50 0001 C CNN
1 3300 7100
P 5250 6150
F 0 "#PWR05" H 5250 5900 50 0001 C CNN
F 1 "GND" H 5250 6000 50 0000 C CNN
F 2 "" H 5250 6150 50 0001 C CNN
F 3 "" H 5250 6150 50 0001 C CNN
1 5250 6150
1 0 0 -1
$EndComp
Wire Wire Line
3300 6900 3300 7100
5250 5950 5250 6150
$Comp
L D_Zener_Small_ALT D1
U 1 1 5A6C5A7F
P 6700 3550
F 0 "D1" V 6700 3650 50 0000 C CNN
F 1 "D_Zener_Small_ALT" H 6700 3460 50 0001 C CNN
F 2 "Diodes_THT:D_A-405_P7.62mm_Horizontal" V 6700 3550 50 0001 C CNN
F 3 "" V 6700 3550 50 0001 C CNN
1 6700 3550
P 5250 3550
F 0 "D1" V 5250 3650 50 0000 C CNN
F 1 "13V" H 5250 3460 50 0000 C CNN
F 2 "Diodes_THT:D_5W_P12.70mm_Horizontal" V 5250 3550 50 0001 C CNN
F 3 "" V 5250 3550 50 0001 C CNN
1 5250 3550
0 1 1 0
$EndComp
Wire Wire Line
6700 3200 6700 3450
5250 3200 5250 3450
Wire Wire Line
6700 4350 7250 4350
4400 4350 5750 4350
$Comp
L Conn_01x02 J3
U 1 1 5A6C5F4D
P 9000 3450
F 0 "J3" H 9000 3550 50 0000 C CNN
F 1 "Conn_01x02" H 9000 3250 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm" H 9000 3450 50 0001 C CNN
F 3 "" H 9000 3450 50 0001 C CNN
1 9000 3450
P 7300 3450
F 0 "J3" H 7300 3550 50 0000 C CNN
F 1 "Conn_01x02" H 7300 3250 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 7300 3450 50 0001 C CNN
F 3 "" H 7300 3450 50 0001 C CNN
1 7300 3450
1 0 0 1
$EndComp
Wire Wire Line
8800 3350 8450 3350
7100 3350 6750 3350
Wire Wire Line
8450 3350 8450 3200
Connection ~ 6700 3200
Text Label 8100 3200 0 60 ~ 0
6750 3350 6750 3200
Connection ~ 5250 3200
Text Label 6400 3200 0 60 ~ 0
MBus+
Text Label 8100 3750 0 60 ~ 0
Text Label 6400 3750 0 60 ~ 0
MBus-
$Comp
L BD136 Q4
U 1 1 5A6C614C
P 7450 4350
F 0 "Q4" H 7650 4425 50 0000 L CNN
F 1 "BD136" H 7650 4350 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-126_Vertical" H 7650 4275 50 0001 L CIN
F 3 "" H 7450 4350 50 0001 L CNN
1 7450 4350
P 5950 4350
F 0 "Q4" H 6150 4425 50 0000 L CNN
F 1 "BD136" H 6150 4350 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-126_Vertical" H 6150 4275 50 0001 L CIN
F 3 "" H 5950 4350 50 0001 L CNN
1 5950 4350
1 0 0 1
$EndComp
Wire Wire Line
7550 3200 7550 3350
Connection ~ 7550 3200
6050 3200 6050 3350
Connection ~ 6050 3200
$Comp
L GND #PWR07
L GND #PWR06
U 1 1 5A6C640E
P 7550 5250
F 0 "#PWR07" H 7550 5000 50 0001 C CNN
F 1 "GND" H 7550 5100 50 0000 C CNN
F 2 "" H 7550 5250 50 0001 C CNN
F 3 "" H 7550 5250 50 0001 C CNN
1 7550 5250
P 6050 5900
F 0 "#PWR06" H 6050 5650 50 0001 C CNN
F 1 "GND" H 6050 5750 50 0000 C CNN
F 2 "" H 6050 5900 50 0001 C CNN
F 3 "" H 6050 5900 50 0001 C CNN
1 6050 5900
1 0 0 -1
$EndComp
Wire Wire Line
7550 4550 7550 5250
6050 3750 6750 3750
Wire Wire Line
7550 3750 8450 3750
6750 3750 6750 3450
Wire Wire Line
8450 3750 8450 3450
Wire Wire Line
8450 3450 8800 3450
Connection ~ 7550 3750
Text Notes 9250 3450 0 60 ~ 0
6750 3450 7100 3450
Connection ~ 6050 3750
Text Notes 7550 3450 0 60 ~ 0
M-bus output signal
Wire Wire Line
7550 3650 7550 3750
Wire Wire Line
7550 3750 7550 4150
6050 3650 6050 4150
Text Notes 3000 1650 0 60 ~ 0
Schematic based on https://github.com/rscada/libmbus/blob/master/hardware/MBus_USB.pdf\nmentioned in https://electronics.stackexchange.com/a/214477/568.\n\nRemoved all Rx support. Made more robust by using a zener diode so that the voltage drop is exact and that supply voltage does not matter.
Schematic inspired by https://github.com/rscada/libmbus/blob/master/hardware/MBus_USB.pdf\nmentioned in https://electronics.stackexchange.com/a/214477/568.\n\nMade more robust by using a zener diodes so that the voltage drop is exact and that supply voltage does not matter.
Wire Notes Line
2900 1250 8750 1250
Wire Notes Line
@ -275,129 +258,304 @@ Wire Notes Line
$Comp
L R R6
U 1 1 5A70E602
P 7550 3500
F 0 "R6" H 7650 3500 50 0000 C CNN
F 1 "220k" V 7550 3500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 7480 3500 50 0001 C CNN
F 3 "" H 7550 3500 50 0001 C CNN
1 7550 3500
P 6050 3500
F 0 "R6" H 6150 3500 50 0000 C CNN
F 1 "220k" V 6050 3500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5980 3500 50 0001 C CNN
F 3 "" H 6050 3500 50 0001 C CNN
1 6050 3500
1 0 0 -1
$EndComp
$Comp
L R R?
L R R2
U 1 1 5A92EF05
P 3300 6000
F 0 "R?" V 3380 6000 50 0000 C CNN
F 1 "8.6k" V 3300 6000 50 0000 C CNN
F 2 "" V 3230 6000 50 0001 C CNN
F 3 "" H 3300 6000 50 0001 C CNN
1 3300 6000
P 5250 4900
F 0 "R2" V 5330 4900 50 0000 C CNN
F 1 "8.2k" V 5250 4900 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5180 4900 50 0001 C CNN
F 3 "" H 5250 4900 50 0001 C CNN
1 5250 4900
1 0 0 -1
$EndComp
Wire Wire Line
3300 6150 3300 6500
5250 5050 5250 5550
Wire Wire Line
6700 3650 6700 4350
Wire Wire Line
6700 4350 6700 4350
Wire Wire Line
6700 4350 6700 5850
Connection ~ 6700 4350
Wire Wire Line
6700 5850 3300 5850
5250 3650 5250 4750
Connection ~ 5250 4350
$Comp
L BC337 Q?
L BC337 Q1
U 1 1 5A92F34B
P 4100 4650
F 0 "Q?" H 4300 4725 50 0000 L CNN
F 1 "BC337" H 4300 4650 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 4300 4575 50 0001 L CIN
F 3 "" H 4100 4650 50 0001 L CNN
1 4100 4650
P 3500 4650
F 0 "Q1" H 3700 4725 50 0000 L CNN
F 1 "BC337" H 3700 4650 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 3700 4575 50 0001 L CIN
F 3 "" H 3500 4650 50 0001 L CNN
1 3500 4650
1 0 0 -1
$EndComp
$Comp
L GND #PWR?
L GND #PWR07
U 1 1 5A92F352
P 4200 5050
F 0 "#PWR?" H 4200 4800 50 0001 C CNN
F 1 "GND" H 4200 4900 50 0000 C CNN
F 2 "" H 4200 5050 50 0001 C CNN
F 3 "" H 4200 5050 50 0001 C CNN
1 4200 5050
P 3600 5050
F 0 "#PWR07" H 3600 4800 50 0001 C CNN
F 1 "GND" H 3600 4900 50 0000 C CNN
F 2 "" H 3600 5050 50 0001 C CNN
F 3 "" H 3600 5050 50 0001 C CNN
1 3600 5050
1 0 0 -1
$EndComp
Wire Wire Line
4200 4850 4200 5050
3600 4850 3600 5050
$Comp
L R R?
L R R4
U 1 1 5A92F359
P 4200 3500
F 0 "R?" V 4280 3500 50 0000 C CNN
F 1 "10k" V 4200 3500 50 0000 C CNN
F 2 "" V 4130 3500 50 0001 C CNN
F 3 "" H 4200 3500 50 0001 C CNN
1 4200 3500
P 3600 3500
F 0 "R4" V 3680 3500 50 0000 C CNN
F 1 "10k" V 3600 3500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3530 3500 50 0001 C CNN
F 3 "" H 3600 3500 50 0001 C CNN
1 3600 3500
1 0 0 -1
$EndComp
Wire Wire Line
4200 3650 4200 4000
Wire Wire Line
4200 4000 4200 4450
3600 3650 3600 4450
$Comp
L R R?
L R R3
U 1 1 5A92F5C3
P 3600 4650
F 0 "R?" V 3680 4650 50 0000 C CNN
F 1 "10k" V 3600 4650 50 0000 C CNN
F 2 "" V 3530 4650 50 0001 C CNN
F 3 "" H 3600 4650 50 0001 C CNN
1 3600 4650
P 3100 4650
F 0 "R3" V 3180 4650 50 0000 C CNN
F 1 "10k" V 3100 4650 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 3030 4650 50 0001 C CNN
F 3 "" H 3100 4650 50 0001 C CNN
1 3100 4650
0 1 1 0
$EndComp
Wire Wire Line
2400 6700 2400 4650
2700 5750 2700 4650
Wire Wire Line
2400 4650 3450 4650
Connection ~ 2400 6700
2700 4650 2950 4650
Connection ~ 2700 5750
Wire Wire Line
3750 4650 3900 4650
3250 4650 3300 4650
Wire Wire Line
4200 3350 4200 3200
Connection ~ 4200 3200
3600 3350 3600 3200
Connection ~ 3600 3200
$Comp
L BC337 Q?
L BC337 Q2
U 1 1 5A92F825
P 5200 4000
F 0 "Q?" H 5400 4075 50 0000 L CNN
F 1 "BC337" H 5400 4000 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 5400 3925 50 0001 L CIN
F 3 "" H 5200 4000 50 0001 L CNN
1 5200 4000
P 4300 4000
F 0 "Q2" H 4500 4075 50 0000 L CNN
F 1 "BC337" H 4500 4000 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 4500 3925 50 0001 L CIN
F 3 "" H 4300 4000 50 0001 L CNN
1 4300 4000
1 0 0 -1
$EndComp
$Comp
L R R?
L R R5
U 1 1 5A92F832
P 5300 3500
F 0 "R?" V 5380 3500 50 0000 C CNN
F 1 "10k" V 5300 3500 50 0000 C CNN
F 2 "" V 5230 3500 50 0001 C CNN
F 3 "" H 5300 3500 50 0001 C CNN
1 5300 3500
P 4400 3500
F 0 "R5" V 4480 3500 50 0000 C CNN
F 1 "10k" V 4400 3500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 4330 3500 50 0001 C CNN
F 3 "" H 4400 3500 50 0001 C CNN
1 4400 3500
1 0 0 -1
$EndComp
Wire Wire Line
5300 3650 5300 3800
4400 3650 4400 3800
Wire Wire Line
5300 3350 5300 3200
Connection ~ 5300 3200
4400 3350 4400 3200
Connection ~ 4400 3200
Wire Wire Line
5000 4000 4200 4000
Connection ~ 4200 4000
4100 4000 3600 4000
Connection ~ 3600 4000
Wire Wire Line
5300 4200 5300 4350
4400 4200 4400 4350
$Comp
L R R7
U 1 1 5A931949
P 6050 5450
F 0 "R7" H 6150 5450 50 0000 C CNN
F 1 "82" V 6050 5450 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 5980 5450 50 0001 C CNN
F 3 "" H 6050 5450 50 0001 C CNN
1 6050 5450
1 0 0 -1
$EndComp
Wire Wire Line
5300 4350 6700 4350
Connection ~ 6700 4350
6050 5900 6050 5600
Wire Wire Line
6050 4550 6050 5300
$Comp
L BC337 Q5
U 1 1 5A931D4A
P 8350 5050
F 0 "Q5" H 8550 5125 50 0000 L CNN
F 1 "BC337" H 8550 5050 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 8550 4975 50 0001 L CIN
F 3 "" H 8350 5050 50 0001 L CNN
1 8350 5050
1 0 0 -1
$EndComp
Wire Wire Line
8150 5050 6050 5050
Connection ~ 6050 5050
$Comp
L GND #PWR08
U 1 1 5A931EC5
P 8450 5500
F 0 "#PWR08" H 8450 5250 50 0001 C CNN
F 1 "GND" H 8450 5350 50 0000 C CNN
F 2 "" H 8450 5500 50 0001 C CNN
F 3 "" H 8450 5500 50 0001 C CNN
1 8450 5500
1 0 0 -1
$EndComp
Wire Wire Line
8450 5500 8450 5250
$Comp
L Conn_01x02 J4
U 1 1 5A932150
P 10100 5000
F 0 "J4" H 10100 5100 50 0000 C CNN
F 1 "Conn_01x02" H 10100 4800 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mm" H 10100 5000 50 0001 C CNN
F 3 "" H 10100 5000 50 0001 C CNN
1 10100 5000
1 0 0 1
$EndComp
Text Notes 10300 5000 0 60 ~ 0
RxD output signal
$Comp
L GND #PWR09
U 1 1 5A932321
P 9900 5500
F 0 "#PWR09" H 9900 5250 50 0001 C CNN
F 1 "GND" H 9900 5350 50 0000 C CNN
F 2 "" H 9900 5500 50 0001 C CNN
F 3 "" H 9900 5500 50 0001 C CNN
1 9900 5500
1 0 0 -1
$EndComp
Wire Wire Line
9900 5500 9900 5000
$Comp
L D_Zener_Small_ALT D2
U 1 1 5A9323FA
P 9200 4900
F 0 "D2" V 9200 5000 50 0000 C CNN
F 1 "4.7V" H 9200 4810 50 0000 C CNN
F 2 "Diodes_THT:D_A-405_P7.62mm_Horizontal" V 9200 4900 50 0001 C CNN
F 3 "" V 9200 4900 50 0001 C CNN
1 9200 4900
0 1 1 0
$EndComp
$Comp
L GND #PWR010
U 1 1 5A9324F7
P 9200 5500
F 0 "#PWR010" H 9200 5250 50 0001 C CNN
F 1 "GND" H 9200 5350 50 0000 C CNN
F 2 "" H 9200 5500 50 0001 C CNN
F 3 "" H 9200 5500 50 0001 C CNN
1 9200 5500
1 0 0 -1
$EndComp
Wire Wire Line
9200 5000 9200 5500
$Comp
L R R9
U 1 1 5A9325DE
P 9700 4450
F 0 "R9" V 9800 4450 50 0000 C CNN
F 1 "1k" V 9700 4450 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 9630 4450 50 0001 C CNN
F 3 "" H 9700 4450 50 0001 C CNN
1 9700 4450
0 1 1 0
$EndComp
Wire Wire Line
9900 4900 9900 4450
Wire Wire Line
9900 4450 9850 4450
$Comp
L R R8
U 1 1 5A9328A6
P 9200 3900
F 0 "R8" H 9300 3900 50 0000 C CNN
F 1 "10k" V 9200 3900 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal" V 9130 3900 50 0001 C CNN
F 3 "" H 9200 3900 50 0001 C CNN
1 9200 3900
1 0 0 -1
$EndComp
Wire Wire Line
9200 3200 9200 3750
Connection ~ 6750 3200
Wire Wire Line
9200 4050 9200 4800
Wire Wire Line
8450 4450 9550 4450
Connection ~ 9200 4450
Wire Wire Line
8450 4850 8450 4450
Wire Notes Line
5750 4850 8150 4850
Wire Notes Line
8150 4850 8150 3650
Wire Notes Line
8150 3650 11150 3650
Wire Notes Line
11150 3650 11150 6350
Wire Notes Line
11150 6350 5750 6350
Wire Notes Line
5750 6350 5750 4850
Text Notes 7050 6200 0 60 ~ 0
Receive circuit. RxD switches polarity at around 8mA through R7.
$Comp
L Mounting_Hole MK3
U 1 1 5A9353BE
P 10700 1100
F 0 "MK3" H 10700 1300 50 0000 C CNN
F 1 "Mounting_Hole" H 10700 1225 50 0000 C CNN
F 2 "Mounting_Holes:MountingHole_4.3mm_M4_ISO14580" H 10700 1100 50 0001 C CNN
F 3 "" H 10700 1100 50 0001 C CNN
1 10700 1100
1 0 0 -1
$EndComp
$Comp
L Mounting_Hole MK1
U 1 1 5A935470
P 10100 1100
F 0 "MK1" H 10100 1300 50 0000 C CNN
F 1 "Mounting_Hole" H 10100 1225 50 0000 C CNN
F 2 "Mounting_Holes:MountingHole_4.3mm_M4_ISO14580" H 10100 1100 50 0001 C CNN
F 3 "" H 10100 1100 50 0001 C CNN
1 10100 1100
1 0 0 -1
$EndComp
$Comp
L Mounting_Hole MK2
U 1 1 5A9354CC
P 10100 1500
F 0 "MK2" H 10100 1700 50 0000 C CNN
F 1 "Mounting_Hole" H 10100 1625 50 0000 C CNN
F 2 "Mounting_Holes:MountingHole_4.3mm_M4_ISO14580" H 10100 1500 50 0001 C CNN
F 3 "" H 10100 1500 50 0001 C CNN
1 10100 1500
1 0 0 -1
$EndComp
$Comp
L Mounting_Hole MK4
U 1 1 5A935545
P 10700 1500
F 0 "MK4" H 10700 1700 50 0000 C CNN
F 1 "Mounting_Hole" H 10700 1625 50 0000 C CNN
F 2 "Mounting_Holes:MountingHole_4.3mm_M4_ISO14580" H 10700 1500 50 0001 C CNN
F 3 "" H 10700 1500 50 0001 C CNN
1 10700 1500
1 0 0 -1
$EndComp
$EndSCHEMATC