Respected all my seniors here
i am totally new to the Arduino and for the college project i am supposed to program an Arduino UNO for the Sensors MLX 90614 , DT 11 as input and running a motor as output. the MLX 90614 is a IR sensor. The DT 11 is a humidity sensor and Motor is a 12 V dc motor. the program should be that the sensors(both) should take a reading after 20 seconds and if the temperature reaches beyond 70 degree celsius along with the humidity above 60% the motor should be actuated. and again de activated once the temperature falls below 70 degree celsius.
also if humidity falls below 60% then temperature sensor shud remain off
please suggest a programming or how to do it for the above conditions.