<?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=KAmod_ESP32-C3_DIN</id>
	<title>KAmod ESP32-C3 DIN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kamamilabs.com/index.php?action=history&amp;feed=atom&amp;title=KAmod_ESP32-C3_DIN"/>
	<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmod_ESP32-C3_DIN&amp;action=history"/>
	<updated>2026-04-05T14:35:03Z</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=KAmod_ESP32-C3_DIN&amp;diff=7380&amp;oldid=prev</id>
		<title>Grzegorzbecker: Created page with &quot;__jzpdf__ ==== Description ==== &lt;b&gt;KAmod ESP32-C3 DIN - Universal control module with ESP32-C3 microcontroller&lt;/b&gt;&lt;br&gt; &lt;br&gt; The KAmod ESP32-C3 DIN board utilizes the ESP32-C3-WROOM-02U module, which enables 2.4 GHz Wi-Fi communication and is based on a microcontroller with RISC-V architecture. Furthermore, the board implements a USB interface for programming and application monitoring, an RS485 interface commonly used in automation, and an I2C interface in the Q-wire sta...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.kamamilabs.com/index.php?title=KAmod_ESP32-C3_DIN&amp;diff=7380&amp;oldid=prev"/>
		<updated>2026-04-04T12:42:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__jzpdf__ ==== Description ==== &amp;lt;b&amp;gt;KAmod ESP32-C3 DIN - Universal control module with ESP32-C3 microcontroller&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; &amp;lt;br&amp;gt; The KAmod ESP32-C3 DIN board utilizes the ESP32-C3-WROOM-02U module, which enables 2.4 GHz Wi-Fi communication and is based on a microcontroller with RISC-V architecture. Furthermore, the board implements a USB interface for programming and application monitoring, an RS485 interface commonly used in automation, and an I2C interface in the Q-wire sta...&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;
&amp;lt;b&amp;gt;KAmod ESP32-C3 DIN - Universal control module with ESP32-C3 microcontroller&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
The KAmod ESP32-C3 DIN board utilizes the ESP32-C3-WROOM-02U module, which enables 2.4 GHz Wi-Fi communication and is based on a microcontroller with RISC-V architecture. Furthermore, the board implements a USB interface for programming and application monitoring, an RS485 interface commonly used in automation, and an I2C interface in the Q-wire standard for easy system expansion. Additionally, the microcontroller can control 4 outputs with low-power MOSFET transistors, and the power supply circuit allows for an input voltage range of 7–32 V. The entire design fits on a small PCB tailored for the Z106 type enclosure, which can be mounted on a DIN35 rail.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_1.jpg|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_2.jpg|none|1100px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Basic Parameters ====&lt;br /&gt;
* ESP32-C3 Microcontroller - 32-bit RISC-V core, max 160 MHz&lt;br /&gt;
* Memory size: 400 kB SRAM, 4 MB SPI Flash&lt;br /&gt;
* Communication: 2.4 GHz Wi-Fi, IEEE 802.11 b/g/n and Bluetooth 5 LE&lt;br /&gt;
* Antenna connector: U.FL type&lt;br /&gt;
* RS485 interface equipped with surge protection&lt;br /&gt;
* USB interface for programming and application monitoring (implements USB-UART function)&lt;br /&gt;
* Micro-buttons for reset and initiating programming mode (bootloader)&lt;br /&gt;
* I²C interface with 3.3 V power supply in Q-Wire standard (Qwiic, Stemma QT)&lt;br /&gt;
* 4 LEDs signaling: power, RS485 communication, and application-controlled status&lt;br /&gt;
* Goldpin header with 3.3 V power output and 7 GPIO lines&lt;br /&gt;
* 4 low-power outputs with N-MOSFET transistors (max 1 A)&lt;br /&gt;
* 2 analog inputs with voltage dividers - 12-bit ADC resolution, max input voltage 32 V&lt;br /&gt;
* DC power supply range: 7–32 V, current consumption up to 100 mA (module only, in active mode)&lt;br /&gt;
* 5 V DC power supply via USB-C connector&lt;br /&gt;
* Power supply, RS485 interface, and output connectors: Phoenix MC 3.81 mm type&lt;br /&gt;
* Compatible with Arduino IDE&lt;br /&gt;
* Compact dimensions tailored for Z106 DIN35 rail enclosure (enclosure not included)&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&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;KAmod ESP32-C3 DIN&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Assembled and tested module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2.4 GHz Wi-Fi Antenna&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Antenna with U.FL connector&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_3.jpg|none|900px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Electrical Schematic ====&lt;br /&gt;
=====Main Schematic=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_sch1.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
=====Power Supply Circuit Schematic=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_sch3.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
=====RS485 and USB Interface Schematic=====&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_sch2.png|none|1000px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Functions Assigned to GPIO Lines ====&lt;br /&gt;
The ESP32-C3-WROOM-02U module has 15 GPIO lines. The table below describes the functions assigned to specific lines on the KAmod ESP32-C3 DIN board.&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;|GPIO&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;00&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
ADC0-0 input, routed to the IntIO pin header and connected via a 100 k/10 k divider to Output 2&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;01&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
ADC0-1 input, routed to the IntIO pin header and connected via a 100 k/10 k divider to Output 1&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;02&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
I2C clock line - SCL, connected to the IntIO header and Q-Wire connector. &amp;lt;br&amp;gt;Includes 2.2k pull-up resistor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;03&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
I2C data line - SDA, connected to the IntIO header and Q-Wire connector. &amp;lt;br&amp;gt;Includes 2.2k pull-up resistor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;04&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls N-MOSFET transistor, Output No. 4 available on J8 connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;05&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls N-MOSFET transistor, Output No. 3 available on J8 connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;06&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls N-MOSFET transistor, Output No. 2 available on J8 connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;07&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls N-MOSFET transistor, Output No. 1 available on J8 connector&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;08&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls LED - LED08, signal active LOW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;09&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls LED - LED09 and reads the state of the programming (PRG) button. &amp;lt;br&amp;gt;Must be configured as &amp;#039;&amp;#039;Open Drain IN/OUT&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;10&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
Controls DE/RE signal of the RS485 transceiver; HIGH level activates the transmitter. Available on IntIO header&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;18&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
USB interface D- signal&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;19&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
USB interface D+ signal&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;20&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
UART RX interface input, connected to IntIO header and RS485 transceiver&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;21&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;|&lt;br /&gt;
UART TX interface output, connected to IntIO header, RS485 transceiver, and LED21&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Low-Power Outputs ====&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;|Output&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|GPIO Line / &amp;lt;br&amp;gt;state to activate&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector / Notes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| GPIO 07 / H&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| J8-2 (OUT 1) / Active state on output - GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| GPIO 06 / H&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| J8-3 (OUT 2) / Active state on output - GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| GPIO 05 / H&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| J8-4 (OUT 3) / Active state on output - GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| GPIO 04 / H&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| J8-5 (OUT 4) / Active state on output - GND&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;COMM&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| -&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| J8-1 (COMM) connect to the positive power supply rail when controlling inductive loads (e.g., relays).&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Output circuits are based on N-MOSFET transistors with a maximum continuous current of 1 A. The outputs are protected against overvoltages generated by inductive loads, so they can directly control electromagnetic relays, small valves, electromagnets, or DC motors. The maximum voltage on the outputs must not exceed 32 V.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Connecting components to the module outputs should be done as shown in the following figure.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_out.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Analog Inputs ====&lt;br /&gt;
KAmod ESP32-C3 DIN has 2 analog inputs connected to an integrated 12-bit ADC. The analog inputs are equipped with 100 k/10 k voltage dividers, providing a division factor of 0.09 and allowing voltage measurement in a range up to approx. 32 V.&lt;br /&gt;
&amp;lt;br&amp;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;|ADC Measurement Channel&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Connector / Output&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Notes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ADC0-1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| J8-2 / OUT 1&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Shared with Output OUT 1 / max 32 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;ADC0-0&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| J8-3 / OUT 2&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Shared with Output OUT 2 / max 32 V&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_ain.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The analog inputs IN 1/2 are connected to outputs OUT 1/2. If a given output is activated, the analog reading will indicate a value close to 0. If you intend to use the analog input, you must ensure that the corresponding output is not activated.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
It is not recommended to connect power supply voltage (e.g., from a PSU or battery) directly to analog inputs IN 1/2. In case of an error where the output is activated, it will be damaged. Power supply/battery voltage should be connected to IN 1/2 via a small resistor (100–1000 Ω).&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The ADC integrated into the ES32-C3 module has 12-bit resolution but does not allow for precise voltage measurements due to high non-linearity, unstable offset, and imprecise reference voltage.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Wi-Fi Communication ====&lt;br /&gt;
KAmod ESP32-C3 DIN is equipped with an ESP32-C3-WROOM-02U Wi-Fi communication module. Its basic parameters are:&lt;br /&gt;
*Frequency band: 2.4 GHz&lt;br /&gt;
*Communication standard: compatible with IEEE 802.11 b/g/n&lt;br /&gt;
*Bluetooth communication: Bluetooth LE, Bluetooth 5, Bluetooth mesh&lt;br /&gt;
*Equipped with a U.FL type antenna connector&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_wifi.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For the Wi-Fi module to function correctly, a compatible antenna must be attached via the U.FL connector located on the board.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_ant.jpg|none|400px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== USB Interface and Module Programming ====&lt;br /&gt;
KAmod ESP32-C3 DIN features a USB interface with a USB-C connector. Primary functions include:&lt;br /&gt;
*Acts as a USB-UART converter&lt;br /&gt;
*Used for programming the ESP32-C3-WROOM-02U module&lt;br /&gt;
*Enables application monitoring by sending messages via the serial interface&lt;br /&gt;
*Serves as an optional power supply port&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_usb.png|none|800px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Programming via the USB interface requires starting the so-called bootloader. To do this, while the KAmod ESP32-C3 DIN is connected via USB cable to a computer, perform the following sequence:&lt;br /&gt;
*Press and hold the RST button&lt;br /&gt;
*Press and hold the PRG button (LED09 will light up)&lt;br /&gt;
*Release the RST button but keep the PRG button pressed&lt;br /&gt;
*After a moment, release the PRG button.&lt;br /&gt;
This launches the bootloader, enabling the programming of the ESP32-C3 module, e.g., via the Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== RS485 Interface ====&lt;br /&gt;
KAmod ESP32-C3 DIN is equipped with an RS485 interface with the following parameters:&lt;br /&gt;
*ST485 transceiver&lt;br /&gt;
*Communication speed up to 1 Mbps&lt;br /&gt;
*Surge protection&lt;br /&gt;
GPIO line assignment is described in the table below.&lt;br /&gt;
&amp;lt;br&amp;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;|GPIO Line&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|RS485 Signal&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;GPIO21&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| TXD&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Data output to the RS485 bus&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;GPIO20&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| RXD&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Data input from the RS485 bus&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;GPIO10&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| DE/RE&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Transmission direction control - HIGH (H) state activates transmission to the RS485 bus&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_rs485.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== I2C Interface ====&lt;br /&gt;
The I2C interface is broken out as a 1 mm JST socket referred to as Q-Wire, which is compatible with Qwiic and Stemma QT standards. Additionally, a 3.3 V supply with approx. 300 mA capacity is available on the connector. Pin functions are described in the table.&lt;br /&gt;
&amp;lt;br&amp;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;|Connector/Pin&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Signal Type&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description/Notes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Q-Wire / 1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| Supply Ground (GND)&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Power ground&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Q-Wire / 2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| 3.3 V Supply&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Maximum load approx. 300 mA&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Q-Wire / 3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| Data signal - SDA. &amp;lt;br&amp;gt;Connected to GPIO03&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Includes 2.2 k pull-up to 3.3 V&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Q-Wire / 4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| Clock signal - SCL. &amp;lt;br&amp;gt;Connected to GPIO02&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Includes 2.2 k pull-up to 3.3 V&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod ESP32-C3 DIN qwire.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
JST 1 mm connectors in Q-Wire standard:&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:KAmod_ESP32-C3_DIN_qwire_1.jpg|350px|]]&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_qwire_2.jpg|350px|]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Int I/O Pin Header ====&lt;br /&gt;
On the KAmod ESP32-C3 DIN module, there is a goldpin header labeled Int I/O. Selected GPIO lines are broken out here – detailed descriptions are in the table.&lt;br /&gt;
&amp;lt;br&amp;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;|Pin&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Signal Type&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Description/Notes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 1&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| 3.3 V Supply&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Maximum load approx. 300 mA&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 2&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GND&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Power ground&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 3&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO02&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to I2C Interface - SCL&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 4&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO03&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to I2C Interface - SDA&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 5&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO00&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to ADC0-0 converter input&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 6&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO01&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to ADC0-1 converter input&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 7&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO20&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to RS485 data input&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 8&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO10&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to DE/RE signal (RS485 control)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;Int I/O - 9&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO21&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to RS485 data output&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_io.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== LED Indicators and Buttons ====&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;|Button&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Signal Type&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;RST&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| EN&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Restarts the ESP32-C3 microcontroller and restarts the control software&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;PRG&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO09&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Launches bootloader if pressed during microcontroller restart&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&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;|LED Indicator&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Signal Type&lt;br /&gt;
! style=&amp;quot;text-align: center;&amp;quot;|Function&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;PWR&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;| 3.3 V Power&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Signals correct power supply to the module&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;LED21&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO21 &amp;lt;br&amp;gt;active LOW (L)&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected to RS485 data output; signals RS485 transmission&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;LED08&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO08 &amp;lt;br&amp;gt;active LOW (L)&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Can be freely controlled by application&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|&amp;lt;b&amp;gt;LED09&amp;lt;/b&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot;|GPIO09 &amp;lt;br&amp;gt;active LOW (L)&lt;br /&gt;
| style=&amp;quot;text-align: left;&amp;quot;| Connected in parallel with the PRG button. &amp;lt;br&amp;gt;GPIO09 line should be configured as &amp;#039;&amp;#039;Open Drain IN/OUT&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_led.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Power Supply ====&lt;br /&gt;
KAmod ESP32-C3 DIN should be powered with a DC voltage in the range of 7 to 32 V. The current consumption of the module itself does not exceed 100 mA during normal operation.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Alternatively, the module can be powered with 5 V DC through the USB-C connector.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_pwr.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Dimensions ====&lt;br /&gt;
The dimensions of the KAmod ESP32-C3 DIN module are 84.5 x 29 x 12 mm.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_wym.png|none|850px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The board is designed to fit into a [https://kamami.pl/obudowy/1179608-z106j-ps-obudowa-modulowa-na-szyne-5905275012411.html Z106] type modular enclosure mounted on a DIN35 rail.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[Image:Z106.jpg|850px|link=https://kamami.pl/obudowy/1179608-z106j-ps-obudowa-modulowa-na-szyne-5905275012411.html]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Test Application ====&lt;br /&gt;
A test application has been developed for KAmod ESP32-C3 DIN, allowing you to check module functionality and serve as a base for expansion. The source code is available on KAMAMI-Labs GitHub:&amp;lt;br&amp;gt;&lt;br /&gt;
https://github.com/KAMAMI-Labs/KAmod-ESP32-C3-DIN.git&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
[[File:KAmod_ESP32-C3_DIN_app.jpg|none|500px|thumb|center]]&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Links ====&lt;br /&gt;
*[https://github.com/KAMAMI-Labs/KAmod-ESP32-C3-DIN.git Test Application]&lt;br /&gt;
*[https://wiki.kamamilabs.com/images/c/c7/KAmodESP32-C3-DIN_3d.zip CAD Model (STEP)]&lt;br /&gt;
*[https://wiki.kamamilabs.com/images/4/4f/ESP32C3.pdf ESP32-C3 series]&lt;br /&gt;
*[https://documentation.espressif.com/esp32-c3_technical_reference_manual_en.pdf ESP32-C3 reference]&lt;br /&gt;
*[https://wiki.kamamilabs.com/images/e/e6/ESP32-C3-WROOM.pdf ESP32-C3 WROOM]&lt;/div&gt;</summary>
		<author><name>Grzegorzbecker</name></author>
	</entry>
</feed>