Updated schema, added KiCAD project.

This commit is contained in:
Tmtom 2012-07-19 21:33:46 +02:00
parent 63959632e3
commit 632ff8c921
6 changed files with 1426 additions and 661 deletions

144
hardware/KiCAD/MBus_USB.pro Executable file
View File

@ -0,0 +1,144 @@
update=19/07/2012 21:21:54
version=1
last_client=eeschema
[cvpcb]
version=1
NetITyp=0
NetIExt=.net
PkgIExt=.pkg
NetDir=
LibDir=
NetType=0
[cvpcb/libraries]
EquName1=devcms
[pcbnew]
version=1
PadDrlX=320
PadDimH=600
PadDimV=600
PadForm=1
PadMask=14745599
ViaDiam=450
ViaDril=250
Isol=60
Countlayer=2
Lpiste=170
RouteTo=15
RouteBo=0
TypeVia=3
Segm45=1
Racc45=1
Unite=0
SegFill=1
SegAffG=0
NewAffG=1
PadFill=1
PadAffG=1
PadSNum=1
ModAffC=0
ModAffT=0
PcbAffT=0
SgPcb45=1
TxtPcbV=800
TxtPcbH=600
TxtModV=600
TxtModH=600
TxtModW=120
HPGLnum=1
HPGdiam=15
HPGLSpd=20
HPGLrec=2
HPGLorg=0
GERBmin=15
VEgarde=100
DrawLar=150
EdgeLar=150
TxtLar=120
MSegLar=150
ForPlot=1
WpenSer=10
UserGrX=0,01
UserGrY=0,01
UserGrU=1
DivGrPc=1
TimeOut=600
MaxLnkS=3
ShowRat=0
ShowMRa=1
[pcbnew/libraries]
LibDir=
LibName1=sockets
LibName2=connect
LibName3=discret
LibName4=pin_array
LibName5=divers
LibName6=libcms
LibName7=display
LibName8=valves
LibName9=led
LibName10=dip_sockets
[general]
version=1
[eeschema]
version=1
LibDir=
NetFmt=1
HPGLSpd=20
HPGLDm=15
HPGLNum=1
offX_A4=0
offY_A4=0
offX_A3=0
offY_A3=0
offX_A2=0
offY_A2=0
offX_A1=0
offY_A1=0
offX_A0=0
offY_A0=0
offX_A=0
offY_A=0
offX_B=0
offY_B=0
offX_C=0
offY_C=0
offX_D=0
offY_D=0
offX_E=0
offY_E=0
RptD_X=0
RptD_Y=100
RptLab=1
LabSize=60
[eeschema/libraries]
LibName1=prolific
LibName2=power
LibName3=device
LibName4=transistors
LibName5=conn
LibName6=linear
LibName7=regul
LibName8=74xx
LibName9=cmos4000
LibName10=adc-dac
LibName11=memory
LibName12=xilinx
LibName13=special
LibName14=microcontrollers
LibName15=dsp
LibName16=microchip
LibName17=analog_switches
LibName18=motorola
LibName19=texas
LibName20=intel
LibName21=audio
LibName22=interface
LibName23=digital-audio
LibName24=philips
LibName25=display
LibName26=cypress
LibName27=siliconi
LibName28=opto
LibName29=atmel
LibName30=contrib
LibName31=valves

1234
hardware/KiCAD/MBus_USB.sch Executable file

File diff suppressed because it is too large Load Diff

42
hardware/KiCAD/prolific.lib Executable file
View File

@ -0,0 +1,42 @@
EESchema-LIBRARY Version 2.3 Date: 19/07/2012 18:59:01
#encoding utf-8
#
# PL2303
#
DEF PL2303 U 0 40 Y Y 1 F N
F0 "U" -350 700 60 H V C CNN
F1 "PL2303" 200 700 60 H V C CNN
DRAW
S -450 650 400 -750 0 1 0 N
X TxD 1 -750 600 300 R 50 50 1 1 I
X DTR_N 2 -750 500 300 R 50 50 1 1 I
X RTS_N 3 -750 400 300 R 50 50 1 1 I
X Vdd_232 4 -750 300 300 R 50 50 1 1 I
X RxD 5 -750 200 300 R 50 50 1 1 I
X RI_N 6 -750 100 300 R 50 50 1 1 I
X GND 7 -750 0 300 R 50 50 1 1 I
X Vdd 8 -750 -100 300 R 50 50 1 1 I
X DSR_N 9 -750 -200 300 R 50 50 1 1 I
X DCD_N 10 -750 -300 300 R 50 50 1 1 I
X VDD 20 700 -200 300 L 50 50 1 1 I
X CTS_N 11 -750 -400 300 R 50 50 1 1 I
X GND 21 700 -100 300 L 50 50 1 1 I
X SHTD_N 12 -750 -500 300 R 50 50 1 1 I
X TRI_MODE 22 700 0 300 L 50 50 1 1 I
X EE_CLK 13 -750 -600 300 R 50 50 1 1 I
X LD_MODE 23 700 100 300 L 50 50 1 1 I
X EE_DATA 14 -750 -700 300 R 50 50 1 1 I
X VDD_PLL 24 700 200 300 L 50 50 1 1 I
X DP 15 700 -700 300 L 50 50 1 1 I
X GND_PLL 25 700 300 300 L 50 50 1 1 I
X DM 16 700 -600 300 L 50 50 1 1 I
X PLL_TEST 26 700 400 300 L 50 50 1 1 I
X VDD_3V3 17 700 -500 300 L 50 50 1 1 I
X OSC1 27 700 500 300 L 50 50 1 1 I
X GND_3V3 18 700 -400 300 L 50 50 1 1 I
X OSC2 28 700 600 300 L 50 50 1 1 I
X RESET 19 700 -300 300 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library

View File

@ -1,654 +0,0 @@
EESchema Schematic File Version 2 date 07/12/2011 21:02:04
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:special
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-cache
EELAYER 25 0
EELAYER END
$Descr A4 11700 8267
encoding utf-8
Sheet 1 1
Title ""
Date "7 dec 2011"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Notes 5550 2900 0 60 ~ 0
approx 34V
Text Notes 1300 1600 0 60 ~ 0
Optional external\npower supply
Text Notes 9700 3150 0 60 ~ 0
MBus
Text Label 8900 3250 0 60 ~ 0
MBus-
Wire Wire Line
9200 3250 8900 3250
Wire Wire Line
8900 3250 8900 3500
Connection ~ 8700 3500
Wire Wire Line
8900 3500 8700 3500
Connection ~ 7700 2900
Wire Wire Line
7700 2950 7700 2900
Wire Wire Line
5450 3050 5450 2900
Wire Wire Line
5450 2900 8900 2900
Wire Wire Line
8900 2900 8900 3050
Wire Wire Line
6050 4050 5750 4050
Wire Wire Line
5750 4050 5750 5050
Wire Wire Line
5750 5050 3500 5050
Wire Wire Line
3550 5300 3550 5250
Wire Wire Line
3550 5250 3500 5250
Wire Wire Line
2700 3200 2700 1800
Wire Wire Line
2150 1800 2250 1800
Connection ~ 7700 3900
Wire Wire Line
7700 3950 7700 3450
Wire Wire Line
6600 4050 6550 4050
Connection ~ 7300 3750
Wire Wire Line
6900 4250 6900 4450
Wire Wire Line
7700 4450 7700 4550
Wire Wire Line
8350 4150 8500 4150
Connection ~ 8700 4000
Wire Wire Line
8700 4000 8500 4000
Wire Wire Line
8700 3950 8700 4050
Connection ~ 5450 3900
Wire Wire Line
5400 3900 5450 3900
Connection ~ 2700 2200
Wire Wire Line
2650 2200 2700 2200
Wire Wire Line
2400 2400 2400 2350
Wire Wire Line
2400 2350 2700 2350
Wire Wire Line
3775 2975 3775 2950
Connection ~ 3775 3600
Wire Wire Line
3775 3575 3775 3600
Wire Wire Line
3550 3600 3850 3600
Connection ~ 3600 3900
Wire Wire Line
3650 3900 3550 3900
Connection ~ 4750 3900
Wire Wire Line
5450 4400 5450 4500
Wire Wire Line
3600 4450 3600 4500
Connection ~ 1800 3200
Wire Wire Line
1800 3200 1950 3200
Wire Wire Line
3550 3500 3600 3500
Wire Wire Line
3600 3500 3600 3200
Wire Wire Line
3600 3200 3550 3200
Wire Wire Line
3050 3200 3000 3200
Wire Wire Line
3000 3200 3000 2950
Wire Wire Line
1800 3550 1800 2950
Wire Wire Line
1800 4300 1800 4350
Wire Wire Line
2700 3200 2450 3200
Wire Wire Line
1850 3850 1800 3850
Wire Wire Line
1800 3850 1800 3900
Wire Wire Line
2700 4200 2700 4350
Connection ~ 3000 2950
Wire Wire Line
1800 3550 1850 3550
Wire Wire Line
3600 3900 3600 3950
Wire Wire Line
4750 4400 4750 4500
Wire Wire Line
4800 3900 4700 3900
Wire Wire Line
4200 3900 4150 3900
Wire Wire Line
3600 3800 3600 3750
Wire Wire Line
3600 3750 3550 3750
Wire Wire Line
4250 3600 4750 3600
Wire Wire Line
4750 3600 4750 4000
Wire Wire Line
1800 2950 3775 2950
Wire Wire Line
2400 2800 2400 2850
Wire Wire Line
2700 1800 2650 1800
Connection ~ 2700 2350
Wire Wire Line
5450 3550 5450 4000
Wire Wire Line
8700 3550 8700 3450
Wire Wire Line
8700 4550 8700 4600
Wire Wire Line
8050 4350 8050 4550
Wire Wire Line
7300 4350 7300 4450
Wire Wire Line
7300 3450 7300 3850
Wire Wire Line
8050 3950 8050 3900
Wire Wire Line
8400 3750 6900 3750
Wire Wire Line
6900 3750 6900 3850
Wire Wire Line
8500 4000 8500 4150
Wire Wire Line
8050 3900 7500 3900
Wire Wire Line
7500 3900 7500 4650
Wire Wire Line
7500 4650 6550 4650
Wire Wire Line
2150 2000 2200 2000
Wire Wire Line
2200 2000 2200 2050
Wire Wire Line
3500 4950 3550 4950
Wire Wire Line
3550 4950 3550 4750
Wire Wire Line
3550 4750 3500 4750
Wire Wire Line
2900 4750 1450 4750
Wire Wire Line
1450 4750 1450 2200
Wire Wire Line
1450 2200 2250 2200
Wire Wire Line
3500 5150 5950 5150
Wire Wire Line
5950 5150 5950 4650
Wire Wire Line
5950 4650 6050 4650
Wire Wire Line
7300 2950 7300 2900
Connection ~ 7300 2900
Wire Wire Line
8700 2950 8700 2900
Connection ~ 8700 2900
Wire Wire Line
8900 3050 9200 3050
Text Label 8900 3050 0 60 ~ 0
MBus+
Text Label 3550 5150 0 60 ~ 0
RxD (receive from MBus)
Text Label 3550 5050 0 60 ~ 0
TxD (send to MBus)
Text Label 3550 5250 0 60 ~ 0
USB GND
Text Label 3550 4950 0 60 ~ 0
USB +5V
Text Notes 2000 5050 0 60 ~ 0
To USB serial adapter\n(e.g. PL2303,\nwith 3.3V/5V levels)
$Comp
L CONN_2 P1
U 1 1 4EAA8D88
P 1800 1900
F 0 "P1" V 1750 1900 40 0000 C CNN
F 1 "CONN_2" V 1850 1900 40 0000 C CNN
1 1800 1900
-1 0 0 -1
$EndComp
$Comp
L CONN_2 P3
U 1 1 4EAA8D6F
P 9550 3150
F 0 "P3" V 9500 3150 40 0000 C CNN
F 1 "CONN_2" V 9600 3150 40 0000 C CNN
1 9550 3150
1 0 0 -1
$EndComp
$Comp
L GND #PWR2
U 1 1 4EAA8D62
P 2200 2050
F 0 "#PWR2" H 2200 2050 30 0001 C CNN
F 1 "GND" H 2200 1980 30 0001 C CNN
1 2200 2050
1 0 0 -1
$EndComp
$Comp
L GND #PWR5
U 1 1 4EAA8D58
P 3550 5300
F 0 "#PWR5" H 3550 5300 30 0001 C CNN
F 1 "GND" H 3550 5230 30 0001 C CNN
1 3550 5300
1 0 0 -1
$EndComp
$Comp
L INDUCTOR L1
U 1 1 4EAA8D47
P 3200 4750
F 0 "L1" V 3150 4750 40 0000 C CNN
F 1 "INDUCTOR" V 3300 4750 40 0000 C CNN
1 3200 4750
0 -1 -1 0
$EndComp
$Comp
L CONN_4 P2
U 1 1 4EAA8D01
P 3150 5100
F 0 "P2" V 3100 5100 50 0000 C CNN
F 1 "CONN_4" V 3200 5100 50 0000 C CNN
1 3150 5100
-1 0 0 -1
$EndComp
$Comp
L GND #PWR11
U 1 1 4EAA8A6A
P 7300 4450
F 0 "#PWR11" H 7300 4450 30 0001 C CNN
F 1 "GND" H 7300 4380 30 0001 C CNN
1 7300 4450
1 0 0 -1
$EndComp
$Comp
L GND #PWR12
U 1 1 4EAA8A65
P 7700 4550
F 0 "#PWR12" H 7700 4550 30 0001 C CNN
F 1 "GND" H 7700 4480 30 0001 C CNN
1 7700 4550
1 0 0 -1
$EndComp
$Comp
L GND #PWR10
U 1 1 4EAA8A62
P 6900 4450
F 0 "#PWR10" H 6900 4450 30 0001 C CNN
F 1 "GND" H 6900 4380 30 0001 C CNN
1 6900 4450
1 0 0 -1
$EndComp
$Comp
L GND #PWR13
U 1 1 4EAA8A5F
P 8050 4550
F 0 "#PWR13" H 8050 4550 30 0001 C CNN
F 1 "GND" H 8050 4480 30 0001 C CNN
1 8050 4550
1 0 0 -1
$EndComp
$Comp
L GND #PWR14
U 1 1 4EAA8A57
P 8700 4600
F 0 "#PWR14" H 8700 4600 30 0001 C CNN
F 1 "GND" H 8700 4530 30 0001 C CNN
1 8700 4600
1 0 0 -1
$EndComp
$Comp
L R R7
U 1 1 4EAA8A32
P 6300 4650
F 0 "R7" V 6380 4650 50 0000 C CNN
F 1 "1k" V 6300 4650 50 0000 C CNN
1 6300 4650
0 -1 -1 0
$EndComp
$Comp
L R R11
U 1 1 4EAA8A2E
P 7700 4200
F 0 "R11" V 7780 4200 50 0000 C CNN
F 1 "3k3" V 7700 4200 50 0000 C CNN
1 7700 4200
1 0 0 -1
$EndComp
$Comp
L R R9
U 1 1 4EAA8A2B
P 7300 4100
F 0 "R9" V 7380 4100 50 0000 C CNN
F 1 "22k" V 7300 4100 50 0000 C CNN
1 7300 4100
1 0 0 -1
$EndComp
$Comp
L R R6
U 1 1 4EAA8A29
P 6300 4050
F 0 "R6" V 6380 4050 50 0000 C CNN
F 1 "1k" V 6300 4050 50 0000 C CNN
1 6300 4050
0 -1 -1 0
$EndComp
$Comp
L R R13
U 1 1 4EAA8A22
P 8700 4300
F 0 "R13" V 8780 4300 50 0000 C CNN
F 1 "82" V 8700 4300 50 0000 C CNN
1 8700 4300
1 0 0 -1
$EndComp
$Comp
L R R8
U 1 1 4EAA8A1F
P 7300 3200
F 0 "R8" V 7380 3200 50 0000 C CNN
F 1 "39k" V 7300 3200 50 0000 C CNN
1 7300 3200
1 0 0 -1
$EndComp
$Comp
L R R10
U 1 1 4EAA8A1D
P 7700 3200
F 0 "R10" V 7780 3200 50 0000 C CNN
F 1 "33k" V 7700 3200 50 0000 C CNN
1 7700 3200
1 0 0 -1
$EndComp
$Comp
L R R12
U 1 1 4EAA8A07
P 8700 3200
F 0 "R12" V 8780 3200 50 0000 C CNN
F 1 "220k" V 8700 3200 50 0000 C CNN
1 8700 3200
1 0 0 -1
$EndComp
$Comp
L BC237 Q2
U 1 1 4EAA89E3
P 8150 4150
F 0 "Q2" H 8350 4050 50 0000 C CNN
F 1 "BC337" H 8400 4300 50 0000 C CNN
F 2 "TO92-EBC" H 8340 4150 30 0001 C CNN
1 8150 4150
-1 0 0 -1
$EndComp
$Comp
L DIODE D1
U 1 1 4EAA899B
P 2450 1800
F 0 "D1" H 2450 1900 40 0000 C CNN
F 1 "DIODE" H 2450 1700 40 0000 C CNN
1 2450 1800
1 0 0 -1
$EndComp
$Comp
L GND #PWR3
U 1 1 4EAA895D
P 2400 2850
F 0 "#PWR3" H 2400 2850 30 0001 C CNN
F 1 "GND" H 2400 2780 30 0001 C CNN
1 2400 2850
1 0 0 -1
$EndComp
$Comp
L GND #PWR9
U 1 1 4EAA88DA
P 5450 4500
F 0 "#PWR9" H 5450 4500 30 0001 C CNN
F 1 "GND" H 5450 4430 30 0001 C CNN
1 5450 4500
1 0 0 -1
$EndComp
$Comp
L GND #PWR8
U 1 1 4EAA88D5
P 4750 4500
F 0 "#PWR8" H 4750 4500 30 0001 C CNN
F 1 "GND" H 4750 4430 30 0001 C CNN
1 4750 4500
1 0 0 -1
$EndComp
$Comp
L GND #PWR6
U 1 1 4EAA888F
P 3600 3800
F 0 "#PWR6" H 3600 3800 30 0001 C CNN
F 1 "GND" H 3600 3730 30 0001 C CNN
1 3600 3800
1 0 0 -1
$EndComp
$Comp
L DIODESCH D3
U 1 1 4EAA8633
P 4050 3600
F 0 "D3" H 4050 3700 40 0000 C CNN
F 1 "DIODESCH" H 4050 3500 40 0000 C CNN
1 4050 3600
1 0 0 -1
$EndComp
$Comp
L DIODE D2
U 1 1 4EAA862B
P 2450 2200
F 0 "D2" H 2450 2300 40 0000 C CNN
F 1 "DIODE" H 2450 2100 40 0000 C CNN
1 2450 2200
1 0 0 -1
$EndComp
$Comp
L INDUCTOR L3
U 1 1 4EAA8616
P 5100 3900
F 0 "L3" V 5050 3900 40 0000 C CNN
F 1 "INDUCTOR" V 5200 3900 40 0000 C CNN
1 5100 3900
0 -1 -1 0
$EndComp
$Comp
L INDUCTOR L2
U 1 1 4EAA860E
P 3775 3275
F 0 "L2" V 3725 3275 40 0000 C CNN
F 1 "150uH" V 3875 3275 40 0000 C CNN
1 3775 3275
1 0 0 -1
$EndComp
$Comp
L FUSE F1
U 1 1 4EAA8605
P 5450 3300
F 0 "F1" H 5550 3350 40 0000 C CNN
F 1 "FUSE" H 5350 3250 40 0000 C CNN
1 5450 3300
0 -1 -1 0
$EndComp
$Comp
L CP1 C3
U 1 1 4EAA85ED
P 4750 4200
F 0 "C3" H 4800 4300 50 0000 L CNN
F 1 "47u" H 4800 4100 50 0000 L CNN
1 4750 4200
1 0 0 -1
$EndComp
$Comp
L CP1 C4
U 1 1 4EAA85E6
P 5450 4200
F 0 "C4" H 5500 4300 50 0000 L CNN
F 1 "47u" H 5500 4100 50 0000 L CNN
1 5450 4200
1 0 0 -1
$EndComp
$Comp
L CP1 C2
U 1 1 4EAA85E2
P 2400 2600
F 0 "C2" H 2450 2700 50 0000 L CNN
F 1 "22u / 50V" H 2450 2500 50 0000 L CNN
1 2400 2600
1 0 0 -1
$EndComp
$Comp
L R R2
U 1 1 4EAA85C4
P 3300 3200
F 0 "R2" V 3380 3200 50 0000 C CNN
F 1 "180" V 3300 3200 50 0000 C CNN
1 3300 3200
0 -1 -1 0
$EndComp
$Comp
L R R1
U 1 1 4EAA85BA
P 2200 3200
F 0 "R1" V 2280 3200 50 0000 C CNN
F 1 "0.47" V 2200 3200 50 0000 C CNN
1 2200 3200
0 1 1 0
$EndComp
$Comp
L GND #PWR7
U 1 1 4EAA85A1
P 3600 4500
F 0 "#PWR7" H 3600 4500 30 0001 C CNN
F 1 "GND" H 3600 4430 30 0001 C CNN
1 3600 4500
1 0 0 -1
$EndComp
$Comp
L GND #PWR1
U 1 1 4EAA8599
P 1800 4350
F 0 "#PWR1" H 1800 4350 30 0001 C CNN
F 1 "GND" H 1800 4280 30 0001 C CNN
1 1800 4350
1 0 0 -1
$EndComp
$Comp
L C C1
U 1 1 4EAA8585
P 1800 4100
F 0 "C1" H 1850 4200 50 0000 L CNN
F 1 "330p" H 1850 4000 50 0000 L CNN
1 1800 4100
1 0 0 -1
$EndComp
$Comp
L R R5
U 1 1 4EAA8565
P 4450 3900
F 0 "R5" V 4530 3900 50 0000 C CNN
F 1 "22k" V 4450 3900 50 0000 C CNN
1 4450 3900
0 1 1 0
$EndComp
$Comp
L R R4
U 1 1 4EAA855B
P 3900 3900
F 0 "R4" V 3980 3900 50 0000 C CNN
F 1 "100k" V 3900 3900 50 0000 C CNN
1 3900 3900
0 1 1 0
$EndComp
$Comp
L R R3
U 1 1 4EAA8543
P 3600 4200
F 0 "R3" V 3680 4200 50 0000 C CNN
F 1 "4k7" V 3600 4200 50 0000 C CNN
1 3600 4200
1 0 0 -1
$EndComp
$Comp
L GND #PWR4
U 1 1 4EAA84C7
P 2700 4350
F 0 "#PWR4" H 2700 4350 30 0001 C CNN
F 1 "GND" H 2700 4280 30 0001 C CNN
1 2700 4350
1 0 0 -1
$EndComp
$Comp
L MC34063 U1
U 1 1 4EAA8411
P 2700 3700
F 0 "U1" H 2850 4050 60 0000 L CNN
F 1 "MC34063" H 2800 3350 60 0000 L CNN
1 2700 3700
1 0 0 -1
$EndComp
$Comp
L BC307 Q3
U 1 1 4EAA83EE
P 8600 3750
F 0 "Q3" H 8800 3650 50 0000 C CNN
F 1 "BD136" H 8850 3900 50 0000 C CNN
1 8600 3750
1 0 0 1
$EndComp
$Comp
L BC237 Q1
U 1 1 4EAA83E1
P 6800 4050
F 0 "Q1" H 7000 3950 50 0000 C CNN
F 1 "BC337" H 7050 4200 50 0000 C CNN
F 2 "TO92-EBC" H 6990 4050 30 0001 C CNN
1 6800 4050
1 0 0 -1
$EndComp
$EndSCHEMATC

BIN
hardware/MBus_USB.pdf Normal file → Executable file

Binary file not shown.

View File

@ -3,22 +3,21 @@ The convertor is very simple - there are three main parts:
- power Voltage converter - power Voltage converter
- USB serial converter - USB serial converter
Voltage converter - "catalogue" use of MC34063 in step-up configuration set for about 34V output voltage and few tens of mA. You can use any other IC/setup which would do the job. Note that if you use other voltage output than 34V (note tha MBus limits) you need to adjust the voltage divider (see below) or use 12V Zener diode instead of R9. Voltage converter - "catalogue" use of MC34063 in step-up configuration set for about 34V output voltage and few tens of mA. You can use any other IC/setup which would do the job. Note that if you use other voltage output than 34V (note the MBus limits) you need to adjust the voltage divider (see below) or use 12V Zener diode instead of R9.
MBus level converter - it is based on the original design from Uni Paderborn (http://www.m-bus.com/files/minimaster.tif or http://www.m-bus.de/pw1.shtml). It was just "inverted" to use common ground and low voltage IO signals. Also the 12V output voltage drop is done by simple divider (R9/R8) which is OK here (stable voltage, current is amplified). MBus level converter - it is based on the original design from Uni Paderborn (http://www.m-bus.com/files/minimaster.tif or http://www.m-bus.de/pw1.shtml). It was just "inverted" to use common ground and low voltage IO signals. Also the 12V output voltage drop is done by simple divider (R9/R8) which is OK here (stable voltage, current is amplified).
Basically no part of the convertor is critical - except of the 12V diff (see above) and current sensing R12. Basically no part of the convertor is critical - except of the 12V diff (see above) and current sensing R12.
The USB serial convertor is not covered here in much detail as it does not make sense to build one. Get a USB serial cable - ideal one is an old phone data cable as these are without the RS232 level convertor (i.e. exactly what we want).
The USB serial convertor is not covered here as it does not make sense to make one. Get a USB serial cable - ideal one is an old phone data cable as these are without the RS232 level convertor (i.e. exactly what we want). One sidenote explanation. Typical USB RS232 cable contains two main chips: USB to TTL/CMOS serial converter (this is the "smart" one - e.g. variants of FTDI Chip FT232 or Prolific PL2303) and TTL/CMOS to RS232 voltage converter (variants of MAX232). We need just the first part as we have our own voltage converter - here CMOS/TTL to MBus instead.
Or you can buy this as a module.
One sidenote explanation. Typical USB RS232 cable contains two main chips: USB to TTL/CMOS serial converter (this is the "smart" one - e.g. variants of FT232 or PL2303) and TTL/CMOS to RS232 voltage converter (variants of MAX232). We need just the first part as we have our own voltage converter - here CMOS/TTL to MBus instead.
The bottom line is - get either a cable which does not have the RS232 converter or a cable which can be easily opened/dissected and the converter bypassed. The bottom line is - get either a cable which does not have the RS232 converter or a cable which can be easily opened/dissected and the converter bypassed.
Finally a small disclaimer - this is for educational purposes, there is no warranty of any sort. Finally the disclaimer - this is for educational purposes, there is no warranty of any sort.
From technical perspective this works only for few slaves as it is only a simple converter and the power is very limited as well. From technical perspective this works only for few slaves as it is only a simple converter and the power is very limited as well. Tested with the bus of few tens of meters with speed up to 9600Bd with no problems.
Contributed by Tomas Menzl. Contributed by Tomas Menzl.