This is my first Arduino project so please let me know if I am approaching anything incorrectly.
The project description:
Monitor the rotations of an extractor fan (wind powered). When the fan drops below a certain rotation frequency (ie there is no wind that day) turn on an electric fan.
This is a simple project and I want it to be reliable as it will be installed outside on a chimney, the extraction fan is for a waterless toilet.
Input sensor
through my research online i have found that a reed switch is the best option to monitor the rotations of the extractor.
the rest of the project should be fairly straight forward,
below is my processing code in sudoish code:
check rotation frequency();
if (frequency < 1/per second && fan == FALSE){
fan = TRUE;
} else {
fan = FALSE;
}
my questions are:
- do you think that a reed switch is the best option?
- how should i chose a reed switch, there are may different types, any help here would be much appreciated?
- do you think the sudo code is correct, can you suggest a better algorithm?
- im using a arduino uno as my micro controller, is this viable to turn on a 12V electric fan, with a motor rating of 1 amp and power consumption of 7.2 Watts? how does the arduino handle 12v as apposed to the normal 5V?
again any help would be most appreciated, i hope i given enough information