MIKROE Hall Switch 2 Click

MIKROE Hall Switch 2 Click is a compact add-on board that represents a magnetic field-activated dual-relay Click board™. This board features the MHA100KN, a high-performance, low-power Hall-Effect sensor from MEMSIC. This Hall switch is a fully integrated CMOS IC that outputs a high-low signal following magnetic field changing. It works with a magnet and detects the magnet's close/away position. Two high-quality compact relays allow switching of high voltages and can cut or establish a connection on the main side of the circuit. This Click board™ is suitable for various applications activated by the magnetic field, such as contactless switches, lids or tray position detecting switches, or other similar applications that require contactless switching of the relay contacts.

Hall Switch 2 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

Hall Switch 2 Click as its foundation uses the MHA100KN, a high-performance, low-power Hall-Effect sensor from MEMSIC. This Click board™ detects the presence and magnitude of a magnetic field using the Hall effect. It consists of two high-quality relays, which the MHA100KN activates. When the north pole magnetic field is introduced to the sensor, one of the relays will be activated; otherwise, the other relay will be activated.

The outputs of the MHA100KN are routed to the LM358 operational amplifier, which works as the inverting comparators. When the output of the MHA100KN is activated, pulled to a low logic level, the output from the comparator will be set to 5V, which will cause biasing of the BJTs, allowing current flow through the relay coil and thus forming a magnetic field necessary for closing the relay contacts. A Schottky diode across the relay coils prevents the reverse kickback voltage, which forms due to the inert nature of the coils.

Hall Switch 2 Click communicates with MCU using two GPIO pins labeled S and N. The north pole output is routed to the CS pin, while the south pole output is routed to the INT pin of the mikroBUS™ socket so that the MCU can monitor the status of the MHA100KN. Activation of the relay coils is also visually indicated by the yellow and red LEDs, respectively.

Two varistors VR1 and VR2, are used to prevent voltage peaks when the load is connected or disconnected on the relay output contacts. However, the relays allow up to 5A for 250VAC / 30VDC, so the connected load should not exceed these power r0atings.

This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it allows both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.

  • Interface: GPIO
  • Compatibility: mikroBUS™
  • Dimensions: 57.15 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Maximum Output Current: 5A
  • Operating Temperature Range: Min. -40°C, Typ. +25°C, Max. +85°C

MIKROE Hall Switch 2 Click Product Help and Resources

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.