I2C Raspberry Pi Arduino – Reading Analog Signal

With I2C communication, we can help Raspberry Pi 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.

HARDWARE PREPARATION

Item used in the video.

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

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorail

Display Temperature and Humidity on OLED using DHT22 and Arduino
Getting Started With Teensy Using Arduino IDE
Night Light
Arduino Device Tracker Using GSM GPS SIM7600E Module
Chocolate Box with Touch Sensor and Arduino
Scroll to Top