Bukit Mertajam, Penang

I2C Raspberry Pi Arduino – Reading Analog Signal

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.

Sample Code

This is the sample code for Arduino and Raspberry Pi used in the video.

Thank You

References

  1. Controlling an Arduino from a Pi3 using I2C
  2. i2c python documentation
  3. Raspberry Pi SPI and I2C Tutorial
  4. Master Writer/Slave Receiver

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a comment