<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Wiring on mhemeryck</title><link>https://mhemeryck.xyz/tags/wiring/</link><description>Recent content in Wiring on mhemeryck</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Tue, 13 Jul 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://mhemeryck.xyz/tags/wiring/index.xml" rel="self" type="application/rss+xml"/><item><title>Electrical cabinet</title><link>https://mhemeryck.xyz/posts/2021-07-13-home_automation_cabinet/</link><pubDate>Tue, 13 Jul 2021 00:00:00 +0000</pubDate><guid>https://mhemeryck.xyz/posts/2021-07-13-home_automation_cabinet/</guid><description>&lt;p&gt;In earlier posts, I did provide an overview of the architecture of my custom-made home automation system.
I also did describe some specificities related to a &lt;em&gt;wired&lt;/em&gt; home automation setup.
For my system, I decide on wiring everything in a &lt;em&gt;star-configuration&lt;/em&gt;, meaning all wiring around the house for lights, push buttons, &amp;hellip; all converges in a &lt;strong&gt;centralized electrical cabinet&lt;/strong&gt;.
The focus of this post is to show you some details of what this cabinet looks like and some pointers for practical issues I had run into.&lt;/p&gt;</description><content:encoded>&lt;p&gt;In earlier posts, I did provide an overview of the architecture of my custom-made home automation system.
I also did describe some specificities related to a &lt;em&gt;wired&lt;/em&gt; home automation setup.
For my system, I decide on wiring everything in a &lt;em&gt;star-configuration&lt;/em&gt;, meaning all wiring around the house for lights, push buttons, &amp;hellip; all converges in a &lt;strong&gt;centralized electrical cabinet&lt;/strong&gt;.
The focus of this post is to show you some details of what this cabinet looks like and some pointers for practical issues I had run into.&lt;/p&gt;
&lt;p&gt;This post is a part of a larger series of posts on my home automation setup.
See the &lt;a href="https://mhemeryck.xyz/posts/2021-06-15-home_automation_why/"&gt;home automation overview post&lt;/a&gt;, to learn about the rationale and a description of the other posts!&lt;/p&gt;
&lt;h2 id="inside-the-cabinet"&gt;Inside the cabinet&lt;/h2&gt;
&lt;p&gt;Given the star-configuration for all of the lights, the amount of wiring in the central electricity cabinet quickly adds up.
The following picture shows a work-in-progress view while laying out the cables:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/cabinet-wip.jpg" alt="cabinet-wip"&gt;&lt;/p&gt;
&lt;p&gt;Be sure you have a consistent &lt;em&gt;labelling scheme&lt;/em&gt; while pulling all of the cable.
Looking back at these pictures, I think it is a bit of miracle I did not miss anything &amp;hellip;&lt;/p&gt;
&lt;h3 id="terminal-clamps"&gt;Terminal clamps&lt;/h3&gt;
&lt;p&gt;Besides from labelling the cables during the pulling of the cables, I also did use &lt;strong&gt;terminal clamps&lt;/strong&gt;, like the &lt;a href="https://www.wago.com/global/electrical-interconnections/discover-rail-mount-terminal-blocks"&gt;WAGO rail-mount terminal blocks&lt;/a&gt;.
On one end of such a block, you have one or more terminals where you can connect your wires.
The other end on this block can then later be used to connect whatever you need.&lt;/p&gt;
&lt;p&gt;The next figure details the terminal clamps I did use, the &lt;a href="https://www.wago.com/global/rail-mount-terminal-blocks/multilevel-installation-terminal-block/p/2003-7642"&gt;WAGO TOPJOB S 2003-7642&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/wago.png" alt="wago"&gt;&lt;/p&gt;
&lt;p&gt;The details include the nominal voltage and current ratings, wire gauges, the physical width of the clamp itself, etc.
The lines next to the clamp indicate the &lt;strong&gt;different clamp variants&lt;/strong&gt; available.
The first 2 variants are 2 &amp;ldquo;stories&amp;rdquo; high (2 electrical connections on a single clamp) whereas the bottom 2 feature 3 &amp;ldquo;stories&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Each &lt;strong&gt;story&lt;/strong&gt; represents a single electrical connection, isolated from the other stories.
The number of stories all have to do with saving space inside the cabinet: 2 stories really mean you need only half the amount of clamps.
Additionally, since most mains voltage wiring is for single phase electrical connection, you can group the phase and neutral wire in one such clamp.&lt;/p&gt;
&lt;p&gt;Aside from the first row indicating the details about the terminal clamp, the figure also details many different variants of &lt;strong&gt;jumpers&lt;/strong&gt; available.
These jumpers can be placed in the middle ends of the clamps and provide a connection between the different clamps, which facilitates making electrical parallel connections.&lt;/p&gt;
&lt;p&gt;Functionally, these terminal clamps does not do all that much.
In terms of costs, a single block is not that expensive but since the amount of blocks you need quickly adds up, so do the costs.
Nonetheless, &lt;strong&gt;I would still highly recommend it&lt;/strong&gt; to keep a clear overview while inside of your cabinet.&lt;/p&gt;
&lt;h3 id="relays"&gt;Relays&lt;/h3&gt;
&lt;p&gt;The next picture shows 2 DIN-rails with all of the terminal blocks for my lights.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/cabinet-clamps.jpg" alt="cabinet-clamps"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;top row: termination of phase (brown) and neutral (blue) wires.&lt;/li&gt;
&lt;li&gt;bottom row: termination of 2 more wires which I intend to use as a [DALI] bus&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;; DALI+ (grey) and DALI- (black).&lt;/li&gt;
&lt;li&gt;jumpers: middle of terminal blocks&lt;/li&gt;
&lt;li&gt;orange spacers: each set of blocks between these spacers represent a single electric circuit. This makes it easier to map the one-wire diagram to the actual wiring inside the cabinet.&lt;/li&gt;
&lt;li&gt;green / yellow wires: these are terminated separately on the copper bar (visible between the two DIN rails) and directly connected to the main earth wire.&lt;/li&gt;
&lt;li&gt;two-level terminal blocks: the terminal blocks used here have 2 levels, i.e. the outer 2 terminals are connected as well as the inner 2. A multitude of such terminal blocks exists, ranging for single to multiple levels as well as different functionalities (built-in diodes, resistors, &amp;hellip;). Here, two-level terminal blocks were used mostly because of space constraints.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that at this point that the wires from the light fixtures in the house were just connected to these terminal blocks: having these blocks there means you can later still have all &lt;strong&gt;flexibility&lt;/strong&gt; for connecting them elsewhere.&lt;/p&gt;
&lt;p&gt;The next part is connecting them to the unit that contains the relays themselves.
The &lt;a href="https://kb.unipi.technology/en:hw:02-neuron:description-of-io:03-description-of-ro"&gt;unipi relay outputs KB&lt;/a&gt; lists all of the details for connecting a single relay:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://kb.unipi.technology/_media/en:hw:010_connection_of_io.png" alt="unipi relay outputs img"&gt;&lt;/p&gt;
&lt;p&gt;This connection in itself is not all that complex for a &lt;em&gt;single&lt;/em&gt; relay.
Since multiple lights on the same circuit are connected to the same &lt;strong&gt;circuit breaker&lt;/strong&gt;, there is the practical concern of how to ensure these are all properly connected in parallel while still maintaining again a good overview.
The following picture shows another set of terminal blocks that I did use for this (orange blocks on the left of the unipi unit):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/cabinet-unipi.jpg" alt="cabinet-unipi"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;phase wire (brown): the terminal block holders (orange, left from the unipi module) hold a set of terminal blocks which have one end connected to the circuit breaker, the other ends serve to &lt;em&gt;distribute&lt;/em&gt; the voltage to multiple relays.&lt;/li&gt;
&lt;li&gt;neutral wire (blue): since all neutral wires of a single circuit are placed next to each other, these can just be connected in parallel using a jumper.&lt;/li&gt;
&lt;li&gt;relay: each of the lights are connected to &amp;ldquo;RO&amp;rdquo; connections coming from the unipi module.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="push-buttons"&gt;Push buttons&lt;/h3&gt;
&lt;p&gt;Next to the series of clamps for terminating the cables for the lights, I also did use the same type of clamps for &lt;strong&gt;terminating the SVV analog signaling cable&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/cabinet-clamps-svv.jpg" alt="cabinet-clamps-svv"&gt;&lt;/p&gt;
&lt;p&gt;At the top, the &lt;strong&gt;incoming signaling cable&lt;/strong&gt; is terminated.
Spacers are placed series of clamps which belong to the same signaling cable run.
The bottom part then connects each of the signaling wires to a digital input somewhere lower in the cabinet.
In the middle of the clamps, you can see a number of overlapping jumpers.
These jumpers have been set up such that they only make an electrical contact in a fixed number of slots, in this case for connecting one of the wires for each cable run to 24V.&lt;/p&gt;
&lt;p&gt;As before, the following image shows the electrical connection from the signaling cable to the unipi digital input unit.
The &lt;code&gt;DIGND&lt;/code&gt; corresponds to the ground level of your 24VDC power source.
The &lt;code&gt;DI&lt;/code&gt; level is the signaling cable to one of the push buttons.
Pushing a button means the 24V level gets connected to the signal cable and thus giving a &lt;code&gt;DI&lt;/code&gt; level of 24V.
For more technical details, consult the &lt;a href="https://kb.unipi.technology/en:hw:02-neuron:description-of-io:01-description-of-di"&gt;unipi digital input KB&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://kb.unipi.technology/_media/en:hw:001_connection_of_io.png" alt="unipi digital inputs img"&gt;&lt;/p&gt;
&lt;p&gt;As can be seen from the following picture, making the physical connection between the incoming signal wires and the unipi units is easier than for the relay unit, shown earlier.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-07-13/cabinet-unipi-di.jpg" alt="cabinet-unipi-di"&gt;&lt;/p&gt;
&lt;p&gt;There is no need to have dedicated circuit breakers for the different signal wire cable runs; all of them can run on the same 24VDC power source.
Also, since the wire diameter is much lower, the screw connectors can just be used directly to terminate multiple wires and effectively provide electrical parallel connections.
Since each of the green screw connectors could have up to 4 signal wire connections and 1 ground level, I did use 4-wire SVV cable to connect them to terminal clamps higher up in the cabinet.
Note that I also did use my color coding again here (red / yellow / blue / white).&lt;/p&gt;
&lt;h2 id="closing-thoughts"&gt;Closing thoughts&lt;/h2&gt;
&lt;p&gt;I started this post with some scary pictures of electrical wiring spaghetti.&lt;/p&gt;
&lt;p&gt;However, it turns out that with proper &lt;strong&gt;planning&lt;/strong&gt;, &lt;strong&gt;schematics&lt;/strong&gt; and some &lt;strong&gt;determination&lt;/strong&gt;, it was actually quite doable to wire the full cabinet together.
&lt;strong&gt;Terminal blocks&lt;/strong&gt; also help a lot in this process: it makes it easier to visually separate everything, removes the need to do all of the wiring in the beginning and enables rewiring at some later point in time.&lt;/p&gt;
&lt;p&gt;As before in the series, I did try to explain how to make the connection for &lt;strong&gt;push buttons&lt;/strong&gt; (inputs) and &lt;strong&gt;relays&lt;/strong&gt; (outputs).
The connections for the inputs were a bit simpler in the sense that the wiring runs on a safer lower voltage of 24VDC.
For the relays, as it runs on mains voltage, there are the additional constraints of the need to add in a circuit breaker for each electrical circuit as well as a higher wire gauge.
Consequently, I did some extra clamps to ensure the proper connections.&lt;/p&gt;
&lt;p&gt;I did opt for this approach at the time, since it seemed the most simple to me (comes closest to a &amp;ldquo;classical&amp;rdquo; setup), the most flexible in terms of rewiring (all wires are within reach) and does not depend on some proprietary, more expensive closed-off bus system.
In hindsight, the main &lt;strong&gt;disadvantage&lt;/strong&gt; of such a central star-configuration is the excessive amount of wiring you need to deal with.
For costs, you have the additional costs of the wiring material itself.
In terms of work, I did do all of the connections myself, so even though I did not lose any money on that, it surely was a very long, laborious process I might rather avoid in the future.
With that in mind, at some point in the future I will surely have a closer look at bus-based systems.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;DALI is a bus system for digital light control. In theory, you could do full light control with DALI only (removing the need for relay-based control), but this means all of your light fixtures need to be DALI-aware.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded></item><item><title>Wiring</title><link>https://mhemeryck.xyz/posts/2021-06-29-home_automation_wiring/</link><pubDate>Tue, 29 Jun 2021 00:00:00 +0000</pubDate><guid>https://mhemeryck.xyz/posts/2021-06-29-home_automation_wiring/</guid><description>&lt;p&gt;In this post, I will take a deeper dive into the bottom layer, the &lt;strong&gt;wiring&lt;/strong&gt;.
Different kinds of inputs and outputs can be discussed, but for the sake of simplicity, I will focus on a push button operating a lamp.
These components will also come back later on in the series.&lt;/p&gt;
&lt;p&gt;This post is a part of a larger series of posts on my home automation setup.
See the &lt;a href="https://mhemeryck.xyz/posts/2021-06-15-home_automation_why/"&gt;home automation overview post&lt;/a&gt;, to learn about the rationale and a description of the other posts!&lt;/p&gt;</description><content:encoded>&lt;p&gt;In this post, I will take a deeper dive into the bottom layer, the &lt;strong&gt;wiring&lt;/strong&gt;.
Different kinds of inputs and outputs can be discussed, but for the sake of simplicity, I will focus on a push button operating a lamp.
These components will also come back later on in the series.&lt;/p&gt;
&lt;p&gt;This post is a part of a larger series of posts on my home automation setup.
See the &lt;a href="https://mhemeryck.xyz/posts/2021-06-15-home_automation_why/"&gt;home automation overview post&lt;/a&gt;, to learn about the rationale and a description of the other posts!&lt;/p&gt;
&lt;p&gt;I will cover:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;caution: safety first&lt;/li&gt;
&lt;li&gt;principle: operating principle behind a light push button and relay&lt;/li&gt;
&lt;li&gt;conductors: the physical wires and cables themselves&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="a-mandatory-word-of-caution-"&gt;A mandatory word of caution (!)&lt;/h2&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/danger.jpg" alt="danger"&gt;&lt;/p&gt;
&lt;p&gt;This post will touch a number of points where working with mains voltage is required.
If you do not have any background in working with electricity, please be sure you get help from a &lt;em&gt;qualified electrician&lt;/em&gt;.
Also, some of the details really only apply to my local regulations (Belgium), so make sure you are well aware of &lt;em&gt;your&lt;/em&gt; local regulations.
Related to this, some of the terminology used might be a poor translation of some term which would have been straightforward in my native language (Dutch).
Even though I had a background as an electrical engineer, I still got a local professional electrician involved to ensure the overall safety &amp;hellip;&lt;/p&gt;
&lt;h2 id="principle"&gt;Principle&lt;/h2&gt;
&lt;h3 id="relays"&gt;Relays&lt;/h3&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/principle.png" alt="principle relay"&gt;&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;&lt;a href="https://en.wikipedia.org/wiki/Relay"&gt;relay&lt;/a&gt;&lt;/strong&gt; is an electrically operated switch.
The voltage over two of its terminals can then control (switch) the voltage over the two other terminals.
The control voltage will typically be on a safe, low voltage, whereas the other terminals can carry higher (mains) voltage.
You can use it to control any other electrically switched device, e.g. lights or motors.&lt;/p&gt;
&lt;h3 id="push-buttons"&gt;Push buttons&lt;/h3&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/principle_push_button.png" alt="principle push button"&gt;&lt;/p&gt;
&lt;p&gt;Where the relay serves as the output, the &lt;a href="https://en.wikipedia.org/wiki/Push-button"&gt;push button&lt;/a&gt;, together with a digital input sensor, serves as &lt;strong&gt;the input&lt;/strong&gt;.
The push button itself is actually a simple mechanical contact.
Pushing the button results in the internal mechanical contact making an electrical contact.&lt;/p&gt;
&lt;p&gt;There are two &lt;strong&gt;types of contacts&lt;/strong&gt;: a &lt;em&gt;normally open&lt;/em&gt; (NO) contact or a &lt;em&gt;normally closed&lt;/em&gt; (NC) contact.
Normally open means that the mechanical contact maintains an open electrical contact for the majority of the time, unless the button is pressed.
Normally closed is then the opposite situation, meaning a closed electrical contact whenever the button is &lt;em&gt;not&lt;/em&gt; pressed.
For push buttons, such as those to operate lamps, an NO contact would typically be used.
NC contacts make sense for situations where you want to be sure that the electrical contact is always guaranteed, e.g. a sensor for an alarm system.
Loss of signal for an NC contact might indicate the sensor has been tampered with.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;voltage&lt;/strong&gt; used for a push button is typically not mains voltage (240VAC), but rather a lower, safer voltage like 24VDC.
Typical digital input sensors such as those found on DIY devices like the &lt;a href="https://www.arduino.cc/en/Tutorial/Foundations/DigitalPins"&gt;arduino&lt;/a&gt; or &lt;a href="https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-and-the-40-pin-header"&gt;raspberry pi&lt;/a&gt; would operate on 5V or 3.3V, respectively.
For wiring a house, this is not an option because of the longer line runs and the resulting voltage drop related to the resistance of the wiring itself.&lt;/p&gt;
&lt;p&gt;An important thing to consider in the push button - lamp constellation is that the way the push button is used is &lt;strong&gt;stateless&lt;/strong&gt;.
Considering the lamp is off, one push would switch the light on.
Another push would switch it back off again.
Based on the position of the push button itself, you would not be able to tell the state of the light.
It differs from a rocker switch in that it only maintains the contact for the duration of the push of the button.
While these observations might be rather trivial, for the purposes of modeling them higher up on the stack, they are relevant.&lt;/p&gt;
&lt;h2 id="conductors-belgium-only"&gt;Conductors (Belgium only)&lt;/h2&gt;
&lt;h3 id="relays-1"&gt;Relays&lt;/h3&gt;
&lt;p&gt;The following image shows a typical tube containing 3 wires with diameters of 1.5mm², fit for lights.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/cable-3g15.jpg" alt="cable 3G 1.5mm2"&gt;&lt;/p&gt;
&lt;p&gt;For the cables carrying mains voltage, the following &lt;strong&gt;rules&lt;/strong&gt; are relevant (non-exhaustive see e.g. &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, &lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;, &lt;a href="https://www.plantyn.com/webshop/product/project-huisinstallatie-naslagwerk-9789030142942"&gt;project huisinstallatie naslagwerk&lt;/a&gt;):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;for circuits up to 16A (typically lights), a min 1.5 mm² cross-section wire is to be used&lt;/li&gt;
&lt;li&gt;for circuits up to 20A (lights and / or others like power sockets), a min 2.5 mm² cross-section wire is to be used&lt;/li&gt;
&lt;li&gt;each of the circuits need to have proper matching circuit breakers&lt;/li&gt;
&lt;li&gt;all cables consist of neutral wire, live wire and an earth wire&lt;/li&gt;
&lt;li&gt;color coding:
&lt;ul&gt;
&lt;li&gt;neutral: blue&lt;/li&gt;
&lt;li&gt;live: brown&lt;/li&gt;
&lt;li&gt;earth wire: green / yellow&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;max 8 consumers (lights, power sockets) per circuit&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Keep in mind:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;circuit breakers&lt;/em&gt; protect &lt;em&gt;your wires&lt;/em&gt; from burning up&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;a href="https://en.wikipedia.org/wiki/Residual-current_device"&gt;residual-current devices&lt;/a&gt;&lt;/em&gt; protect &lt;em&gt;living things&lt;/em&gt;!&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that this is only a subset of the rules and pointers to keep into account while doing the physical wiring.
Other things to consider are the type of cable (in a plastic tube or as a cable), solid vs stranded wire, stiff vs flexible wire, etc. &amp;hellip;&lt;/p&gt;
&lt;h3 id="push-buttons-1"&gt;Push buttons&lt;/h3&gt;
&lt;p&gt;Contrary to the cabling for the lights, the push buttons run on the lower, safer voltage of 24VDC.
Consequently, the wire diameter can be a lot smaller and there is no strict requirement on the use of circuit breakers.
An additional advantage in terms of safety compared to a more &amp;ldquo;traditional&amp;rdquo; installation is that the push button itself is never connected to the consumer on the higher mains voltage.&lt;/p&gt;
&lt;p&gt;The following image shows an &lt;em&gt;SVV&lt;/em&gt; &lt;strong&gt;signal cable&lt;/strong&gt;, which is typically used in Belgium for analog signaling applications.
I did some online research into the international naming for this type of cable, but there does not seem to be any.
For the sake of the discussion here however, the characteristics are actually more important:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;small diameters, on the order of 0.8mm²&lt;/li&gt;
&lt;li&gt;solid core, as this makes connecting to the push buttons easier as they mostly have screw connectors&lt;/li&gt;
&lt;li&gt;multiple wires in 1 cable (as shown in the picture). These cables mostly come with either 4, 8, 12 or 16 wires.&lt;/li&gt;
&lt;li&gt;visually clearly differing wires, i.e. highly contrasting colors for the wires&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/cable-svv.jpg" alt="cable SVV"&gt;&lt;/p&gt;
&lt;p&gt;The idea of having this multitude of wires in one signal cable is that you would ideally need &lt;strong&gt;one cable run&lt;/strong&gt; for e.g. the push buttons for one floor.
Each push button contact then uses one of the wires of the signal cable.
Apart from the push button contacts, you also need to reserve one of the wires for the positive level.
Essentially, the push buttons thus internally connect 1 signal wire (on ground level) to the common positive level &amp;ndash; which can be detected by your digital input readout.&lt;/p&gt;
&lt;p&gt;As a side note, some manufacturers also have push buttons with a built-in &lt;strong&gt;LED light&lt;/strong&gt;.
If you want to provide power to that LED, you would also need to reserve an extra wire for that feature.&lt;/p&gt;
&lt;p&gt;Concerning the &lt;strong&gt;various colors&lt;/strong&gt; available in the signal cable, I did find it useful to have a fixed order in which to assign them to the different inputs.
I would always use the red wire for the positive (24V) level.
The remainder of the wires would then be assigned according to the &lt;a href="https://en.wikipedia.org/wiki/Electromagnetic_spectrum"&gt;colors on the visible electromagnetic spectrum&lt;/a&gt;.
For example, you could go from black, grey, brown, orange, green, blue, &amp;hellip; all the way to white.&lt;/p&gt;
&lt;p&gt;The following image shows the &lt;strong&gt;wiring diagram&lt;/strong&gt; for a simple NO &lt;a href="https://www.niko.eu/en/products/switching-material-and-socket-outlets/switches-and-sockets/push-button-with-3-connection-terminals-n-o-productmodel-niko-025f93c2-c921-59b0-b204-af07ed3ee2a8"&gt;push button from Niko&lt;/a&gt;, a Belgian manufacturer of electrical switches and sockets.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://mhemeryck.xyz/2021-06-29/push-button-wiring.png" alt="push-button-wiring"&gt;&lt;/p&gt;
&lt;p&gt;The diagram indicates the push button can be used to switch voltages up the 230VAC, but since we&amp;rsquo;re only interested in for the signaling application, it might just as well be a lower voltage.
Also visible is the optional LED light.&lt;/p&gt;
&lt;h2 id="closing-thoughts"&gt;Closing thoughts&lt;/h2&gt;
&lt;p&gt;The focus of this post was first to describe the &lt;strong&gt;basic principle of some key components&lt;/strong&gt;, the relay and the push button.
I did want to highlight what exactly they are and also how the operating principle relates to the modelling higher up in the stack, e.g. the fact that I mostly consider the push button to be stateless.&lt;/p&gt;
&lt;p&gt;The second part of the post dealt with the details of the &lt;strong&gt;physical electrical conductors&lt;/strong&gt; connecting to and from these components.
Relays, for lights, use 3 x 1.5mm², whereas higher loads require a higher wire gauge of 3 x 2.5mm².
The push buttons can use a lower wire gauge of e.g. 0.8mm² since you would run these on a safer, lower voltage of 24VDC.
While the regulations pertaining to the wiring are specific to my country&amp;rsquo;s regulations, I still hope someone else might learn from it!&lt;/p&gt;
&lt;p&gt;Finally, always keep safety into account!
Even you feel you are really knowledgeable, I still think it was an added value for me to involve a local professional electrician to get proper hands-on advice.&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;ISBN/EAN 9789030142942&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:2"&gt;
&lt;p&gt;the official Belgian regulation is the &lt;a href="https://economie.fgov.be/nl/publicaties/algemeen-reglement-op-de"&gt;AREI&lt;/a&gt;&amp;#160;&lt;a href="#fnref:2" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded></item></channel></rss>