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

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

CH340 CH341 USB to Serial PC Installation

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

Install Node-RED on Raspberry Pi 4

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

Arduino Uno Temperature and Humidity

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

Arduino Uno Super Starter Kit Ultrasonic Sensor

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

Node-RED SQL Database Log – Modbus Logging

Node-RED SQL Database Log - Modbus Logging

Node-RED can easily log data to a database. SQL (Structured Query Language) can be used to communicate to a SQL database. Databases separate analysis from the data unlike spreadsheets like Excel. The database is designed to hold more information than spreadsheets and allow multiple users to access the information. We will be creating an SQLite … Read more

Arduino Uno Super Starter Kit Servo

Arduino Uno Super Starter Kit Servo

The servomotor, RC (Hobby) Servo is a type of gear motor that can only rotate 180 degrees. It is controlled by sending electrical pulses from our UNO R3 board. These pulses tell the servo what position it should move to. We will be wiring the servo to our Arduino UNO R3 controller on our super … Read more