Htime = pulseIn(8,HIGH); Ltime = pulseIn(8, LOW); The given function measures the time for which High or Low level is present at PIN8 of Uno. So in a single cycle of wave, we will have the duration for the positive and negative levels in Micro seconds. The pulseIn function measures the time in micro seconds. In a given signal, we have high time. Feb 09, 2022 · The pulseIn() function is used to measure the pulse duration and it returns the time duration output in microseconds. But the formula of the distance-time relationship that we derived above works if both speed and time have the same units in terms of time such as seconds, microseconds, or milliseconds.. AITHinker ESP32-C3S_Kit AITHinker ESP32-C3S_Kit_2M. Go to the library repository to download the DHT library. To download the library click the green button called " Clone or download " and select " Download ZIP ". Now, back in the Arduino IDE, click on Sketch -> Include Library -> Add .ZIP Library. Select the .ZIP file of DHT and then " Accept " or " Choose ". ArduinoJson is a JSON library for Arduino, IoT, and any embedded C++ project. It supports JSON serialization, JSON deserialization, MessagePack, streams, and fixed memory allocation. It has a simple API, it's easy to use, and it's trusted by thousands of developpers all over the world. Espressif Systems ESP32-C5 is an upcoming wireless RISC-V microcontroller for IoT applications that supports dual-band (2.4 & 5.0 GHz) WiFi 6 connectivity as well as Bluetooth 5.0 LE.. It is the first dual-band processor from Espressif, as while the Shanghai-based company previously announced the ESP32 -C6 WiFi 6 and Bluetooth 5 LE RISC-V SoC last year, it only supports 2.4.