CH340 CH341 USB to Serial PC Installation


We will be installing a USB to rs485 installation on our computer. The CH340/CH341 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 screw terminals for the RS485 connections. The CH340/CH341 USB to serial device supports multiple baud rates and has a thumb drive design.  Let’s get started installing our USB to RS485 adapter. Continue Reading!

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 poll and log information from our PLCs using Modbus and MQTT protocols. Node-RED will be the IoT enabling software that will allow us to utilize this hardware.
https://accautomation.ca/series/node-red-iot-enabling-software/
Let’s get started with installing Node-RED and setting up a fixed IP address on our Raspberry Pi 4 computer. Continue Reading!

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 Node-RED to read information from our BRX Do-More REST API-enabled controller. Writing using Modbus will also be shown. This will all be done on our Raspberry Pi 4 single-board computer. Let’s get started. Continue Reading!

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 circuits can be much quicker and are very accurate in measuring temperature.

We will be using the DHT11 sensor to measure temperature and humidity. A separate thermistor circuit will also be used to measure temperature on an analog input. This will be all done on our Arduino UNO R3 controller on our super starter kit. Let’s get started. Continue Reading!

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 used to store the data is usually called a data logger. Using the information from our last post, the MQTT information collected (Temperature in Atlanta and Click Analog) will now be logged in two different ways. A micro SD card on the Click Plus will be used to store the data every minute in a CSV (Comma Separated Value) file. Node-RED will also be used to store the same data in a SQL database. Let’s get started on how to use these data loggers. Keep on Reading!

Practical Tips and Techniques

Exit mobile version