Industrial RS485 Setup: Connect & Control with Node-RED

Waveshare WS USB RS485 PC Installation

We will be installing an industrial USB to RS485 converter on our computer. The Waveshare USB to serial port is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration. It has a Type A (plug) USB connector for the computer side and … Read more

Click Plus Real Time Clock Setup and Use

Click Plus Real Time Clock Setup and Use

The real-time clock on the Click Plus can now be more accurate. A network time service (NTP or SNTP) has been added to the Click Plus controller. This will allow the time to be synchronized with an internet time server or local network. Daylight savings time is quickly implemented with just a memory retentive bit … Read more

Turn Any PC Into an RS485 Powerhouse – No Setup Required!

CH340 CH341 USB to Serial PC Installation

If you want to install a USB to RS485 adapter on your computer, you’ve come to the right place. We will use the CH340/341 USB to Serial port, an adapter that translates USB data into RS-485 communication. There is no need for an external power source or a head-scratching setup. It’s as easy as insertion, … Read more

Transform Your Pi into an Industrial IoT Powerhouse with Node-RED

Install Node-RED on Raspberry Pi 4

We will now be installing Node-RED on a Raspberry Pi 4 single-board computer. A static IP address will also be given for both the WiFi and Ethernet connections. The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT) We will be utilizing this low-cost computer to … Read more

Do-More PLC Node-RED HTTP Request

Do-More PLC Node-RED HTTP Request

Node-RED HTTP Request can be used to read any BRX Do-More PLC memory area. This HTTP (Hypertext Transfer Protocol) communication will only read information from our controller. The BRX Do-More REST API is used to read information using a URL (Uniform Resource Locator) or web address. We will be using the HTTP request node in … Read more

Build Smart Arduino Weather Station with DHT11 & Thermistor

Arduino Uno Temperature and Humidity

The DHT11 is a digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air and sends out a digital signal on the data pin (no analog input pins needed). Its simple to use, and the update timing of the sensor is about 2 seconds. Thermistor temperature … Read more

Click Plus Data Logging – CSV File SQL Database

Click Plus Data Logging - CSV File SQL Database

We will now look at the data logging capability using our Click plus PLC. Data logging is the collection of data over time. This is usually used for data analysis at a later time. The amount of data (System Information) stored and the frequency of the storage will depend on your specific application. The hardware … Read more

Node-RED SQL Database Spreadsheet Connection

Node-RED SQL Database Spreadsheet Connection

We will now look at the connection to our SQL database using a spreadsheet application. Previously we used Node-RED to communicate Modbus TCP and RTU to our Click PLC and Solo Temperature Controller. The information collected from the controllers was then put into an SQLite SQL database. Spreadsheets like Excel are great for analysis of … Read more

Master Arduino Distance Detection with HC-SR04 Ultrasonic

Arduino Uno Super Starter Kit Ultrasonic Sensor

The ultrasonic sensor (HC-SR04) is great for all kinds of projects that need distance measurements. The HC-SR04 is inexpensive and easy to use. We will be sending signals directly to the sensor and interpreting the results without the need for a library. Ultrasonic sensor module HC-SR04 provides a 2cm-400cm non-contact measurement function, the accuracy can … Read more

Connecting Click Plus PLC to IoT Networks with MQTT Magic

Click Plus PLC MQTT Communication

We will now look at the MQTT communication capability using our Click plus PLC. MQTT stands for Message Queuing Telemetry Transport. This simple ‘publish and subscribe’ communication protocol, does not take too many resources. Constrained devices with low bandwidth are ideal for MQTT. This protocol provides machine-to-machine (M2M) connectivity which is ideal for the Internet … Read more