IoT Node


You'll need to install a library to make Arduino IDE support the module. This library includes drivers for the LCA-717S and sample code for you to jumpstart your project.


For ESP32 based systems, we're currently supporting Arduino core. Please make sure you've installed the following:

  • Arduino IDE.

  • ESP32 Hardware libraries for the Arduino IDE.

  • Python for the compilation of Arduino projects.

  • Drivers for your host device, e.g., USB Virtual Serial Port driver.


Please download the library archive from

Then, copy its contents to your Arduino Libraries folder.

You can find the Arduino Libraries folder inside your Arduino sketch directory. It is generally located inside the My Documents folder.


The library comes with included samples. There is no need to download additional files for the examples.

Source Code

The hardware, its drivers and the sample code are open source. You can use them under the terms of the MIT license. Please feel free to customize and prototype them for your projects.

Arduino Library

Turta_SSRelay_Module library is responsible for controlling the relay.

To use the library on Arduino IDE, add the following #include statement to the top of your sketch.

#include <Turta_SSRelay_Module.h>

Then, create an instance of the Turta_SSRelay_Module class.

Turta_SSRelay_Module ssr

Now you're ready to access the library by calling the ssr instance.


To initialize the module, call the begin method.


This method configures the GPIO pin to control relay.

Basic Members

Read Relay

Returns the state of the relay.

bool readRelay()
  • Parameters

    • None

  • Returns

    • Bool: Relay state.

Write Relay

Controls the relay state.

void writeRelay(bool state)
  • Parameters

    • Bool: state

  • Returns

    • None


You can open the example from Arduino IDE > File > Examples > Examples from Custom Libraries > Turta SSRelay Module. There is one example of this sensor.

pageRelay Toggle Sample


If you're experiencing difficulties while working with your device, please try the following steps.

Problem: The relay conducts some current, even if it is off. Cause: In case you toggle the power of a high power device like a water pump in a high frequency, the solid state relay overheats and malfunctions. Solution: Please change the solid state relay module. Do not switch high power devices on or off quickly. Wait at least 10 seconds between switching.

Last updated