Joy-it SEN-KY024LM Handleiding


Lees hieronder de đź“– handleiding in het Nederlandse voor Joy-it SEN-KY024LM (6 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 10 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 1/6
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
HALL MAGNETIC FIELD SENSOR
SEN-KY024LM
1. GENERAL INFORMATION
Dear customer,
thank you very much for choosing our product.
In 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.
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
2. USAGE WITH THE ARDUINO
Wiring
Connect your sensor to your Arduino as shown in the diagram and table
below.
Arduino KY-024LM
Pin A0 A0
GND G
5 V +
Pin 7 D0
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
Copy the following code example and upload it to your Arduino. Make
sure that you have selected the correct board and the correct port in your
Arduino IDE.
The programme will show you the current analog value of the sensor in
the serial monitor and whether the limit has been reached.
// Declaration and initialisation of the input pins
int Analog_Eingang = A0; // Analog Pin-
int Digital_Eingang = 7; // Digital Pin-
void setup ()
{
pinMode (Analog_Eingang, INPUT);
pinMode (Digital_Eingang, INPUT);
Serial.begin ( ); 9600 // Serial output mit 9600 bps
}
void loop ()
{
Analog;float
Digital;int
//Current values are read, converted to the voltage value...
Analog = analogRead (Analog_Eingang) * ( / ); 5.0 1023.0
Digital = digitalRead (Digital_Eingang);
//... and printed at this point
Serial.print ( ); "Analog Voltage:"
Serial.print (Analog, );4
Serial.print ( );"V, "
Serial.print ( );"Limit:"
(Digital==if 1)
{
Serial.println ( );" reached"
}
else
{
Serial.println ( );" not reached"
}
Serial.println ("----------------------------------------------------");
delay ( );1000
}


Product specificaties

Merk: Joy-it
Categorie: Niet gecategoriseerd
Model: SEN-KY024LM

Heb je hulp nodig?

Als je hulp nodig hebt met Joy-it SEN-KY024LM stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Joy-it

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd