Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino UNO-Based Water Level Monitoring System with MPU-6050 and LoRa Communication

Image of Arduino UNO-Based Water Level Monitoring System with MPU-6050 and LoRa Communication

Circuit Documentation

Summary

The circuit in question is designed to interface an MPU-6050 motion sensor, a LoRa communication module, and a water level sensor with an Arduino UNO microcontroller. The Arduino UNO serves as the central processing unit, reading sensor data from the MPU-6050 and the water level sensor, and communicating with external systems via the LoRa module. The circuit is powered through the Arduino's 5V output, which is distributed to the other components. Ground connections are also centralized through the Arduino.

Component List

MPU-6050

  • Description: A motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
  • Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT

Arduino UNO

  • Description: A microcontroller board based on the ATmega328P.
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0 to A5, SCL, SDA, AREF, D0 to D13

LoRa Module

  • Description: A long-range wireless communication module.
  • Pins: M0, M1, RXD, TXD, AUX, VCC, GND

Water Level Sensor

  • Description: A sensor used to detect the level of water.
  • Pins: SIG, VCC, GND

Wiring Details

MPU-6050

  • VCC: Connected to Arduino UNO 5V
  • GND: Connected to Arduino UNO GND
  • SCL: Connected to Arduino UNO A5
  • SDA: Connected to Arduino UNO A4

Arduino UNO

  • 5V: Power output to MPU-6050, LoRa module, and Water Level Sensor
  • GND: Common ground for MPU-6050, LoRa module, and Water Level Sensor
  • A5: Connected to MPU-6050 SCL
  • A4: Connected to MPU-6050 SDA
  • A3: Connected to Water Level Sensor SIG
  • D6: Connected to LoRa module M0
  • D5: Connected to LoRa module M1
  • D4: Connected to LoRa module RXD
  • D3: Connected to LoRa module TXD
  • D2: Connected to LoRa module AUX

LoRa Module

  • VCC: Connected to Arduino UNO 5V
  • GND: Connected to Arduino UNO GND
  • M0: Connected to Arduino UNO D6
  • M1: Connected to Arduino UNO D5
  • RXD: Connected to Arduino UNO D4
  • TXD: Connected to Arduino UNO D3
  • AUX: Connected to Arduino UNO D2

Water Level Sensor

  • VCC: Connected to Arduino UNO 5V
  • GND: Connected to Arduino UNO GND
  • SIG: Connected to Arduino UNO A3

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not include specific functionality. It should be populated with the necessary setup and loop code to interact with the connected sensors and modules.