Difference between revisions of "Hall Sensor"
Qian.zhang (talk | contribs) (→Dimension) |
Qian.zhang (talk | contribs) (→Introduction) |
||
Line 2: | Line 2: | ||
This hall module hosts an magnetic hall sensor that senses the presence of magnetic field. | This hall module hosts an magnetic hall sensor that senses the presence of magnetic field. | ||
− | [[File: | + | [[File:N12DH WHITOUT PACKAGED FRONT.jpg|640px]] |
+ | |||
+ | [[File:N12DH WITHOUT PACKAGED BACK.jpg|640px]] | ||
+ | |||
+ | [[File:N12DH PACKAGED FRONT.jpg|640px]] | ||
+ | |||
+ | [[File:N12DH PACKAGED BACK.jpg|640px]] | ||
== Features == | == Features == |
Revision as of 05:48, 6 September 2015
Introduction
This hall module hosts an magnetic hall sensor that senses the presence of magnetic field.
Features
Dimensions: 20.0×24.2×10.6mm
Net weight: 1.6g
Dimension
Schematics
Application Ideas
<syntaxhighlight lang="c">
int ledPin = 13; int out = 12;
void setup() {
pinMode(ledPin, OUTPUT); pinMode(out, INPUT);
}
void loop() {
if ( digitalRead(out) )
{
digitalWrite(ledPin,LOW );
}
else
{
digitalWrite(ledPin,HIGH);
} } </syntaxhighlight>
How to buy
Here to buy Hall Sensor on store