Difference between revisions of "Hall Sensor"
Qian.zhang (talk | contribs) (→Application Ideas) |
Qian.zhang (talk | contribs) (→Schematics) |
||
| Line 3: | Line 3: | ||
[[File:Linker hall.jpg]] | [[File:Linker hall.jpg]] | ||
| + | |||
| + | == Features == | ||
| + | |||
| + | Dimensions: 20.0×24.5×11.0mm | ||
| + | |||
| + | Net weight: 1.6g | ||
== Schematics == | == Schematics == | ||
Revision as of 03:10, 10 June 2014
Introduction
This hall module hosts an magnetic hall sensor that senses the presence of magnetic field.
Features
Dimensions: 20.0×24.5×11.0mm
Net weight: 1.6g
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

