The electromagnet is a digital output module, it is a type of magnet in which the magnetic field is produced by an electric current. Equipped with this feature, you can make a mini device for picking up and moving magnetic material.