Difference between revisions of "Sensor-Hall"

From Microduino Wiki
Jump to: navigation, search
(Description of Sensor Pins)
 
(10 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
|
 
|
 
[[File: Microduino-Hall.jpg|400px|thumb|right|mCookie-Hall]]
 
[[File: Microduino-Hall.jpg|400px|thumb|right|mCookie-Hall]]
Product number of mCookie Sensor—Hall:'''MSDS41'''
+
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.  
+
mCookie Sensor-Hall is a linear hall sensor, which can detect the strength and polarity of the magnetic field.  
  
 
Sensor hall is a magnetic field sensor based on Hall effect.   
 
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.  
+
Hall effect is a kind of magnetoelectric effect, which is found by Hall(A.H.Hall)on 1879 when he was studying the conduction mechanism of the metal.  
  
  
Line 17: Line 17:
  
 
==Description of Sensor Pins==
 
==Description of Sensor Pins==
{{Sensor_explain
+
{{ST_Pinout
|nameA=[[Sensor-Hall]]
+
|st_name=Hall Sensor
|modeA=Analog signal input
+
|pin3=Analog Input
|modeB=NC
 
 
}}
 
}}
 
  
 
==Features==
 
==Features==
 
*With high detection sensitivity, and stability.
 
*With high detection sensitivity, and stability.
 
*A linear hall sensor with a polarity.
 
*A linear hall sensor with a polarity.
 
+
*With small size which is easy to install.
  
 
==Specification==
 
==Specification==
Line 33: Line 31:
 
**3.3V~5V working voltage
 
**3.3V~5V working voltage
  
*Size of then sensor
+
*Size of the sensor
**Size of the board:23.5mm*13mm
+
**Size of the board: 23.5mm*13mm;
**1.27mm-spacing 4Pin interface connected with sensorhub
+
**1.27mm-spacing 4Pin interface connected with sensorhub;
**Sensor CAD drawings:'''[[File:Sensor_CAD.zip]]'''
+
**Sensor CAD drawings: '''[[File:Sensor_CAD.zip]]'''.
  
 
*Function description
 
*Function description
**This sensor is 10-bit ADC(0~1023), and the static value that the pin IO1 gets is 512.
+
**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.
+
**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 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.
+
***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.  
+
***If from the front, the output state is opposite to from the back.  
 
<br>
 
<br>
 
*[[File:Microduino-Hall_xianxingtu.JPG|600px|thumb|left]]
 
*[[File:Microduino-Hall_xianxingtu.JPG|600px|thumb|left]]
Line 49: Line 47:
  
 
*Connection
 
*Connection
**This sensor can be connected with the following interfaces of the core:'''A0~A7'''
+
**This sensor can be connected with the following interfaces of the core: '''A0~A7'''.
  
 
==Documents==
 
==Documents==
  
*Schematic diagram:'''[[File: Microduino_Hall.Zip.pdf]]'''
+
*Schematic diagram: '''[[File: Microduino_Hall.Zip.pdf]]'''
*HAL49E datasheet:'''[[File: Microduino_Hall_datasheet.pdf]]'''
+
*HAL49E datasheet: '''[[File: Microduino_Hall_datasheet.pdf]]'''
 
==Development==
 
==Development==
 
===Program Download===
 
===Program Download===
*Download and unzip'''[[File:Microduino_Hall_Test.zip]]'''
+
*Download and unzip the program '''[[File:Microduino_Hall_Test.zip]]'''
  
 
===Programming===
 
===Programming===
Line 75: Line 73:
 
===Effect Observation===
 
===Effect Observation===
 
*After the download, open the serial port monitor.  
 
*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 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.
+
*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.  
+
*If get close to the circuit from the front, the output state is opposite to from the back.
 +
 
 
==Application==
 
==Application==
 
*It is suitable for the detection of magnetic field strength.
 
*It is suitable for the detection of magnetic field strength.
  
===Projects===
+
==Projects==
  
 
==Purchase==
 
==Purchase==

Latest revision as of 22:45, 30 March 2017

Language: English  • 中文
mCookie-Hall

Product number of mCookie Sensor—Hall:MSDS41

mCookie Sensor-Hall is a linear hall sensor, which can detect the strength and polarity 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)on 1879 when he was studying the conduction mechanism of the metal.



Description of Sensor Pins

Sensor backpin.png

Hall Sensor
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) Analog Input
PIN4 (SIGNAL-B) Not Connected
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

Features

  • With high detection sensitivity, and stability.
  • A linear hall sensor with a polarity.
  • With small size which is easy to install.

Specification

  • Sensor voltage
    • 3.3V~5V working voltage
  • Size of the 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;
      • If 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
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Hall&oldid=12595"