Arduino

Communicating with a Raspberry Pi from an Arduino Using Node-RED @Raspberry_Pi #PiDay #RaspberryPi

via KTINKERER

I wanted to add some sensors to a Raspberry Pi but I was quickly running out of GPIO pins, luckily I had some spare Arduinos so decided to experiment with plugged one into the Pi. I got the Arduino set up with the sensors and connected it via USB to the Raspberry Pi.

To get the readings in Node-RED install Node-RED serialport, restart Node-RED and select the serial port node. To set it up you need to put in the serial port you are using. My settings looked like the following image.

Node-RED

Read more!


Source: Adafruit – Arduino

Leave a Reply

Your email address will not be published. Required fields are marked *