Newbie help: my humidifier won't turn on, please help me :(

Hello, I tried to test the auto humidifier where a humidifier purification will turn on based on relay. But I just can't get the humidifier to turns on whenever the relay turns on. I already solder the push button of the humidifier but it just wont do it. After I solder the push button pin 1 and pin 2, not only it won't turn on based on relay but also didn't allow me to turn on manually using the push button (I thought I didn't solder it correctly so I tried to manually turn it on). Help! where did I do wrong? :frowning:

// Pin definitions
const int relayPin = 8; // Relay module connected to pin 8

void setup() {
  // Initialize the relay pin as an output
  pinMode(relayPin, OUTPUT);

  // Start with the relay turned off
  digitalWrite(relayPin, LOW);
}

void loop() {
  // Turn on the relay (humidifier is ON)
  digitalWrite(relayPin, HIGH);
  delay(5000); // Wait for 5 seconds

  // Turn off the relay (humidifier is OFF)
  digitalWrite(relayPin, LOW);
  delay(5000); // Wait for 5 seconds
}

I think there is something to do with the humidifier, but I just couldn't get my hands into it. Please help...

the back of the humidifier component.

I would first check the wiring on the humidification device, particularly at this location...
Screenshot 2025-01-18 094140
Being stranded wire, there could potentially be a stray strand that is shorting it out, and I would also check your solder job because even a slight crack or cut can be enough to prevent electricity from flowing.
Also, looking at your schematic I saw this area on the Humidifier chip:
Screenshot 2025-01-18 094617
I would have to see the front of the chip itself rather than just a picture of a generic chip on the schematic, but sometimes the white circle with half of it shaded is usually where the battery connects. One half is positive the other negative, in which case, you may have connected it to the wrong spot...

Hope this helps!

Hi! thank you for replying! I followed your instruction and redo it again which cut the wire and make sure nothing is shorting out but it's still the same. I think the circle with positive and negative is correct because I did some wiring testing and this is how it's turns out.

Humidifier wiring video

I'm not sure if that's what supposed to happen or not? I started to feel, I'm the only one got this kind of problem :frowning:

Looks like you are powering the fan from the Arduino pin - that won’t work

1 Like

You are the only one, trust me.

It would greatly help (us) if you would post what gadgets you got. The humidifier looks like a piezoelectric transducer, but there are if not thousands, hundreds of them. Also your schematics doesn't show the powersource for the Arduino etc. Also, what powers the humidifier? The only thing I couldn't care less about at this stage is the humidity sensor (DHT11/22).

This push button, you solder it to the humidifier board? Why?

1 Like

Hi! thank you for replying! I followed your instruction and redo it again which cut the wire and make sure nothing is shorting out but it's still the same. I think the circle with positive and negative is correct because I did some wiring testing and this is how it's turns out.

Humidifier wiring video

I'm not sure if that's what supposed to happen or not? I started to feel, I'm the only one got this kind of problem :frowning:

Apparently, I just used what my teammates bought me from online because I can't find that stuff anywhere near me.

Feel free to take a look at the component here :slight_smile:

The power source that I used is DC adapter 5v which connected to power module.

I don't worry about the humidity sensor at all because so far it works. Only one component left that I have to connect and work it out is the mist humidifier. I solder the button because I thought it would connect the electricity and hence turns on whenever I connect it to power supply (it supposed to be that way). All of the soldering I did because I want to connect it to the relay module and let the relay module be the switch to turn the mist humidifier on. The mist humidifier is supposed to automatically turn on whenever the relay turn on. That's the purpose of the button soldering.

Still, no model numbers....

I got the impression you asked for help, but maybe I should re-evaluate? :angry:

Arduino - which one
Relay - model nr
Humidifier - model nr
Power supplies - model nr
Fan - model nr

Arduino - Uno
Relay - I dont know the number but it's 5v relay module
Humidifier - DHT11
Power supply - I just take an AC 5v charger at my storage. Hence I don't know the number.
Fan - same as the power supply.
Mist humidifier - My teammates said its 5V Mini USB Humidifier Air Purifier Circuit Board Driver Hot Atomization 4E3W J9S7.

Believe me, we as students were asked to scatter to the storage room and pick up whatever available on the ground, no label, no module number because the stuff were old and reused. I didn't mean to offend you in any way but it's just exhausting doing this because I been looking at how to fix this around 2 weeks and on the edge of giving up.

I see the blue LED come on in your video.
So why do you think it is not working?

When I tried to connect the wire like touch it with the pin, it won't turn on until I untouch the wire with the pin.

When I tried to connect the wire like touch it with the pin, it won't turn on until I untouch the wire with the pin.

I admire you're endurance, I would probably shelve it long before.

But it doesn't change the fact that we're blind to what's going on w/o knowing your setup.

PSU, no sticker?

You mean it's rated 5 V too.

Well, just knowing everything 5 V gives a small portion of info. Lets say your PSU is rated 250 mA, your humidifier 5 V / 2 W = 400 mA, you blow the power budget just for the humidifier. This is just an example.

When I tried to connect the wire like touch it with the pin, it won't turn on until I untouch the wire with the pin.

Maybe that is the way it is supposed to work.
Push the button once and it comes ON
Push the button again and it goes OFF

I recheck the back of the power supply and it said model: VH0500-0500WE, input: 100-240~, 50/60Hz 0.2A and output: 5V, 0.5A.

no, the fan is like something rip out of a fan toy.

Unfortunately, I have to modify it so it could be automatic based on relay module.

It's up to your code what relay does, can just give a small pulse.
Quite likely you don't even need relay to switch that on/off.

It will still work with a relay, you just need to change your code so that it acts like a push button.
Have the relay close for 200ms then open to turn it on, then turn on again for 200ms then open to turn it off.

You need more amps.

Another thing I wonder, did you run the humidifier in air?

there were moments where I just turn it on in air for a couple of seconds for testing purpose.