Skip to the content
2 layers61 × 45.7 mmUltrasonic humid, the printed circuit board in 3D

This project showcases a smart ultrasonic humidifier controlled by an ATmega328P microcontroller, designed with both manual and Bluetooth-based remote control.

Size
61 × 45.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
13
Nets
32
Pads
59
Tracks, vias
92, 5
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
22 May 2025
Updated
22 May 2025

Overview

Ultrasonic humid is an open-source printed circuit board by anshuman777K, from the anshuman777K/Ultrasonic_humidifier repository on GitHub. It is a 2-layer board of 61 × 45.7 mm with 13 parts on 32 nets, routed with 92 tracks and 5 vias.

It is built around the ATMEGA328-PU, HC-05 and HLK-PM01. Its parts include 3 resistors, 2 capacitors, 1 IC, 1 diode and 1 transistor. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Smart Ultrasonic Humidifier

This project showcases a smart ultrasonic humidifier controlled by an ATmega328P microcontroller, designed with both manual and Bluetooth-based remote control. The system features a custom-designed 2-layer PCB created in KiCad, making it production-ready for consumer deployment.

Features

  • Dual control modes:
    • Manual push-button
    • Wireless Bluetooth (HC-05) via smartphone
  • Status indication through onboard LED
  • Power-efficient switching using a MOSFET driver
  • Clean and compact 2-layer PCB layout (KiCad)
  • Embedded C code written in Arduino IDE
  • Power input via standard DC barrel jack

Components Used

  • ATmega328P Microcontroller
  • HC-05 Bluetooth Module
  • Push Button
  • Status LED
  • MOSFET (IRFZ44N or similar)
  • USB Ultrasonic Atomizing Module
  • DC Barrel Jack
  • Supporting resistors and capacitors

Design Files

  • schematic.pdf – Full circuit schematic
  • humidifier.kicad_pcb – KiCad PCB layout
  • gerber_files/ – Production-ready Gerber output

Embedded Code

The microcontroller is programmed using Arduino IDE. Code includes:

  • Button debounce and toggle logic
  • Serial parsing for Bluetooth commands
  • Humidifier ON/OFF control
  • LED status synchronization
c
#define HUMIDIFIER_PIN  8
#define BUTTON_PIN      7
#define LED_PIN         6

bool state = false;

void setup() {
  pinMode(HUMIDIFIER_PIN, OUTPUT);
  pinMode(BUTTON_PIN, INPUT_PULLUP);
  pinMode(LED_PIN, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  if (digitalRead(BUTTON_PIN) == LOW) {
    state = !state;
    digitalWrite(HUMIDIFIER_PIN, state);
    digitalWrite(LED_PIN, state);
    delay(200);
  }

  if (Serial.available()) {
    char c = Serial.read();
    if (c == '1') {

Flowchart

Flowchart

Report & Documentation

  • Full project report (report.pdf)
  • Block diagram and flowchart included
  • Explanation of design choices, challenges, and solutions

Getting Started

  1. Flash the Arduino-compatible code to ATmega328P using a USBasp or FTDI programmer.
  2. Power the board via a 5V DC adapter.
  3. Connect to the Bluetooth module via a mobile app like Serial Bluetooth Terminal.
  4. Send 1 to turn ON the humidifier, 0 to turn it OFF.

Contact

For questions or collaboration opportunities, feel free to reach out via LinkedIn or email.

Parts

13
QtyValueFootprintReferences
222pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1, C2
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
116MHZCrystal:Crystal_HC49-U_VerticalCrystal_osc1
11kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
12kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1ATmega328-PPackage_DIP:DIP-28_W7.62mmMc1
1HC-05Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalB1
1HLK-PM01Converter_ACDC:Converter_ACDC_HiLink_HLK-PMxxPS1
1LEDLED_THT:LED_D5.0mmD1
1Q_NMOS_GDSPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1SW_PushButton_Switch_THT:SW_PUSH_6mmPush_Switch1
1ultrasonic_humidConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalU1

Similar boards

  • 2 layersUltransonicHumidifier, the printed circuit board in 3D

    UltransonicHumidifier

    anuj-dangi/iot-and-automation

    Repo for IOT and automation projects

    19 parts2
  • 4 layers126.6 × 37.7 mmGruzik2.0, the printed circuit board in 3D

    Gruzik2.0

    NYDEREK/LineFollower_GRUZIK2.0-light

    GRUZIK2.0 is simple light construction made for "line follower light" competition

    50 parts101MIT
  • 2 layers100 × 100 mmMain board V2, the printed circuit board in 3D

    Main board V2

    Resaj/cyclops-project

    Robot de carreras open source con cámara

    31 parts53
  • 2 layers90.9 × 38.4 mmSnaaur v1, the printed circuit board in 3D

    Snaaur v1

    duongngochoan/Self_balancing_robot_PID

    Used a PID control algorithm and MPU605 sensor to balance a two-wheeled robot.

    58 parts7
  • 2 layers56.8 × 68.6 mmEmg, the printed circuit board in 3D

    Emg

    leikoilja/muscle-imbalance-detection

    A device to assist patients with the rehabilitation of the knee joint after a knee surgery using EMG biofeedback. The device can reliably detect muscle activity and display it in an easy-to-use mobile application.

    84 parts6MIT
  • 2 layers135.8 × 56.1 mmPower board, the printed circuit board in 3D

    Power board

    xtarke/automated_buggy

    This shield connects microcontroller (MSP-EXP430FR2355) pins to the car's power board. Go to Power Board for more hardware information.

    87 parts5GPL-3.0
  • 2 layers33 × 58.8 mmFusion, the printed circuit board in 3D

    Fusion

    chungyu710/Fusion

    Capstone Design Project

    36 parts4

Questions

How big is the Ultrasonic humid PCB?

It measures 61 × 45.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ultrasonic humid use?

13 parts, built around the ATMEGA328-PU, HC-05 and HLK-PM01. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ultrasonic humid KiCad files?

From the anshuman777K/Ultrasonic_humidifier repository on GitHub, at the commit this page was made from: the board is ultrasonic_humid.kicad_pcb and its schematic ultrasonic_humid.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ultrasonic humid design in my own project?

Its repository states no licence, so its author keeps all rights: ask anshuman777K before reusing the design.