Joy-it SEN-KY024LM Bedienungsanleitung

Lesen Sie kostenlos die 📖 deutsche Bedienungsanleitung für Joy-it SEN-KY024LM (6 Seiten) in der Kategorie niet gecategoriseerd. Dieser Bedienungsanleitung war für 6 Personen hilfreich und wurde von 2 Benutzern mit durchschnittlich 4.5 Sternen bewertet

Seite 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
}

Produktspezifikationen

Marke: Joy-it
Kategorie: niet gecategoriseerd
Modell: SEN-KY024LM

Brauchst du Hilfe?

Wenn Sie Hilfe mit Joy-it SEN-KY024LM benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten




Bedienungsanleitung niet gecategoriseerd Joy-it

Bedienungsanleitung niet gecategoriseerd

Neueste Bedienungsanleitung für -Kategorien-