📘Learn Digital Making weekly on Telegram. Join Channel Now📱
[Holiday Announcement] We will be closed for Raya Holiday from 11th - 18th May. All orders after 10th May, 12 pm (GMT +8) will only be processed on 19th May.
MC-38 Magnetic Contact Switch Sensor

MC-38 Magnetic Contact Switch Sensor

    • RM4.50
    • 10 or more RM4.00
    • 50 or more RM3.60
  • Cashback: 3%
  • CytronCash Balance: Login
  • Availability:
  • Product Code: SN-MDS-MC38
  • Warranty Period: 12 months
  • Shipping:

MC-38 Magnetic Contact Switch Sensor can be used as a door or window security system. It produces the signal when moved away from each other which can be fed to the microcontroller (e.g Arduino) to perform the desired action as per requirement.

This sensor suitable to use for trigger alarm or ON/OFF light inside a cupboard sliding door. This wired sensor is trigger by the magnet. When the magnet is closed by, the circuit is closed or open if the magnet far from the sensor.

Note: This product is Normally Open (NO).

Picture shown below is in practical situation so that you understand how it works :)


Note: Circuit is connected when magnet is near to the switch.

This MC-38 Magnetic Contact Switch Sensor act like a normal switch so, you can connect to Ground(GND) pin too. Not necessarily connect to power supply. You can watch the video below on how. 


  • Appearence of small and easy to install
  • Long period of use
  • Control the switch of the circuit via the built-in magnet
  • Can be used in places like apartment, hotel, office, etc
  • Ideal for residential or commercial use
  • Designed to do embedded in the door or window frame
  • With double-sides tape design for easily install


Note: Please note that this item not fit to iron or aluminum alloy door. It will decline magnetic of the sensor.


  • Material : Plastic
  • Color: White
  • Actuation distance: 15mm - 25mm
  • Voltage : Normal system up to 24V. Not recommended to connect higher voltage or AC supply.
  • Box size (each side): 29mm x 14mm x 9mm / 1.1" x 0.6" x 0.4"
  • Cable Length: 305mm ± 12mm / 12" ± 0.5"
  • Weight: 16g

Packing List:

  • 1 x MC-38 Magnetic Contact Switch Sensor (pair)
  • 4 x self taping screws
MC 38 I had bought this door sensor but I saw label 300V , I am using Raspberry Pi 4 Model B + do I need to step down using - resistor 2.2Kohm like what the video show in aurdino ?
( Victor Tan Jun Yang , 02/08/2020 )
Hi! No. This just a contactor. It depends on your setup. But resistor is not necessary. Thanks :)

Ask a question

Note: HTML is not translated!
  • 4.9 out of 5
Total Reviews (34)
  • 5
  • 4
  • 3
  • 2
  • 1

Tags: magnetic switch, open and close door sensor, dry contact