![Arduino - Bi-directional serial communication with Raspberry Pi](https://ytimg.googleusercontent.com/vi/OJtpA_qTNL0/hqdefault.jpg)
/")
Find the code and diagrams at: https://www.elithecomputerguy.com/2020/12/arduino-bidirectionnel-serial-communication-with-raspberry-pi/
You can send data to a Raspberry Pi from an Arduino, have the Pi calculate the data, and use "intelligence" to send a command to the Arduino. This allows you to fully utilize a Pi as a "compute module" for the Arduino with the ability to access databases, datastores, APIs and everything else a "real" computer can do .
Preconditions:
Analog temperature sensor with Arduino
Raspberry Pi – How to start coding Python on Raspberry Pi
Arduino – Send commands with serial communication
Arduino – Send serial commands from Raspberry Pi
Arduino – Read serial communication with Raspberry Pi
Functional parts of the project:
Arduino Uno – https://store.arduino.cc/usa/arduino-uno-rev3
560 Piece Jumper Wire Kit – https://amzn.to/2MsCLjL
220 ohm resistors – https://amzn.to/2RiiMD9
Breadboard Kit – https://amzn.to/2Xih5ei
LED kit – https://amzn.to/2Rjhs2N
Analog temperature sensor – https://amzn.to/2Rkkl3k
Raspberry pie
USB cable
Please take the opportunity to connect and share this video with your friends and family if you find it useful.
No Comments