hii everyone
i am for first time trying to write a code to run a water pump using inputs from temperature sensor and humidity sensor. iam mechanical engineer so i dont ahv any idea about coding.
water pump: 12v d.c.,0.5A
temperature sensor: MLX90614 - Contactless Temperature Sensor
i am using adruino uno.so i guess i will need some type of sheild in order to power the motor.
my application is for room coolers in order to reduce the humidity transmitted during its operation in summers.
Here's a tutorial on how to connect the sensor.
I take it you only need to power the pump in one direction?
I think something like this MOSFET should work but I hope someone else confirms this.
Do you need to control the speed of the motor?
If you don't need speed control the motor could be controlled with a relay.
I'm trying to understand your application. Is the water pump being used to cool the air as part of a dehumidifier?
Are you attempting to prevent dry air from becoming humid or are you trying to remove moisture from the air?
actaully i am trying to control humidity while maintaining an ambeint temperature.i need to just switch on / off the motor according to temp and humidity readings.there is no need for speed control of motor.
i think i can power the motor using an external 12v dc battery. bcoz i dont know anything about mosfet or relay.
can someone help me with coding and is there rquirment of sheild?
abhisheksingh9:
actaully i am trying to control humidity while maintaining an ambeint temperature.
I'm aware of two ways of removing moisture from the air.
-
Cool the air to the point the moisture condenses out of the air. I believe a heat exchanger is used to allow incoming warm moist air to warm the outgoing cool dry air. I think the cool dry air would also require some additional heating to bring back to its original temperature.
-
Use a desiccant to absorb the moisture. Desiccants will saturate will water and need to be periodically recharged.
I don't understand how cool water by itself can be used to reduce humidity while maintaining temperature.
abhisheksingh9:
i think i can power the motor using an external 12v dc battery. bcoz i dont know anything about mosfet or relay.
The MOSFET or relay would be used to allow the Arduino to turn the motor on and off.
abhisheksingh9:
can someone help me with coding
Sometimes people will write simple programs for others for free but I don't think this would be a simple program. If no one offers to write the program for free, you could try the "Gigs" section of this forum.
abhisheksingh9:
and is there rquirment of sheild?
It's unlikely there's a shield with all the components you need. You can use jumper wire between the Arduino and the components you're using. It's generally a good idea to keep these wires relatively short.
How are you going to monitor the humidity?