A DIY humidifier is a device designed to add moisture to the air, which can be particularly beneficial in dry climates or during winter months when indoor air tends to be dry. This device typically involves components such as a water reservoir, a fan, and a wick or ultrasonic mist maker to disperse water vapor into the air. DIY humidifiers are popular in home automation projects and can be easily integrated with microcontrollers like the Arduino UNO for enhanced control and automation.
Parameter | Value |
---|---|
Operating Voltage | 5V DC |
Current Consumption | 200mA |
Power Rating | 1W |
Water Reservoir | 500ml |
Humidification Rate | 30ml/h |
Fan Speed | 3000 RPM |
Ultrasonic Frequency | 1.7MHz |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (5V DC) |
2 | GND | Ground |
3 | FAN_CTRL | Fan control signal |
4 | MIST_CTRL | Ultrasonic mist maker control signal |
Power Supply:
Control Signals:
Water Reservoir:
// Define pin connections
const int fanPin = 9; // Pin connected to FAN_CTRL
const int mistPin = 10; // Pin connected to MIST_CTRL
void setup() {
// Initialize the digital pins as outputs
pinMode(fanPin, OUTPUT);
pinMode(mistPin, OUTPUT);
}
void loop() {
// Turn on the fan and mist maker
digitalWrite(fanPin, HIGH);
digitalWrite(mistPin, HIGH);
// Keep them on for 10 seconds
delay(10000);
// Turn off the fan and mist maker
digitalWrite(fanPin, LOW);
digitalWrite(mistPin, LOW);
// Keep them off for 10 seconds
delay(10000);
}
No Mist Production:
Fan Not Working:
Intermittent Operation:
By following this documentation, users can effectively build and troubleshoot their DIY humidifier, ensuring optimal performance and longevity of the device.