Search

Hall Effect Sensor A1302

Model : SEN-00156

Supplier : Made in China

TechshopBD, Bangladesh

Pricing
Quantity
Price

1 - 9
BDT95.19

10 - 99
BDT92.45Save BDT 2.74

100 +
BDT91.35Save BDT 3.84

Green 25 Available

You may also be interested in

 
Summary:
A Hall effect sensor is a device that is used to measure the magnitude of a magnetic field

A Hall Effect Sensor works on the principle of, well, Hall Effect. Simply speaking, a Hall Effect Sensor or IC detects motion, position or change in magnetic field strength of either a permanent magnet, an electromagnet or any ferromagnetic material. A1302 IC can detect magnetic fields. We will then connect this IC to an arduino, so that we the arduino can read the voltage output by the A1302 and we can display the readings to the computer screen.

 

Supply Voltage: 4.5V-6V

Supply Current: 11mA

Output Voltage: 0.25V-4.65V

Output Resistance: 2-5 Ohms

 

Test Code

int Sensor_A1302 = 2;
int Relay = 13;
volatile bool ledState = LOW;

void setup()
{
  Serial.begin(9600);
  pinMode(Sensor_A1302,INPUT);
  pinMode(Relay, OUTPUT);
  attachInterrupt(digitalPinToInterrupt(Sensor_A1302), hall_ISR, CHANGE);
  delay(1000);

}

void loop() 
{
digitalWrite(Relay, ledState);
}

void hall_ISR() 
{
ledState = !ledState;
}

Supply Voltage: 4.5V-6V

Supply Current: 11mA

Output Voltage: 0.25V-4.65V

Output Resistance: 2-5 Ohms

Login to post comments.


Copyright © 2012-13 Techshop Bangladesh. All rights reserved.