MCP23017 Port Expander

The MCP23017 digital port expander allows you to expand the number of system inputs/outputs. Each expander can add an additional 16 ports to the system. The connection is made via the I2C bus using SDA and SCL control signals.You can connect up to 4 modules, thereby expanding the number of system ports to 64 digital inputs/outputs.For proper operation of the system, you need to connect the SDA and SCL, they must be connected to the power supply on the module, if this is not the case, then pull them up … Read more

What should I do if it still doesn't work out

If after studying the documentation and looking at the FAQ, there is still no solution to your problem, do not panic.Telegram chat is created for discussion and support and you will definitely get help. To speed up and facilitate this process, ask the question correctly.In the question, it is advisable to specify the esp32/esp8266 4mb/esp8266 1mb chip type, firmware version, firmware method, and then a description of the problem.Please provide a screenshot of the settings and the script text., … Read more

What is an MQTT Broker and what are the recommended options?

In simple words, MQTT broker is a kind of cloud for IoT devices. It allows you to combine many IoT devices, possibly geographically dispersed, into a single information system.Some devices can publish, receive, or publish and receive information (topics) simultaneously. More details can be found here. Local installation: One of the most popular MQTT brokers is Mosquitto. It can be deployed on a single board such as raspberry pi … Read more

Pin control button (relay control)

One of the simplest modules. Designed to control the Gpio configured as an output. Created by selecting the appropriate item in the menu. Next, fill in the Gpio number and, if necessary, turn on the output inversion. This determines which High or Low signal will be on the given Gpio when it is activated.

Button (physically connected)

This module is used to describe the input button. This is about a Gpio configured as an input. Int-not used yet Pin-Gpio number for this input pinMode-can be INPUT_PULLUP INPUT_PULLDOWN INPUTdebounceDelay — bounce processing timeexeclevel — trigger level High or LowfixState-input behavior, triggered on transition or on level fixation (trigger mode) For understanding … Read more

How to raise your local MQTT broker

Instructions for any Linux system(x86, raspberries,oranges and other fruits, OpenWRT routers).We get access to the device's console(I won't describe it,Google will help).For systems based on Debian / Ubuntu, we take turns typing commands; 1. sudo-i #typing your password 2. apt update& & apt upgrade -y #updating the package list and updating the system 3. apt install mosquitto #by default, the configuration is located in /etc/mosquitto 4 nano / etc/mosquitto/conf. d / local.conf # creating … Read more

Integration with Telegram ver. 4

Currently, there are problems with the operation of the Telegram module on ESP8266. At the same time, everything works perfectly on the ESP32. So try it out on this chip for now. There are two Telegram modules. The description of the TelegramLT module is configured exactly as described below, but only filled in: token-Token for authorizing the bot in the Telegram system;chatId — ID of the dialog with the contact. Required … Read more

Integration with ESP32-CAM

So far, only a stub for the future description was added by the SDcard module. So far, I tested only on the built-in esp32cam, later a separate shield will come, I will check on it. Of the functions, so far only reset binary data from the memory area to the flash drive, which can now be pulled from IoTValue from extBinInfo: sd.saveBin ("/file name with the extension", ID); ID — if ID can fill in the extended … Read more

How do I connect multiple dallas ds18b20 sensors to a single pin?

!!!OLD VERSION FOR IoTv3!!! 1. Connect several sensors to the pin in parallel (pin 2 is immediately tightened and the resistor is not needed, but you should not turn on the wi-fi indicator in the web interface -the same pin is involved) 2. Create the required number of sensors in the web interface 3. If there are three sensors, for example, then in the line of the first sensor in the web in the interface, you need to write index[0], the second index[1], … Read more

How to format a time string

Example output: "defFormat": "d-m-Y", output day-month-year.STRING_MASK-sets a template for displaying a time string, like the date() function in PHP: s-seconds from 00 to 59 (two digits) i-minutes from 00 to 59 (two digits) h — hours in 12-hour format from 01 to 12 (two digits)H — hours in 24-hour format from 00 to … Read more

Supported the project — saved a DIY maker! And we accept gifts...

X