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

Arduino Nano Battery-Powered Fan and LCD Display Controller

View and Edit Project In Cirkit DesignerImage of Arduino Nano Battery-Powered Fan and LCD Display Controller

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller interfacing with various components including an LCD display, pushbuttons, a potentiometer, a voltage sensor, a fan, and a TP4056 battery charger module connected to 18650 Li-Ion batteries. The circuit is designed to read inputs from the pushbuttons and potentiometer, display information on the LCD, and control the fan. The TP4056 module is used to charge the 18650 Li-Ion batteries.

Component List

  1. Arduino Nano

    • Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  2. 18650 Li-Ion Battery

    • Description: A rechargeable lithium-ion battery.
    • Pins: Positive, Negative
  3. TP4056

    • Description: A linear battery charger module for single-cell lithium-ion batteries.
    • Pins: OUT-, B-, B+, OUT+, IN-, IN+
  4. USB Female

    • Description: A USB female connector for power input.
    • Pins: VCC, GND, -D, +D
  5. Fan

    • Description: A small DC fan for cooling purposes.
    • Pins: GND, 5V
  6. LCD Display (16 pin)

    • Description: A 16x2 character LCD display.
    • Pins: VSS, VDD, VO, RS, R_W, E, DB0, DB1, DB2, DB3, DB4, DB5, DB6, DB7, A, K
  7. Voltage Sensor

    • Description: A sensor to measure voltage levels.
    • Pins: Ground, Phase, Vcc, Out, Gnd
  8. Pushbutton

    • Description: A simple pushbutton switch.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4
  9. Potentiometer

    • Description: A variable resistor used to adjust voltage levels.
    • Pins: GND, Output, VCC

Wiring Details

Arduino Nano

TP4056

USB Female

Fan

LCD Display (16 pin)

Voltage Sensor

Pushbutton 1

Pushbutton 2

Potentiometer

Code Documentation

Arduino Nano 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 Nano. 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. Currently, the code does not perform any specific actions and serves as a starting point for further development.