{"title":"OCTOPUS Magnetic Switch","handle":"octopus-magnetic-switch","url":"/products/octopus-magnetic-switch","description":"   OCTOPUS Magnetic Switch is a kind of electric brick carrying magnetic switch and compatible with OCTOPUS series. It mainly consists of WBSF12 dry reed switch. WBSF12 is a dry reed tube with frequently open contact point. When magnet come close to a certain distance,switch within WBSF12 will close. Under this principle, it can be used to detect magnet around. With magnet and WBSF12 combined , it can control links between electronic components. Features 1.Swift motion, small volume 2.Contact point has very good anti-corrosion and wear resistance 3.Long life span 4.Working current:&lt;200mA:&lt;AX: 5.Working temperature -55 ~ 125鈩?/p&gt; 6.Size: 23.48mm×31.28mm Application 1.Can be used to liquid sensor, close sensor 2.Security Alarming System 3.Door magnetic switch 4.Runner Machine 5.Taximeter Configuration 1.OCTOPUS Magnetic Switch module 2.Arduino UNO mainboard 3.3P electric brick cable 4.Micro USB Cable 5.Magnet   Quick Start Hardware Connection Connect octopus magnetic switch to P0 port on OCTOPUS:BIT. &nbsp; Programming Code You can see the whole program from the link here Result When there is no magnet around, micro:bit will display a heart; when there is magnet around, micro:bit will display a rectangle. Resources: OCTOPUS_Magnetic_Switch_User_Guide OCTOPUS_Magnetic_Switch_SPEC ","vendor":"ElecFreaks","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":3991,"title":"Default Title","sku":"EF-EF04075","price":8.26,"on_sale":false,"in_stock":true,"available_quantity":100,"option1":"Default Title"}]}