Merge DIYglenn

This commit is contained in:
Gunnar Skjold
2019-02-14 07:48:46 +01:00
parent a954b838f3
commit 3cb433b27e
273 changed files with 84 additions and 11488 deletions

View File

@@ -0,0 +1,77 @@
# Getting started building or modifying
## Tools
### Kicad
Install the [KiCad](http://www.kicad-pcb.org/) program to edit the schematic or PCB.
KiCad documentation and forums:
* https://kicad-pcb.org/help/documentation/#_getting_started
* https://forum.kicad.info/
* https://www.reddit.com/r/KiCad/
* https://en.wikipedia.org/wiki/KiCad
### Simulator
If you want to simulate parts of the circuit you also need a simulator. This is
highly recommended! This saves a *lot* of troubleshooting and makes you find
solutions you otherwise would not have found.
[Electronic circuit simulation](https://en.wikipedia.org/wiki/Electronic_circuit_simulation)
using computers have a long history. Many of them have origins directly or indirectly
related to the classic SPICE simulator (e.g. [Ngspice](http://ngspice.sourceforge.net)).
At the core they work similar to source code compilers - you give it a text file
describing the circuit and it produces a textual simulation result. Some of the simulators
are intended to be used just in text mode while other have a graphical frontend where
you are able to draw the circuit like in a schematic editor:
* [QUCS](http://qucs.sourceforge.net/) - Quite Universal Circuit Simulator.
* [QUCS-S](https://ra3xdh.github.io/) - A qucs version using ngspice as simulation backend. This one has been used for the simulations for board 3.
* [eSim](http://esim.fossee.in/).
* [Other alternatives](https://en.wikipedia.org/wiki/List_of_free_electronics_circuit_simulators).
### Git
While it is possible to download the content from this repository as a compresset
zip file, you want to use git to fetch the content. For Linux install depending on
distribution with
```
apt-get install git # debian, ubuntu, etc
dnf install git # fedora
yum install git # rhel, centos
```
For windows the most convenient option is to install [git for windows](https://git-scm.com/download/win).
To download the source of this repository run:
```
git clone https://github.com/roarfred/AmsToMqttBridge
cd AmsToMqttBridge
git submodule init
git submodule update --recursive
```
Make sure that all submodules are fetched. If not `git submodule status` will show something like the following (notice the `-` in front):
```bash
-f886cacb58461d356730e744d9d2ae55590825e4 kicad-symbols
```
while when properly fetched it will show the commit id normally
(plus any labels if appropriate):
```bash
f886cacb58461d356730e744d9d2ae55590825e4 kicad-symbols (5.0.0-rc1)
```
To mitigate, run update:
```bash
$ git submodule update --init
Submodule 'Electrical/kicad-libs/kicad-symbols' (https://github.com/kicad/kicad-symbols) registered for path 'kicad-symbols'
Cloning into '.../AmsToMqttBridge/Electrical/kicad-libs/kicad-symbols'...
Submodule path 'kicad-symbols': checked out 'f886cacb58461d356730e744d9d2ae55590825e4'
```

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
Record=TopLevelDocument|FileName=AMSTOMQTT.SchDoc

Binary file not shown.

View File

@@ -0,0 +1,20 @@
----------------------------------------------------------------------------------------------------------------------------------
NCDrill File Report For: AMSTOMQTT.PcbDoc 25-Oct-17 2:22:37 PM
----------------------------------------------------------------------------------------------------------------------------------
Layer Pair : Top Layer to Bottom Layer
ASCII RoundHoles File : AMSTOMQTT.TXT
Tool Hole Size Hole Tolerance Hole Type Hole Count Plated Tool Travel
----------------------------------------------------------------------------------------------------------------------------------
T1 28mil (0.7mm) Round 9 PTH 4.25inch (107.84mm)
T2 28mil (0.711mm) Round 1 PTH 0.00inch (0.00mm)
T3 30mil (0.76mm) Round 10 PTH 0.91inch (23.16mm)
T4 33mil (0.85mm) Round 22 PTH 7.25inch (184.18mm)
T5 35mil (0.9mm) Round 18 PTH 5.72inch (145.35mm)
T6 47mil (1.2mm) Round 8 PTH 1.55inch (39.49mm)
T7 126mil (3.2mm) Round 2 PTH 0.45inch (11.43mm)
----------------------------------------------------------------------------------------------------------------------------------
Totals 70
Total Processing Time (hh:mm:ss) : 00:00:00

View File

@@ -0,0 +1,21 @@
------------------------------------------------------------------------------------------
Gerber File Extension Report For: AMSTOMQTT.GBR 25-Oct-17 2:21:42 PM
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Layer Extension Layer Description
------------------------------------------------------------------------------------------
.GTL Top Layer
.GBL Bottom Layer
.GPB Bottom Pad Master
.GPT Top Pad Master
.GTO Top Overlay
.GTP Top Paste
.GTS Top Solder
.GBS Bottom Solder
.GKO Keep-Out Layer
.GM1 Mechanical 1
.GM13 Mechanical 13
.GM15 Mechanical 15
------------------------------------------------------------------------------------------

View File

@@ -0,0 +1,248 @@
G04 Layer_Physical_Order=2*
G04 Layer_Color=16711680*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD16C,0.02000*%
%ADD18C,0.05512*%
%ADD19C,0.06000*%
%ADD20C,0.04724*%
%ADD21R,0.05906X0.05906*%
%ADD22C,0.05906*%
%ADD23O,0.07874X0.03937*%
%ADD24O,0.07874X0.03937*%
%ADD25R,0.05906X0.05906*%
%ADD26C,0.07087*%
%ADD27C,0.05000*%
D16*
X169500Y152500D02*
X176000D01*
X169000Y153000D02*
X169500Y152500D01*
X162500Y153000D02*
X169000D01*
X124800Y190700D02*
X162500Y153000D01*
X29800Y190700D02*
X124800D01*
X25000Y195500D02*
X29800Y190700D01*
X131657Y41157D02*
X145500Y55000D01*
X67500Y52500D02*
X78843Y41157D01*
X65000Y78000D02*
X75000D01*
X162500Y183000D02*
X166756Y187256D01*
X178500D01*
X180800Y184956D01*
Y147700D02*
Y184956D01*
X169383Y136283D02*
X180800Y147700D01*
X55091Y136283D02*
X169383D01*
X69400Y123600D02*
X85000Y108000D01*
X37124Y123600D02*
X69400D01*
X23000Y109476D02*
X37124Y123600D01*
X159900Y166400D02*
X176000Y182500D01*
X202800Y102700D02*
X206000Y99500D01*
X141200Y102700D02*
X202800D01*
X136000Y97500D02*
X141200Y102700D01*
X95000Y108000D02*
X125500D01*
X136000Y97500D01*
X145500D02*
X166000D01*
X136000Y88000D02*
X145500Y97500D01*
X95000Y88000D02*
X136000D01*
X75000Y108000D02*
X95000Y88000D01*
X49000Y110500D02*
X51900Y113400D01*
X69600D01*
X75000Y108000D01*
X191744Y190256D02*
X204000Y178000D01*
X174744Y190256D02*
X191744D01*
X159000Y206000D02*
X174744Y190256D01*
X90000Y83000D02*
X95000Y78000D01*
X51500Y83000D02*
X90000D01*
X49000Y80500D02*
X51500Y83000D01*
X43000Y80500D02*
X49000D01*
X42000Y79500D02*
X43000Y80500D01*
X36000Y79500D02*
X42000D01*
X173531Y122531D02*
X187969D01*
X189000Y121500D01*
X165500Y114500D02*
X173531Y122531D01*
X78843Y41157D02*
X131657D01*
D18*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D19*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D20*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D21*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D22*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D23*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D24*
Y131500D02*
D03*
D25*
X169000Y206000D02*
D03*
D26*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
D27*
X159900Y166400D02*
D03*
M02*

View File

@@ -0,0 +1,169 @@
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD43C,0.06312*%
%ADD44C,0.06800*%
%ADD45C,0.00800*%
%ADD46C,0.05524*%
%ADD47R,0.06706X0.06706*%
%ADD48C,0.06706*%
%ADD49O,0.08674X0.04737*%
%ADD50O,0.08674X0.04737*%
%ADD51R,0.06706X0.06706*%
%ADD52C,0.07887*%
%ADD53C,0.05800*%
D43*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D44*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D45*
X185500Y30000D02*
D03*
X140500D02*
D03*
D46*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D47*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D48*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D49*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D50*
Y131500D02*
D03*
D51*
X169000Y206000D02*
D03*
D52*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
D53*
X159900Y166400D02*
D03*
M02*

View File

@@ -0,0 +1,17 @@
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD32C,0.01000*%
D32*
X0Y0D02*
X233858D01*
X0D02*
Y214173D01*
X233858Y0D02*
Y214173D01*
X0D02*
X233858D01*
M02*

View File

@@ -0,0 +1,7 @@
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
M02*

View File

@@ -0,0 +1,197 @@
G04 Layer_Color=16711935*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD32C,0.01000*%
%ADD54C,0.00394*%
%ADD55C,0.00200*%
D32*
X82155Y117208D02*
X145806D01*
Y211458D01*
X82155D02*
X145806D01*
X82155Y117208D02*
Y211458D01*
D54*
X98701Y103630D02*
G03*
X98701Y103630I-1969J0D01*
G01*
X41811Y14279D02*
X68189D01*
X41811Y28886D02*
X68189D01*
X41811Y14279D02*
Y28886D01*
X68189Y14279D02*
Y28886D01*
X59724Y107173D02*
X100276D01*
X59724Y78827D02*
X100276D01*
Y107173D01*
X59724Y78827D02*
Y107173D01*
D55*
X81984Y189238D02*
Y211500D01*
X145984D01*
Y189238D02*
Y211500D01*
X81984Y189238D02*
X145984D01*
X83651Y208333D02*
X83484Y208500D01*
X83151D01*
X82984Y208333D01*
Y207667D01*
X83151Y207500D01*
X83484D01*
X83651Y207667D01*
X83984Y208500D02*
Y207667D01*
X84150Y207500D01*
X84484D01*
X84650Y207667D01*
Y208500D01*
X84984D02*
X85650D01*
X85317D01*
Y207500D01*
X86483Y208500D02*
X86150D01*
X85983Y208333D01*
Y207667D01*
X86150Y207500D01*
X86483D01*
X86650Y207667D01*
Y208333D01*
X86483Y208500D01*
X86983D02*
Y207667D01*
X87150Y207500D01*
X87483D01*
X87649Y207667D01*
Y208500D01*
X87983D02*
X88649D01*
X88316D01*
Y207500D01*
X89982D02*
Y208500D01*
X90482D01*
X90649Y208333D01*
Y208000D01*
X90482Y207833D01*
X89982D01*
X91482Y208500D02*
X91148D01*
X90982Y208333D01*
Y207667D01*
X91148Y207500D01*
X91482D01*
X91648Y207667D01*
Y208333D01*
X91482Y208500D01*
X91981D02*
Y207500D01*
X92648D01*
X92981Y208500D02*
Y208333D01*
X93314Y208000D01*
X93647Y208333D01*
Y208500D01*
X93314Y208000D02*
Y207500D01*
X94647Y208333D02*
X94481Y208500D01*
X94147D01*
X93981Y208333D01*
Y207667D01*
X94147Y207500D01*
X94481D01*
X94647Y207667D01*
Y208000D01*
X94314D01*
X95480Y208500D02*
X95147D01*
X94980Y208333D01*
Y207667D01*
X95147Y207500D01*
X95480D01*
X95647Y207667D01*
Y208333D01*
X95480Y208500D01*
X95980Y207500D02*
Y208500D01*
X96646Y207500D01*
Y208500D01*
X82984Y209500D02*
Y210167D01*
X83318Y210500D01*
X83651Y210167D01*
Y209500D01*
Y210000D01*
X82984D01*
X83984Y209500D02*
Y210500D01*
X84650Y209500D01*
Y210500D01*
X84984D02*
X85650D01*
X85317D01*
Y209500D01*
X86650Y210500D02*
X85983D01*
Y209500D01*
X86650D01*
X85983Y210000D02*
X86317D01*
X86983Y209500D02*
Y210500D01*
X87649Y209500D01*
Y210500D01*
X87983Y209500D02*
Y210500D01*
X88649Y209500D01*
Y210500D01*
X88982Y209500D02*
Y210167D01*
X89316Y210500D01*
X89649Y210167D01*
Y209500D01*
Y210000D01*
X88982D01*
X90982Y209500D02*
Y210167D01*
X91315Y210500D01*
X91648Y210167D01*
Y209500D01*
Y210000D01*
X90982D01*
X91981Y209500D02*
Y210500D01*
X92481D01*
X92648Y210333D01*
Y210000D01*
X92481Y209833D01*
X91981D01*
X92315D02*
X92648Y209500D01*
X93647Y210500D02*
X92981D01*
Y209500D01*
X93647D01*
X92981Y210000D02*
X93314D01*
X93981Y209500D02*
Y210167D01*
X94314Y210500D01*
X94647Y210167D01*
Y209500D01*
Y210000D01*
X93981D01*
M02*

View File

@@ -0,0 +1,44 @@
G04 Layer_Color=32768*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD32C,0.01000*%
%ADD54C,0.00394*%
%ADD56C,0.00197*%
D32*
X78646Y117208D02*
Y211458D01*
X149315D01*
Y117208D02*
Y211458D01*
X78646Y117208D02*
X149315D01*
D54*
X55000Y19614D02*
Y23551D01*
X53031Y21583D02*
X56969D01*
X80000Y91032D02*
Y94969D01*
X78032Y93000D02*
X81969D01*
X187032Y126500D02*
X190969D01*
X189000Y124531D02*
Y128469D01*
X113980Y163333D02*
Y165333D01*
X112980Y164333D02*
X114980D01*
D56*
X40827Y4457D02*
X69173D01*
X40827Y38709D02*
X69173D01*
X40827Y4457D02*
Y38709D01*
X69173Y4457D02*
Y38709D01*
M02*

View File

@@ -0,0 +1,159 @@
G04 Layer_Color=255*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD18C,0.05512*%
%ADD19C,0.06000*%
%ADD20C,0.04724*%
%ADD21R,0.05906X0.05906*%
%ADD22C,0.05906*%
%ADD23O,0.07874X0.03937*%
%ADD24O,0.07874X0.03937*%
%ADD25R,0.05906X0.05906*%
%ADD26C,0.07087*%
D18*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D19*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D20*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D21*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D22*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D23*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D24*
Y131500D02*
D03*
D25*
X169000Y206000D02*
D03*
D26*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
M02*

View File

@@ -0,0 +1,233 @@
G04 Layer_Color=255*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD10R,0.03937X0.09449*%
%ADD11R,0.12992X0.09449*%
%ADD12R,0.08858X0.03937*%
%ADD13R,0.08268X0.06299*%
%ADD14R,0.01575X0.05315*%
%ADD15R,0.07087X0.07480*%
%ADD18C,0.05512*%
%ADD19C,0.06000*%
%ADD20C,0.04724*%
%ADD21R,0.05906X0.05906*%
%ADD22C,0.05906*%
%ADD23O,0.07874X0.03937*%
%ADD24O,0.07874X0.03937*%
%ADD25R,0.05906X0.05906*%
%ADD26C,0.07087*%
D10*
X45945Y10165D02*
D03*
X55000D02*
D03*
X64055D02*
D03*
D11*
X55000Y33000D02*
D03*
D12*
X83961Y123382D02*
D03*
Y131256D02*
D03*
Y139130D02*
D03*
Y147004D02*
D03*
Y154878D02*
D03*
Y162752D02*
D03*
Y170626D02*
D03*
Y178500D02*
D03*
X144000D02*
D03*
Y170626D02*
D03*
Y162752D02*
D03*
Y154878D02*
D03*
Y147004D02*
D03*
Y139130D02*
D03*
Y131256D02*
D03*
Y123382D02*
D03*
D13*
X86169Y19736D02*
D03*
X110382D02*
D03*
D14*
X93158Y20228D02*
D03*
X95717D02*
D03*
X98276D02*
D03*
X100835D02*
D03*
X103394D02*
D03*
D15*
X93551Y9500D02*
D03*
X103000D02*
D03*
X113039D02*
D03*
X83512D02*
D03*
D18*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D19*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D20*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D21*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D22*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D23*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D24*
Y131500D02*
D03*
D25*
X169000Y206000D02*
D03*
D26*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
M02*

View File

@@ -0,0 +1,457 @@
G04 Layer_Physical_Order=1*
G04 Layer_Color=255*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD10R,0.03937X0.09449*%
%ADD11R,0.12992X0.09449*%
%ADD12R,0.08858X0.03937*%
%ADD13R,0.08268X0.06299*%
%ADD14R,0.01575X0.05315*%
%ADD15R,0.07087X0.07480*%
%ADD16C,0.02000*%
%ADD17C,0.01500*%
%ADD18C,0.05512*%
%ADD19C,0.06000*%
%ADD20C,0.04724*%
%ADD21R,0.05906X0.05906*%
%ADD22C,0.05906*%
%ADD23O,0.07874X0.03937*%
%ADD24O,0.07874X0.03937*%
%ADD25R,0.05906X0.05906*%
%ADD26C,0.07087*%
%ADD27C,0.05000*%
D10*
X45945Y10165D02*
D03*
X55000D02*
D03*
X64055D02*
D03*
D11*
X55000Y33000D02*
D03*
D12*
X83961Y123382D02*
D03*
Y131256D02*
D03*
Y139130D02*
D03*
Y147004D02*
D03*
Y154878D02*
D03*
Y162752D02*
D03*
Y170626D02*
D03*
Y178500D02*
D03*
X144000D02*
D03*
Y170626D02*
D03*
Y162752D02*
D03*
Y154878D02*
D03*
Y147004D02*
D03*
Y139130D02*
D03*
Y131256D02*
D03*
Y123382D02*
D03*
D13*
X86169Y19736D02*
D03*
X110382D02*
D03*
D14*
X93158Y20228D02*
D03*
X95717D02*
D03*
X98276D02*
D03*
X100835D02*
D03*
X103394D02*
D03*
D15*
X93551Y9500D02*
D03*
X103000D02*
D03*
X113039D02*
D03*
X83512D02*
D03*
D16*
X106500Y31000D02*
Y41157D01*
X103394Y27894D02*
X106500Y31000D01*
X103394Y20228D02*
Y27894D01*
X43500Y52500D02*
X67500D01*
X25000Y34000D02*
X43500Y52500D01*
X25000Y32000D02*
Y34000D01*
Y32000D02*
X33000Y24000D01*
Y19500D02*
Y24000D01*
Y19500D02*
X42335Y10165D01*
X45945D01*
X92929Y20228D02*
Y25071D01*
X89500Y28500D02*
X92929Y25071D01*
X76500Y28500D02*
X89500D01*
X73500Y25500D02*
X76500Y28500D01*
X73500Y12500D02*
Y25500D01*
X71165Y10165D02*
X73500Y12500D01*
X64055Y10165D02*
X71165D01*
X26195Y13194D02*
X29305D01*
X40000Y2500D01*
X59500D01*
X64055Y7055D02*
Y10165D01*
X162500Y147500D02*
X165500Y144500D01*
X162500Y147500D02*
Y153000D01*
X25000Y195500D02*
Y204000D01*
X74100Y127500D02*
Y155800D01*
Y127500D02*
X78218Y123382D01*
X82800D02*
X83961D01*
X25000Y195500D02*
X34400D01*
X74100Y155800D01*
X78218Y123382D02*
X82800D01*
X80000Y117600D02*
X82800Y120400D01*
X80000Y55157D02*
Y117600D01*
X77343Y52500D02*
X80000Y55157D01*
X74500Y52500D02*
X77343D01*
X55000Y33000D02*
X74500Y52500D01*
X55000Y10165D02*
Y33000D01*
X189000Y163000D02*
Y182500D01*
Y163000D02*
X204000Y148000D01*
X144000Y120488D02*
Y123382D01*
X157744Y106744D02*
X171114D01*
X144000Y120488D02*
X157744Y106744D01*
X144000Y110000D02*
Y120488D01*
Y110000D02*
X166000Y88000D01*
X145500Y67500D02*
X166000Y88000D01*
X145500Y55000D02*
Y67500D01*
X55091Y154000D02*
Y165783D01*
X49100Y148009D02*
X55091Y154000D01*
X49100Y123900D02*
Y148009D01*
X65000Y78000D02*
Y108000D01*
Y55000D02*
Y78000D01*
Y55000D02*
X67500Y52500D01*
X144000Y147004D02*
X147800D01*
X150429Y149633D01*
Y166329D01*
X162500Y178400D01*
Y183000D01*
X128000Y65000D02*
X140500D01*
X85000Y108000D02*
X128000Y65000D01*
X36000Y94524D02*
Y109500D01*
X23000Y81524D02*
X36000Y94524D01*
X55000Y195500D02*
X84500D01*
X90400Y189600D01*
Y164500D02*
Y189600D01*
X88652Y162752D02*
X90400Y164500D01*
X83961Y162752D02*
X88652D01*
X153429Y159929D02*
X159900Y166400D01*
X153429Y143729D02*
Y159929D01*
X148830Y139130D02*
X153429Y143729D01*
X144000Y139130D02*
X148830D01*
X162456Y109744D02*
X168500D01*
X158800Y113400D02*
X162456Y109744D01*
X158800Y113400D02*
Y126956D01*
X154500Y131256D02*
X158800Y126956D01*
X144000Y131256D02*
X154500D01*
X60091Y178500D02*
X83961D01*
X55091Y183500D02*
X60091Y178500D01*
X49800Y198800D02*
X55000Y204000D01*
X49800Y188791D02*
Y198800D01*
Y188791D02*
X55091Y183500D01*
X134500Y181500D02*
X159000Y206000D01*
X134500Y174626D02*
Y181500D01*
Y174626D02*
X138500Y170626D01*
X144000D01*
X181000Y211000D02*
X204000Y188000D01*
X164000Y211000D02*
X181000D01*
X164000Y201000D02*
Y211000D01*
X157700Y194700D02*
X164000Y201000D01*
X157700Y180200D02*
Y194700D01*
X156000Y178500D02*
X157700Y180200D01*
X144000Y178500D02*
X156000D01*
X95000Y72342D02*
X106500Y60842D01*
X95000Y72342D02*
Y78000D01*
X59500Y2500D02*
X64000Y7000D01*
X64055Y7055D01*
X106500Y51000D02*
Y60842D01*
X204000Y129500D02*
X206000D01*
X201000Y126500D02*
X204000Y129500D01*
X189000Y126500D02*
X201000D01*
X171114Y106744D02*
X179500Y115130D01*
Y129500D01*
X181500Y131500D01*
X189000D01*
Y133000D01*
X204000Y148000D01*
X168500Y109744D02*
X175000Y116244D01*
Y138500D01*
X189000Y152500D01*
X165500Y114500D02*
X171000Y120000D01*
X169000Y206000D02*
X171000D01*
Y120000D02*
Y206000D01*
X49100Y123900D02*
X65000Y108000D01*
X82800Y120400D02*
Y123382D01*
D17*
X64500Y6500D02*
Y7500D01*
X65000Y9000D02*
X65500Y8500D01*
X23500Y12000D02*
X25000Y10500D01*
X64000Y6500D02*
Y7000D01*
Y9500D01*
D18*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D19*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D20*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D21*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D22*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D23*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D24*
Y131500D02*
D03*
D25*
X169000Y206000D02*
D03*
D26*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
D27*
X159900Y166400D02*
D03*
M02*

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,81 @@
G04 Layer_Color=8421504*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD10R,0.03937X0.09449*%
%ADD11R,0.12992X0.09449*%
%ADD12R,0.08858X0.03937*%
%ADD13R,0.08268X0.06299*%
%ADD14R,0.01575X0.05315*%
%ADD15R,0.07087X0.07480*%
D10*
X45945Y10165D02*
D03*
X55000D02*
D03*
X64055D02*
D03*
D11*
X55000Y33000D02*
D03*
D12*
X83961Y123382D02*
D03*
Y131256D02*
D03*
Y139130D02*
D03*
Y147004D02*
D03*
Y154878D02*
D03*
Y162752D02*
D03*
Y170626D02*
D03*
Y178500D02*
D03*
X144000D02*
D03*
Y170626D02*
D03*
Y162752D02*
D03*
Y154878D02*
D03*
Y147004D02*
D03*
Y139130D02*
D03*
Y131256D02*
D03*
Y123382D02*
D03*
D13*
X86169Y19736D02*
D03*
X110382D02*
D03*
D14*
X93158Y20228D02*
D03*
X95717D02*
D03*
X98276D02*
D03*
X100835D02*
D03*
X103394D02*
D03*
D15*
X93551Y9500D02*
D03*
X103000D02*
D03*
X113039D02*
D03*
X83512D02*
D03*
M02*

View File

@@ -0,0 +1,243 @@
G04 Layer_Color=8388736*
%FSLAX25Y25*%
%MOIN*%
G70*
G01*
G75*
%ADD37R,0.04737X0.10249*%
%ADD38R,0.13792X0.10249*%
%ADD39R,0.09658X0.04737*%
%ADD40R,0.09068X0.07099*%
%ADD41R,0.02375X0.06115*%
%ADD42R,0.07887X0.08280*%
%ADD43C,0.06312*%
%ADD44C,0.06800*%
%ADD45C,0.00800*%
%ADD46C,0.05524*%
%ADD47R,0.06706X0.06706*%
%ADD48C,0.06706*%
%ADD49O,0.08674X0.04737*%
%ADD50O,0.08674X0.04737*%
%ADD51R,0.06706X0.06706*%
%ADD52C,0.07887*%
%ADD53C,0.05800*%
D37*
X45945Y10165D02*
D03*
X55000D02*
D03*
X64055D02*
D03*
D38*
X55000Y33000D02*
D03*
D39*
X83961Y123382D02*
D03*
Y131256D02*
D03*
Y139130D02*
D03*
Y147004D02*
D03*
Y154878D02*
D03*
Y162752D02*
D03*
Y170626D02*
D03*
Y178500D02*
D03*
X144000D02*
D03*
Y170626D02*
D03*
Y162752D02*
D03*
Y154878D02*
D03*
Y147004D02*
D03*
Y139130D02*
D03*
Y131256D02*
D03*
Y123382D02*
D03*
D40*
X86169Y19736D02*
D03*
X110382D02*
D03*
D41*
X93158Y20228D02*
D03*
X95717D02*
D03*
X98276D02*
D03*
X100835D02*
D03*
X103394D02*
D03*
D42*
X93551Y9500D02*
D03*
X103000D02*
D03*
X113039D02*
D03*
X83512D02*
D03*
D43*
X77343Y52500D02*
D03*
X67500D02*
D03*
X165500Y144500D02*
D03*
Y114500D02*
D03*
X136000Y88000D02*
D03*
X166000D02*
D03*
Y97500D02*
D03*
X136000D02*
D03*
X189000Y182500D02*
D03*
Y152500D02*
D03*
X206000Y99500D02*
D03*
Y129500D02*
D03*
X55000Y195500D02*
D03*
X25000D02*
D03*
X36000Y109500D02*
D03*
Y79500D02*
D03*
X49000Y80500D02*
D03*
Y110500D02*
D03*
X55000Y204000D02*
D03*
X25000D02*
D03*
X176000Y152500D02*
D03*
Y182500D02*
D03*
X162500Y153000D02*
D03*
Y183000D02*
D03*
X106500Y41157D02*
D03*
Y51000D02*
D03*
D44*
X185500Y55000D02*
D03*
X180500Y65000D02*
D03*
X175500Y55000D02*
D03*
X170500Y65000D02*
D03*
X165500Y55000D02*
D03*
X160500Y65000D02*
D03*
X155500Y55000D02*
D03*
X150500Y65000D02*
D03*
X140500D02*
D03*
X145500Y55000D02*
D03*
D45*
X185500Y30000D02*
D03*
X140500D02*
D03*
D46*
X25000Y12000D02*
D03*
Y32000D02*
D03*
D47*
X23000Y81524D02*
D03*
X95000Y108000D02*
D03*
X204000Y198000D02*
D03*
D48*
X23000Y109476D02*
D03*
X85000Y108000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X95000Y78000D02*
D03*
X85000D02*
D03*
X75000D02*
D03*
X65000D02*
D03*
X159000Y206000D02*
D03*
X204000Y188000D02*
D03*
Y178000D02*
D03*
Y168000D02*
D03*
Y158000D02*
D03*
Y148000D02*
D03*
D49*
X189000Y121500D02*
D03*
Y126500D02*
D03*
D50*
Y131500D02*
D03*
D51*
X169000Y206000D02*
D03*
D52*
X55091Y183500D02*
D03*
X29500D02*
D03*
Y165784D02*
D03*
X55091D02*
D03*
Y136283D02*
D03*
X29500D02*
D03*
Y118567D02*
D03*
X55091D02*
D03*
D53*
X159900Y166400D02*
D03*
M02*

View File

@@ -0,0 +1,2 @@
Layer Pairs Export File for PCB: C:\Users\shaper\Downloads\AMSTOMQTT(FINAL)\AMSTOMQTT.PcbDoc
LayersSetName=Top_Bot_Thru_Holes|DrillFile=amstomqtt.txt|DrillLayers=gtl,gbl

View File

@@ -0,0 +1,246 @@
*************************************************************
FileName = AMSTOMQTT.GBR
AutoAperture = True
*************************************************************
Generating : Top Layer
File : AMSTOMQTT.GTL
Adding Layer : Top Layer
Adding Layer : Multi-Layer
Used DCodes :
D10
D11
D12
D13
D14
D15
D16
D17
D18
D19
D20
D21
D22
D23
D24
D25
D26
D27
*************************************************************
*************************************************************
Generating : Bottom Layer
File : AMSTOMQTT.GBL
Adding Layer : Bottom Layer
Adding Layer : Multi-Layer
Used DCodes :
D16
D18
D19
D20
D21
D22
D23
D24
D25
D26
D27
*************************************************************
*************************************************************
Generating : Bottom Pad Master
File : AMSTOMQTT.GPB
Adding Layer : Bottom Layer
Adding Layer : Multi-Layer
Used DCodes :
D18
D19
D20
D21
D22
D23
D24
D25
D26
*************************************************************
*************************************************************
Generating : Top Pad Master
File : AMSTOMQTT.GPT
Adding Layer : Top Layer
Adding Layer : Multi-Layer
Used DCodes :
D10
D11
D12
D13
D14
D15
D18
D19
D20
D21
D22
D23
D24
D25
D26
*************************************************************
*************************************************************
Generating : Top Overlay
File : AMSTOMQTT.GTO
Adding Layer : Top Overlay
Used DCodes :
D28
D29
D30
D31
D32
D33
D34
D35
D36
*************************************************************
*************************************************************
Generating : Top Paste
File : AMSTOMQTT.GTP
Adding Layer : Top Paste
Adding Layer : Top Layer
Adding Layer : Multi-Layer
Used DCodes :
D10
D11
D12
D13
D14
D15
*************************************************************
*************************************************************
Generating : Top Solder
File : AMSTOMQTT.GTS
Adding Layer : Top Solder
Adding Layer : Top Layer
Adding Layer : Multi-Layer
Used DCodes :
D37
D38
D39
D40
D41
D42
D43
D44
D45
D46
D47
D48
D49
D50
D51
D52
D53
*************************************************************
*************************************************************
Generating : Bottom Solder
File : AMSTOMQTT.GBS
Adding Layer : Bottom Solder
Adding Layer : Bottom Layer
Adding Layer : Multi-Layer
Used DCodes :
D43
D44
D45
D46
D47
D48
D49
D50
D51
D52
D53
*************************************************************
*************************************************************
Generating : Keep-Out Layer
File : AMSTOMQTT.GKO
Adding Layer : Keep-Out Layer
Used DCodes :
D32
*************************************************************
*************************************************************
Generating : Mechanical 1
File : AMSTOMQTT.GM1
Adding Layer : Mechanical 1
Used DCodes :
*************************************************************
*************************************************************
Generating : Mechanical 13
File : AMSTOMQTT.GM13
Adding Layer : Mechanical 13
Used DCodes :
D32
D54
D55
*************************************************************
*************************************************************
Generating : Mechanical 15
File : AMSTOMQTT.GM15
Adding Layer : Mechanical 15
Used DCodes :
D32
D54
D56
*************************************************************

View File

@@ -0,0 +1,5 @@
DRC Rules Export File for PCB: C:\Users\shaper\Downloads\AMSTOMQTT(FINAL)\AMSTOMQTT.PcbDoc
RuleKind=SolderMaskExpansion|RuleName=SolderMaskExpansion|Scope=Board|Minimum=4.00
RuleKind=Width|RuleName=Width|Scope=Board|Minimum=10.00
RuleKind=Clearance|RuleName=Clearance|Scope=Board|Minimum=10.00
RuleKind=ShortCircuit|RuleName=ShortCircuit|Scope=Board|Allowed=1

View File

@@ -0,0 +1,91 @@
M48
;Layer_Color=9474304
;FILE_FORMAT=2:5
INCH,LZ
;TYPE=PLATED
T1F00S00C0.02756
T2F00S00C0.02800
T3F00S00C0.02992
T4F00S00C0.03346
T5F00S00C0.03543
T6F00S00C0.04724
T7F00S00C0.12598
%
T01
X0025Y0012
X00675Y00525
X0077343
X01065Y0051
Y0041157
X0189Y01215
Y01265
Y01315
X0025Y0032
T02
X01599Y01664
T03
X01455Y0055
X01555
X01655
X01755
X01855
X01805Y0065
X01705
X01605
X01505
X01405
T04
X0206Y00995
Y01295
X0189Y01525
X0176
X01625Y0153
X01655Y01445
Y01145
X0166Y00975
Y0088
X0136
Y00975
X0049Y01105
X0036Y01095
Y00795
X0049Y00805
X01625Y0183
X0176Y01825
X0189
X0025Y01955
Y0204
X0055
Y01955
T05
X0204Y0148
Y0158
Y0168
Y0178
X0095Y0108
X0085
X0075
X0065
Y0078
X0075
X0085
X0095
X0023Y0081524
Y0109476
X0159Y0206
X0169
X0204Y0198
Y0188
T06
X0055091Y0118567
Y0136283
Y0165784
Y01835
X00295
Y0165784
Y0136283
Y0118567
T07
X01405Y003
X01855
M30

View File

@@ -0,0 +1,47 @@
D10 RECTANGULAR 39.370 94.488 0.000 FLASH 180.000
D11 RECTANGULAR 129.921 94.488 0.000 FLASH 180.000
D12 RECTANGULAR 88.583 39.370 0.000 FLASH 0.000
D13 RECTANGULAR 82.677 62.992 0.000 FLASH 0.000
D14 RECTANGULAR 15.748 53.150 0.000 FLASH 0.000
D15 RECTANGULAR 70.866 74.803 0.000 FLASH 0.000
D16 ROUNDED 20.000 20.000 0.000 LINE 0.000
D17 ROUNDED 15.000 15.000 0.000 LINE 0.000
D18 ROUNDED 55.118 55.118 0.000 FLASH 0.000
D19 ROUNDED 60.000 60.000 0.000 FLASH 0.000
D20 ROUNDED 47.244 47.244 0.000 FLASH 0.000
D21 RECTANGULAR 59.055 59.055 0.000 FLASH 270.000
D22 ROUNDED 59.055 59.055 0.000 FLASH 0.000
D23 ROUNDED 78.740 39.370 0.000 FLASH 0.000
D24 ROUNDED 78.740 39.370 0.000 FLASH 0.000
D25 RECTANGULAR 59.055 59.055 0.000 FLASH 180.000
D26 ROUNDED 70.866 70.866 0.000 FLASH 0.000
D27 ROUNDED 50.000 50.000 0.000 FLASH 0.000
D28 ROUNDED 7.874 7.874 0.000 LINE 0.000
D29 ROUNDED 9.842 9.842 0.000 LINE 0.000
D30 ROUNDED 23.622 23.622 0.000 LINE 0.000
D31 ROUNDED 11.811 11.811 0.000 LINE 0.000
D32 ROUNDED 10.000 10.000 0.000 LINE 0.000
D33 ROUNDED 0.500 0.500 0.000 LINE 0.000
D34 ROUNDED 6.000 6.000 0.000 LINE 0.000
D35 ROUNDED 5.905 5.905 0.000 LINE 0.000
D36 RECTANGULAR 74.804 31.496 0.000 FLASH 0.000
D37 RECTANGULAR 47.370 102.488 0.000 FLASH 180.000
D38 RECTANGULAR 137.921 102.488 0.000 FLASH 180.000
D39 RECTANGULAR 96.583 47.370 0.000 FLASH 0.000
D40 RECTANGULAR 90.677 70.992 0.000 FLASH 0.000
D41 RECTANGULAR 23.748 61.150 0.000 FLASH 0.000
D42 RECTANGULAR 78.866 82.803 0.000 FLASH 0.000
D43 ROUNDED 63.118 63.118 0.000 FLASH 0.000
D44 ROUNDED 68.000 68.000 0.000 FLASH 0.000
D45 ROUNDED 8.000 8.000 0.000 FLASH 0.000
D46 ROUNDED 55.244 55.244 0.000 FLASH 0.000
D47 RECTANGULAR 67.055 67.055 0.000 FLASH 270.000
D48 ROUNDED 67.055 67.055 0.000 FLASH 0.000
D49 ROUNDED 86.740 47.370 0.000 FLASH 0.000
D50 ROUNDED 86.740 47.370 0.000 FLASH 0.000
D51 RECTANGULAR 67.055 67.055 0.000 FLASH 180.000
D52 ROUNDED 78.866 78.866 0.000 FLASH 0.000
D53 ROUNDED 58.000 58.000 0.000 FLASH 0.000
D54 ROUNDED 3.937 3.937 0.000 LINE 0.000
D55 ROUNDED 2.000 2.000 0.000 LINE 0.000
D56 ROUNDED 1.968 1.968 0.000 LINE 0.000

View File

@@ -0,0 +1,12 @@
Output: NC Drill Files
Type : NC Drill
From : Project [AMSTOMQTT.PrjPcb]
Generated File[AMSTOMQTT.TXT]
Generated File[AMSTOMQTT.LDP]
Generated File[AMSTOMQTT.DRR]
Files Generated : 3
Documents Printed : 0
Finished Output Generation At 2:22:37 PM On 25-Oct-17

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View File

@@ -0,0 +1,52 @@
# Electrical Design
### **!!NOTE!!**
The more mature version of a HAN Port reader is available under the folder [HAN_ESP_TSS721](../HAN_ESP_TSS721). The main difference in these two versions are that this one is using a proprietary (but simpler) circuit for the M-bus to TTL
conversion and has very limited resources available for doing work on the schematics and PCB. The [HAN_ESP_TSS721](../HAN_ESP_TSS721) is using a TSS721 circuit
from Texas Instruments, specifically designed for M-bus to TTL conversion. Also
all design is available for you in a [KiCad](https://www.kicad-pcb.org) format.
## Explained
The design is using an opamp as a compined level converter and a schmitt trigger, in order to convert
the HAN signal into a 3.3V compatible serial format. As the input levels on the opamp is much higher
than our 5V supply, we are rectifying and smoothing the HAN signal to use for a supply here. (VDD)
As a power source, we've used a micro USB connector, providing 5V, just as this is cheap and easy. However,
no part of the circuit will need any other power than the 3.3V, so any combination of power source and
regulator that provides the 3.3V will do.
The ESP8266 setup is a rather standaraized setup and will allow for programming the ESP directly on the
board, if needed. During programming, it might be neccessary to disconnect the incoming HAN.
### **!!important changes!!**
> * R8 should not be used
> * The two unused inputs on the LM358 should be grounded (Pin 5 and 6)
## Schematics
![Schematics](./Schematics.PNG)
## PCB
![PCB](./PCB.PNG)
## Componenet list
Name | Value | Part
-----|------|-----
C1|10uF/25V|[P5148-ND](https://www.digikey.no/product-detail/en/panasonic-electronic-components/ECA-1EM100/P5148-ND/245007)
C2|100nF|[BC1101CT-ND](https://www.digikey.no/product-detail/en/vishay-bc-components/K104K10X7RF5UH5/BC2665CT-ND/2356879)
C3|220uF/35V|[1572-1706-ND](https://www.digikey.no/product-detail/en/illinois-capacitor/227CKS035M/1572-1706-ND/5411729)
D1|1N4148|[1N4148FS-ND](https://www.digikey.no/product-detail/en/fairchild-on-semiconductor/1N4148/1N4148FS-ND/458603)
P1||[609-4613-1-ND](https://www.digikey.no/product-detail/en/amphenol-fci/10118192-0001LF/609-4613-1-ND/2785378)
P2|Female|[S7004-ND](https://www.digikey.no/product-detail/en/sullins-connector-solutions/PPTC061LFBN-RC/S7004-ND/810145)
P3|Male|[952-2262-ND](https://www.digikey.no/product-detail/en/harwin-inc/M20-9990246/952-2262-ND/3728226)
P4||[609-1047-ND](https://www.digikey.no/product-detail/en/amphenol-fci/54602-910LF/609-1047-ND/1001361)
Q1|BC337|[BC33725TACT-ND](https://www.digikey.no/product-detail/en/fairchild-on-semiconductor/BC33725TA/BC33725TACT-ND/1532787)
R1-5,10,11|10K|[CF14JT10K0CT-ND](https://www.digikey.no/product-detail/en/stackpole-electronics-inc/CF14JT10K0/CF14JT10K0CT-ND/1830374)
R8|100K|[CF14JT100KCT-ND](https://www.digikey.no/product-detail/en/stackpole-electronics-inc/CF14JT100K/CF14JT100KCT-ND/1830399)
R9|330R|[CF14JT330RCT-ND](https://www.digikey.no/product-detail/en/stackpole-electronics-inc/CF14JT330R/CF14JT330RCT-ND/1830338)
R12,13|47K|[CF14JT47K0CT-ND](https://www.digikey.no/product-detail/en/stackpole-electronics-inc/CF14JT47K0/CF14JT47K0CT-ND/1830391)
S1,2||[450-1650-ND](https://www.digikey.no/product-detail/en/te-connectivity-alcoswitch-switches/1825910-6/450-1650-ND/1632536)
U2|LM1117-3.3|[LM1117IMPX-3.3/NOPBCT-ND](https://www.digikey.no/product-detail/en/texas-instruments/LM1117IMPX-3.3-NOPB/LM1117IMPX-3.3-NOPBCT-ND/3440160)
U3|LM358|[LM358NGOS-ND](https://www.digikey.no/product-detail/en/on-semiconductor/LM358NG/LM358NGOS-ND/918519)
Note: The ESP8266 is not included here. It can easily be found on ebay etc

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

View File

@@ -0,0 +1,3 @@
*.kicad_pcb-bak
*.bak
*.bck

View File

@@ -0,0 +1,126 @@
# Overview
This represents an alernative PCB for interfacing the HAN M-bus connector
on AMS meters.
The biggest difference between this board and [the original board](../Board_001)
is that this board supports communication over a physical wire.
So you can for instance use this board together with an arduino to make
a robust watt-meter display that will never fail because of connection
issues (unlike wifi).
This solution uses the industry standard chip for M-bus communication,
[TSS721A](http://www.ti.com/lit/ds/symlink/tss721a.pdf) with full
galvanic isolation to the bus, e.g. connecting a cable from this PCB
to a mains connected PC for instance will not result in a [ground
loop](https://en.wikipedia.org/wiki/Ground_loop_%28electricity%29).
The schematic and drawings are made with
[KiCad](http://www.kicad-pcb.org/).
# Scope
## Software
Reuse existing [code](../../Code).
## Hardware
Only support receiving transmitted serial data from the bus since the
Kamstrup AMS meters have no physical support for receiving anything.
The primary use case is to be a shield on an Arduino board (e.g. Uno or
Leonardo). A standalone ATtiny version would be nice to have as well.
Support daisy-chaining multiple units on the bus.
# Status
This is unfinished work, currently just started.
# Future
First phase is only supporting converting M-Bus data to serial I/O.
Support for ethernet or USB will be implicit via Arduino/shields. Later
standalone versions with ATTiny will be most useful by including
ethernet/usb support directly.
## Step 1
Create a simple M-Bus master simulator (transmit only) that takes
serial data and modulates onto the bus. Write arduino code to send a
test pattern and verify on oscilloscope.
https://electronics.stackexchange.com/questions/99388/designing-a-m-bus-master-up-to-10-slaves/99390#99390
https://electronics.stackexchange.com/a/214477/568
## Step 2
Connect the TSS721A chip with all required components with a optocoupler
between it and Arduino (e.g. M-Bus to TTL conversion). Connect with the
simulator from step 1 and verify that received data equals the data sendt.
Possibly also test with off-the-shelf M-Bus to TTL conversion hardware
for comparison.
## Step 3
Finish PCB design to be a usable Arduino shield. Integrate the
AmsToMqttBridge software. Display received data on LCD.
## Step 4
Put code onto ATTiny on a standalone board with support for either USB
or ethernet.
The MCP2221 is an inexpensive<sup>1</sup> USB to serial chip that people
[seems](https://www.element14.com/community/groups/open-source-hardware/blog/2016/02/01/implementing-non-ftdi-usb-to-uart-serial-interfaces)
[very](http://www.eevblog.com/forum/reviews/alternatives-to-ftdi-usb-to-uart-converter/)
[satisfied](https://hackaday.io/project/18845-usb-serial-uart)
[with](https://hackaday.com/2016/03/04/dual-uarti2c-breakout-goes-both-ways/).
It does [not](http://blog.zakkemble.co.uk/mcp2221-hid-library/)
[achieve](https://hackaday.com/2017/05/31/counterfeit-hardware-may-lead-to-malware-and-failure/#comment-3636318)
the maximum speeds is theoretically supports, but that is irrelevant for
this project. This board should then be powered by USB, both in that that
is the most natural and convinient choice and that if not then apparently
MCP2221 needs some additional electronics in order to [work properly as
an USB device](https://electronics.stackexchange.com/a/323551/568).
For ethernet the
[ENC28J60](http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en022889)
chip seems to be the
[go](https://www.reddit.com/r/arduino/comments/18pw59/diycheap_ethernet_shields/)
[to](https://www.open-electronics.org/low-cost-ethernet-shield-with-enc28j60/)
[solution](http://www.instructables.com/id/A-credit-card-sized-Ethernet-Arduino-compatable-co/)
[for](https://www.pocketmagic.net/atmega8-and-enc28j60-for-ethernet-support/)
[inexpensive](http://tuxgraphics.org/electronics/200606/article06061.shtml)<sup>2</sup>
DYI solutions. It only supports 10Mpbs, but that is more than
good engough for pushing out MQTT messages. It draws a significant
amount of current (~120mA or more) and gets gets hot so it might
need heatsinking, but that is an [inherent problem with all ethernet
controlles](https://electronics.stackexchange.com/questions/52349/why-is-ethernet-so-power-hungry).
# Schematic
![](shield1.png?raw=true)
![](mbus-receiver-opto.png?raw=true)
# PCB
None yet.
-------------------
<sup>1</sup> Less than 20 NOK at [Elfa
Distrelec](https://www.elfadistrelec.no/en/interface-ic-uart-usb-so-14-microchip-mcp2221-sl/p/11087556),
cheaper elsewhere.
<sup>2</sup> 20-30 NOK for the
[chip](https://www.elfadistrelec.no/search?q=ENC28J60&filter_Category1=&filter_Category1=&filter_Category1=&filter_Category1=&filter_Category1=),
from 30-40 NOK for the
[connector](https://www.elfadistrelec.no/search?q=magjack&filter_Category1=&filter_Category1=&filter_Category1=&filter_Category1=&filter_Category1=&sort=Price:asc&page=1).

View File

@@ -0,0 +1,12 @@
(module Arduino_1pin (layer F.Cu) (tedit 0)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(fp_text reference REF** (at 0 -3.048) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 1pin (at 0 2.794) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS))
)

View File

@@ -0,0 +1,32 @@
(module Socket_Strip_Arduino_1x06 (layer F.Cu) (tedit 551AF7D9)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x06 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 14.45 -1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 14.45 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 13.97 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 1.27) (end 13.97 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x06.wrl
(at (xyz 0.25 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

View File

@@ -0,0 +1,34 @@
(module Socket_Strip_Arduino_1x08 (layer F.Cu) (tedit 551AF8B3)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x08 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

View File

@@ -0,0 +1,36 @@
(module Socket_Strip_Arduino_1x10 (layer F.Cu) (tedit 551AF8D9)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x10 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 24.65 -1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 24.65 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 24.13 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 1.27) (end 24.13 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 9 thru_hole oval (at 20.32 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 10 thru_hole oval (at 22.86 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x10.wrl
(at (xyz 0.45 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
(fp_lib_table
(lib (name Socket_Arduino_Uno)(type KiCad)(uri "$(KIPRJMOD)\\Socket_Arduino_Uno.pretty")(options "")(descr ""))
)

View File

@@ -0,0 +1,8 @@
EESchema-DOCLIB Version 2.0
#
$CMP TSS721A
D Meter-Bus transeiver
K M-Bus
$ENDCMP
#
#End Doc Library

View File

@@ -0,0 +1,60 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# TSS721A
#
DEF TSS721A U 0 40 Y Y 1 F N
F0 "U" 0 800 60 H V C CNN
F1 "TSS721A" -25 -50 60 H V C CNN
F2 "" 150 -850 60 H I C CNN
F3 "" 150 -850 60 H I C CNN
DRAW
S -900 -850 900 650 0 1 0 N
P 2 0 1 0 -750 -350 -625 -350 N
P 2 0 1 0 -725 -500 -600 -500 N
P 2 0 1 0 -725 -50 -600 -50 N
P 2 0 1 0 -725 100 -600 100 N
P 2 0 1 0 -725 250 -600 250 N
P 2 0 1 0 -700 -200 -575 -200 N
P 2 0 1 0 -700 400 -575 400 N
P 2 0 1 0 -675 550 -550 550 N
P 2 0 1 0 -500 -650 -500 -525 N
P 2 0 1 0 -250 -675 -250 -550 N
P 2 0 1 0 250 -600 250 -475 N
P 2 0 1 0 500 -650 500 -525 N
P 2 0 1 0 600 -150 475 -150 N
P 2 0 1 0 600 350 475 350 N
P 3 0 1 0 -725 -325 -750 -350 -725 -375 N
P 3 0 1 0 -700 -475 -725 -500 -700 -525 N
P 3 0 1 0 -700 125 -725 100 -700 75 N
P 3 0 1 0 -700 275 -725 250 -700 225 N
P 3 0 1 0 -650 525 -675 550 -650 575 N
P 3 0 1 0 -625 -25 -600 -50 -625 -75 N
P 3 0 1 0 -600 -175 -575 -200 -600 -225 N
P 3 0 1 0 -600 425 -575 400 -600 375 N
P 3 0 1 0 -475 -625 -500 -650 -525 -625 N
P 3 0 1 0 -225 -650 -250 -675 -275 -650 N
P 3 0 1 0 275 -575 250 -600 225 -575 N
P 3 0 1 0 500 -125 475 -150 500 -175 N
P 3 0 1 0 500 375 475 350 500 325 N
P 3 0 1 0 525 -625 500 -650 475 -625 N
X BUSL2 1 1100 350 200 L 50 50 1 1 I
X VB 2 1100 100 200 L 50 50 1 1 w
X STC 3 500 -1050 200 U 50 50 1 1 w
X RIDD 4 250 -1050 200 U 50 50 1 1 O
X ~PF 5 -1100 100 200 R 50 50 1 1 O
X SC 6 -250 -1050 200 U 50 50 1 1 w
X ~TXI 7 -1100 -500 200 R 50 50 1 1 O
X TX 8 -1100 -350 200 R 50 50 1 1 O
X BAT 9 -1100 400 200 R 50 50 1 1 W
X VS 10 -1100 250 200 R 50 50 1 1 O
X VDD 11 -1100 550 200 R 50 50 1 1 w
X RX 12 -1100 -50 200 R 50 50 1 1 I
X ~RXI 13 -1100 -200 200 R 50 50 1 1 I
X RIS 14 -500 -1050 200 U 50 50 1 1 O
X GNG 15 0 -1050 200 U 50 50 1 1 W
X BUSL1 16 1100 -150 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -0,0 +1,367 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
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:amstomqtt
LIBS:shield1-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 2
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text HLabel 9200 3150 2 60 Input ~ 0
MBUS_SIGNAL
Text HLabel 9200 3650 2 60 Input ~ 0
MBUS_GND
Text HLabel 3250 3100 0 60 Input ~ 0
TTL_TX_COLL
$Comp
L TSS721A U2
U 1 1 5A611A62
P 7150 3500
F 0 "U2" H 7150 4300 60 0000 C CNN
F 1 "TSS721A" H 7125 3450 60 0000 C CNN
F 2 "" H 7300 2650 60 0001 C CNN
F 3 "" H 7300 2650 60 0001 C CNN
1 7150 3500
1 0 0 -1
$EndComp
Text Label 9050 3650 3 60 ~ 0
MGND
Text Label 7150 5350 3 60 ~ 0
MGND
Wire Wire Line
7150 4550 7150 5350
$Comp
L R R5
U 1 1 5A611BDA
P 5700 3550
F 0 "R5" V 5780 3550 50 0000 C CNN
F 1 "100k" V 5700 3550 50 0000 C CNN
F 2 "" V 5630 3550 50 0001 C CNN
F 3 "" H 5700 3550 50 0001 C CNN
1 5700 3550
0 1 1 0
$EndComp
$Comp
L R R6
U 1 1 5A611C0E
P 5700 3700
F 0 "R6" V 5780 3700 50 0000 C CNN
F 1 "100k" V 5700 3700 50 0000 C CNN
F 2 "" V 5630 3700 50 0001 C CNN
F 3 "" H 5700 3700 50 0001 C CNN
1 5700 3700
0 1 1 0
$EndComp
Wire Wire Line
5850 3700 6050 3700
Wire Wire Line
5850 3550 6050 3550
Wire Wire Line
5350 3550 5550 3550
Wire Wire Line
5350 3700 5550 3700
Text Label 5350 3700 2 60 ~ 0
MGND
$Comp
L R R4
U 1 1 5A611DAD
P 5700 3400
F 0 "R4" V 5780 3400 50 0000 C CNN
F 1 "100k" V 5700 3400 50 0000 C CNN
F 2 "" V 5630 3400 50 0001 C CNN
F 3 "" H 5700 3400 50 0001 C CNN
1 5700 3400
0 1 1 0
$EndComp
$Comp
L R R3
U 1 1 5A611DD7
P 5700 3250
F 0 "R3" V 5780 3250 50 0000 C CNN
F 1 "100k" V 5700 3250 50 0000 C CNN
F 2 "" V 5630 3250 50 0001 C CNN
F 3 "" H 5700 3250 50 0001 C CNN
1 5700 3250
0 1 1 0
$EndComp
Wire Wire Line
6050 3250 5850 3250
Wire Wire Line
5850 3400 6050 3400
Wire Wire Line
5550 3400 5350 3400
Wire Wire Line
5350 3250 5550 3250
Wire Wire Line
6050 1500 6050 3100
$Comp
L CP C3
U 1 1 5A61201F
P 7650 4850
F 0 "C3" H 7675 4950 50 0000 L CNN
F 1 "CP" H 7675 4750 50 0000 L CNN
F 2 "" H 7688 4700 50 0001 C CNN
F 3 "" H 7650 4850 50 0001 C CNN
1 7650 4850
1 0 0 -1
$EndComp
Wire Wire Line
7650 4550 7650 4700
$Comp
L R R10
U 1 1 5A61220B
P 7400 4850
F 0 "R10" V 7480 4850 50 0000 C CNN
F 1 "R" V 7400 4850 50 0000 C CNN
F 2 "" V 7330 4850 50 0001 C CNN
F 3 "" H 7400 4850 50 0001 C CNN
1 7400 4850
1 0 0 -1
$EndComp
Wire Wire Line
7400 4550 7400 4700
Wire Wire Line
7400 5200 7400 5000
Wire Wire Line
6650 5200 7650 5200
Connection ~ 7150 5200
Wire Wire Line
7650 5200 7650 5000
Connection ~ 7400 5200
$Comp
L R R7
U 1 1 5A6127A2
P 5700 4000
F 0 "R7" V 5780 4000 50 0000 C CNN
F 1 "100k" V 5700 4000 50 0000 C CNN
F 2 "" V 5630 4000 50 0001 C CNN
F 3 "" H 5700 4000 50 0001 C CNN
1 5700 4000
0 1 1 0
$EndComp
Wire Wire Line
5850 4000 6050 4000
Wire Wire Line
5550 4000 5350 4000
Text Label 5350 4000 2 60 ~ 0
MGND
$Comp
L LTV-356T U1
U 1 1 5A612A13
P 4000 3200
F 0 "U1" H 3790 3390 50 0000 L CNN
F 1 "LTV-356T" H 4000 3400 50 0000 L CNN
F 2 "Housings_SOIC:SO-4_4.4x3.6mm_Pitch2.54mm" H 3800 3000 50 0001 L CIN
F 3 "" H 4000 3200 50 0001 L CNN
1 4000 3200
-1 0 0 -1
$EndComp
Text HLabel 3250 3300 0 60 Input ~ 0
TTL_TX_EMIT
Wire Wire Line
3250 3100 3700 3100
Wire Wire Line
3250 3300 3700 3300
$Comp
L R R2
U 1 1 5A612D72
P 4300 3600
F 0 "R2" V 4380 3600 50 0000 C CNN
F 1 "R" V 4300 3600 50 0000 C CNN
F 2 "" V 4230 3600 50 0001 C CNN
F 3 "" H 4300 3600 50 0001 C CNN
1 4300 3600
1 0 0 -1
$EndComp
Wire Wire Line
4300 3850 6050 3850
Wire Wire Line
4300 3850 4300 3750
Wire Wire Line
4300 3450 4300 3300
$Comp
L TEST_1P J4
U 1 1 5A613111
P 4600 3700
F 0 "J4" H 4600 3970 50 0000 C CNN
F 1 "TEST_1P" H 4600 3900 50 0000 C CNN
F 2 "" H 4800 3700 50 0001 C CNN
F 3 "" H 4800 3700 50 0001 C CNN
1 4600 3700
1 0 0 -1
$EndComp
Wire Wire Line
4300 2400 4300 3100
Wire Wire Line
4300 2550 1950 2550
Wire Wire Line
1950 2550 1950 6100
Wire Wire Line
1950 6100 8150 6100
Wire Wire Line
8150 6100 8150 4650
Wire Wire Line
8150 4650 7650 4650
Connection ~ 7650 4650
Wire Wire Line
5350 3250 5350 3700
Connection ~ 5350 3400
Connection ~ 5350 3550
NoConn ~ 8250 3400
$Comp
L C C2
U 1 1 5A6138A2
P 7000 1800
F 0 "C2" H 7025 1900 50 0000 L CNN
F 1 "C" H 7025 1700 50 0000 L CNN
F 2 "" H 7038 1650 50 0001 C CNN
F 3 "" H 7000 1800 50 0001 C CNN
1 7000 1800
1 0 0 -1
$EndComp
$Comp
L R R9
U 1 1 5A6138F1
P 6700 1800
F 0 "R9" V 6780 1800 50 0000 C CNN
F 1 "R" V 6700 1800 50 0000 C CNN
F 2 "" V 6630 1800 50 0001 C CNN
F 3 "" H 6700 1800 50 0001 C CNN
1 6700 1800
1 0 0 -1
$EndComp
Wire Wire Line
7000 1950 7000 2100
Text Label 7000 2100 3 60 ~ 0
MGND
Wire Wire Line
6700 1950 6700 2000
Wire Wire Line
6700 2000 7000 2000
Connection ~ 7000 2000
Wire Wire Line
6050 1500 7000 1500
Wire Wire Line
7000 1500 7000 1650
Connection ~ 6050 2950
Wire Wire Line
6700 1650 6700 1500
Connection ~ 6700 1500
Text Notes 7200 1850 0 60 ~ 0
C_VDD
Text Notes 6300 1850 0 60 ~ 0
R_LOAD
$Comp
L TEST_1P J3
U 1 1 5A6141FE
P 4300 2400
F 0 "J3" H 4300 2670 50 0000 C CNN
F 1 "TEST_1P" H 4300 2600 50 0000 C CNN
F 2 "" H 4500 2400 50 0001 C CNN
F 3 "" H 4500 2400 50 0001 C CNN
1 4300 2400
1 0 0 -1
$EndComp
$Comp
L R R11
U 1 1 5A614833
P 8700 3150
F 0 "R11" V 8780 3150 50 0000 C CNN
F 1 "220" V 8700 3150 50 0000 C CNN
F 2 "" V 8630 3150 50 0001 C CNN
F 3 "" H 8700 3150 50 0001 C CNN
1 8700 3150
0 1 1 0
$EndComp
$Comp
L R R12
U 1 1 5A6148F9
P 8700 3650
F 0 "R12" V 8780 3650 50 0000 C CNN
F 1 "220" V 8700 3650 50 0000 C CNN
F 2 "" V 8630 3650 50 0001 C CNN
F 3 "" H 8700 3650 50 0001 C CNN
1 8700 3650
0 1 1 0
$EndComp
$Comp
L C C1
U 1 1 5A615080
P 6900 4850
F 0 "C1" H 6925 4950 50 0000 L CNN
F 1 "C" H 6925 4750 50 0000 L CNN
F 2 "" H 6938 4700 50 0001 C CNN
F 3 "" H 6900 4850 50 0001 C CNN
1 6900 4850
1 0 0 -1
$EndComp
Wire Wire Line
6900 4550 6900 4700
Wire Wire Line
6900 5000 6900 5200
$Comp
L R R8
U 1 1 5A615354
P 6650 4850
F 0 "R8" V 6730 4850 50 0000 C CNN
F 1 "R" V 6650 4850 50 0000 C CNN
F 2 "" V 6580 4850 50 0001 C CNN
F 3 "" H 6650 4850 50 0001 C CNN
1 6650 4850
1 0 0 -1
$EndComp
Wire Wire Line
6650 4550 6650 4700
Wire Wire Line
6650 5000 6650 5200
Connection ~ 6900 5200
Wire Wire Line
4600 3700 4600 3850
Connection ~ 4600 3850
Connection ~ 4300 2550
Wire Wire Line
8250 3150 8550 3150
Wire Wire Line
8850 3150 9200 3150
Wire Wire Line
9200 3650 8850 3650
Wire Wire Line
8250 3650 8550 3650
$EndSCHEMATC

View File

@@ -0,0 +1,418 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# +3V3
#
DEF +3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# +5V
#
DEF +5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "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
#
# CONN_01X01
#
DEF CONN_01X01 P 0 40 Y N 1 F N
F0 "P" 0 100 50 H V C CNN
F1 "CONN_01X01" 100 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Pin_Header_Straight_1X01
Pin_Header_Angled_1X01
Socket_Strip_Straight_1X01
Socket_Strip_Angled_1X01
$ENDFPLIST
DRAW
S -50 5 10 -5 0 1 0 N
S -50 50 50 -50 0 1 0 N
X P1 1 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X06
#
DEF CONN_01X06 P 0 40 Y N 1 F N
F0 "P" 0 350 50 H V C CNN
F1 "CONN_01X06" 100 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Pin_Header_Straight_1X06
Pin_Header_Angled_1X06
Socket_Strip_Straight_1X06
Socket_Strip_Angled_1X06
$ENDFPLIST
DRAW
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 300 50 -300 0 1 0 N
X P1 1 -200 250 150 R 50 50 1 1 P
X P2 2 -200 150 150 R 50 50 1 1 P
X P3 3 -200 50 150 R 50 50 1 1 P
X P4 4 -200 -50 150 R 50 50 1 1 P
X P5 5 -200 -150 150 R 50 50 1 1 P
X P6 6 -200 -250 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X08
#
DEF CONN_01X08 P 0 40 Y N 1 F N
F0 "P" 0 450 50 H V C CNN
F1 "CONN_01X08" 100 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Pin_Header_Straight_1X08
Pin_Header_Angled_1X08
Socket_Strip_Straight_1X08
Socket_Strip_Angled_1X08
$ENDFPLIST
DRAW
S -50 -400 50 400 0 1 0 N
S -50 -345 10 -355 0 1 0 N
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 355 10 345 0 1 0 N
X P1 1 -200 350 150 R 50 50 1 1 P
X P2 2 -200 250 150 R 50 50 1 1 P
X P3 3 -200 150 150 R 50 50 1 1 P
X P4 4 -200 50 150 R 50 50 1 1 P
X P5 5 -200 -50 150 R 50 50 1 1 P
X P6 6 -200 -150 150 R 50 50 1 1 P
X P7 7 -200 -250 150 R 50 50 1 1 P
X P8 8 -200 -350 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X10
#
DEF CONN_01X10 P 0 40 Y N 1 F N
F0 "P" 0 550 50 H V C CNN
F1 "CONN_01X10" 100 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Pin_Header_Straight_1X10
Pin_Header_Angled_1X10
Socket_Strip_Straight_1X10
Socket_Strip_Angled_1X10
$ENDFPLIST
DRAW
S -50 -445 10 -455 0 1 0 N
S -50 -345 10 -355 0 1 0 N
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 355 10 345 0 1 0 N
S -50 455 10 445 0 1 0 N
S -50 500 50 -500 0 1 0 N
X P1 1 -200 450 150 R 50 50 1 1 P
X P2 2 -200 350 150 R 50 50 1 1 P
X P3 3 -200 250 150 R 50 50 1 1 P
X P4 4 -200 150 150 R 50 50 1 1 P
X P5 5 -200 50 150 R 50 50 1 1 P
X P6 6 -200 -50 150 R 50 50 1 1 P
X P7 7 -200 -150 150 R 50 50 1 1 P
X P8 8 -200 -250 150 R 50 50 1 1 P
X P9 9 -200 -350 150 R 50 50 1 1 P
X P10 10 -200 -450 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CP
#
DEF CP C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "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
#
# 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
#
# 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
#
# LED
#
DEF LED D 0 40 Y N 1 F N
F0 "D" 0 100 50 H V C CNN
F1 "LED" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
LED*
$ENDFPLIST
DRAW
P 2 0 1 8 -50 -50 -50 50 N
P 2 0 1 0 -50 0 50 0 N
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
P 5 0 1 0 -120 -30 -180 -90 -150 -90 -180 -90 -180 -60 N
P 5 0 1 0 -70 -30 -130 -90 -100 -90 -130 -90 -130 -60 N
X K 1 -150 0 100 R 50 50 1 1 P
X A 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# LTV-356T
#
DEF LTV-356T U 0 40 Y Y 1 F N
F0 "U" -210 190 50 H V L CNN
F1 "LTV-356T" 0 200 50 H V L CNN
F2 "Housings_SOIC:SO-4_4.4x3.6mm_Pitch2.54mm" -200 -200 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS LTV-357T LTV-358T
$FPLIST
DIP*W7.62mm*SMD*
$ENDFPLIST
DRAW
S -200 150 200 -150 0 1 10 f
P 2 0 1 10 -125 -25 -75 -25 N
P 2 0 1 0 100 25 175 100 N
P 2 0 1 0 175 -100 100 -25 F
P 2 0 1 0 175 -100 200 -100 N
P 2 0 1 0 175 100 200 100 N
P 3 0 1 0 -200 100 -100 100 -100 25 N
P 3 0 1 0 -100 -25 -100 -100 -200 -100 N
P 3 0 1 20 100 75 100 -75 100 -75 N
P 4 0 1 10 -100 -25 -125 25 -75 25 -100 -25 F
P 5 0 1 0 -20 -20 30 -20 15 -25 15 -15 30 -20 N
P 5 0 1 0 -20 20 30 20 15 15 15 25 30 20 N
P 5 0 1 0 120 -65 140 -45 160 -85 120 -65 120 -65 F
X ~ 1 -300 100 100 R 50 50 1 1 P
X ~ 2 -300 -100 100 R 50 50 1 1 P
X ~ 3 300 -100 100 L 50 50 1 1 P
X ~ 4 300 100 100 L 50 50 1 1 P
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
#
# RJ45
#
DEF RJ45 J 0 40 Y Y 1 F N
F0 "J" 200 500 50 H V C CNN
F1 "RJ45" -150 500 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
S -400 -300 400 450 0 1 10 f
P 3 0 1 0 -175 200 -175 250 -175 250 N
P 3 0 1 0 -125 250 -125 200 -125 200 N
P 3 0 1 0 -75 250 -75 200 -75 200 N
P 3 0 1 0 -25 250 -25 200 -25 200 N
P 3 0 1 0 25 250 25 200 25 200 N
P 3 0 1 0 75 250 75 200 75 200 N
P 3 0 1 0 125 200 125 250 125 250 N
P 3 0 1 0 175 200 175 250 175 250 N
P 14 0 1 0 -225 250 225 250 225 -150 125 -150 125 -200 75 -200 75 -250 -75 -250 -75 -200 -125 -200 -125 -150 -225 -150 -225 250 -225 250 N
X ~ 1 -350 -450 150 U 50 50 1 1 P
X ~ 2 -250 -450 150 U 50 50 1 1 P
X ~ 3 -150 -450 150 U 50 50 1 1 P
X ~ 4 -50 -450 150 U 50 50 1 1 P
X ~ 5 50 -450 150 U 50 50 1 1 P
X ~ 6 150 -450 150 U 50 50 1 1 P
X ~ 7 250 -450 150 U 50 50 1 1 P
X ~ 8 350 -450 150 U 50 50 1 1 P
X SHIELD 9 550 350 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# TEST_1P
#
DEF TEST_1P J 0 30 N N 1 F N
F0 "J" 0 270 50 H V C CNN
F1 "TEST_1P" 0 200 50 H V C CNN
F2 "" 200 0 50 H I C CNN
F3 "" 200 0 50 H I C CNN
DRAW
C 0 130 30 0 1 0 N
X 1 1 0 0 100 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# TSS721A
#
DEF TSS721A U 0 40 Y Y 1 F N
F0 "U" 0 800 60 H V C CNN
F1 "TSS721A" -25 -50 60 H V C CNN
F2 "" 150 -850 60 H I C CNN
F3 "" 150 -850 60 H I C CNN
DRAW
S -900 -850 900 650 0 1 0 N
P 2 0 1 0 -750 -350 -625 -350 N
P 2 0 1 0 -725 -500 -600 -500 N
P 2 0 1 0 -725 -50 -600 -50 N
P 2 0 1 0 -725 100 -600 100 N
P 2 0 1 0 -725 250 -600 250 N
P 2 0 1 0 -700 -200 -575 -200 N
P 2 0 1 0 -700 400 -575 400 N
P 2 0 1 0 -675 550 -550 550 N
P 2 0 1 0 -500 -650 -500 -525 N
P 2 0 1 0 -250 -675 -250 -550 N
P 2 0 1 0 250 -600 250 -475 N
P 2 0 1 0 500 -650 500 -525 N
P 2 0 1 0 600 -150 475 -150 N
P 2 0 1 0 600 350 475 350 N
P 3 0 1 0 -725 -325 -750 -350 -725 -375 N
P 3 0 1 0 -700 -475 -725 -500 -700 -525 N
P 3 0 1 0 -700 125 -725 100 -700 75 N
P 3 0 1 0 -700 275 -725 250 -700 225 N
P 3 0 1 0 -650 525 -675 550 -650 575 N
P 3 0 1 0 -625 -25 -600 -50 -625 -75 N
P 3 0 1 0 -600 -175 -575 -200 -600 -225 N
P 3 0 1 0 -600 425 -575 400 -600 375 N
P 3 0 1 0 -475 -625 -500 -650 -525 -625 N
P 3 0 1 0 -225 -650 -250 -675 -275 -650 N
P 3 0 1 0 275 -575 250 -600 225 -575 N
P 3 0 1 0 500 -125 475 -150 500 -175 N
P 3 0 1 0 500 375 475 350 500 325 N
P 3 0 1 0 525 -625 500 -650 475 -625 N
X BUSL2 1 1100 350 200 L 50 50 1 1 I
X VB 2 1100 100 200 L 50 50 1 1 w
X STC 3 500 -1050 200 U 50 50 1 1 w
X RIDD 4 250 -1050 200 U 50 50 1 1 O
X ~PF 5 -1100 100 200 R 50 50 1 1 O
X SC 6 -250 -1050 200 U 50 50 1 1 w
X ~TXI 7 -1100 -500 200 R 50 50 1 1 O
X TX 8 -1100 -350 200 R 50 50 1 1 O
X BAT 9 -1100 400 200 R 50 50 1 1 W
X VS 10 -1100 250 200 R 50 50 1 1 O
X VDD 11 -1100 550 200 R 50 50 1 1 w
X RX 12 -1100 -50 200 R 50 50 1 1 I
X ~RXI 13 -1100 -200 200 R 50 50 1 1 I
X RIS 14 -500 -1050 200 U 50 50 1 1 O
X GNG 15 0 -1050 200 U 50 50 1 1 W
X BUSL1 16 1100 -150 200 L 50 50 1 1 I
ENDDRAW
ENDDEF
#
#End Library

View File

@@ -0,0 +1,439 @@
(kicad_pcb (version 4) (host pcbnew 4.0.7)
(general
(links 4)
(no_connects 4)
(area 104.572999 71.542 182.071334 127.694)
(thickness 1.6)
(drawings 19)
(tracks 0)
(zones 0)
(modules 8)
(nets 33)
)
(page A4)
(title_block
(date "lun. 30 mars 2015")
)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.25)
(trace_clearance 0.2)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.2)
(segment_width 0.15)
(edge_width 0.15)
(via_size 0.6)
(via_drill 0.4)
(via_min_size 0.4)
(via_min_drill 0.3)
(uvia_size 0.3)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0.2)
(uvia_min_drill 0.1)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.15)
(mod_text_size 1 1)
(mod_text_width 0.15)
(pad_size 4.064 4.064)
(pad_drill 3.048)
(pad_to_mask_clearance 0)
(aux_axis_origin 110.998 126.365)
(grid_origin 110.998 126.365)
(visible_elements FFFFFF7F)
(pcbplotparams
(layerselection 0x00030_80000001)
(usegerberextensions false)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15)
(hpglpenoverlay 2)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory ""))
)
(net 0 "")
(net 1 /IOREF)
(net 2 /Reset)
(net 3 +5V)
(net 4 GND)
(net 5 /Vin)
(net 6 /A0)
(net 7 /A1)
(net 8 /A2)
(net 9 /A3)
(net 10 /AREF)
(net 11 "/A4(SDA)")
(net 12 "/A5(SCL)")
(net 13 "/9(**)")
(net 14 /8)
(net 15 /7)
(net 16 "/6(**)")
(net 17 "/5(**)")
(net 18 /4)
(net 19 "/3(**)")
(net 20 /2)
(net 21 "/1(Tx)")
(net 22 "/0(Rx)")
(net 23 "Net-(P5-Pad1)")
(net 24 "Net-(P6-Pad1)")
(net 25 "Net-(P7-Pad1)")
(net 26 "Net-(P8-Pad1)")
(net 27 "/13(SCK)")
(net 28 "/10(**/SS)")
(net 29 "Net-(P1-Pad1)")
(net 30 +3V3)
(net 31 "/12(MISO)")
(net 32 "/11(**/MOSI)")
(net_class Default "This is the default net class."
(clearance 0.2)
(trace_width 0.25)
(via_dia 0.6)
(via_drill 0.4)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net +3V3)
(add_net +5V)
(add_net "/0(Rx)")
(add_net "/1(Tx)")
(add_net "/10(**/SS)")
(add_net "/11(**/MOSI)")
(add_net "/12(MISO)")
(add_net "/13(SCK)")
(add_net /2)
(add_net "/3(**)")
(add_net /4)
(add_net "/5(**)")
(add_net "/6(**)")
(add_net /7)
(add_net /8)
(add_net "/9(**)")
(add_net /A0)
(add_net /A1)
(add_net /A2)
(add_net /A3)
(add_net "/A4(SDA)")
(add_net "/A5(SCL)")
(add_net /AREF)
(add_net /IOREF)
(add_net /Reset)
(add_net /Vin)
(add_net GND)
(add_net "Net-(P1-Pad1)")
(add_net "Net-(P5-Pad1)")
(add_net "Net-(P6-Pad1)")
(add_net "Net-(P7-Pad1)")
(add_net "Net-(P8-Pad1)")
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 locked (layer F.Cu) (tedit 552168D2) (tstamp 551AF9EA)
(at 138.938 123.825)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D70129)
(fp_text reference P1 (at 8.89 -2.54) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Power (at 8.89 -4.064) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 29 "Net-(P1-Pad1)"))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 1 /IOREF))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 2 /Reset))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 30 +3V3))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 3 +5V))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 5 /Vin))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x06 locked (layer F.Cu) (tedit 552168D6) (tstamp 551AF9FF)
(at 161.798 123.825)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D70DD8)
(fp_text reference P2 (at 6.604 -2.54) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Analog (at 6.604 -4.064) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 14.45 -1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 14.45 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 13.97 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 1.27) (end 13.97 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 6 /A0))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 7 /A1))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 8 /A2))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 9 /A3))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 11 "/A4(SDA)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 12 "/A5(SCL)"))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x06.wrl
(at (xyz 0.25 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x10 locked (layer F.Cu) (tedit 552168BF) (tstamp 551AFA18)
(at 129.794 75.565)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D721E0)
(fp_text reference P3 (at 11.43 2.794) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Digital (at 11.43 4.318) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 24.65 -1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 24.65 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 24.13 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 1.27) (end 24.13 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 12 "/A5(SCL)"))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 11 "/A4(SDA)"))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 10 /AREF))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 27 "/13(SCK)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 31 "/12(MISO)"))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 32 "/11(**/MOSI)"))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 28 "/10(**/SS)"))
(pad 9 thru_hole oval (at 20.32 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 13 "/9(**)"))
(pad 10 thru_hole oval (at 22.86 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 14 /8))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x10.wrl
(at (xyz 0.45 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 locked (layer F.Cu) (tedit 552168C7) (tstamp 551AFA2F)
(at 156.718 75.565)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D7164F)
(fp_text reference P4 (at 8.89 2.794) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Digital (at 8.89 4.318) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 15 /7))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 16 "/6(**)"))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 17 "/5(**)"))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 18 /4))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 19 "/3(**)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 20 /2))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 21 "/1(Tx)"))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 22 "/0(Rx)"))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC39) (tstamp 5524FC3F)
(at 124.968 123.825)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D71177)
(fp_text reference P5 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 23 "Net-(P5-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC4A) (tstamp 5524FC44)
(at 177.038 118.745)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D71274)
(fp_text reference P6 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 24 "Net-(P6-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC2F) (tstamp 5524FC49)
(at 126.238 75.565)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D712A8)
(fp_text reference P7 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 25 "Net-(P7-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC41) (tstamp 5524FC4E)
(at 177.038 90.805)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D712DB)
(fp_text reference P8 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 26 "Net-(P8-Pad1)"))
)
(gr_text 1 (at 138.938 121.285 90) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_circle (center 117.348 76.962) (end 118.618 76.962) (layer Dwgs.User) (width 0.15))
(gr_line (start 114.427 78.994) (end 114.427 74.93) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.269 78.994) (end 114.427 78.994) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.269 74.93) (end 120.269 78.994) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 114.427 74.93) (end 120.269 74.93) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 177.038 74.549) (end 175.514 73.025) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 85.979) (end 177.038 74.549) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 179.578 88.519) (end 177.038 85.979) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 179.578 121.285) (end 179.578 88.519) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 123.825) (end 179.578 121.285) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 126.365) (end 177.038 123.825) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 110.998 126.365) (end 177.038 126.365) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 110.998 73.025) (end 110.998 126.365) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 175.514 73.025) (end 110.998 73.025) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 173.355 102.235) (end 173.355 94.615) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 178.435 102.235) (end 173.355 102.235) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 178.435 94.615) (end 178.435 102.235) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 173.355 94.615) (end 178.435 94.615) (angle 90) (layer Dwgs.User) (width 0.15))
)

View File

@@ -0,0 +1,207 @@
(export (version D)
(design
(source /home/jo/Documents/hobbies/git/kicad/template/Arduino_As_Uno_R3/Arduino_As_Uno.sch)
(date "jeu. 03 mars 2016 09:10:50 CET")
(tool "Eeschema 4.0.2-4+6225~38~ubuntu14.04.1-stable")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date "lun. 30 mars 2015")
(source Arduino_As_Uno.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref P1)
(value Power)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x08)
(libsource (lib conn) (part CONN_01X08))
(sheetpath (names /) (tstamps /))
(tstamp 56D70129))
(comp (ref P2)
(value Analog)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x06)
(libsource (lib conn) (part CONN_01X06))
(sheetpath (names /) (tstamps /))
(tstamp 56D70DD8))
(comp (ref P5)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D71177))
(comp (ref P6)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D71274))
(comp (ref P7)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D712A8))
(comp (ref P8)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D712DB))
(comp (ref P4)
(value Digital)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x08)
(libsource (lib conn) (part CONN_01X08))
(sheetpath (names /) (tstamps /))
(tstamp 56D7164F))
(comp (ref P3)
(value Digital)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x10)
(libsource (lib conn) (part CONN_01X10))
(sheetpath (names /) (tstamps /))
(tstamp 56D721E0)))
(libparts
(libpart (lib conn) (part CONN_01X01)
(description "Connector 01x01")
(footprints
(fp Pin_Header_Straight_1X01)
(fp Pin_Header_Angled_1X01)
(fp Socket_Strip_Straight_1X01)
(fp Socket_Strip_Angled_1X01))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X01))
(pins
(pin (num 1) (name P1) (type passive))))
(libpart (lib conn) (part CONN_01X06)
(description "Connector 01x06")
(footprints
(fp Pin_Header_Straight_1X06)
(fp Pin_Header_Angled_1X06)
(fp Socket_Strip_Straight_1X06)
(fp Socket_Strip_Angled_1X06))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X06))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))))
(libpart (lib conn) (part CONN_01X08)
(description "Connector 01x08")
(footprints
(fp Pin_Header_Straight_1X08)
(fp Pin_Header_Angled_1X08)
(fp Socket_Strip_Straight_1X08)
(fp Socket_Strip_Angled_1X08))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X08))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))))
(libpart (lib conn) (part CONN_01X10)
(description "Connector 01x10")
(footprints
(fp Pin_Header_Straight_1X10)
(fp Pin_Header_Angled_1X10)
(fp Socket_Strip_Straight_1X10)
(fp Socket_Strip_Angled_1X10))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X10))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))
(pin (num 9) (name P9) (type passive))
(pin (num 10) (name P10) (type passive)))))
(libraries
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib)))
(nets
(net (code 1) (name /AREF)
(node (ref P3) (pin 3)))
(net (code 2) (name "/A4(SDA)")
(node (ref P2) (pin 5))
(node (ref P3) (pin 2)))
(net (code 3) (name "/A5(SCL)")
(node (ref P3) (pin 1))
(node (ref P2) (pin 6)))
(net (code 4) (name /A3)
(node (ref P2) (pin 4)))
(net (code 5) (name /A2)
(node (ref P2) (pin 3)))
(net (code 6) (name /A1)
(node (ref P2) (pin 2)))
(net (code 7) (name /A0)
(node (ref P2) (pin 1)))
(net (code 8) (name +3V3)
(node (ref P1) (pin 4)))
(net (code 9) (name +5V)
(node (ref P1) (pin 5)))
(net (code 10) (name /Vin)
(node (ref P1) (pin 8)))
(net (code 11) (name /IOREF)
(node (ref P1) (pin 2)))
(net (code 12) (name "/0(Rx)")
(node (ref P4) (pin 8)))
(net (code 13) (name "/1(Tx)")
(node (ref P4) (pin 7)))
(net (code 14) (name /2)
(node (ref P4) (pin 6)))
(net (code 15) (name "/3(**)")
(node (ref P4) (pin 5)))
(net (code 16) (name /4)
(node (ref P4) (pin 4)))
(net (code 17) (name "/5(**)")
(node (ref P4) (pin 3)))
(net (code 18) (name "/6(**)")
(node (ref P4) (pin 2)))
(net (code 19) (name /7)
(node (ref P4) (pin 1)))
(net (code 20) (name /Reset)
(node (ref P1) (pin 3)))
(net (code 21) (name GND)
(node (ref P3) (pin 4))
(node (ref P1) (pin 7))
(node (ref P1) (pin 6)))
(net (code 22) (name "Net-(P8-Pad1)")
(node (ref P8) (pin 1)))
(net (code 23) (name "/13(SCK)")
(node (ref P3) (pin 5)))
(net (code 24) (name "/12(MISO)")
(node (ref P3) (pin 6)))
(net (code 25) (name "/11(**/MOSI)")
(node (ref P3) (pin 7)))
(net (code 26) (name "/10(**/SS)")
(node (ref P3) (pin 8)))
(net (code 27) (name "/9(**)")
(node (ref P3) (pin 9)))
(net (code 28) (name /8)
(node (ref P3) (pin 10)))
(net (code 29) (name "Net-(P1-Pad1)")
(node (ref P1) (pin 1)))
(net (code 30) (name "Net-(P7-Pad1)")
(node (ref P7) (pin 1)))
(net (code 31) (name "Net-(P6-Pad1)")
(node (ref P6) (pin 1)))
(net (code 32) (name "Net-(P5-Pad1)")
(node (ref P5) (pin 1)))))

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

View File

@@ -0,0 +1,61 @@
update=ti. 16. jan. 2018 kl. 23.47 +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
[general]
version=1
[eeschema]
version=1
LibDir=lib
[eeschema/libraries]
LibName1=power
LibName2=device
LibName3=transistors
LibName4=conn
LibName5=linear
LibName6=regul
LibName7=74xx
LibName8=cmos4000
LibName9=adc-dac
LibName10=memory
LibName11=xilinx
LibName12=microcontrollers
LibName13=dsp
LibName14=microchip
LibName15=analog_switches
LibName16=motorola
LibName17=texas
LibName18=intel
LibName19=audio
LibName20=interface
LibName21=digital-audio
LibName22=philips
LibName23=display
LibName24=cypress
LibName25=siliconi
LibName26=opto
LibName27=atmel
LibName28=contrib
LibName29=valves
LibName30=lib/amstomqtt

View File

@@ -0,0 +1,612 @@
EESchema Schematic File Version 2
LIBS:power
LIBS:device
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:amstomqtt
LIBS:shield1-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 2
Title ""
Date "lun. 30 mars 2015"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 8950 1450 1 60 ~ 0
Vin
Text Label 9350 1550 1 60 ~ 0
IOREF
Text Label 8900 2500 0 60 ~ 0
A0
Text Label 8900 2600 0 60 ~ 0
A1
Text Label 8900 2700 0 60 ~ 0
A2
Text Label 8900 2800 0 60 ~ 0
A3
Text Label 8900 2900 0 60 ~ 0
A4(SDA)P2
Text Label 8900 3000 0 60 ~ 0
A5(SCL)P2
Text Label 10550 3000 0 60 ~ 0
0(Rx)
Text Label 10550 2800 0 60 ~ 0
2
Text Label 10550 2900 0 60 ~ 0
1(Tx)
Text Label 10550 2700 0 60 ~ 0
3(**)
Text Label 10550 2600 0 60 ~ 0
4
Text Label 10550 2500 0 60 ~ 0
5(**)
Text Label 10550 2400 0 60 ~ 0
6(**)
Text Label 10550 2300 0 60 ~ 0
7
Text Label 10550 2100 0 60 ~ 0
8
Text Label 10550 2000 0 60 ~ 0
9(**)
Text Label 10550 1900 0 60 ~ 0
10(**/SS)
Text Label 10550 1800 0 60 ~ 0
11(**/MOSI)
Text Label 10550 1700 0 60 ~ 0
12(MISO)
Text Label 10550 1600 0 60 ~ 0
13(SCK)
Text Label 10550 1400 0 60 ~ 0
AREF
NoConn ~ 9400 1600
Text Label 10550 1300 0 60 ~ 0
A4(SDA)P3
Text Label 10550 1200 0 60 ~ 0
A5(SCL)P3
Text Notes 10850 1000 0 60 ~ 0
Holes
Text Notes 8550 750 0 60 ~ 0
Shield for Arduino that uses\nthe same pin disposition\nlike "Uno" board Rev 3.
$Comp
L CONN_01X08 P1
U 1 1 56D70129
P 9600 1950
F 0 "P1" H 9600 2400 50 0000 C CNN
F 1 "Power" V 9700 1950 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" V 9750 1950 20 0000 C CNN
F 3 "" H 9600 1950 50 0000 C CNN
1 9600 1950
1 0 0 -1
$EndComp
Text Label 8650 1800 0 60 ~ 0
Reset
$Comp
L +3.3V #PWR01
U 1 1 56D70538
P 9150 1200
F 0 "#PWR01" H 9150 1050 50 0001 C CNN
F 1 "+3.3V" H 9150 1340 50 0000 C CNN
F 2 "" H 9150 1200 50 0000 C CNN
F 3 "" H 9150 1200 50 0000 C CNN
1 9150 1200
1 0 0 -1
$EndComp
$Comp
L +5V #PWR02
U 1 1 56D707BB
P 9050 1050
F 0 "#PWR02" H 9050 900 50 0001 C CNN
F 1 "+5V" H 9050 1190 50 0000 C CNN
F 2 "" H 9050 1050 50 0000 C CNN
F 3 "" H 9050 1050 50 0000 C CNN
1 9050 1050
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 56D70CC2
P 9300 3150
F 0 "#PWR03" H 9300 2900 50 0001 C CNN
F 1 "GND" H 9300 3000 50 0000 C CNN
F 2 "" H 9300 3150 50 0000 C CNN
F 3 "" H 9300 3150 50 0000 C CNN
1 9300 3150
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 56D70CFF
P 10300 3150
F 0 "#PWR04" H 10300 2900 50 0001 C CNN
F 1 "GND" H 10300 3000 50 0000 C CNN
F 2 "" H 10300 3150 50 0000 C CNN
F 3 "" H 10300 3150 50 0000 C CNN
1 10300 3150
1 0 0 -1
$EndComp
$Comp
L CONN_01X06 P2
U 1 1 56D70DD8
P 9600 2750
F 0 "P2" H 9600 3100 50 0000 C CNN
F 1 "Analog" V 9700 2750 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x06" V 9750 2800 20 0000 C CNN
F 3 "" H 9600 2750 50 0000 C CNN
1 9600 2750
1 0 0 -1
$EndComp
$Comp
L CONN_01X01 P5
U 1 1 56D71177
P 10800 650
F 0 "P5" V 10900 650 50 0000 C CNN
F 1 "CONN_01X01" V 10900 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10721 724 20 0000 C CNN
F 3 "" H 10800 650 50 0000 C CNN
1 10800 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P6
U 1 1 56D71274
P 10900 650
F 0 "P6" V 11000 650 50 0000 C CNN
F 1 "CONN_01X01" V 11000 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10900 650 20 0001 C CNN
F 3 "" H 10900 650 50 0000 C CNN
1 10900 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P7
U 1 1 56D712A8
P 11000 650
F 0 "P7" V 11100 650 50 0000 C CNN
F 1 "CONN_01X01" V 11100 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" V 11000 650 20 0001 C CNN
F 3 "" H 11000 650 50 0000 C CNN
1 11000 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P8
U 1 1 56D712DB
P 11100 650
F 0 "P8" V 11200 650 50 0000 C CNN
F 1 "CONN_01X01" V 11200 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11024 572 20 0000 C CNN
F 3 "" H 11100 650 50 0000 C CNN
1 11100 650
0 -1 -1 0
$EndComp
NoConn ~ 10800 850
NoConn ~ 10900 850
NoConn ~ 11000 850
NoConn ~ 11100 850
$Comp
L CONN_01X08 P4
U 1 1 56D7164F
P 10000 2650
F 0 "P4" H 10000 3100 50 0000 C CNN
F 1 "Digital" V 10100 2650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" V 10150 2600 20 0000 C CNN
F 3 "" H 10000 2650 50 0000 C CNN
1 10000 2650
-1 0 0 -1
$EndComp
$Comp
L CONN_01X10 P3
U 1 1 56D721E0
P 10000 1650
F 0 "P3" H 10000 2200 50 0000 C CNN
F 1 "Digital" V 10100 1650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x10" V 10150 1650 20 0000 C CNN
F 3 "" H 10000 1650 50 0000 C CNN
1 10000 1650
-1 0 0 -1
$EndComp
Text Notes 9700 1600 0 60 ~ 0
1
$Comp
L RJ45 J2
U 1 1 5A5E7E25
P 10300 5150
F 0 "J2" H 10500 5650 50 0000 C CNN
F 1 "RJ45" H 10150 5650 50 0000 C CNN
F 2 "" H 10300 5150 50 0001 C CNN
F 3 "" H 10300 5150 50 0001 C CNN
1 10300 5150
0 1 1 0
$EndComp
NoConn ~ 9850 5500
NoConn ~ 9850 5400
NoConn ~ 9850 5300
NoConn ~ 9850 5200
NoConn ~ 9850 5100
NoConn ~ 9850 5000
$Sheet
S 6900 4600 1500 650
U 5A61003B
F0 "mbus-receiver-opto" 60
F1 "mbus-receiver-opto.sch" 60
F2 "MBUS_SIGNAL" I R 8400 4800 60
F3 "MBUS_GND" I R 8400 5000 60
F4 "TTL_TX_COLL" I L 6900 4800 60
F5 "TTL_TX_EMIT" I L 6900 5000 60
$EndSheet
$Comp
L LED D1
U 1 1 5A611116
P 4750 4050
F 0 "D1" H 4750 4150 50 0000 C CNN
F 1 "LED" H 4750 3950 50 0000 C CNN
F 2 "" H 4750 4050 50 0001 C CNN
F 3 "" H 4750 4050 50 0001 C CNN
1 4750 4050
0 -1 -1 0
$EndComp
$Comp
L GND #PWR05
U 1 1 5A6111BC
P 6550 5200
F 0 "#PWR05" H 6550 4950 50 0001 C CNN
F 1 "GND" H 6550 5050 50 0000 C CNN
F 2 "" H 6550 5200 50 0001 C CNN
F 3 "" H 6550 5200 50 0001 C CNN
1 6550 5200
1 0 0 -1
$EndComp
$Comp
L R R1
U 1 1 5A6112A2
P 4750 4500
F 0 "R1" V 4830 4500 50 0000 C CNN
F 1 "R" V 4750 4500 50 0000 C CNN
F 2 "" V 4680 4500 50 0001 C CNN
F 3 "" H 4750 4500 50 0001 C CNN
1 4750 4500
1 0 0 -1
$EndComp
Text Notes 4950 4700 0 60 ~ 0
TODO: process signal
$Comp
L +5V #PWR06
U 1 1 5A617628
P 4750 3650
F 0 "#PWR06" H 4750 3500 50 0001 C CNN
F 1 "+5V" H 4750 3790 50 0000 C CNN
F 2 "" H 4750 3650 50 0000 C CNN
F 3 "" H 4750 3650 50 0000 C CNN
1 4750 3650
1 0 0 -1
$EndComp
Text Label 7800 800 0 60 ~ 0
IOREF
Text Label 7800 900 0 60 ~ 0
Reset
Text Label 7800 1000 0 60 ~ 0
Vin
Text Label 7800 1100 0 60 ~ 0
A0
Text Label 7800 1200 0 60 ~ 0
A1
Text Label 7800 1300 0 60 ~ 0
A2
Text Label 7800 1400 0 60 ~ 0
A3
Text Label 7800 1900 0 60 ~ 0
AREF
Text Label 7800 2000 0 60 ~ 0
13(SCK)
Text Label 7800 2100 0 60 ~ 0
12(MISO)
Text Label 7800 2200 0 60 ~ 0
11(**/MOSI)
Text Label 7800 2300 0 60 ~ 0
10(**/SS)
Text Label 7800 2400 0 60 ~ 0
9(**)
Text Label 7800 2500 0 60 ~ 0
8
Text Label 7800 2600 0 60 ~ 0
7
Text Label 7800 2700 0 60 ~ 0
6(**)
Text Label 7800 2800 0 60 ~ 0
5(**)
Text Label 7800 2900 0 60 ~ 0
4
Text Label 7800 3000 0 60 ~ 0
3(**)
Text Label 7800 3100 0 60 ~ 0
2
Text Label 7800 3200 0 60 ~ 0
1(Tx)
Text Label 7800 3300 0 60 ~ 0
0(Rx)
NoConn ~ 7800 3300
NoConn ~ 7800 3200
NoConn ~ 7800 3100
NoConn ~ 7800 3000
NoConn ~ 7800 2900
NoConn ~ 7800 2800
NoConn ~ 7800 2700
NoConn ~ 7800 2600
NoConn ~ 7800 2500
NoConn ~ 7800 2400
NoConn ~ 7800 2300
NoConn ~ 7800 2200
NoConn ~ 7800 2100
NoConn ~ 7800 2000
NoConn ~ 7800 1900
NoConn ~ 7800 1400
NoConn ~ 7800 1300
NoConn ~ 7800 1200
NoConn ~ 7800 1100
NoConn ~ 7800 1000
NoConn ~ 7800 900
NoConn ~ 7800 800
$Comp
L PWR_FLAG #FLG07
U 1 1 5A61ACC7
P 10650 3150
F 0 "#FLG07" H 10650 3225 50 0001 C CNN
F 1 "PWR_FLAG" H 10650 3300 50 0000 C CNN
F 2 "" H 10650 3150 50 0001 C CNN
F 3 "" H 10650 3150 50 0001 C CNN
1 10650 3150
-1 0 0 1
$EndComp
$Comp
L PWR_FLAG #FLG08
U 1 1 5A61AF44
P 8750 1050
F 0 "#FLG08" H 8750 1125 50 0001 C CNN
F 1 "PWR_FLAG" H 8750 1200 50 0000 C CNN
F 2 "" H 8750 1050 50 0001 C CNN
F 3 "" H 8750 1050 50 0001 C CNN
1 8750 1050
1 0 0 -1
$EndComp
$Comp
L PWR_FLAG #FLG09
U 1 1 5A61AFF4
P 9450 1200
F 0 "#FLG09" H 9450 1275 50 0001 C CNN
F 1 "PWR_FLAG" H 9450 1350 50 0000 C CNN
F 2 "" H 9450 1200 50 0001 C CNN
F 3 "" H 9450 1200 50 0001 C CNN
1 9450 1200
1 0 0 -1
$EndComp
Wire Notes Line
8525 825 9925 825
Wire Notes Line
9925 825 9925 475
Wire Wire Line
9350 1550 9350 1700
Wire Wire Line
9350 1700 9400 1700
Wire Wire Line
9150 1900 9400 1900
Wire Wire Line
9050 2000 9400 2000
Wire Wire Line
9400 2300 8950 2300
Wire Wire Line
9400 2100 9300 2100
Wire Wire Line
9400 2200 9300 2200
Connection ~ 9300 2200
Wire Wire Line
8950 2300 8950 1450
Wire Wire Line
9050 1050 9050 2000
Wire Wire Line
9150 1200 9150 1900
Wire Wire Line
9400 2500 8900 2500
Wire Wire Line
9400 2600 8900 2600
Wire Wire Line
9400 2700 8900 2700
Wire Wire Line
9400 2800 8900 2800
Wire Wire Line
9400 2900 8900 2900
Wire Wire Line
9400 3000 8900 3000
Wire Wire Line
10200 2100 10550 2100
Wire Wire Line
10200 2000 10550 2000
Wire Wire Line
10200 1900 10550 1900
Wire Wire Line
10200 1800 10550 1800
Wire Wire Line
10200 1700 10550 1700
Wire Wire Line
10200 1600 10550 1600
Wire Wire Line
10200 1400 10550 1400
Wire Wire Line
10200 1300 10550 1300
Wire Wire Line
10200 1200 10550 1200
Wire Wire Line
10200 3000 10550 3000
Wire Wire Line
10200 2900 10550 2900
Wire Wire Line
10200 2800 10550 2800
Wire Wire Line
10200 2700 10550 2700
Wire Wire Line
10200 2600 10550 2600
Wire Wire Line
10200 2500 10550 2500
Wire Wire Line
10200 2400 10550 2400
Wire Wire Line
10200 2300 10550 2300
Wire Wire Line
10200 1500 10300 1500
Wire Wire Line
10300 1500 10300 3150
Wire Wire Line
9300 2100 9300 3150
Wire Notes Line
8500 500 8500 3450
Wire Notes Line
8500 3450 11200 3450
Wire Wire Line
9400 1800 8650 1800
Wire Notes Line
11200 1000 10700 1000
Wire Notes Line
10700 1000 10700 500
Wire Wire Line
8400 4800 9850 4800
Wire Wire Line
9850 4900 9650 4900
Wire Wire Line
9650 4900 9650 5750
Wire Wire Line
9650 5750 10650 5750
Wire Wire Line
8650 5500 9650 5500
Connection ~ 9650 5500
Wire Wire Line
4750 4200 4750 4350
Wire Wire Line
4750 4650 4750 4800
Wire Wire Line
6900 5000 6550 5000
Wire Wire Line
6550 5000 6550 5200
Wire Wire Line
4750 4800 6900 4800
Wire Wire Line
4750 3650 4750 3900
Wire Wire Line
10650 3150 10650 3100
Wire Wire Line
10650 3100 10300 3100
Connection ~ 10300 3100
Wire Wire Line
8750 1050 8750 1200
Wire Wire Line
8750 1200 9050 1200
Connection ~ 9050 1200
Wire Wire Line
9450 1200 9450 1250
Wire Wire Line
9450 1250 9150 1250
Connection ~ 9150 1250
NoConn ~ 7800 1600
NoConn ~ 7800 1500
NoConn ~ 7800 1700
NoConn ~ 7800 1800
Text Label 7800 1500 0 60 ~ 0
A4(SDA)P2
Text Label 7800 1600 0 60 ~ 0
A5(SCL)P2
Text Label 7800 1700 0 60 ~ 0
A5(SCL)P3
Text Label 7800 1800 0 60 ~ 0
A4(SDA)P3
$Comp
L PWR_FLAG #FLG010
U 1 1 5A61CDCA
P 9200 4700
F 0 "#FLG010" H 9200 4775 50 0001 C CNN
F 1 "PWR_FLAG" H 9200 4850 50 0000 C CNN
F 2 "" H 9200 4700 50 0001 C CNN
F 3 "" H 9200 4700 50 0001 C CNN
1 9200 4700
1 0 0 -1
$EndComp
Wire Wire Line
9200 4700 9200 4800
Connection ~ 9200 4800
Wire Wire Line
10650 5750 10650 5700
$Comp
L Conn_01x02 J1
U 1 1 5A627909
P 9200 5200
F 0 "J1" H 9200 5300 50 0000 C CNN
F 1 "Conn_01x02" H 9200 5000 50 0000 C CNN
F 2 "" H 9200 5200 50 0001 C CNN
F 3 "" H 9200 5200 50 0001 C CNN
1 9200 5200
1 0 0 1
$EndComp
Wire Wire Line
8400 5000 8650 5000
Wire Wire Line
8650 5000 8650 5500
Wire Wire Line
9000 5200 9000 5500
Connection ~ 9000 5500
Wire Wire Line
9000 5100 9000 4800
Connection ~ 9000 4800
Wire Notes Line
7650 4100 10950 4100
Wire Notes Line
10950 4100 10950 6300
Wire Notes Line
10950 6300 7650 6300
Wire Notes Line
7650 6300 7650 4100
Text Notes 8800 4250 0 60 ~ 0
M-Bus electrical part
Connection ~ 9200 5500
Wire Wire Line
9200 5750 9200 5500
$Comp
L PWR_FLAG #FLG011
U 1 1 5A5E8423
P 9200 5750
F 0 "#FLG011" H 9200 5825 50 0001 C CNN
F 1 "PWR_FLAG" H 9200 5900 50 0000 C CNN
F 2 "" H 9200 5750 50 0001 C CNN
F 3 "" H 9200 5750 50 0001 C CNN
1 9200 5750
-1 0 0 1
$EndComp
$EndSCHEMATC

View File

@@ -0,0 +1,3 @@
*.kicad_pcb-bak
*.bak
*.bck

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 186 KiB

View File

@@ -0,0 +1,4 @@
%.png: %.svg
inkscape -f $^ --export-png=$@

View File

@@ -0,0 +1,63 @@
# Overview
This board can be used to simulate a M-Bus master device instead of
connecting to the real AMS unit, i.e. usable for test and development.
It takes a 5 V TTL level input (serial) signal and converts it
to a M-bus level signal. It supports both sending and receiving.
Inspired by [MBus_USB.pdf](https://github.com/rscada/libmbus/blob/master/hardware/MBus_USB.pdf)<sup>1</sup>,
although significantly improved by using zener diodes so that it is
flexible and can work with any external power source between
21 and 42 Volt. Most DC-DC boost/step-up converter
modules<sup>2</sup> should be fine for this.
![](MBus_Simulator.png?raw=true)
## BOM
* 1 x zener diode [13V](https://www.elfadistrelec.no/en/zener-diode-017aa-13-on-semiconductor-1n5350bg/p/17006687) (note below)
* 1 x zener diode [4.7V](https://www.elfadistrelec.no/en/zener-diode-do-35-500-mw-vishay-bzx55c4v7/p/30030851)
* 1 x [BD136 transistor](https://www.elfadistrelec.no/en/power-transistor-to-126-pnp-45-no-brand-bd136-16/p/17130046) (most pnp bjt will probably work (with 40+ operating voltage))
* 4 x [BC337 transistor](https://www.elfadistrelec.no/en/transistor-to-92-npn-45-800-ma-diotec-bc337-25bk/p/30012857) (probably any npn bjt will do (with 40+ operating voltage)
* 1 x resistor 82 ohm
* 1 x resistor 1k
* 1 x resistor 8.2k (you can use 10k if power supply is well above 21V)
* 5 x resistor 10k
* 1 x resistor 220k
* 4 x pin header 1x2
Note for the 13V zener. This board design depends on the zener to
operate below 1mA, e.g. like 1N5350 (figure 8) whereas a BZX55
(figure 9) will maybe not operate properly.
![](zener_ok.png?raw=true) ![](zener_not_ok.png?raw=true)
This limitation could be lifted by reducing the 8.2k resistor so that it
draws enough current.
## Schematic
![](MBus_Simulator.schematic.png?raw=true)
[SVG version](MBus_Simulator.schematic.svg?raw=true)
## PCB
![](MBus_Simulator.B.Cu.png?raw=true)
[SVG version](MBus_Simulator.B.Cu.svg?raw=true)
![](MBus_Simulator.F.Cu.png?raw=true)
[SVG version](MBus_Simulator.F.Cu.svg?raw=true)
## Version history
Rev A - Only transmit. Wrong design, does not work.
Rev B - Both transmit and receive. Should work (not tested yet).
-------------
<sup>1</sup>
See also https://electronics.stackexchange.com/questions/99388/designing-a-m-bus-master-up-to-10-slaves/ and https://electronics.stackexchange.com/a/214477/568.
<sup>2</sup>
Like for instance [this one](http://hobbycomponents.com/power/698-xl60009-dc-dc-step-up-boost-converter) for £3.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,3 @@
(fp_lib_table
(lib (name AmsToMqttBridge)(type KiCad)(uri ../kicad-libs/kicad-footprints/AmsToMqttBridge.pretty)(options "")(descr ""))
)

View File

@@ -0,0 +1,292 @@
PCBNEW-LibModule-V1
$INDEX
LOGO
$EndINDEX
#
# LOGO
# pixmap w = 400, h = 400
#
$MODULE LOGO
Po 0 0 0 15 00000000 00000000 ~~
T0 0 1394 120 120 0 24 N I 21 "G***"
T1 0 -1394 120 120 0 24 N I 21 "LOGO"
DP 0 0 0 0 277 1 15
Dl -797 1181
Dl -783 1173
Dl -752 1154
Dl -708 1125
Dl -656 1091
Dl -604 1055
Dl -561 1027
Dl -531 1007
Dl -519 1000
Dl -512 1003
Dl -487 1015
Dl -452 1033
Dl -431 1044
Dl -398 1058
Dl -381 1061
Dl -379 1057
Dl -367 1032
Dl -348 989
Dl -323 932
Dl -294 865
Dl -264 793
Dl -233 720
Dl -204 650
Dl -179 587
Dl -158 535
Dl -144 500
Dl -139 485
Dl -141 481
Dl -157 465
Dl -186 444
Dl -248 393
Dl -310 317
Dl -347 230
Dl -360 133
Dl -349 43
Dl -314 -43
Dl -254 -120
Dl -181 -178
Dl -96 -214
Dl 0 -226
Dl 91 -216
Dl 179 -181
Dl 257 -122
Dl 290 -84
Dl 335 -6
Dl 360 78
Dl 363 100
Dl 359 192
Dl 332 280
Dl 283 359
Dl 216 424
Dl 207 430
Dl 176 454
Dl 155 470
Dl 138 483
Dl 256 766
Dl 275 811
Dl 307 889
Dl 335 955
Dl 358 1008
Dl 374 1044
Dl 381 1058
Dl 381 1059
Dl 392 1061
Dl 413 1053
Dl 453 1034
Dl 479 1020
Dl 509 1006
Dl 523 1000
Dl 534 1007
Dl 563 1025
Dl 605 1053
Dl 656 1088
Dl 704 1121
Dl 748 1150
Dl 780 1171
Dl 796 1179
Dl 798 1179
Dl 812 1171
Dl 838 1150
Dl 876 1114
Dl 931 1060
Dl 939 1051
Dl 984 1006
Dl 1020 968
Dl 1045 940
Dl 1054 928
Dl 1054 928
Dl 1046 913
Dl 1025 880
Dl 996 835
Dl 960 783
Dl 866 647
Dl 918 518
Dl 934 479
Dl 954 431
Dl 969 397
Dl 976 382
Dl 990 377
Dl 1025 369
Dl 1076 358
Dl 1137 347
Dl 1195 336
Dl 1247 326
Dl 1285 319
Dl 1302 316
Dl 1306 313
Dl 1310 305
Dl 1312 287
Dl 1313 255
Dl 1314 205
Dl 1314 133
Dl 1314 125
Dl 1313 56
Dl 1312 1
Dl 1310 -35
Dl 1308 -49
Dl 1308 -49
Dl 1291 -53
Dl 1254 -61
Dl 1202 -71
Dl 1140 -83
Dl 1136 -84
Dl 1074 -96
Dl 1021 -107
Dl 985 -115
Dl 970 -120
Dl 966 -124
Dl 954 -149
Dl 936 -187
Dl 915 -234
Dl 895 -283
Dl 878 -327
Dl 866 -360
Dl 862 -375
Dl 862 -375
Dl 872 -390
Dl 893 -422
Dl 923 -467
Dl 960 -520
Dl 962 -524
Dl 998 -576
Dl 1027 -621
Dl 1046 -653
Dl 1054 -667
Dl 1053 -668
Dl 1042 -683
Dl 1015 -713
Dl 977 -753
Dl 931 -800
Dl 916 -814
Dl 865 -864
Dl 829 -897
Dl 807 -914
Dl 797 -918
Dl 796 -918
Dl 780 -908
Dl 747 -886
Dl 702 -856
Dl 649 -820
Dl 645 -817
Dl 593 -781
Dl 549 -752
Dl 518 -731
Dl 504 -723
Dl 502 -723
Dl 480 -729
Dl 443 -742
Dl 397 -760
Dl 348 -780
Dl 304 -798
Dl 271 -813
Dl 256 -822
Dl 255 -823
Dl 250 -842
Dl 241 -881
Dl 229 -935
Dl 217 -1000
Dl 215 -1010
Dl 203 -1073
Dl 193 -1124
Dl 186 -1160
Dl 182 -1175
Dl 173 -1177
Dl 143 -1179
Dl 96 -1180
Dl 40 -1181
Dl -20 -1181
Dl -78 -1179
Dl -127 -1178
Dl -163 -1175
Dl -178 -1172
Dl -178 -1171
Dl -184 -1152
Dl -192 -1113
Dl -203 -1058
Dl -216 -994
Dl -218 -982
Dl -230 -920
Dl -240 -869
Dl -248 -833
Dl -252 -819
Dl -257 -816
Dl -283 -805
Dl -325 -788
Dl -377 -767
Dl -497 -718
Dl -645 -819
Dl -658 -828
Dl -711 -865
Dl -755 -894
Dl -785 -913
Dl -798 -920
Dl -799 -920
Dl -814 -907
Dl -843 -880
Dl -883 -841
Dl -929 -794
Dl -964 -760
Dl -1004 -719
Dl -1030 -691
Dl -1044 -673
Dl -1049 -662
Dl -1048 -655
Dl -1038 -640
Dl -1017 -607
Dl -986 -563
Dl -950 -510
Dl -921 -467
Dl -889 -417
Dl -868 -382
Dl -861 -365
Dl -863 -357
Dl -873 -329
Dl -890 -285
Dl -913 -233
Dl -964 -116
Dl -1040 -101
Dl -1087 -93
Dl -1152 -80
Dl -1214 -68
Dl -1311 -49
Dl -1314 307
Dl -1299 313
Dl -1285 317
Dl -1249 325
Dl -1198 335
Dl -1137 346
Dl -1086 356
Dl -1034 366
Dl -996 373
Dl -980 377
Dl -976 382
Dl -963 407
Dl -944 447
Dl -924 495
Dl -903 545
Dl -885 591
Dl -872 626
Dl -867 645
Dl -874 658
Dl -894 689
Dl -922 732
Dl -958 784
Dl -993 835
Dl -1023 880
Dl -1043 911
Dl -1052 926
Dl -1048 936
Dl -1027 961
Dl -988 1001
Dl -930 1058
Dl -921 1067
Dl -875 1112
Dl -836 1148
Dl -809 1172
Dl -797 1181
$EndMODULE LOGO
$EndLIBRARY

View File

@@ -0,0 +1,159 @@
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
#
# 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
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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,319 @@
(export (version D)
(design
(source /usr/src/hlovdal/forks-github/AmsToMqttBridge/Electrical/Board_003/mbus_master.sch)
(date "ma. 26. feb. 2018 kl. 22.49 +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_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_Pitch2.54mm)
(libsource (lib conn) (part Conn_01x02))
(sheetpath (names /) (tstamps /))
(tstamp 5A6C56AB))
(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 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 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_Pitch2.54mm)
(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_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal)
(libsource (lib device) (part R))
(sheetpath (names /) (tstamps /))
(tstamp 5A70E602))
(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 5A92EF05))
(comp (ref Q1)
(value BC337)
(footprint TO_SOT_Packages_THT:TO-92_Molded_Narrow)
(libsource (lib transistors) (part BC337))
(sheetpath (names /) (tstamps /))
(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 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 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 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 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
(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 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
(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))
(library (logical Mechanical)
(uri /usr/src/hlovdal/forks-github/AmsToMqttBridge/Electrical/kicad-libs/kicad-symbols/Mechanical.lib)))
(nets
(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 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 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 13) (name /EXT_PWR)
(node (ref R8) (pin 1))
(node (ref J3) (pin 2))
(node (ref D1) (pin 1))
(node (ref R6) (pin 1))
(node (ref R5) (pin 1))
(node (ref J2) (pin 2))
(node (ref R4) (pin 1)))))

View File

@@ -0,0 +1,64 @@
update=ma. 26. feb. 2018 kl. 17.58 +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
[general]
version=1
[eeschema]
version=1
LibDir=../kicad-libs/kicad-symbols
[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
LibName33=Mechanical

View File

@@ -0,0 +1,561 @@
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:Mechanical
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 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 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 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
1900 3200 9200 3200
Wire Wire Line
1900 3300 2400 3300
Wire Wire Line
2400 3300 2400 3400
Wire Wire Line
2050 3400 2050 3300
Connection ~ 2050 3300
$Comp
L PWR_FLAG #FLG03
U 1 1 5A6C5614
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
2050 3050 2050 3200
Connection ~ 2050 3200
Text Label 2400 3200 1 60 ~ 0
EXT_PWR
Text Notes 850 3350 0 60 ~ 0
External power\n21-42V
$Comp
L Conn_01x02 J1
U 1 1 5A6C56AB
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 5850 0 60 ~ 0
Input signal, TTL\nSendt to m-bus
$Comp
L GND #PWR04
U 1 1 5A6C5767
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 5850 2300 5850
Wire Wire Line
2300 5850 2300 5950
$Comp
L BC337 Q3
U 1 1 5A6C58F3
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 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 5750 4000 5750
Wire Wire Line
4300 5750 4950 5750
$Comp
L GND #PWR05
U 1 1 5A6C59DD
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
5250 5950 5250 6150
$Comp
L D_Zener_Small_ALT D1
U 1 1 5A6C5A7F
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
5250 3200 5250 3450
Wire Wire Line
4400 4350 5750 4350
$Comp
L Conn_01x02 J3
U 1 1 5A6C5F4D
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
7100 3350 6750 3350
Wire Wire Line
6750 3350 6750 3200
Connection ~ 5250 3200
Text Label 6400 3200 0 60 ~ 0
MBus+
Text Label 6400 3750 0 60 ~ 0
MBus-
$Comp
L BD136 Q4
U 1 1 5A6C614C
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
6050 3200 6050 3350
Connection ~ 6050 3200
$Comp
L GND #PWR06
U 1 1 5A6C640E
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
6050 3750 6750 3750
Wire Wire Line
6750 3750 6750 3450
Wire Wire Line
6750 3450 7100 3450
Connection ~ 6050 3750
Text Notes 7550 3450 0 60 ~ 0
M-bus output signal
Wire Wire Line
6050 3650 6050 4150
Text Notes 3000 1650 0 60 ~ 0
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
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 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 R2
U 1 1 5A92EF05
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
5250 5050 5250 5550
Wire Wire Line
5250 3650 5250 4750
Connection ~ 5250 4350
$Comp
L BC337 Q1
U 1 1 5A92F34B
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 #PWR07
U 1 1 5A92F352
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
3600 4850 3600 5050
$Comp
L R R4
U 1 1 5A92F359
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
3600 3650 3600 4450
$Comp
L R R3
U 1 1 5A92F5C3
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
2700 5750 2700 4650
Wire Wire Line
2700 4650 2950 4650
Connection ~ 2700 5750
Wire Wire Line
3250 4650 3300 4650
Wire Wire Line
3600 3350 3600 3200
Connection ~ 3600 3200
$Comp
L BC337 Q2
U 1 1 5A92F825
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 R5
U 1 1 5A92F832
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
4400 3650 4400 3800
Wire Wire Line
4400 3350 4400 3200
Connection ~ 4400 3200
Wire Wire Line
4100 4000 3600 4000
Connection ~ 3600 4000
Wire Wire Line
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
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

View File

@@ -0,0 +1 @@
*.dat.ngspice

View File

@@ -0,0 +1,11 @@
This directory contains various simulation of the M-Bus part of [MBus_USB.pdf](../doc/MBus_USB.pdf?raw=true).
The simulattions are done with [qucs-s](https://ra3xdh.github.io/) using [ngspice](http://ngspice.sourceforge.net)
as simulation backend.
The first simulation is as close to the original as possible and gradulally changed to
remove receiving parts and using a zener diode to have a constant 12V voltage drop
regardless of the power supply. The final version works with any voltage in M-Bus range.
![](mbus_master_004.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@@ -0,0 +1,33 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,-240,1470,800,1,0,0>
<Grid=10,10,0>
<DataSet=current_limit.qucs-s.dat>
<DataDisplay=current_limit.qucs-s.sch>
<OpenDisplay=1>
<Script=current_limit.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
<Rect 122 254 1301 204 3 #c0c0c0 1 00 1 15 2 50 1 -0.00687712 0.02 0.0473777 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/current_limit:i(pr1)" #0000ff 0 3 0 0 0>
<"ngspice/current_limit:i(pr2)" #ff0000 0 3 0 0 0>
<"ngspice/current_limit:i(pr3)" #ff00ff 0 3 0 0 0>
</Rect>
<Rect 190 12 1193 212 3 #c0c0c0 1 00 1 0 20000 100000 1 -9975.82 50000 109998 1 -1 1 1 315 0 225 "" "" "">
<"ngspice/current_limit:v(out)" #0000ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,80 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=-20,-224,1566,535,0.8722,0,0>
<Grid=10,10,1>
<DataSet=current_limit.qucs-s.dat>
<DataDisplay=current_limit.qucs-s.dpl>
<OpenDisplay=1>
<Script=current_limit.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<_BJT BC337AP_2 1 280 210 -96 -26 1 2 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<_BJT BC337AP_1 1 500 150 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<GND * 1 500 440 0 0 0 0>
<GND * 1 280 440 0 0 0 0>
<IProbe Pr1 1 500 270 -41 -26 0 3>
<IProbe Pr2 1 280 330 -41 -26 0 3>
<Lib D1 1 500 -90 -34 6 0 3 "Z-Diodes" 0 "1N759" 0>
<Vdc V1 1 80 -50 18 -26 0 1 "34 V" 1>
<GND * 1 80 20 0 0 0 0>
<.DC DC1 1 30 360 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.SW SW2 0 650 230 0 61 0 0 "DC1" 1 "lin" 1 "V1" 1 "20V" 1 "40V" 1 "21" 1 "false" 0>
<IProbe Pr3 1 230 -150 -26 16 0 0>
<R R4 1 500 370 15 -26 0 1 "39" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R3 1 360 210 -26 15 0 0 "1" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R2 1 280 30 15 -26 0 1 "6k8" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R1 1 500 40 15 -26 0 1 "0" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr4 1 370 150 -14 -55 1 2>
<.SW SW3 0 910 300 0 61 0 0 "DC1" 1 "lin" 1 "R5" 1 "100" 1 "10k" 1 "300" 1 "false" 0>
<.SW SW1 1 30 110 0 61 0 0 "DC1" 1 "lin" 1 "R4" 1 "30 Ohm" 1 "200 Ohm" 1 "35" 1 "false" 0>
<VProbe Pr5 1 590 -100 -16 28 0 3>
</Components>
<Wires>
<500 180 500 210 "" 0 0 0 "">
<500 400 500 440 "" 0 0 0 "">
<280 240 280 300 "" 0 0 0 "">
<280 360 280 440 "" 0 0 0 "">
<500 -60 500 -50 "" 0 0 0 "">
<80 -20 80 20 "" 0 0 0 "">
<80 -150 80 -80 "" 0 0 0 "">
<80 -150 200 -150 "" 0 0 0 "">
<500 -150 500 -130 "" 0 0 0 "">
<260 -150 500 -150 "" 0 0 0 "">
<390 210 500 210 "" 0 0 0 "">
<310 210 330 210 "" 0 0 0 "">
<280 150 280 180 "" 0 0 0 "">
<280 -20 500 -20 "" 0 0 0 "">
<280 -20 280 0 "" 0 0 0 "">
<280 60 280 150 "" 0 0 0 "">
<500 -20 500 10 "out" 530 -40 9 "">
<500 70 500 120 "" 0 0 0 "">
<280 150 340 150 "" 0 0 0 "">
<400 150 470 150 "" 0 0 0 "">
<500 210 500 240 "" 0 0 0 "">
<500 300 500 340 "" 0 0 0 "">
<570 -130 570 -110 "" 0 0 0 "">
<500 -130 500 -120 "" 0 0 0 "">
<500 -130 570 -130 "" 0 0 0 "">
<570 -90 570 -50 "" 0 0 0 "">
<500 -50 500 -20 "" 0 0 0 "">
<500 -50 570 -50 "" 0 0 0 "">
<500 -150 500 -150 "in" 530 -180 0 "">
</Wires>
<Diagrams>
<Rect 760 37 693 187 3 #c0c0c0 1 00 1 30 20 200 1 20 5 36.7105 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/current_limit:v(in)" #0000ff 0 3 0 0 0>
<"ngspice/current_limit:v(out)" #ff0000 0 3 0 0 0>
<"ngspice/current_limit:v(pr5)" #ff00ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 820 140 12 #000000 0 "With the zener diode, the output is constantly 12V below the input voltage.\nAnd with the current limiting circuit, the load is always 20mA.\n\nhttps://en.wikipedia.org/wiki/Current_limiting#Single_power-supply_circuits\nhttps://electronics.stackexchange.com/questions/39465/current-limiters-using-transistors-and-diodes\n">
</Paintings>

View File

@@ -0,0 +1,40 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,19,1716,740,1,0,0>
<Grid=10,10,0>
<DataSet=mbus_master.qucs.dat>
<DataDisplay=mbus_master.qucs-s.sch>
<OpenDisplay=1>
<Script=mbus_master.qucs.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
<Rect 160 322 554 252 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/mbus_master:tran.v(txd)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(mbusminus)" #ff0000 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(mbusplus)" #ff00ff 0 3 0 0 0>
</Rect>
<Rect 120 640 575 216 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -2 2 5.22583 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master:tran.v(npnbase)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(rx)" #ff0000 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(baseq1)" #ff00ff 0 3 0 0 0>
</Rect>
<Rect 820 464 576 398 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -2.97992 5 32.9982 1 -1 0.2 1 315 0 225 "" "" "">
<"ngspice/mbus_master:tran.v(mbusminus)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(mbusplus)" #ff0000 0 3 0 0 0>
<"ngspice/mbus_master:tran.v(txd)" #ff00ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,90 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=140,-10,2645,877,0.81227,0,58>
<Grid=10,10,1>
<DataSet=mbus_master.qucs.dat>
<DataDisplay=mbus_master.qucs.dpl>
<OpenDisplay=1>
<Script=mbus_master.qucs.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 200 420 0 0 0 0>
<GND * 1 200 230 0 0 0 0>
<Vrect V2 1 200 370 18 -26 0 1 "5 V" 1 "1 ms" 1 "1 ms" 1 "1 ns" 0 "1 ns" 0 "0 ns" 0>
<_BJT BC337AP_1 1 460 340 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<GND * 1 460 440 0 0 0 0>
<GND * 1 600 440 0 0 0 0>
<R_SPICE R4 1 600 390 15 -26 0 1 "22k" 1 "" 0 "" 0 "" 0 "" 0>
<R_SPICE R2 1 600 170 15 -26 0 1 "39k" 1 "" 0 "" 0 "" 0 "" 0>
<R R1 1 340 340 -26 15 0 0 "1k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R_SPICE R5 1 900 170 15 -26 0 1 "220k" 1 "" 0 "" 0 "" 0 "" 0>
<_BJT BD136_138_140_1 1 900 270 8 -26 1 0 "pnp" 0 "2.9537e-13" 0 "1" 0 "1.021" 0 "1.0993" 0 "0.1" 0 "137" 0 "8.41" 0 "1.8002e-13" 0 "1.5" 0 "7.0433e-12" 0 "1.38" 0 "201.4" 0 "23.765" 0 "0.01" 0 "0.011" 0 "0.01" 0 "0.1109" 0 "1.98" 0 "2.1982e-10" 0 "0.7211" 0 "0.3685" 0 "6.8291e-11" 0 "0.5499" 0 "0.3668" 0 "0.5287" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1.4883" 0 "3" 0 "1.2343" 0 "26.85" 0 "1" 0>
<GND * 1 900 440 0 0 0 0>
<GND * 1 700 440 0 0 0 0>
<_BJT BC337AP_2 1 800 340 18 -26 1 2 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R_SPICE R6 1 700 170 15 -26 0 1 "33k" 1 "" 0 "" 0 "" 0 "" 0>
<R_SPICE R7 1 700 370 15 -26 0 1 "3k3" 1 "" 0 "" 0 "" 0 "" 0>
<.DC DC1 1 190 500 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.TR TR1 1 200 580 0 61 0 0 "lin" 1 "0" 1 "5 ms" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<Vdc V3 1 420 610 18 -26 0 1 "5 V" 1>
<GND * 1 420 680 0 0 0 0>
<R_SPICE R9 1 510 540 -26 -53 0 2 "1k" 1 "" 0 "" 0 "" 0 "" 0>
<GND * 1 800 440 0 0 0 0>
<R_SPICE R3 1 900 390 15 -26 0 1 "82" 1 "" 0 "" 0 "" 0 "" 0>
<NutmegEq NutmegEq1 1 670 610 -27 15 0 0 "tran" 1 "mbusdiff=v(mbusplus)-v(mbusminus)" 1>
<Vdc V1 1 200 170 18 -26 0 1 "34 V" 1>
</Components>
<Wires>
<200 90 200 140 "" 0 0 0 "">
<200 90 600 90 "" 0 0 0 "">
<200 200 200 230 "" 0 0 0 "">
<200 400 200 420 "" 0 0 0 "">
<200 340 310 340 "TxD" 290 310 56 "">
<460 270 600 270 "" 0 0 0 "">
<460 270 460 310 "" 0 0 0 "">
<370 340 430 340 "baseq1" 380 290 22 "">
<460 370 460 440 "" 0 0 0 "">
<600 420 600 440 "" 0 0 0 "">
<600 90 600 140 "" 0 0 0 "">
<600 200 600 270 "" 0 0 0 "">
<600 270 600 360 "" 0 0 0 "">
<600 90 700 90 "" 0 0 0 "">
<900 90 900 140 "mbusplus" 990 100 10 "">
<900 200 900 240 "mbusminus" 980 200 4 "">
<600 270 870 270 "pnpbase" 799 241 160 "">
<900 300 900 340 "" 0 0 0 "">
<900 420 900 440 "" 0 0 0 "">
<700 200 700 290 "" 0 0 0 "">
<700 400 700 440 "" 0 0 0 "">
<900 340 900 360 "" 0 0 0 "">
<830 340 900 340 "npnbase" 810 380 30 "">
<800 290 800 310 "" 0 0 0 "">
<700 290 700 340 "rx" 720 310 8 "">
<700 290 800 290 "" 0 0 0 "">
<700 90 900 90 "" 0 0 0 "">
<700 90 700 140 "" 0 0 0 "">
<420 640 420 680 "" 0 0 0 "">
<420 540 420 580 "" 0 0 0 "">
<420 540 480 540 "" 0 0 0 "">
<540 540 670 540 "" 0 0 0 "">
<670 290 670 540 "" 0 0 0 "">
<670 290 700 290 "" 0 0 0 "">
<800 370 800 440 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 1160 673 755 383 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -0.5 2 6 1 -1 1 1 315 0 225 "" "" "">
<"ngspice/mbus_master:tran.v(txd)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master:tran.mbusdiff" #ff0000 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 1190 140 12 #000000 0 "Simulation of complete M-bus part of\nhttps://github.com/rscada/libmbus/raw/master/hardware/MBus_USB.pdf.\n">
</Paintings>

View File

@@ -0,0 +1,34 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,-52,2255,800,1,0,52>
<Grid=10,10,0>
<DataSet=mbus_master_002.qucs-s.dat>
<DataDisplay=mbus_master_002.qucs-s.sch>
<OpenDisplay=1>
<Script=mbus_master_002.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
<Rect 80 265 558 225 3 #c0c0c0 1 00 1 0 0.1 1 1 -0.1 0.2 1.1 1 -0.1 0.2 1.1 315 0 225 "" "" "">
<"ngspice/mbus_master_002:tran.v(mbusminus)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master_002:tran.v(txd)" #ff0000 0 3 0 0 0>
</Rect>
<Rect 740 443 755 383 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -1.28635 2 14.7499 1 -1 0.2 1 315 0 225 "" "" "">
<"ngspice/mbus_master_002:tran.vdrop" #ff00ff 0 3 0 0 0>
<Mkr 0.00100411 214 -214 3 0 0>
<"ngspice/mbus_master_002:tran.v(txd)" #ff0000 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,66 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=140,-10,2645,927,0.81227,0,58>
<Grid=10,10,1>
<DataSet=mbus_master_002.qucs-s.dat>
<DataDisplay=mbus_master_002.qucs-s.dpl>
<OpenDisplay=1>
<Script=mbus_master_002.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 200 420 0 0 0 0>
<GND * 1 200 230 0 0 0 0>
<Vrect V2 1 200 370 18 -26 0 1 "5 V" 1 "1 ms" 1 "1 ms" 1 "1 ns" 0 "1 ns" 0 "0 ns" 0>
<_BJT BC337AP_1 1 460 340 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<GND * 1 460 440 0 0 0 0>
<GND * 1 600 440 0 0 0 0>
<R_SPICE R4 1 600 390 15 -26 0 1 "22k" 1 "" 0 "" 0 "" 0 "" 0>
<R_SPICE R2 1 600 170 15 -26 0 1 "39k" 1 "" 0 "" 0 "" 0 "" 0>
<R_SPICE R5 1 900 170 15 -26 0 1 "220k" 1 "" 0 "" 0 "" 0 "" 0>
<_BJT BD136_138_140_1 1 900 270 8 -26 1 0 "pnp" 0 "2.9537e-13" 0 "1" 0 "1.021" 0 "1.0993" 0 "0.1" 0 "137" 0 "8.41" 0 "1.8002e-13" 0 "1.5" 0 "7.0433e-12" 0 "1.38" 0 "201.4" 0 "23.765" 0 "0.01" 0 "0.011" 0 "0.01" 0 "0.1109" 0 "1.98" 0 "2.1982e-10" 0 "0.7211" 0 "0.3685" 0 "6.8291e-11" 0 "0.5499" 0 "0.3668" 0 "0.5287" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1.4883" 0 "3" 0 "1.2343" 0 "26.85" 0 "1" 0>
<GND * 1 900 440 0 0 0 0>
<.DC DC1 1 190 500 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.TR TR1 1 200 580 0 61 0 0 "lin" 1 "0" 1 "5 ms" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<Vdc V1 1 200 170 18 -26 0 1 "34 V" 1>
<.SW SW1 1 460 570 0 59 0 0 "DC1" 1 "lin" 1 "V1" 1 "34V" 1 "12V" 1 "111" 1 "false" 0>
<NutmegEq NutmegEq1 1 680 520 -27 15 0 0 "tran" 1 "mbusdiff=v(mbusplus)-v(mbusminus)" 1 "vdrop=v(mbusplus)-v(mbusdiff)" 1>
<R R1 1 340 340 -26 15 0 0 "1k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
</Components>
<Wires>
<200 90 200 140 "" 0 0 0 "">
<200 90 600 90 "" 0 0 0 "">
<200 200 200 230 "" 0 0 0 "">
<200 400 200 420 "" 0 0 0 "">
<460 270 600 270 "" 0 0 0 "">
<460 270 460 310 "" 0 0 0 "">
<460 370 460 440 "" 0 0 0 "">
<600 420 600 440 "" 0 0 0 "">
<600 90 600 140 "" 0 0 0 "">
<600 200 600 270 "" 0 0 0 "">
<600 270 600 360 "" 0 0 0 "">
<600 90 900 90 "" 0 0 0 "">
<900 90 900 140 "mbusplus" 990 100 10 "">
<900 200 900 240 "mbusminus" 980 200 4 "">
<600 270 870 270 "pnpbase" 799 241 160 "">
<900 300 900 440 "" 0 0 0 "">
<370 340 430 340 "baseq1" 380 290 22 "">
<200 340 310 340 "TxD" 290 310 56 "">
</Wires>
<Diagrams>
<Rect 1080 590 820 310 3 #c0c0c0 1 00 1 12 2 34 1 8.30002 5 36.2 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_002:v(mbusplus)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master_002:v(mbusminus)" #ff0000 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 1190 140 12 #000000 0 "Similar to mbus_master_001 but with RX removed.\n">
<Text 1240 660 12 #000000 0 "The problem with using resistor voltage dividers is that\nthe voltage drop depends on the supply voltage and is not\nconstant 12V like it should be.">
</Paintings>

View File

@@ -0,0 +1,32 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=-67,-43,1685,800,1,67,43>
<Grid=10,10,0>
<DataSet=mbus_master_003.qucs-s.dat>
<DataDisplay=mbus_master_003.qucs-s.sch>
<OpenDisplay=1>
<Script=mbus_master_003.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
<Rect 70 268 730 233 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -1.323 2 12 1 -1 0.2 1 315 0 225 "" "" "">
<"ngspice/mbus_master_003:tran.v(pnpbase)" #ff0000 0 3 0 0 0>
</Rect>
<Rect 70 638 728 295 3 #c0c0c0 1 00 1 0 0.0005 0.005 1 -1.323 2 12 1 -1 0.2 1 315 0 225 "" "" "">
<"ngspice/mbus_master_003:tran.i(pr1)" #ff00ff 0 3 0 0 0>
<"ngspice/mbus_master_003:tran.i(pr2)" #ff00ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,72 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=140,-10,2645,927,0.81227,0,58>
<Grid=10,10,1>
<DataSet=mbus_master_003.qucs-s.dat>
<DataDisplay=mbus_master_003.qucs-s.dpl>
<OpenDisplay=1>
<Script=mbus_master_003.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 200 420 0 0 0 0>
<GND * 1 200 230 0 0 0 0>
<_BJT BC337AP_1 1 460 340 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<GND * 1 460 440 0 0 0 0>
<GND * 1 600 440 0 0 0 0>
<_BJT BD136_138_140_1 1 900 270 8 -26 1 0 "pnp" 0 "2.9537e-13" 0 "1" 0 "1.021" 0 "1.0993" 0 "0.1" 0 "137" 0 "8.41" 0 "1.8002e-13" 0 "1.5" 0 "7.0433e-12" 0 "1.38" 0 "201.4" 0 "23.765" 0 "0.01" 0 "0.011" 0 "0.01" 0 "0.1109" 0 "1.98" 0 "2.1982e-10" 0 "0.7211" 0 "0.3685" 0 "6.8291e-11" 0 "0.5499" 0 "0.3668" 0 "0.5287" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1.4883" 0 "3" 0 "1.2343" 0 "26.85" 0 "1" 0>
<GND * 1 900 440 0 0 0 0>
<.DC DC1 1 190 500 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.TR TR1 1 200 580 0 61 0 0 "lin" 1 "0" 1 "5 ms" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<Vdc V1 1 200 170 18 -26 0 1 "34 V" 1>
<.SW SW1 1 460 570 0 59 0 0 "DC1" 1 "lin" 1 "V1" 1 "34V" 1 "12V" 1 "111" 1 "false" 0>
<NutmegEq NutmegEq1 1 680 520 -27 15 0 0 "tran" 1 "mbusdiff=v(mbusplus)-v(mbusminus)" 1 "vdrop=v(mbusplus)-v(mbusdiff)" 1>
<R R1 1 340 340 -26 15 0 0 "1k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr1 1 700 270 -26 16 1 2>
<IProbe Pr2 1 900 370 16 -26 1 3>
<Vrect V2 1 200 370 18 -26 0 1 "5 V" 1 "1 ms" 1 "1 ms" 1 "1 ns" 0 "1 ns" 0 "1ms" 0>
<Lib D1 1 600 190 -34 6 0 3 "Z-Diodes" 0 "1N5348B" 0>
<R_SPICE R5 1 900 170 15 -26 0 1 "220k" 1 "" 0 "" 0 "" 0 "" 0>
<R_SPICE R4 1 600 390 15 -26 0 1 "22k" 1 "" 0 "" 0 "" 0 "" 0>
</Components>
<Wires>
<200 90 200 140 "" 0 0 0 "">
<200 90 600 90 "" 0 0 0 "">
<200 200 200 230 "" 0 0 0 "">
<200 400 200 420 "" 0 0 0 "">
<460 270 600 270 "" 0 0 0 "">
<460 270 460 310 "" 0 0 0 "">
<460 370 460 440 "" 0 0 0 "">
<900 90 900 140 "mbusplus" 990 100 10 "">
<900 200 900 240 "mbusminus" 980 200 4 "">
<370 340 430 340 "baseq1" 380 290 22 "">
<200 340 310 340 "TxD" 290 310 56 "">
<730 270 870 270 "pnpbase" 820 240 52 "">
<900 300 900 340 "" 0 0 0 "">
<900 400 900 440 "" 0 0 0 "">
<600 90 900 90 "" 0 0 0 "">
<600 90 600 160 "" 0 0 0 "">
<600 270 670 270 "" 0 0 0 "">
<600 220 600 270 "" 0 0 0 "">
<600 270 600 360 "" 0 0 0 "">
<600 420 600 440 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 1080 590 820 310 3 #c0c0c0 1 00 1 12 2 34 1 1.89113 5 36.919 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_003:v(mbusplus)" #ff00ff 0 3 0 0 0>
<"ngspice/mbus_master_003:v(mbusminus)" #00ff00 0 3 0 0 0>
<"ngspice/mbus_master_003:v(pnpbase)" #00ffff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 1190 140 12 #000000 0 "Similar to mbus_master_002 but using a zener instead of R2.\n">
<Text 1240 660 12 #000000 0 "With a zener the voltage drop is constantly 12V like it should be.">
<Text 480 170 12 #000000 0 "11V 5W 1A">
</Paintings>

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View File

@@ -0,0 +1,33 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,-1080,1119,3261,1,0,0>
<Grid=10,10,0>
<DataSet=mbus_master_004.qucs-s.dat>
<DataDisplay=mbus_master_004.qucs-s.sch>
<OpenDisplay=1>
<Script=mbus_master_004.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
<Rect 140 -826 936 194 3 #c0c0c0 1 00 1 12 2 34 1 -0.00203476 0.01 0.0223864 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_004:i(pr1)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master_004:i(pr2)" #ff0000 0 3 0 0 0>
<"ngspice/mbus_master_004:i(pr4)" #00ff00 0 3 0 0 0>
</Rect>
<Rect 140 -609 937 161 3 #c0c0c0 1 00 1 12 2 34 1 -0.00203476 0.01 0.0223864 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_004:i(pr3)" #ff00ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,105 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=146,50,2065,969,0.802424,0,0>
<Grid=10,10,1>
<DataSet=mbus_master_004.qucs-s.dat>
<DataDisplay=mbus_master_004.qucs-s.dpl>
<OpenDisplay=1>
<Script=mbus_master_004.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 200 230 0 0 0 0>
<Vdc V1 1 200 170 18 -26 0 1 "34 V" 1>
<R_SPICE R5 1 900 150 15 -26 0 1 "220k" 1 "" 0 "" 0 "" 0 "" 0>
<.TR TR1 1 1330 650 0 61 0 0 "lin" 1 "0" 1 "5 ms" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<.SW SW1 1 1540 630 0 59 0 0 "DC1" 1 "lin" 1 "V1" 1 "34V" 1 "12V" 1 "111" 1 "false" 0>
<GND * 1 200 800 0 0 0 0>
<GND * 1 460 800 0 0 0 0>
<GND * 1 900 810 0 0 0 0>
<IProbe Pr2 1 900 660 16 -26 1 3>
<Vdc V3 1 200 740 18 -26 0 1 "5 V" 1>
<_BJT BC337AP_1 1 460 670 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R R1 1 320 670 -26 15 0 0 "1k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<_BJT BD136_138_140_1 1 900 530 8 -26 1 0 "pnp" 0 "2.9537e-13" 0 "1" 0 "1.021" 0 "1.0993" 0 "0.1" 0 "137" 0 "8.41" 0 "1.8002e-13" 0 "1.5" 0 "7.0433e-12" 0 "1.38" 0 "201.4" 0 "23.765" 0 "0.01" 0 "0.011" 0 "0.01" 0 "0.1109" 0 "1.98" 0 "2.1982e-10" 0 "0.7211" 0 "0.3685" 0 "6.8291e-11" 0 "0.5499" 0 "0.3668" 0 "0.5287" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1.4883" 0 "3" 0 "1.2343" 0 "26.85" 0 "1" 0>
<NutmegEq NutmegEq1 1 1790 630 -27 15 0 0 "tran" 1 "mbusdiff=v(mbusplus)-v(mbusminus)" 1>
<VProbe Vdrop 1 1030 160 -16 28 0 3>
<IProbe Pr3 1 460 580 16 -26 1 3>
<_BJT BC337AP_2 1 370 420 -96 -26 1 2 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R R8 1 370 320 15 -26 0 1 "6k8" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<_BJT BC337AP_3 1 500 370 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R R7 1 440 420 -26 15 0 0 "1" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr1 1 710 530 -26 16 1 2>
<IProbe Pr4 1 640 630 -41 -26 0 3>
<R_SPICE R4 1 640 730 15 -26 0 1 "22k" 1 "" 0 "" 0 "" 0 "" 0>
<GND * 1 640 800 0 0 0 0>
<R R6 1 500 470 15 -26 0 1 "150" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Lib D2 1 640 150 -34 6 0 3 "Z-Diodes" 0 "1N5350B" 0>
<.DC DC1 1 1100 560 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.SW SW2 1 1090 670 0 59 0 0 "SW1" 1 "lin" 1 "R5" 1 "1k" 1 "200k" 1 "200" 1 "false" 0>
</Components>
<Wires>
<200 90 200 140 "" 0 0 0 "">
<200 90 640 90 "" 0 0 0 "">
<200 200 200 230 "" 0 0 0 "">
<900 90 900 110 "mbusplus" 940 70 10 "">
<900 690 900 810 "" 0 0 0 "">
<200 770 200 800 "" 0 0 0 "">
<460 700 460 800 "" 0 0 0 "">
<350 670 430 670 "baseq1" 390 720 42 "">
<200 670 200 710 "" 0 0 0 "">
<200 670 290 670 "TxD" 220 610 56 "">
<900 180 900 190 "" 0 0 0 "">
<900 560 900 630 "" 0 0 0 "">
<1010 110 1010 150 "" 0 0 0 "">
<900 110 900 120 "" 0 0 0 "">
<900 110 1010 110 "" 0 0 0 "">
<1010 170 1010 190 "" 0 0 0 "">
<900 190 900 500 "mbusminus" 940 240 14 "">
<900 190 1010 190 "" 0 0 0 "">
<460 610 460 640 "" 0 0 0 "">
<460 520 460 550 "" 0 0 0 "">
<370 520 460 520 "" 0 0 0 "">
<370 450 370 520 "" 0 0 0 "">
<370 290 430 290 "" 0 0 0 "">
<500 290 500 340 "" 0 0 0 "">
<370 350 370 370 "" 0 0 0 "">
<370 370 370 390 "" 0 0 0 "">
<370 370 470 370 "" 0 0 0 "">
<470 420 500 420 "" 0 0 0 "">
<400 420 410 420 "" 0 0 0 "">
<500 500 500 520 "" 0 0 0 "">
<500 420 500 440 "" 0 0 0 "">
<500 400 500 420 "" 0 0 0 "">
<460 520 500 520 "" 0 0 0 "">
<640 530 680 530 "" 0 0 0 "">
<740 530 870 530 "pnpbase" 790 480 42 "">
<640 530 640 600 "" 0 0 0 "">
<640 660 640 700 "" 0 0 0 "">
<640 760 640 800 "" 0 0 0 "">
<430 290 500 290 "" 0 0 0 "">
<430 240 430 290 "" 0 0 0 "">
<640 240 640 530 "" 0 0 0 "">
<430 240 640 240 "" 0 0 0 "">
<640 180 640 240 "" 0 0 0 "">
<640 90 900 90 "" 0 0 0 "">
<640 90 640 120 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 1160 410 820 310 3 #c0c0c0 1 00 1 12 2 34 1 -2.84689 10 40 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_004:v(mbusplus)" #00ff00 0 3 0 0 0>
<"ngspice/mbus_master_004:v(mbusminus)" #00ffff 0 3 0 0 0>
<"ngspice/mbus_master_004:v(vdrop)" #ff090d 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 500 140 12 #000000 0 "13V 5W 1A\n1N5350B">
<Text 1330 520 12 #000000 0 "For TxD high input, voltage drop is constant 12V for any supply voltage between ~13V to 34V\nand for any bus load between 1 to 200k Ohm.">
</Paintings>

View File

@@ -0,0 +1,25 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,-8,1277,979,1,0,0>
<Grid=10,10,0>
<DataSet=mbus_master_100.qucs-s.dat>
<DataDisplay=mbus_master_100.qucs-s.sch>
<OpenDisplay=1>
<Script=mbus_master_100.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
</Components>
<Wires>
</Wires>
<Diagrams>
</Diagrams>
<Paintings>
</Paintings>

View File

@@ -0,0 +1,111 @@
<Qucs Schematic 0.0.20>
<Properties>
<View=0,-60,2023,1131,0.84375,0,109>
<Grid=10,10,1>
<DataSet=mbus_master_100.qucs-s.dat>
<DataDisplay=mbus_master_100.qucs-s.dpl>
<OpenDisplay=1>
<Script=mbus_master_100.qucs-s.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<Lib D1 1 520 140 -34 6 0 3 "Z-Diodes" 0 "1N5350B" 0>
<GND * 1 40 210 0 0 0 0>
<Vrect V2 1 40 640 18 -26 0 1 "5 V" 1 "1 ms" 1 "1 ms" 1 "1 ns" 0 "1 ns" 0 "0 ns" 0>
<IProbe Pr3 1 520 370 -41 -26 0 3>
<R R1 1 240 600 -26 15 0 0 "10k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr1 1 380 560 -26 16 0 0>
<GND * 1 520 670 0 0 0 0>
<GND * 1 40 730 0 0 0 0>
<_BJT BC337AP_Q2 1 400 250 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R R4 1 230 170 15 -26 0 1 "10k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R5 1 400 160 15 -26 0 1 "10k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Vdc V1 1 40 140 18 -26 0 1 "42 V" 1>
<IProbe Pr4 1 630 210 -41 -26 0 3>
<R_SPICE R2 1 520 510 15 -26 0 1 "8.6k" 1 "" 0 "" 0 "" 0 "" 0>
<IProbe Pr2 1 120 490 16 -26 0 1>
<GND * 1 230 500 0 0 0 0>
<IProbe Pr5 1 230 440 -41 -26 0 3>
<_BJT BC337AP_Q1 1 230 340 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<R R3 1 150 340 -26 -53 0 2 "10k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<VProbe Vdrop2 1 960 180 -16 28 0 3>
<IProbe Pr6 1 830 490 16 -26 1 3>
<GND * 1 830 680 0 0 0 0>
<Vdc V3 1 160 700 18 -26 0 1 "5 V" 1>
<GND * 1 160 790 0 0 0 0>
<R_SPICE R6 1 830 170 15 -26 0 1 "220k" 1 "" 0 "" 0 "" 0 "" 0>
<.DC DC1 1 1120 120 0 38 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.SW SW2 1 1590 120 0 60 0 0 "DC1" 1 "lin" 1 "R6" 1 "500" 1 "250k" 1 "251" 1 "false" 0>
<.TR TR1 0 1360 120 0 61 0 0 "lin" 1 "0" 1 "5 ms" 1 "11" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<_BJT BC337AP_Q3 1 520 600 8 -26 0 0 "npn" 0 "3.94e-14" 0 "1" 0 "0.974" 0 "0.8" 0 "0.1" 0 "109.4" 0 "14.25" 0 "7.4e-15" 0 "1.3" 0 "3.16e-13" 0 "1.2" 0 "175" 0 "20.5" 0 "0" 0 "0" 0 "0.0539" 0 "0.1259" 0 "1.1" 0 "6.3e-11" 0 "0.75" 0 "0.33" 0 "1.58e-11" 0 "0.505" 0 "0.39" 0 "1" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "7.5e-10" 0 "0" 0 "0" 0 "0" 0 "8.5e-08" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "0" 0 "3" 0 "1.11" 0 "26.85" 0 "1" 0>
<_BJT BD136_138_140_Q4 1 830 320 8 -26 1 0 "pnp" 0 "2.9537e-13" 0 "1" 0 "1.021" 0 "1.0993" 0 "0.1" 0 "137" 0 "8.41" 0 "1.8002e-13" 0 "1.5" 0 "7.0433e-12" 0 "1.38" 0 "201.4" 0 "23.765" 0 "0.01" 0 "0.011" 0 "0.01" 0 "0.1109" 0 "1.98" 0 "2.1982e-10" 0 "0.7211" 0 "0.3685" 0 "6.8291e-11" 0 "0.5499" 0 "0.3668" 0 "0.5287" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "26.85" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1" 0 "1" 0 "0" 0 "1.4883" 0 "3" 0 "1.2343" 0 "26.85" 0 "1" 0>
</Components>
<Wires>
<40 110 230 110 "" 0 0 0 "">
<40 170 40 210 "" 0 0 0 "">
<400 110 520 110 "" 0 0 0 "">
<400 110 400 130 "" 0 0 0 "">
<230 110 400 110 "" 0 0 0 "">
<230 110 230 140 "" 0 0 0 "">
<230 200 230 250 "" 0 0 0 "">
<400 190 400 220 "" 0 0 0 "">
<400 280 520 280 "" 0 0 0 "">
<40 600 40 610 "" 0 0 0 "">
<40 600 120 600 "TxD" 50 560 47 "">
<120 600 160 600 "" 0 0 0 "">
<520 280 520 320 "" 0 0 0 "">
<410 600 490 600 "" 0 0 0 "">
<410 560 410 600 "" 0 0 0 "">
<270 600 350 600 "" 0 0 0 "">
<350 560 350 600 "" 0 0 0 "">
<520 630 520 670 "" 0 0 0 "">
<520 240 520 280 "" 0 0 0 "">
<520 240 630 240 "" 0 0 0 "">
<520 170 630 170 "" 0 0 0 "">
<630 170 630 180 "" 0 0 0 "">
<520 400 520 480 "" 0 0 0 "">
<520 540 520 570 "" 0 0 0 "">
<120 520 120 600 "" 0 0 0 "">
<230 470 230 500 "" 0 0 0 "">
<230 370 230 410 "" 0 0 0 "">
<230 250 230 310 "" 0 0 0 "">
<230 250 370 250 "" 0 0 0 "">
<120 340 120 460 "" 0 0 0 "">
<180 340 200 340 "" 0 0 0 "">
<830 110 830 130 "mbusplus" 870 90 10 "">
<940 130 940 170 "" 0 0 0 "">
<830 130 940 130 "" 0 0 0 "">
<940 190 940 210 "" 0 0 0 "">
<830 210 940 210 "" 0 0 0 "">
<830 130 830 140 "" 0 0 0 "">
<830 200 830 210 "" 0 0 0 "">
<520 110 830 110 "" 0 0 0 "">
<830 210 830 290 "mbusminus" 870 260 14 "">
<520 320 520 340 "" 0 0 0 "">
<520 320 800 320 "pnpbase" 690 340 252 "">
<830 350 830 460 "" 0 0 0 "">
<830 520 830 680 "" 0 0 0 "">
<160 600 210 600 "" 0 0 0 "">
<160 600 160 670 "" 0 0 0 "">
<160 730 160 790 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 1060 532 613 192 3 #c0c0c0 1 00 1 -1 0.2 1 1 -1 0.5 1 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_100:tran.v(pnpbase)" #0000ff 0 3 0 0 0>
<"ngspice/mbus_master_100:tran.v(txd)" #ff0000 0 3 0 0 0>
</Rect>
<Rect 1030 944 618 244 3 #c0c0c0 1 00 0 0 50000 250000 1 12.0429 0.05 12.217 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/mbus_master_100:v(vdrop2)" #0000ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 1040 590 12 #000000 0 "With 0/5V pulse input (e.g. V2 connected):\n\nThe mbusminus voltage goes properly back to mbusplus when TxD is low.">
<Text 1040 980 12 #000000 0 "With constant 5V input (e.g. V3 connected):\n\nThe voltage drop is between 12 and 12.2V for any load between 500 to 250kOm">
</Paintings>

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Some files were not shown because too many files have changed in this diff Show More