How to make an I2C slave send data in an I2C system

I2C slave

The master device mostly controls the I2C slave device. In this post, we will send data from the master to the slave. This is useful as some projects require the I2c slave to send sensor readings to the master to be processed or displayed. We will send distance readings from an ultrasonic sensor and display … Read more

How to use Newping.h Library for ultrasonic sensors

Newping.h library

Newping.h is a Library developed by Tim Eckel. It makes interfacing and using ultrasonic sensors much easier. The library can be installed directly from the Arduino IDE, or the zip file can be downloaded from GitHub. The default method of using an ultrasonic sensor was difficult and didn’t give much flexibility, with this library many can … Read more