Sensor-Hall

From Microduino Wiki
Revision as of 03:46, 9 August 2016 by Fengfeng (talk)
Jump to: navigation, search
Language: English  • 中文
mCookie-Hall

Product number of mCookie Sensor—Hall:MSDS41

mCookie Sensor-Hall is a HAL49E linear hall sensor, which can detect the strength of the magnetic field.

Sensor hall is a magnetic field sensor based on Hall effect.

Hall effect is a kind of magnetoelectric effect, which is found by Hall(A.H.Hall,1855—1938)on 1879 when he was studying the conduction mechanism of the metal.



Description of Sensor Pins

Sensor backpin.png
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Hall sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Analog signal input
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.


Features

  • With high detection sensitivity, and stability.
  • A linear hall sensor with a polarity.


Specification

  • Sensor voltage
    • 3.3V~5V working voltage
  • Size of then sensor
    • Size of the board:23.5mm*13mm
    • 1.27mm-spacing 4Pin interface connected with sensorhub
    • Sensor CAD drawings:File:Sensor CAD.zip
  • Function description
    • This sensor is 10-bit ADC(0~1023), and the static value that the pin IO1 gets is 512.
    • The strength of the magnetism changes according to south and north poles.
      • If get close to the hall circuit from the back with the N pole, the output voltage will reduce, and the analog value will reduce(512~0), too.
      • If get close with S pole from the back, the output voltage will increase and the analog input value will increase(512~1023), too.
      • It from the front, the output state is opposite to from the back.


  • Microduino-Hall xianxingtu.JPG


  • Connection
    • This sensor can be connected with the following interfaces of the core:A0~A7

Documents

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Microduino_Hall_Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following picture, connect the Sensor-Hall to the analog interface A0 of Microduino-Sensorhub.


Microduino-sensorhub hall.JPG


Effect Observation

  • After the download, open the serial port monitor.
    • Get close to the hall circuit from the back with S pole. The output voltage of both ends of the hall sensor is during 2.5V~5V, and the analog value it returns is during 512~1023.
    • Get close to the hall circuit from the back with the N pole. The output voltage of both ends of the hall sensor is during 2.5V~0V, and the analog value it returns is during 512~0.
    • If get close to the circuit from the front, the output state is opposite to from the back.

Application

  • It is suitable for the detection of magnetic field strength.

Projects

Purchase

History

Gallery

Microduino-Hall Front
Microduino-Hall Back