0

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!


Join 5,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — The first step in making: a PCB

Wearables — Try maximum twinkling

Electronics — Behold…the power of pseudocode.

Biohacking — All Day EEG Recording Tools

Python for Microcontrollers — PyCon US 2018 Rocked!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.