Homepage ›› Companies ›› Robolink Teknoloji Elektronik Medical Mühendislik İnş. Consult. Software Industry. and Tic. LLC. ›› Hall Effect Sensor Board

Robolink Teknoloji Elektronik Medical Mühendislik İnş. Consult. Software Industry. and Tic. LLC.

Adres: 100. YIL BULVARI 55E 45

Tel 1: 0 (312) 385 22-26

Tel 2: 0 (312) 530 24-120 () -45

Faks:

Email 1: info@robolinkmarket.com

Email 2: sefa.soysal@robolinkmarket.com

Web: https://www.robolinkmarket.com/

Hall Effect Sensor Board

Hall Effect Sensor Board

KY-003 Hall Magnetic Sensor is a sensor card that gives output when it is close to an object that creates a magnetic field.

Features:

  • Operating voltage : 4.5V to 24V
  • Operating Temperature Range: -40°C to 85°C
  • Dimensions: 18.5mm x 15mm

Pinout:

RLA1C04-0350_1.jpg (71 KB)

  • Signal - Arduino Pin No 3
  • Middle - Arduino VCC Pin
  • Ground - Arduino GND Pin

Sample Code

int led = 13; // LED pin
int sensor = 3; //sensor pin
int val; //numeric variable
void setup()
{
pinMode(led, OUTPUT); //set LED pin as output
pinMode(sensor, INPUT); //set sensor pin as input
}
void loop()
{
val = digitalRead(sensor); //Read the sensor
if(val == HIGH) //when magnetic field is detected, turn led on
{
digitalWrite(Led, HIGH);
}
else
{
digitalWrite(Led, LOW);
}
}

Package Included:

  • 1 x KY-003 Hall Magnetic Sensor Module

Get Info
Elektrik İletim ve Dağıtım Ekipmanları