<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.kamamilabs.com/index.php?action=history&amp;feed=atom&amp;title=KamodRPI_Pico_Quad_SSR</id>
	<title>KamodRPI Pico Quad SSR - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kamamilabs.com/index.php?action=history&amp;feed=atom&amp;title=KamodRPI_Pico_Quad_SSR"/>
	<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KamodRPI_Pico_Quad_SSR&amp;action=history"/>
	<updated>2026-04-29T13:26:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KamodRPI_Pico_Quad_SSR&amp;diff=5615&amp;oldid=prev</id>
		<title>Grzegorzbecker: /* Standard equipment */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KamodRPI_Pico_Quad_SSR&amp;diff=5615&amp;oldid=prev"/>
		<updated>2025-03-01T16:33:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Standard equipment&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:33, 1 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;KamodRPI Pico Quad SSR&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;KamodRPI Pico Quad SSR&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;| Assembled and &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;launched &lt;/del&gt;module&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&quot;text-align: left;&quot;| Assembled and &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;tested &lt;/ins&gt;module&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Schematic =====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== Schematic =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;center&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
	<entry>
		<id>https://wiki.kamamilabs.com/index.php?title=KamodRPI_Pico_Quad_SSR&amp;diff=5484&amp;oldid=prev</id>
		<title>Grzegorzbecker: Created page with &quot;__jzpdf__ ===== Description ===== [https://kamami.pl/pozostale-moduly/1192574-kamodrpi-pico-quad-ssr-modul-4--5906623490462.html KamodRPI Pico Quad SSR] is a module in the form of a shield for Raspberry Pi Pico equipped with four solid-state relays. The board also includes four digital inputs with optoisolation, a set of LEDs signaling the states of inputs and outputs, a RESET button, and a supply voltage indicator. The module will find applications in building automatio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KamodRPI_Pico_Quad_SSR&amp;diff=5484&amp;oldid=prev"/>
		<updated>2025-02-28T08:24:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__jzpdf__ ===== Description ===== [https://kamami.pl/pozostale-moduly/1192574-kamodrpi-pico-quad-ssr-modul-4--5906623490462.html KamodRPI Pico Quad SSR] is a module in the form of a shield for Raspberry Pi Pico equipped with four solid-state relays. The board also includes four digital inputs with optoisolation, a set of LEDs signaling the states of inputs and outputs, a RESET button, and a supply voltage indicator. The module will find applications in building automatio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__jzpdf__&lt;br /&gt;
===== Description =====&lt;br /&gt;
[https://kamami.pl/pozostale-moduly/1192574-kamodrpi-pico-quad-ssr-modul-4--5906623490462.html KamodRPI Pico Quad SSR] is a module in the form of a shield for Raspberry Pi Pico equipped with four solid-state relays. The board also includes four digital inputs with optoisolation, a set of LEDs signaling the states of inputs and outputs, a RESET button, and a supply voltage indicator. The module will find applications in building automation (including smart home applications), robotics, industrial automation, measurement systems, laboratory installations, as well as teaching.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KamodRPI_Pico_Quad_SSR_01.jpg|none|700px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Basic parameters =====&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Outputs&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 4x relay outputs - OMRON G3MB with built-in suppressors&lt;br /&gt;
* Factory-fitted SIOV varistors (surge current: 400 A)&lt;br /&gt;
* Switching method: zero&lt;br /&gt;
* Output load capacity:&lt;br /&gt;
** 0.1...2 A / 100...240 V (AC), 50...60 Hz,&lt;br /&gt;
** operating voltage range: 75...264 V,&lt;br /&gt;
** peak current: 30 A (@ 60 Hz, 1 period).&lt;br /&gt;
* LEDs indicating relay activation status&lt;br /&gt;
* 3.81 mm screw terminals (detachable)&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Inputs&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* 4x optoisolated inputs (LTV-357T optocouplers),&lt;br /&gt;
* Input voltage - active state: 5 V (4.5...9 V) DC&lt;br /&gt;
* LEDs indicating input status&lt;br /&gt;
* 3.81 mm screw terminals (detachable)&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Others&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Power supply: 5 V / 400mA (min.)&lt;br /&gt;
* Automatic selection of power source: micro USB (RPi Pico) or USB C (J4)*&lt;br /&gt;
* LED indicating the presence of power supply voltage&lt;br /&gt;
* Built-in RESET button&lt;br /&gt;
* All RPi Pico lines led out to 2.54 mm (100 mil) pin connectors&lt;br /&gt;
* PCB dimensions: 93 x 89 mm&lt;br /&gt;
:&amp;#039;&amp;#039;* It is recommended to connect only one of the USB cables in a given moment&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Standard equipment =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Code&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;KamodRPI Pico Quad SSR&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Assembled and launched module&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===== Schematic =====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_sch.jpg|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== PCB view =====&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_1.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===== Raspberry Pi Pico GPIO Line Input and Output Assignments =====&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 1000px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Raspberry Pi Pico Pinout&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|KAmodRPI Pico Quad SSR Relay (Connector)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO6&lt;br /&gt;
| style=&amp;quot;text-align: center;”|RL1A, CH 1 (J3A)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO7&lt;br /&gt;
| style=&amp;quot;text-align: center;”|RL1B, CH 2 (J3B)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO8&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|RL1C, CH 3 (J3C)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO9&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|RL1D, CH 4 (J3D)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO14&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|IN1 (J1, pins 1-2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO15&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|IN2 (J1, pins 3-2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO16&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|IN3 (J2, pins 1-2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO17&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|IN4 (J2, pins 3-2)&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_gpio.png|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
===== Signal LEDs =====&lt;br /&gt;
The module is equipped with 8 LEDs signaling relay activation and opto-isolated input states, as well as an additional diode indicating the presence of supply voltage.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_leds.png|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Relay outputs =====&lt;br /&gt;
The relay contact outputs are led out to detachable screw connectors enabling the attachment of both insulated wire ends and wires with crimped sleeve terminals.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_outs.png|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===== Optoisolated inputs =====&lt;br /&gt;
Optoisolated inputs are connected to detachable screw connectors, which allow for mounting both bare wire ends and wires with crimped ferrules. Control signals should be connected between the IN1...IN4 contact and the COM contact (belonging to the same J1 or J2 connector). The common (COM) contacts of J1 and J2 connectors are not connected, which allows for operation with sources with different ground potentials.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmodRPI_Pico_Quad_SSR_inputs.png|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Application example =====&lt;br /&gt;
KamodRPI Pico Quad SSR shield with Raspberry Pi Pico module inserted.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KamodRPI_Pico_Quad_SSR_02.jpg|none|800px|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 800px; text-align: center; color: red;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align: center;color: red&amp;quot;|The Raspberry Pi Pico computer shown in the pictures is not included in the set.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===== MicroPython Test Program Code =====&lt;br /&gt;
The example program turns on relays CH 1… CH 4 one by one. Then it switches to input signal control mode, in which the relay with a given number X (X=1...4) will be controlled depending on the state of input number X, for example: applying 5 V to pin 1 of connector J1 (IN1 input) will turn on relay CH 1 (J3A).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from machine import Pin&lt;br /&gt;
import utime&lt;br /&gt;
&lt;br /&gt;
rel1 = Pin(6, Pin.OUT)&lt;br /&gt;
rel2 = Pin(7, Pin.OUT)&lt;br /&gt;
rel3 = Pin(8, Pin.OUT)&lt;br /&gt;
rel4 = Pin(9, Pin.OUT)&lt;br /&gt;
&lt;br /&gt;
in1 = Pin(14, Pin.IN)&lt;br /&gt;
in2 = Pin(15, Pin.IN)&lt;br /&gt;
in3 = Pin(16, Pin.IN)&lt;br /&gt;
in4 = Pin(17, Pin.IN)&lt;br /&gt;
&lt;br /&gt;
rel1.value(0)&lt;br /&gt;
rel2.value(0)&lt;br /&gt;
rel3.value(0)&lt;br /&gt;
rel4.value(0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
rel1.value(1)&lt;br /&gt;
utime.sleep(0.5)&lt;br /&gt;
rel1.value(0)&lt;br /&gt;
rel2.value(1)&lt;br /&gt;
utime.sleep(0.5)&lt;br /&gt;
rel2.value(0)&lt;br /&gt;
rel3.value(1)&lt;br /&gt;
utime.sleep(0.5)&lt;br /&gt;
rel3.value(0)&lt;br /&gt;
rel4.value(1)&lt;br /&gt;
utime.sleep(0.5)&lt;br /&gt;
rel4.value(0)&lt;br /&gt;
&lt;br /&gt;
utime.sleep(2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
while 1:&lt;br /&gt;
&lt;br /&gt;
 if in1.value() == 0:&lt;br /&gt;
 rel1.value(1)&lt;br /&gt;
 else:&lt;br /&gt;
 rel1.value(0)&lt;br /&gt;
&lt;br /&gt;
 if in2.value() == 0:&lt;br /&gt;
 rel2.value(1)&lt;br /&gt;
 else:&lt;br /&gt;
 rel2.value(0)&lt;br /&gt;
&lt;br /&gt;
 if in3.value() == 0:&lt;br /&gt;
 rel3.value(1)&lt;br /&gt;
 else:&lt;br /&gt;
 rel3.value(0)&lt;br /&gt;
&lt;br /&gt;
 if in4.value() == 0:&lt;br /&gt;
 rel4.value(1)&lt;br /&gt;
 else:&lt;br /&gt;
 rel4.value(0)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
</feed>