An LCD (Liquid Crystal Display) is a great way to display information in our Arduino Uno controller. We will be wiring and programming an alphanumeric, two rows with 16 characters on each row. The display has an LED (Light Emitting Diode) backlight with adjustable contrast.
This white and blue LCD will display “Hello World!” on the top line and temperature on the bottom line. The thermistor temperature circuit created last time will be displayed in both Celsius and Fahrenheit degrees. Let’s get started. Continue Reading!
Node-RED Modbus TCP can recover from communication errors automatically. Options are available to you the programmer to continue the Node-RED flow upon detection of these errors.
Broken Ethernet cable, Modbus Server power, and Node-RED Client offline are just a few of the errors that can occur on the industrial plant floor. Our Node-RED program must account for and be tested for each of these conditions.
We will be communicating Modbus TCP (Ethernet) to our Click Plus PLC. Using the catch node we will detect and display errors that may occur. Let’s get started. Continue Reading!
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 screw terminals for the RS485 connections. This is an industrial USB to RS485 converter that has an FT232RL chip inside. It features embedded protection circuits such as lightning-proof, resettable fuse, ESD (Electrostatic Discharge) protection, and TVS (Transient Voltage Suppression) diode, etc. All of these features are packed within a small form size.
Purchase at Amazon.com
We will be installing the driver for this USB to serial converter and connecting it to our computer. Node-RED will be used to communicate Modbus RS485 protocol to a Solo process temperature controller. Let’s get started. Continue Reading!
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!
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.
Let’s get started with installing Node-RED and setting up a fixed IP address on our Raspberry Pi 4 computer. Continue Reading!