To design an embedded system for an automated hand drying system in washrooms. On detecting our hand near the device, motor turns ON
- System should check the presence of hand near the hand dryer every 1 second
- Motor should turn on for a minimum of 5 seconds on detecting the hand
- Motor should turn off after this period, if no hand is present
- Motor should stay on throughout the presence of hand
- External override switch for the dryer should stop operation
- ESP32 DevKit V4
- DC 3.7V 50,000 RPM CoreLess Motor (Analog output)
- InfraRed Transmitter + Receiver module (Analog Input)
- 2-mode toggle switch (Digital Input)
- Misc Electronic wiring
- The system is off if the switch is turned off.
- The system constantly checks for inputs from the IR module at a frequency of 1Hz
- Upon receiving a sensor input of less than 4000 (in a range of 0 to 4096) the polling loop is changed.
- The microcontroller gives a pwm output of maximum speed to the motor as 255 if <4000 IR value received
- Fan remains on for a minimum of 5 seconds after it receives the first value below 4000.