Hall Sensor

From LinkSprite Playgound
Revision as of 03:33, 22 July 2016 by Alvin (talk | contribs) (Introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This hall module hosts an magnetic hall sensor that senses the presence of magnetic field.

N12DH WHITOUT PACKAGED FRONT.jpg

N12DH WITHOUT PACKAGED BACK.jpg

Features

Dimensions: 20.0×24.2×10.6mm

Net weight: 1.6g

Dimension

Hall sensor dimension1.jpg

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>


Hall link.jpg

How to buy

Here to buy Hall Sensor on store