A smooth and safe operation of the blow room and carding machines requires detection and elimination of contamination of different kinds of metals in cotton. It also requires detection of sparks that occur at different stages in the blow room and carding machines.