Không có sản phẩm trong giỏ hàng!
![USB Serial Communication Between Arduino and Raspberry Pi USB Serial Communication Between Arduino and Raspberry Pi](https://static.cytron.io/image/tutorial/usb-serial-communication-between-arduino-and-raspberry-pi/RPi-Arduino-Serial-Comm-Featured.jpg)
USB Serial Communication Between Arduino and Raspberry Pi
- Idris Zainal Abidin
- 31 Jul 2019
- 667
Introduction
Communication between 2 controllers is quite helpful. It can unlock more possibilities and also be able to do task simultaneously. Previously, I have shared how to do communication between Raspberry Pi and Arduino using I2C communication. Now, instead of using I2C, I will show you how to do it through USB cable and using serial communication. This setup also possible to program Arduino board using Raspberry Pi.
Video
This video will show you how to do serial communication between Arduino and Raspberry Pi through USB cable.
Hardware Preparation
This is the list of items used in the video.
Sample Program
This is the sample code used in the video for Arduino (top) and Raspberry Pi (bottom).
https://gist.github.com/IdrisCytron/62b97f061afe8041a1a4cbcee2986efe
Thank You
References:
Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.
Related Products
Maker pHAT: Simplifying Raspberry Pi for {Educa...
Không có sẵn
Maker UNO: Simplifying Arduino for {Education}
Không có sẵn