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 Tutorial

Getting Started With ProjekIoT.com Using Raspberry Pi
Control Servo With Gesture Using ESP32 and Arduino
Send Sensor’s Data to ThingSpeak Using ESP32
Basic Usage of iMAX B6AC LiPo Charger
Colourful Bed Lamp Using Tilt Sensor on Maker UNO
Scroll to Top