Soil moisture and distance sensor with IR remote control

A project that can measure soil moisture or distance till the nearest object and displaying them on a LCD (using I2C).

Mar 14, 2021

1641 views

0 respects

Components and supplies

1

IR receiver with remote control

1

Ultrasonic Sensor - HC-SR04 (Generic)

1

Arduino Nano R3

1

Male/Female Jumper Wires

1

Gravity: Analog Soil Moisture Sensor For Arduino

1

I2C 16x2 Arduino LCD Display Module

1

Jumper wires (generic)

Project description

Code

Arduino_project.ino

arduino

Library for IR sensor

c_cpp

Library for LCD with I2C

c_cpp

Library for IR sensor

c_cpp

Arduino_project.ino

arduino

Library for LCD with I2C

c_cpp

Library for distance sensor

c_cpp

Downloadable files

Connections

I connected the PINs like this: IR sensor - 'OUT' to D10 LCDD with I2C - 'SDA' to A4, 'SCL' to A5 Moisture sensor - 'A0' to A0 Distance sensor - 'Echo' to D11, 'Trig' to D12

Connections

Image

Connections

I connected the PINs like this: IR sensor - 'OUT' to D10 LCDD with I2C - 'SDA' to A4, 'SCL' to A5 Moisture sensor - 'A0' to A0 Distance sensor - 'Echo' to D11, 'Trig' to D12

Connections

Image

Comments

Only logged in users can leave comments

stefanciurea

0 Followers

0 Projects

0