NopSCADlib/examples/MainsBreakOutBox/readme.md

203 lines
9.3 KiB
Markdown
Raw Normal View History

2019-06-11 03:46:38 -04:00
<a name="TOP"></a>
2019-06-10 05:38:57 -04:00
# MainsBreakOutBox
13A socket break out box with 4mm jacks to measure voltage and / or load current and earth leakage current.
2019-06-10 10:50:05 -04:00
Intended as a simple example of NopSCADlib use. Don't build it unless you understand the safety implications of working with mains electricity. In the words of
the great [Paul Carlson](https://www.youtube.com/channel/UCU9SoQxJewrWb_3GxeteQPA), "if you are following along, you are doing so at your own risk".
In normal use the neutral jack sockets are linked with a short lead and so are the two earth jacks. Current can be safely measured using a clamp ammeter around the neutral link.
Voltage and current waveforms can be measured simultaneously with a [Mooshimeter](https://moosh.im/) CAT III multimeter connected to the bottom three jacks.
Earth leakage current can be measured by connecting an AC milliampere meter between the two earth jacks. The DUT must be mounted on an insulated substrate and must not be touched
while its earth is disconnected. Don't be tempted to float the earth of an oscilloscope this way, use a mains isolation transformer to power the DUT instead.
Earth leakage can be measured Canadian CSA style by disconnected the neutral link from the left socket and linking the central neutral to the live.
2019-06-10 05:38:57 -04:00
![Main Assembly](assemblies/main_assembled.png)
---
## Table of Contents
1. [Parts list](#Parts_list)
1. [Base Assembly](#base_assembly)
1. [Feet Assembly](#feet_assembly)
1. [Mains In Assembly](#mains_in_assembly)
1. [Main Assembly](#main_assembly)
2019-06-10 05:38:57 -04:00
[Top](#TOP)
2019-06-10 05:38:57 -04:00
---
2019-06-11 03:46:38 -04:00
<a name="Parts_list"></a>
2019-06-10 05:38:57 -04:00
## Parts list
| <span style="writing-mode: vertical-rl; text-orientation: mixed;">Base</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Feet</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Mains&nbsp;In</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">Main</span> | <span style="writing-mode: vertical-rl; text-orientation: mixed;">TOTALS</span> | |
|---:|---:|---:|---:|---:|:---|
| | | | | | **Vitamins** |
2019-06-10 05:38:57 -04:00
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; 4mm shielded jack socket blue |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp; 4mm shielded jack socket brown |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; 4mm shielded jack socket green |
2019-06-10 10:50:05 -04:00
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;3&nbsp; | &nbsp;&nbsp;3&nbsp; | &nbsp;&nbsp; Ferrule for 1.5mm^2 wire - not shown |
2019-06-10 05:38:57 -04:00
| &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Heatfit insert M3 |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;3&nbsp; | &nbsp;&nbsp;5&nbsp; | &nbsp;&nbsp;8&nbsp; | &nbsp;&nbsp; Heatshrink sleeving ID 3.2mm x 15mm - not shown |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp; IEC inlet for ATX |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp; Mains socket 13A |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;6&nbsp; | &nbsp;&nbsp; Nut M3 x 2.4mm nyloc |
2019-06-10 05:38:57 -04:00
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Screw M3 cs cap x 12mm |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Screw M3 cs cap x 20mm |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp; Screw M3 dome x 10mm |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;8&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;10&nbsp; | &nbsp;&nbsp; Washer M3 x 7mm x 0.5mm |
2019-06-10 10:50:05 -04:00
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Wire blue 30/0.25mm strands, length 150mm - not shown |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Wire brown 30/0.25mm strands, length 150mm - not shown |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp; Wire green & yellow 30/0.25mm strands, length 150mm - not shown |
| &nbsp;&nbsp;2&nbsp; | &nbsp;&nbsp;16&nbsp; | &nbsp;&nbsp;14&nbsp; | &nbsp;&nbsp;18&nbsp; | &nbsp;&nbsp;50&nbsp; | &nbsp;&nbsp;Total vitamins count |
| | | | | | **3D printed parts** |
| &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp;foot.stl |
| &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;socket_box.stl |
| &nbsp;&nbsp;1&nbsp; | &nbsp;&nbsp;4&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;.&nbsp; | &nbsp;&nbsp;5&nbsp; | &nbsp;&nbsp;Total 3D printed parts count |
[Top](#TOP)
2019-06-10 05:38:57 -04:00
---
2019-06-11 03:46:38 -04:00
<a name="base_assembly"></a>
2019-06-10 05:38:57 -04:00
## Base Assembly
### Vitamins
|Qty|Description|
|---:|:----------|
2019-06-10 05:38:57 -04:00
|2| Heatfit insert M3|
### 3D Printed parts
| 1 x socket_box.stl |
|---|
2019-06-10 05:38:57 -04:00
| ![socket_box.stl](stls/socket_box.png)
### Assembly instructions
![base_assembly](assemblies/base_assembly.png)
2019-06-10 05:38:57 -04:00
1. Remove the support material from under the insert lugs.
2. Place the inserts into the holes in the lugs and press home with a soldering iron with a conical bit heated to 200&deg;C.
![base_assembled](assemblies/base_assembled.png)
2019-06-10 05:38:57 -04:00
[Top](#TOP)
2019-06-10 05:38:57 -04:00
---
2019-06-11 03:46:38 -04:00
<a name="feet_assembly"></a>
2019-06-10 05:38:57 -04:00
## Feet Assembly
### Vitamins
|Qty|Description|
|---:|:----------|
|4| Nut M3 x 2.4mm nyloc|
|4| Screw M3 dome x 10mm|
|8| Washer M3 x 7mm x 0.5mm|
2019-06-10 05:38:57 -04:00
### 3D Printed parts
| 4 x foot.stl |
|---|
2019-06-10 05:38:57 -04:00
| ![foot.stl](stls/foot.png)
### Sub-assemblies
| 1 x base_assembly |
|---|
2019-06-10 05:38:57 -04:00
| ![base_assembled](assemblies/base_assembled_tn.png)
### Assembly instructions
![feet_assembly](assemblies/feet_assembly.png)
2019-06-10 05:38:57 -04:00
* Attach the four feet using 10mm M3 dome screws, washers above and below and nyloc nuts
![feet_assembled](assemblies/feet_assembled.png)
2019-06-10 05:38:57 -04:00
[Top](#TOP)
2019-06-10 05:38:57 -04:00
---
2019-06-11 03:46:38 -04:00
<a name="mains_in_assembly"></a>
2019-06-10 05:38:57 -04:00
## Mains In Assembly
### Vitamins
|Qty|Description|
|---:|:----------|
2019-06-10 05:38:57 -04:00
|3| Heatshrink sleeving ID 3.2mm x 15mm - not shown|
|1| IEC inlet for ATX|
|2| Nut M3 x 2.4mm nyloc|
2019-06-10 05:38:57 -04:00
|2| Screw M3 cs cap x 12mm|
|2| Washer M3 x 7mm x 0.5mm|
|1| Wire blue 30/0.25mm strands, length 150mm - not shown|
|2| Wire brown 30/0.25mm strands, length 150mm - not shown|
|1| Wire green & yellow 30/0.25mm strands, length 150mm - not shown|
2019-06-10 05:38:57 -04:00
### Sub-assemblies
| 1 x feet_assembly |
|---|
2019-06-10 05:38:57 -04:00
| ![feet_assembled](assemblies/feet_assembled_tn.png)
### Assembly instructions
![mains_in_assembly](assemblies/mains_in_assembly.png)
2019-06-10 05:38:57 -04:00
2019-06-10 10:50:05 -04:00
1. Solder wires to the IEC terminals: -
2019-06-10 05:38:57 -04:00
* Use wire rated for 13A, e.g. 1.5mm<sup>2</sup>, the easiest source is stripping 13A rated flex.
2019-06-10 10:50:05 -04:00
* Attach one green & yellow to the earth, one blue to neutral and two brown to the live.
* The earth, neutral and one of the live wires should be long enough to protrude through the appropriate 4mm jack holes far enough to be able to strip and solder them to the jacks.
* The second brown needs to be long enough to reach the socket.
1. Cover the the joints with heatshrink sleeving and shrink it with a hot air gun.
2019-06-10 05:38:57 -04:00
1. Attach the IEC inlet using two 12mm M3 countersunk cap screws, washers and nyloc nuts on the back.
![mains_in_assembled](assemblies/mains_in_assembled.png)
2019-06-10 05:38:57 -04:00
[Top](#TOP)
2019-06-10 05:38:57 -04:00
---
2019-06-11 03:46:38 -04:00
<a name="main_assembly"></a>
2019-06-10 05:38:57 -04:00
## Main Assembly
### Vitamins
|Qty|Description|
|---:|:----------|
2019-06-10 05:38:57 -04:00
|2| 4mm shielded jack socket blue|
|1| 4mm shielded jack socket brown|
|2| 4mm shielded jack socket green|
|3| Ferrule for 1.5mm^2 wire - not shown|
|5| Heatshrink sleeving ID 3.2mm x 15mm - not shown|
|1| Mains socket 13A|
|2| Screw M3 cs cap x 20mm|
|1| Wire blue 30/0.25mm strands, length 150mm - not shown|
|1| Wire green & yellow 30/0.25mm strands, length 150mm - not shown|
2019-06-10 05:38:57 -04:00
### Sub-assemblies
| 1 x mains_in_assembly |
|---|
2019-06-10 05:38:57 -04:00
| ![mains_in_assembled](assemblies/mains_in_assembled_tn.png)
### Assembly instructions
![main_assembly](assemblies/main_assembly.png)
2019-06-10 05:38:57 -04:00
![inside](docs/inside_small.jpg)
1. Put the blue wire from the IEC inlet through the bottom left jack hole, strip it, add heatshrink sleeving and solder it to one of the blue jack sockets.
1. Put the green & yellow wire through the top left jack hole, add heatshrink sleeving and solder it to one of the green jack sockets.
1. Put the thin brown wire the bottom right jack hole, add heatshrink sleeving and solder it to the brown jack socket.
1. Shrink the heatshrink and screw in the three jack sockets.
1. Solder a 13A green & yellow wire to the remaining green jack socket, long enough to reach the 13A socket. Add heashrink and fit it to the top right jack hole.
1. Solder a 13A blue wire to the remaining blue jack socket, long enough to reach the 13A socket. Add heatshrink and fit to the bottom middle jack hole.
1. Crimp appropriate ferrules to the three wires and connect them to the 13A socket.
1. Screw the socket onto the top of the case using two 20mm M3 countersunk cap screws.
![main_assembled](assemblies/main_assembled.png)
2019-06-10 05:38:57 -04:00
[Top](#TOP)