JOY-IT DEBO SENS HALL Instructions

3
Linear Magnetic Hall Sensor
KY-024
Veröffentlich t : 15.11.2 0 18 Copyright by Joy-IT 2
1. Overview
2. Pin-Assignment
3. Code example Arduino
4. Code example Raspberry Pi
5. Informaon and take-back obligaons
6. Support
TABLE OF CONTENTS
Veröffentlich t : 15.11.2 0 18 Copyright by Joy-IT 3
Dear customer, Thank you very much for choosing our product. In the following we will show you what has to be observed during commissioning and use. Should you encounter any unexpected problems during use, please feel free to contact us.
1. OVERVIEW
Chipset A3141
OP-Amplier LM393
Digital Output
If a magnec eld is detected, a signal is given out
here.
Analog Output Direct measured value of the sensor unit
LED1 Indicates that the sensor is powered. LED2 Indicates that a magnec eld has been detected.
2. PIN-ASSIGNMENT
Pin Assignment Arduino
Digital Signal Pin 3
+V Pin 5V
GND Pin GND
Analog Signal Pin 0
Veröffentlich t : 15.11.2 0 18 Copyright by Joy-IT 4
In contrast to the Arduino, the Raspberry Pi has no analog inputs and no ADC (analog digital converter) is integrated in the chip of the Raspberry Pis. This limits the Raspberry Pi if you want to use sensors that do not output digital values, but should be a connuous, variable value (example: potenometer -> other posion = dierent voltage value).
To avoid this problem, there is our KY-053 module, with 16 bit accurate ADC, which you can use on the Raspberry to expand it by 4 analog inputs. This is connected via I2C to the Raspberry Pi, takes over the
analog measurement and passes the value digitally to the Raspberry Pi.
Therefore we recommend to connect the KY-053 module with the ADC in between for analog sensors.
Pin Assignment Raspberry Pi
Digital Signal GPIO24 [Pin 18]
+V 3,3V [Pin 1]
GND Ground [Pin 6]
Analog Signal
Analog 0
(ADS1115 - KY053)
Pin Assignment ADS1115
VDD 3,3V [Pin 1] GND Ground [Pin 9]
SCL GPIO03 / SCL [Pin 5]
SDA GPIO02 / SDA [Pin 3]
A0 Analog Signal (Sensor)
Loading...
+ 7 hidden pages