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.
Pins & Connectors
Swift motion, small volume
Contact point has very good anti-corrosion and wear resistance
Long life span
Working current:<200mA:< AX:
Working temperature -55 ~ 125
Can be used to liquid sensor, close sensor
Security Alarming System
Door magnetic switch
OCTOPUS Magnetic Switch module
Arduino UNO mainboard
3P electric brick cable
Micro USB Cable
Connect octopus magnetic switch to P0 port on OCTOPUS:BIT.
You can see the whole program from the link
Or you can download it from the page below.
When there is no magnet around, micro:bit will display a heart; when there is magnet around, micro:bit will display a rectangle.