OCTOPUS Magnetic Switch

$7.46
SKU EF-EF04075

We can get 98 units in Australia from ElecFreaks. If you order today, we can dispatch this stock between Sep 25, 2020 - Oct 12, 2020.

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:<200mA:<AX:

5.Working temperature -55 ~ 125鈩?/p>

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.

 

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