Raspberry Pi Serial Port Programming

Raspberry Pi Serial Port Programming

Node-RED will be used on the Raspberry Pi 4 to communicate serial Modbus RTU to a Solo process temperature controller and Click PLC using twisted pair RS485. This will be done on the same serial network so the devices will be daisy-chained together on the two wires. We will be reading the PV (present value) … Read more

Arduino Uno Super Starter Kit LCD Display

Arduino Uno LCD Display

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 … Read more

Node-RED Modbus TCP Handling Errors

Node-RED Modbus TCP Handling Communication Errors

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 … Read more

Simple Click Data Logging – Node-RED

Simple Click Data Logging

We will now be looking at simple data logging using a Click PLC with an Ethernet port. Node-RED will be used to communicate to the controller via Modbus TCP protocol. Information collected will be then stored in an SQLite SQL database. A Raspberry Pi 4 single-board computer will be used for the Node-RED collecting and … Read more

Arduino Uno IR Remote Control – Infrared

Arduino Uno IR Remote Control

The IR (Infrared) remote control is a great way to incorporate wireless control of your project. Infrared receiver modules are simple and easy to use. In this post, we will be connecting the IR receiver to the UNO, and then use a Library that was designed for this particular sensor. In our sketch we will … Read more

Waveshare USB to Serial PC Installation

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