

Ultrasonic humid
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
3ATMEGA328-PU
PDIP-28-40℃~+85℃ 1.8V~5.5V 10bit 1KB 20MHz 23 2KB 32KB 8 Bit AVR Built-in FLASH PDIP-28 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)HC-05
Bluetooth to Serial Port ModuleGENERICUncategorisedHLK-PM01
DIP,34x24mm0.1W 100mVp-p 15mm 20mm 34mm 3W 3kV 5V 700mA 73% 85VAC~265VAC AC-DC Short Circuit Protection、Over Current Protection、Fault self-recovery ±0.2% 插件,34x20mm AC-DC Power Modules ROHSHI-LINKAC-DC Power Modules
README
README.mdSmart 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 schematichumidifier.kicad_pcb– KiCad PCB layoutgerber_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
#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

Report & Documentation
- Full project report (
report.pdf) - Block diagram and flowchart included
- Explanation of design choices, challenges, and solutions
Getting Started
- Flash the Arduino-compatible code to ATmega328P using a USBasp or FTDI programmer.
- Power the board via a 5V DC adapter.
- Connect to the Bluetooth module via a mobile app like Serial Bluetooth Terminal.
- Send
1to turn ON the humidifier,0to turn it OFF.
Contact
For questions or collaboration opportunities, feel free to reach out via LinkedIn or email.
Parts
13| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 22pF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C1, C2 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3 |
| 1 | 16MHZ | Crystal:Crystal_HC49-U_Vertical | Crystal_osc1 |
| 1 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1 |
| 1 | 2k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R2 |
| 1 | ATmega328-P | Package_DIP:DIP-28_W7.62mm | Mc1 |
| 1 | HC-05 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | B1 |
| 1 | HLK-PM01 | Converter_ACDC:Converter_ACDC_HiLink_HLK-PMxx | PS1 |
| 1 | LED | LED_THT:LED_D5.0mm | D1 |
| 1 | Q_NMOS_GDS | Package_TO_SOT_THT:TO-220-3_Vertical | Q1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | Push_Switch1 |
| 1 | ultrasonic_humid | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | U1 |
Similar boards
- 2 layers

- 2 layers54.1 × 82.3 mm

- 4 layers126.6 × 37.7 mm

Gruzik2.0
NYDEREK/LineFollower_GRUZIK2.0-light
GRUZIK2.0 is simple light construction made for "line follower light" competition
50 parts101MIT - 2 layers100 × 100 mm

- 2 layers90.9 × 38.4 mm

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 mm

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 mm

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 mm

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.