Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Mega 2560-Based Multi-Sensor Monitoring System with LCD Display

View and Edit Project In Cirkit DesignerImage of Arduino Mega 2560-Based Multi-Sensor Monitoring System with LCD Display

Circuit Documentation

Summary

This circuit involves an Arduino Mega 2560 microcontroller interfacing with various sensors and a display. The components include pushbuttons, a vibration sensor, a touch sensor, a current sensor, and a 16x2 I2C LCD display. The Arduino Mega 2560 serves as the central controller, reading inputs from the sensors and displaying information on the LCD.

Component List

  1. Pushbutton

    • Description: A simple pushbutton used for user input.
    • Pins: Pin 1 (in), Pin 2 (in), Pin 3 (out), Pin 4 (out)
  2. SW-420 Vibration Sensor

    • Description: A sensor that detects vibrations.
    • Pins: vcc, Ground, Digital output
  3. Touch Sensor

    • Description: A sensor that detects touch.
    • Pins: IO, VCC, GND
  4. ACS712 Current Sensor 5A 20A 30A

    • Description: A sensor that measures current.
    • Pins: 1, 2, GND, OUT, VCC
  5. 16x2 I2C LCD

    • Description: A 16x2 character LCD display with I2C interface.
    • Pins: GND, VCC, SDA, SCL
  6. Arduino Mega 2560

    • Description: A microcontroller board based on the ATmega2560.
    • Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, SDA, SCL, AREF

Wiring Details

Pushbutton 1

Pushbutton 2

Pushbutton 3

SW-420 Vibration Sensor

Touch Sensor

ACS712 Current Sensor 5A 20A 30A

16x2 I2C LCD

Arduino Mega 2560

Code Documentation

Arduino Mega 2560 Code

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

}

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

}

This code is a basic template for the Arduino Mega 2560. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly.