Your shopping cart is empty!
I2C Raspberry Pi Arduino - Reading Analog Signal
- Idris Zainal Abidin
- 10 Oct 2018
- 338
INTRODUCTION
We know Raspberry Pi doesn’t have ADC (Analog Digital Converter) feature. So, we will continue from I2C Communication Between Raspberry Pi and Arduino tutorial. But this time we try to read analog signal.
VIDEO
This video will show you how to read analog signal through I2C communication between Rasapberry Pi and Arduino.
HARDWARE PREPARATION
Item used in the video.
- Raspberry Pi Zero WH (with Header)
- Maker UNO
- Maker pHAT
- Potential Meter 10K
- Male to Female Jumper Wire
- Male to Male Jumper Wire
- USB Micro B Cable
Sample Code
This is the sample code for Arduino and Raspberry Pi used in the video.
Thank You
References
- Controlling an Arduino from a Pi3 using I2C
- i2c python documentation
- Raspberry Pi SPI and I2C Tutorial
- Master Writer/Slave Receiver
Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.