This is a simply example how to use an Arduino UNO as input for sensors and send it via serial interface do the Raspberry. Node-RED will then show the resultant from the different sensors.
The Arduino UNO with DHT11 temperature and humidity sensor and two analogue inputs from a joystick:
The Arduino Program with first test:
The back-end from Node-RED Program:
You can import “node-red backup.txt “ into you Node-RED Back-End.