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

Arduino Nano-Based Environmental Monitoring System with Nextion Touch LCD and CAN BUS Communication

Image of Arduino Nano-Based Environmental Monitoring System with Nextion Touch LCD and CAN BUS Communication

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to interface various components with an Arduino Nano microcontroller. The circuit includes communication interfaces, solid-state relays (SSRs) for controlling power loads, a gas sensor, a Hall effect sensor for current measurement, a CAN bus interface for automotive communication, and a Nextion touch LCD for user interaction. The circuit is powered by an AC-to-DC converter module and a step-down voltage regulator. The Arduino Nano serves as the central processing unit, managing input/output operations and communication protocols.

Component List

Microcontroller

  • Arduino Nano: A compact microcontroller board based on the ATmega328P, featuring digital and analog I/O pins.

Sensors and Modules

  • Adafruit MCP9600: A high accuracy thermocouple amplifier with I2C interface.
  • MQ-5 Gas Sensor: A sensor for detecting LPG, natural gas, and coal gas.
  • Hall Sensor: A sensor for detecting magnetic fields, often used for current sensing.
  • SCT013: A non-invasive AC current sensor.

Communication Interfaces

  • Nextion Touch LCD 2.4": An intelligent touchscreen display for user interfaces.
  • CAN BUS Module: A module for interfacing with CAN bus systems, commonly used in automotive applications.

Power Control

  • SSR-10A: Solid-state relays for switching AC loads without mechanical contacts.
  • 12V Single Channel Relay: An electromechanical relay for controlling higher power devices.
  • LM2596 Step Down Module: A voltage regulator module for stepping down input voltage to a lower level.

Power Supply

  • actodc: An AC-to-DC power supply module for converting mains voltage to 12V DC.

Miscellaneous

  • Terminal PCB 2 Pin: Connectors for making easy and secure connections to the board.
  • 74HC405L: A component listed without pin details, possibly a placeholder or a mislabeled component.

Resistors

  • Multiple resistors with various resistance values for current limiting and voltage division.

Wiring Details

Arduino Nano

  • Digital I/O:
    • D0/RX connected to Nextion LCD RX.
    • D1/TX connected to Nextion LCD TX.
    • D2-D7 connected to SSR-10A relays for control signals.
    • D8-D13 used for interfacing with 74HC405L and CAN BUS module.
  • Analog Inputs:
    • A0-A3 connected to various sensors and modules.
    • A4 (SDA) and A5 (SCL) used for I2C communication with Adafruit MCP9600.
    • A6 connected to MQ-5 Gas Sensor analog output.
  • Power Pins:
    • 5V and GND used for powering components and establishing common ground.

Adafruit MCP9600

  • SDA and SCL connected to Arduino Nano for I2C communication.
  • VIN connected to 5V supply.
  • GND connected to common ground.
  • + and - pins likely used for thermocouple connections.

MQ-5 Gas Sensor

  • VCC connected to 5V supply.
  • GND connected to common ground.
  • Analog out connected to Arduino Nano A6.

Hall Sensor

  • + connected to 5V supply.
  • - connected to common ground.
  • S connected to Arduino Nano A2.

Nextion Touch LCD 2.4"

  • TX connected to Arduino Nano D1/TX.
  • RX connected to Arduino Nano D0/RX.
  • VCC connected to 5V supply.
  • GND connected to common ground.

SSR-10A

  • + control pins connected to Arduino Nano D2-D5.
  • - control pins connected to common ground.

12V Single Channel Relay

  • IN connected to Arduino Nano D7.
  • VCC connected to 5V supply.
  • GND connected to common ground.

LM2596 Step Down Module

  • IN+ and IN- connected to actodc 12V output and ground.
  • OUT+ and OUT- providing regulated voltage to components.

CAN BUS Module

  • CS, SI, SO, SCK connected to Arduino Nano for SPI communication.
  • VCC connected to 5V supply.
  • GND connected to common ground.
  • H and L connected to CAN bus network.

Documented Code

sketch.ino

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

}

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

}

documentation.txt

No additional documentation provided in the code file.


Note: The provided information is based on the input data. Some components, such as the 74HC405L, were listed without pin details, and their connections could not be documented. The actual circuit functionality and additional code details are not provided and would be necessary for a complete understanding of the circuit's operation.