Prototype of decision support system for wind detection based on optocoupler and magnetic sensor