Board_003: Implement schematic from simulation result

This commit is contained in:
Håkon Løvdal 2018-01-27 12:27:11 +01:00
parent bc67a72d03
commit c4d50aebe4
5 changed files with 834 additions and 0 deletions

View File

@ -0,0 +1,143 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# BC547
#
DEF BC547 Q 0 0 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "BC547" 200 0 50 H V L CNN
F2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS BC546 BC548 BC549 BC550 BC337 BC338
$FPLIST
TO?92*
$ENDFPLIST
DRAW
C 50 0 111 0 1 10 N
P 2 0 1 0 0 0 25 0 N
P 2 0 1 0 25 25 100 100 N
P 3 0 1 0 25 -25 100 -100 100 -100 N
P 3 0 1 20 25 75 25 -75 25 -75 N
P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F
X C 1 100 200 100 D 50 50 1 1 P
X B 2 -200 0 200 R 50 50 1 1 I
X E 3 100 -200 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# BD140
#
DEF BD140 Q 0 0 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "BD140" 200 0 50 H V L CNN
F2 "TO_SOT_Packages_THT:TO-126_Vertical" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS BD136 BD138 BD234 BD236 BD238
$FPLIST
TO?126*
$ENDFPLIST
DRAW
C 50 0 111 0 1 12 N
P 2 0 1 0 0 0 25 0 N
P 2 0 1 0 100 -100 25 -25 N
P 2 0 1 0 100 100 25 25 N
P 3 0 1 20 25 75 25 -75 25 -75 F
P 5 0 1 0 55 -75 75 -55 35 -35 55 -75 55 -75 F
X E 1 100 -200 100 U 50 50 1 1 P
X C 2 100 200 100 D 50 50 1 1 P
X B 3 -200 0 200 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
# Conn_01x02
#
DEF Conn_01x02 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "Conn_01x02" 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*:*_??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 -95 0 -105 1 1 6 N
S -50 5 0 -5 1 1 6 N
S -50 50 50 -150 1 1 10 f
X Pin_1 1 -200 0 150 R 50 50 1 1 P
X Pin_2 2 -200 -100 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# D_Zener_Small_ALT
#
DEF D_Zener_Small_ALT D 0 10 N N 1 F N
F0 "D" 0 90 50 H V C CNN
F1 "D_Zener_Small_ALT" 0 -90 50 H V C CNN
F2 "" 0 0 50 V I C CNN
F3 "" 0 0 50 V I C CNN
$FPLIST
TO-???*
*SingleDiode
*_Diode_*
*SingleDiode*
D_*
$ENDFPLIST
DRAW
P 2 0 1 0 30 0 -30 0 N
P 3 0 1 0 -10 40 -30 40 -30 -40 N
P 4 0 1 0 30 40 -30 0 30 -40 30 40 F
X K 1 -100 0 70 R 50 50 1 1 P
X A 2 100 0 70 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "PWR_FLAG" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
X pwr 1 0 0 0 U 50 50 0 0 w
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
ENDDRAW
ENDDEF
#
# R
#
DEF R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "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_*
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
#
#End Library

View File

@ -0,0 +1 @@
(kicad_pcb (version 4) (host kicad "dummy file") )

View File

@ -0,0 +1,233 @@
(export (version D)
(design
(source /usr/src/hlovdal/forks-github/AmsToMqttBridge/Electrical/Board_003/mbus_master.sch)
(date "ti. 30. jan. 2018 kl. 22.00 +0100")
(tool "Eeschema 4.0.7")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date)
(source mbus_master.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref J2)
(value Conn_01x02)
(footprint Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm)
(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)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C56AB))
(comp (ref Q1)
(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)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5956))
(comp (ref 12V1)
(value D_Zener_Small_ALT)
(footprint Diodes_THT:D_A-405_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)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C5F4D))
(comp (ref Q4)
(value BD136)
(footprint TO_SOT_Packages_THT:TO-126_Vertical)
(libsource (lib transistors) (part BD136))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C614C))
(comp (ref R6)
(value 220k)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70E602))
(comp (ref R5)
(value 22k)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EB33))
(comp (ref Q3)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(tstamp 5A70ED17))
(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)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EE1E))
(comp (ref R2)
(value 6k8)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EEBF))
(comp (ref R3)
(value 1)
(footprint Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70EF3B)))
(libparts
(libpart (lib transistors) (part BC547)
(aliases
(alias BC546)
(alias BC548)
(alias BC549)
(alias BC550)
(alias BC337)
(alias BC338))
(description "45V Vce, 0.1A Ic, NPN, Small Signal Transistor, TO-92")
(docs http://www.fairchildsemi.com/ds/BC/BC547.pdf)
(footprints
(fp TO?92*))
(fields
(field (name Reference) Q)
(field (name Value) BC547)
(field (name Footprint) TO_SOT_Packages_THT:TO-92_Molded_Narrow))
(pins
(pin (num 1) (name C) (type passive))
(pin (num 2) (name B) (type input))
(pin (num 3) (name E) (type passive))))
(libpart (lib transistors) (part BD140)
(aliases
(alias BD136)
(alias BD138)
(alias BD234)
(alias BD236)
(alias BD238))
(description "Vce 80V, Ic 1.5A, Low Voltage Transistor, TO-126")
(docs http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00001225.pdf)
(footprints
(fp TO?126*))
(fields
(field (name Reference) Q)
(field (name Value) BD140)
(field (name Footprint) TO_SOT_Packages_THT:TO-126_Vertical))
(pins
(pin (num 1) (name E) (type passive))
(pin (num 2) (name C) (type passive))
(pin (num 3) (name B) (type input))))
(libpart (lib conn) (part Conn_01x02)
(description "Generic connector, single row, 01x02")
(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_01x02))
(pins
(pin (num 1) (name Pin_1) (type passive))
(pin (num 2) (name Pin_2) (type passive))))
(libpart (lib device) (part D_Zener_Small_ALT)
(description "Zener Diode, small symbol, alternativ symbol")
(docs https://en.wikipedia.org/wiki/Zener_diode)
(footprints
(fp TO-???*)
(fp *SingleDiode)
(fp *_Diode_*)
(fp *SingleDiode*)
(fp D_*))
(fields
(field (name Reference) D)
(field (name Value) D_Zener_Small_ALT))
(pins
(pin (num 1) (name K) (type passive))
(pin (num 2) (name A) (type passive))))
(libpart (lib device) (part R)
(description Resistor)
(footprints
(fp R_*)
(fp R_*))
(fields
(field (name Reference) R)
(field (name Value) R))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive)))))
(libraries
(library (logical device)
(uri /usr/share/kicad/library/device.lib))
(library (logical transistors)
(uri /usr/share/kicad/library/transistors.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib)))
(nets
(net (code 1) (name "Net-(Q2-Pad2)")
(node (ref Q2) (pin 2))
(node (ref R3) (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 J1) (pin 1))
(node (ref Q1) (pin 3))
(node (ref R5) (pin 2)))
(net (code 4) (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 12V1) (pin 1))
(node (ref J3) (pin 2))
(node (ref J2) (pin 2)))
(net (code 10) (name "Net-(12V1-Pad2)")
(node (ref Q4) (pin 3))
(node (ref 12V1) (pin 2))
(node (ref R5) (pin 1))
(node (ref Q3) (pin 1))
(node (ref R2) (pin 1)))))

View File

@ -0,0 +1,63 @@
update=. 27. jan. 2018 kl. 11.31 +0100
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=switches
LibName4=relays
LibName5=motors
LibName6=transistors
LibName7=conn
LibName8=linear
LibName9=regul
LibName10=74xx
LibName11=cmos4000
LibName12=adc-dac
LibName13=memory
LibName14=xilinx
LibName15=microcontrollers
LibName16=dsp
LibName17=microchip
LibName18=analog_switches
LibName19=motorola
LibName20=texas
LibName21=intel
LibName22=audio
LibName23=interface
LibName24=digital-audio
LibName25=philips
LibName26=display
LibName27=cypress
LibName28=siliconi
LibName29=opto
LibName30=atmel
LibName31=contrib
LibName32=valves
[general]
version=1

View File

@ -0,0 +1,394 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:switches
LIBS:relays
LIBS:motors
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:mbus_master-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$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
-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
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
-1 0 0 1
$EndComp
Wire Wire Line
3100 3200 8450 3200
Wire Wire Line
3100 3300 3600 3300
Wire Wire Line
3600 3300 3600 3400
Wire Wire Line
3250 3400 3250 3300
Connection ~ 3250 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
1 0 0 -1
$EndComp
Wire Wire Line
3250 3050 3250 3200
Connection ~ 3250 3200
Text Label 3600 3200 1 60 ~ 0
EXT_PWR
Text Notes 2050 3350 0 60 ~ 0
External power\n25-40V
$Comp
L Conn_01x02 J1
U 1 1 5A6C56AB
P 2300 6800
F 0 "J1" H 2300 6900 50 0000 C CNN
F 1 "Conn_01x02" H 2300 6600 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x02_Pitch1.27mm" H 2300 6800 50 0001 C CNN
F 3 "" H 2300 6800 50 0001 C CNN
1 2300 6800
-1 0 0 1
$EndComp
Text Notes 1300 6800 0 60 ~ 0
Input signal, TTL\nSendt to m-bus
$Comp
L GND #PWR04
U 1 1 5A6C5767
P 2650 6900
F 0 "#PWR04" H 2650 6650 50 0001 C CNN
F 1 "GND" H 2650 6750 50 0000 C CNN
F 2 "" H 2650 6900 50 0001 C CNN
F 3 "" H 2650 6900 50 0001 C CNN
1 2650 6900
1 0 0 -1
$EndComp
Wire Wire Line
2500 6800 2650 6800
Wire Wire Line
2650 6800 2650 6900
$Comp
L BC337 Q1
U 1 1 5A6C58F3
P 3750 6700
F 0 "Q1" H 3950 6775 50 0000 L CNN
F 1 "BC337" H 3950 6700 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 3950 6625 50 0001 L CIN
F 3 "" H 3750 6700 50 0001 L CNN
1 3750 6700
1 0 0 -1
$EndComp
$Comp
L R R1
U 1 1 5A6C5956
P 3200 6700
F 0 "R1" V 3280 6700 50 0000 C CNN
F 1 "1k" V 3200 6700 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 3130 6700 50 0001 C CNN
F 3 "" H 3200 6700 50 0001 C CNN
1 3200 6700
0 1 1 0
$EndComp
Wire Wire Line
2500 6700 3050 6700
Wire Wire Line
3350 6700 3550 6700
$Comp
L GND #PWR05
U 1 1 5A6C59DD
P 3850 7100
F 0 "#PWR05" H 3850 6850 50 0001 C CNN
F 1 "GND" H 3850 6950 50 0000 C CNN
F 2 "" H 3850 7100 50 0001 C CNN
F 3 "" H 3850 7100 50 0001 C CNN
1 3850 7100
1 0 0 -1
$EndComp
Wire Wire Line
3850 6900 3850 7100
$Comp
L D_Zener_Small_ALT 12V1
U 1 1 5A6C5A7F
P 5750 3500
F 0 "12V1" H 5750 3590 50 0000 C CNN
F 1 "D_Zener_Small_ALT" H 5750 3410 50 0001 C CNN
F 2 "Diodes_THT:D_A-405_P12.70mm_Horizontal" V 5750 3500 50 0001 C CNN
F 3 "" V 5750 3500 50 0001 C CNN
1 5750 3500
0 1 1 0
$EndComp
$Comp
L GND #PWR06
U 1 1 5A6C5BFD
P 5750 4800
F 0 "#PWR06" H 5750 4550 50 0001 C CNN
F 1 "GND" H 5750 4650 50 0000 C CNN
F 2 "" H 5750 4800 50 0001 C CNN
F 3 "" H 5750 4800 50 0001 C CNN
1 5750 4800
1 0 0 -1
$EndComp
Wire Wire Line
5750 4600 5750 4800
Wire Wire Line
5750 3200 5750 3400
Wire Wire Line
5750 3600 5750 4300
Wire Wire Line
4700 6500 3850 6500
Wire Wire Line
4700 4000 7250 4000
Connection ~ 5750 4000
$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
1 0 0 1
$EndComp
Wire Wire Line
8800 3350 8450 3350
Wire Wire Line
8450 3350 8450 3200
Connection ~ 5750 3200
Text Label 8100 3200 0 60 ~ 0
MBus+
Text Label 8100 3750 0 60 ~ 0
MBus-
$Comp
L BD136 Q4
U 1 1 5A6C614C
P 7450 4000
F 0 "Q4" H 7650 4075 50 0000 L CNN
F 1 "BD136" H 7650 4000 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-126_Vertical" H 7650 3925 50 0001 L CIN
F 3 "" H 7450 4000 50 0001 L CNN
1 7450 4000
1 0 0 1
$EndComp
Wire Wire Line
7550 3200 7550 3350
Connection ~ 7550 3200
$Comp
L GND #PWR07
U 1 1 5A6C640E
P 7550 4800
F 0 "#PWR07" H 7550 4550 50 0001 C CNN
F 1 "GND" H 7550 4650 50 0000 C CNN
F 2 "" H 7550 4800 50 0001 C CNN
F 3 "" H 7550 4800 50 0001 C CNN
1 7550 4800
1 0 0 -1
$EndComp
Wire Wire Line
7550 4200 7550 4800
Wire Wire Line
7550 3750 8450 3750
Wire Wire Line
8450 3750 8450 3450
Wire Wire Line
8450 3450 8800 3450
Connection ~ 7550 3750
Text Notes 9250 3450 0 60 ~ 0
M-bus output signal
Wire Wire Line
7550 3650 7550 3800
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.
Wire Notes Line
2900 1250 8750 1250
Wire Notes Line
8750 1250 8750 1800
Wire Notes Line
8750 1800 2900 1800
Wire Notes Line
2900 1800 2900 1250
$Comp
L R R6
U 1 1 5A70E602
P 7550 3500
F 0 "R6" V 7630 3500 50 0000 C CNN
F 1 "220k" V 7550 3500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 7480 3500 50 0001 C CNN
F 3 "" H 7550 3500 50 0001 C CNN
1 7550 3500
1 0 0 -1
$EndComp
$Comp
L R R5
U 1 1 5A70EB33
P 5750 4450
F 0 "R5" V 5830 4450 50 0000 C CNN
F 1 "22k" V 5750 4450 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 5680 4450 50 0001 C CNN
F 3 "" H 5750 4450 50 0001 C CNN
1 5750 4450
1 0 0 -1
$EndComp
$Comp
L BC337 Q3
U 1 1 5A70ED17
P 4900 4800
F 0 "Q3" H 5100 4875 50 0000 L CNN
F 1 "BC337" H 5100 4800 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 5100 4725 50 0001 L CIN
F 3 "" H 4900 4800 50 0001 L CNN
1 4900 4800
1 0 0 -1
$EndComp
$Comp
L BC337 Q2
U 1 1 5A70EDBB
P 4200 5100
F 0 "Q2" H 4400 5175 50 0000 L CNN
F 1 "BC337" H 4400 5100 50 0000 L CNN
F 2 "TO_SOT_Packages_THT:TO-92_Molded_Narrow" H 4400 5025 50 0001 L CIN
F 3 "" H 4200 5100 50 0001 L CNN
1 4200 5100
-1 0 0 -1
$EndComp
$Comp
L R R4
U 1 1 5A70EE1E
P 5000 5400
F 0 "R4" V 5080 5400 50 0000 C CNN
F 1 "150" V 5000 5400 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 4930 5400 50 0001 C CNN
F 3 "" H 5000 5400 50 0001 C CNN
1 5000 5400
1 0 0 -1
$EndComp
$Comp
L R R2
U 1 1 5A70EEBF
P 4100 4500
F 0 "R2" V 4180 4500 50 0000 C CNN
F 1 "6k8" V 4100 4500 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 4030 4500 50 0001 C CNN
F 3 "" H 4100 4500 50 0001 C CNN
1 4100 4500
1 0 0 -1
$EndComp
$Comp
L R R3
U 1 1 5A70EF3B
P 4650 5100
F 0 "R3" V 4730 5100 50 0000 C CNN
F 1 "1" V 4650 5100 50 0000 C CNN
F 2 "Resistors_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal" V 4580 5100 50 0001 C CNN
F 3 "" H 4650 5100 50 0001 C CNN
1 4650 5100
0 1 1 0
$EndComp
Wire Wire Line
5000 5000 5000 5250
Wire Wire Line
4800 5100 5000 5100
Connection ~ 5000 5100
Wire Wire Line
4400 5100 4500 5100
Wire Wire Line
4100 4650 4100 4900
Wire Wire Line
4700 4800 4100 4800
Connection ~ 4100 4800
Wire Wire Line
4100 5300 4100 5700
Wire Wire Line
4100 5700 5000 5700
Wire Wire Line
5000 5700 5000 5550
Connection ~ 4700 5700
Wire Wire Line
4100 4350 4100 4250
Wire Wire Line
4100 4250 5000 4250
Wire Wire Line
5000 4250 5000 4600
Wire Wire Line
4700 4000 4700 4250
Connection ~ 4700 4250
Wire Notes Line
3700 4150 5300 4150
Wire Notes Line
5300 4150 5300 6200
Wire Notes Line
5300 6200 3700 6200
Wire Notes Line
3700 6200 3700 4150
Text Notes 4100 6000 0 60 ~ 0
Current limit, ca 8mA
Wire Wire Line
4700 6500 4700 5700
$EndSCHEMATC