The share link has been copied to clipboard
Computer Hardware
Engineering & Technology
Programming

Raspberry Pi Serial Port Programming

577 views · Oct 12, 2022
Visit Channel:publisher-humix
Node-RED will be used on the Raspberry Pi 4 to communicate 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) and SV (set value) of the Solo temperature controller and then writing these values into the Click PLC. A SV value will then be read from the Click PLC and if it has changed, the value will be written to the SV of the Solo controller. Let’s get started. More information can be obtained at our website. This includes all of the links mentioned in this video. https://accautomation.ca/raspberry-pi-serial-port-programming/ In this series we started using Node-RED in some of the following ways: The entire series can be viewed here: https://accautomation.ca/series/node-red-iot-enabling-software/ Installing the Windows Software https://accautomation.ca/node-red-installing-the-windows-software/ https://youtu.be/xGzH2Hv31WA Modbus RTU / TCP Communication https://accautomation.ca/node-red-modbus-communication/ https://youtu.be/yX1w5vcV6cc User Interface - Dashboards https://accautomation.ca/node-red-user-interface-dashboards/ https://youtu.be/8zAG2wXwGOc SQL Database Log https://accautomation.ca/node-red-sql-database-log-modbus-logging/ https://youtu.be/QHjcNj1S_Mo SQL Database Spreadsheet Connection https://accautomation.ca/node-red-sql-database-spreadsheet-connection/ https://youtu.be/Cd3LvhoMaCI Install Node-RED on Raspberry Pi 4 https://accautomation.ca/install-node-red-on-raspberry-pi-4/ https://youtu.be/KleNtxvJkU4 Do-More PLC Node-RED HTTP Request https://accautomation.ca/do-more-plc-node-red-http-request/ https://youtu.be/m-p28H9Fl5s Simple Click Data Logging https://accautomation.ca/simple-click-data-logging-node-red/ https://youtu.be/RmSn4ZSPSmg Node-RED Modbus TCP Handling Errors https://accautomation.ca/node-red-modbus-tcp-handling-errors/ https://youtu.be/CgsJozTr-8w We will continue with the following: Raspberry Pi Serial Port Programming 00:00 Raspberry Pi Serial Port Programming 01:06 Modbus RTU (RS485) Serial Network 03:06 Raspberry Pi USB to RS485 Adapter 03:36 Hardware 04:15 Solo Process Temperature Controller Modbus Slave Setup 05:05 Click PLC Modbus Slave Setup 06:32 Node-RED Serial Port Program Example There are several reasons why we are using Node-RED. Here are just a few. - Built on top of the most dependable programming language JavaScript. - JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more. - Visual flow type interface making programming easy. - Node will allow JavaScript code to run directly on a computer. - Node-RED is a free, open-source logic engine. - Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols. - Save and read from databases - Easily make the Internet of Things (IoT, IIoT) industrial solutions. Node-RED provides the ability for you to quickly create custom control solutions. https://accautomation.ca/
Show More

Comments

loading text loading
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text
loading text loading
loading text