3 Hall Magnetic Field Sensor KY-003 Hall Magnetic Field Sensor TABLE OF CONTENTS 1. Overview 2. Pin-Assignment 3. Code Example Arduino 4. Code Example Raspberry Pi 5. Information and take-back obligations 6. Support Published: 27.08.2018 Copyright by Joy-IT 2 Hall Magnetic Field Sensor 1. OVERVIEW Dear customer, Thank you for choosing our product. In t.
l Magnetic Field Sensor 3. CODE EXAMPLE ARDUINO This is an example program that lights up an LED when a signal is detected on the sensor. The KY-011, KY016 or KY-029 modules can also be used as LEDs, for example. You can download the code example here, or copy the following example: int Led = 13 ;// Declaration of the LED output pin int Sensor = 10; // Declaration of the sensor input pin int val; // Temporary Variable void setup () { pinMode (Led, OUTPUT) ; // Initialization of output pin pinMode (Sensor, INPUT) ; // Sensor pin initialization digitalWrite(Sensor, HIGH); // Activation of intern.
No. | Partie # | Fabricant | Description | Fiche Technique |
---|---|---|---|---|
1 | KY-001 |
Joy-IT |
Temperature sensor module | |
2 | KY-002 |
Joy-IT |
Vibration-switch module | |
3 | KY-004 |
Joy-IT |
Button-module | |
4 | KY-005 |
Joy-IT |
Infrared Transmitter module | |
5 | KY-006 |
Joy-IT |
Passiv Piezo-Buzzer module | |
6 | KY-008 |
IMRAD |
Laser module | |
7 | KY-008 |
ETC |
Laser sensor module | |
8 | KY-008 |
ETC |
Laser module | |
9 | KY-008 |
ETC |
Laser head sensormodule | |
10 | KY-008 |
AZ-Delivery |
Laser Transmitter module | |
11 | KY-009 |
Joy-IT |
RGB LED SMD module | |
12 | KY-010 |
Joy-IT |
Light barrier-module |