Author Archives: Andrey Fedorov

Inexpensive RS485 interface board for ESP8266/ESP32/Arduino

RS485 interface providing a noise-resistant connection with the equipment at a distance of up to 1200 meters. The question is how to ensure a secure connection of the microcontroller to the equipment operating on the RS485 interface? When lightning, electronic … Continue reading →

Posted in IT Recipies | Tagged | 1 Comment

IO Expansion Shield For Arduino (V5) (SKU: DFR0088). RS485 interface.

In the previous article, I reviewed several Arduino RS485 shields. Some of them are quite expensive, more than 20 USD. In this article, I tested one of Arduino RS485 shields, which costs about 3 USD. I ordered at Aliexpress IO … Continue reading →

Posted in IT Recipies | Tagged , , , | Leave a comment

Increase in the number of inputs/outputs ESP8266/ESP32/Arduino

Arduino Has A significant number of entries in the older versions (Arduino Mega), but the device itself is still more sharpened for prototyping and releasing IoT devices in small quantities. Quickly and cheaply to shut the gap. This option is … Continue reading →

Posted in IT Recipies, IT-solutions-for-a-business | 1 Comment

How to work with ThingSpeak.com on ESP8266? Code examples.

There are a lot of different cloud services in the Internet working as a storage to accumulate telemetry data from IoT devices. It’s quite comfortable services. You don’t need to spend some time to install a server to collect data … Continue reading →

Posted in IT Recipies, IT tools | Tagged | Leave a comment

RS-485 shields for Arduino

There are a lot of different variants of RS-485 shields for Arduino: https://www.waveshare.com/wiki/RS485_CAN_Shield  https://www.tinyosshop.com/arduino-rs232-rs485-shield https://www.dfrobot.com/wiki/index.php/IO_Expansion_Shield_For_Arduino(V5)_(SKU:_DFR0088) https://www.hwhardsoft.de/english/projects/rs485-arduino/ Example of using the shield with Modbus RTU termo sensor. Example, how to work with not expensive Arduino RS485 Shield ordered from Aliexpress.

Posted in IT Recipies, IT tools | Tagged , , , | Leave a comment

4-x relay board C0135 managed by Modbus RTU protocol (RS-485)

To test a device management by Modbus RTU commands, we use the circuitry of 4 relays controlled by the STM8S103 controller. (Relay MCU 4-way relay-communication board (RS-485). I used RS485 to USB adaptor to connect to the relays board.  Manage … Continue reading →

Posted in IT Recipies, IT tools | Tagged , , , | Leave a comment

How to remove records from Cosmos DB

There is no direct way how to remove a bunch of records from Cosmos DB. Simple query like DELETE * FROM c where c.IoTHub.ConnectionDeviceId != "VariablSpeedDrivesSimulator_test" doesn’t work. But workaround exists. You should create a stored procedure bulkDeleteSproc: /** * … Continue reading →

Posted in IT рецепты | Tagged , , | Leave a comment