How Node-Red communicates with OPC DA server

1. Introduction This article mainly introduces how Node-Red uses the plug-in node-red-contrib-opc-da and the plug-in node-red-contrib-opcda-client to communicate with the OPC DA server, and uses KEPServer to simulate the server. Environment setup This environment setup requires two machines, in the same LAN: Server Function: Simulate OPC DA server Operating system: Windows 7 Professional Client computer […]

Using mavros to communicate between pixhawk and raspberry pi 4B

Environment Windows 11 pixhawk2.4.8 Raspberry Pi 4B QGroundControl 4.2.8 Mission Planner 1.3.80 ardupilot ubuntu 20.04.2 ros noetic (The software and hardware versions used by me are for reference only) Steps Install firmware on pixhawk (I use arduSub 4.2.0) Install ubuntu20 on Raspberry Pi Raspberry Pi enables hardware serial communication Install ros on raspberry pi Install […]

Best way to communicate between Fragments

In Android applications, fragments are components used to build flexible and reusable user interfaces. However, when multiple fragments are used in an application, communication between them becomes very important. This article will introduce how to implement communication between fragments and between fragments and host activities in Android applications. Use ViewModel for communication ViewModel is an […]

HAL library_STM32 communicates with Tao Jingchi T1 series serial port screen

1. Experimental purpose Tao Jingchi serial screen design software, Kei and STM32CubeMX software are used in combination with hardware to complete simple communication between the serial screen and the microcontroller. 2. Hardware connection 32 microcontroller and serial port screen connection Connect the serial port screen to the power board 3. Use USART HMI software to […]

Openmv identifies traffic lights and communicates with STM32

Openmv recognizes traffic lights and communicates with STM32 (multi-color recognition) Preface working principle Pin connection (here I use serial port three of openmv and serial port one of STM32) Openmv code part STM32 code part Serial port initialization configuration function main function Write a receiving function Main function content Foreword It is very common for […]