A magnet is a material that can attract ferromagnetic materials such as iron, nickel and cobalt and generate a magnetic field. In Arduino projects, it is often used with Reed relays or Hall effect sensors in applications such as door/window open-close detection, tachometer and proximity detection. Neodymium magnets are the most preferred type in electronic projects because they produce strong magnetic fields despite their small size.
Projects using this component

#37Beginner
Premium
Reed Relay Value Reading
Basic project that reads the digital value given by the reed relay sensor in the presence of a magnetic field in Serial Monitor. Teaches the principle of magnetic detection.
4.4(21)
27

#38Beginner
Premium
Reed Relay Door Sensor
Door open/close detection project with reed relay that lights green LED when the magnet approaches and red LED when it moves away. Teaches how to display status with magnetic sensor.
4.7(34)
44

