HALL MAGNETIC FIELD SENSOR
SEN-KY003HMS
User Manual
GENERAL INFORMATION
Dear customer, thank you very much for choosing our product.
In the following, we will introduce you to what to observe while starting up and using this product.
Should you encounter any unexpected problems during use, please do not hesitate to contact us.
USAGE WITH ARDUINO
Connect your sensor to your Arduino as shown in the diagram and table below. For optimal results, use a pull-up resistor (approx. 10 kΩ) between the sensor’s signal line and the 5 V line.
| Arduino | Sensor |
| GND | GND – |
| 5 V | VCC + |
| Pin 7 | Signal |
Code example
In the following code example, the serial monitor will indicate every second whether a magnetic field has been detected.
Copy the sample code and upload it to your Arduino.
Make sure that you have selected the correct board and port in your Arduino IDE.

USAGE WITH THE RASPBERRY PI
Connect your sensor to a voltage translator and your Raspberry Pi as shown in the diagram and the table. We recommend the KY-051 Voltage Translator from Joy-iT. For best results, use a pullup resistor (approx. 10 kΩ) between the signal line of the sensor and the 5V line.

| Raspberry Pi | Senso | Voltage Translator |
| – | Signa | B1 |
| 5V (Pin 4) | +V | |
| GND (Pin 6) | GND | GND |
| 3,3V (Pin 1) | – | Vcca |
| 5V (Pin 4) | – | Vccb |
| GPIO 24 (Pin 18) | – | A1 |
Code example
Create a new file with the following command: sudo nano SEN-KY003HMS.py Copy the following code example to your Raspberry Pi. Save the file by pressing CTRL+O, confirm with enter and exit the file by pressing CTRL+X.

Now start the programme with the following command:
sudo python3 SEN-KY003HMS.py
The programme will show you in the console whether or not a magnetic field is detected.
ADDITIONAL INFORMATION
Our information and take-back obligations according to the Electrical and Electronic Equipment Act (ElektroG)
Symbol on electrical and electronic equipment:
This crossed-out dustbin means that electrical and electronic appliances do not belong in the household waste. You must return the old appliances to a collection point.
Before handing over waste batteries and accumulators that are not enclosed by waste equipment must be separated from it.
Return options:
As an end user, you can return your old device (which essentially fulfils the same function as the new device purchased from us) free of charge for disposal when you purchase a new device.
Small appliances with no external dimensions greater than 25 cm can be disposed of in normal household quantities independently of the purchase of a new appliance.
Possibility of return at our company location during opening hours:
SIMAC Electronics GmbH, Pascalstr. 8, D-47506 Neukirchen-Vluyn, Germany
Possibility of return in your area:
We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by email at [email protected] or by telephone.
Information on packaging:
If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.
SUPPORT
If there are still any issues pending or problems arising after your purchase, we will support you by e-mail, telephone and with our ticket support system.
Email: [email protected]
Ticket system: http://support.joy-it.net
Telephone: +49 (0)2845 98469-66 (10-17 o‘clock)
For further information please visit our website: www.joy-it.net
Published: 31.03.2022
www.joy-it.net
SIMAC Electronics GmbH
Pascalstr. 8, 47506 Neukirchen-Vluyn
















