Joy-it SEN-KY024LM Bruksanvisning

Läs nedan 📖 manual på svenska för Joy-it SEN-KY024LM (6 sidor) i kategorin Inte kategoriserad. Denna guide var användbar för 3 personer och betygsatt med 4.5 stjärnor i genomsnitt av 2 användare

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

Produktspecifikationer

Varumärke: Joy-it
Kategori: Inte kategoriserad
Modell: SEN-KY024LM

Behöver du hjälp?

Om du behöver hjälp med Joy-it SEN-KY024LM ställ en fråga nedan och andra användare kommer att svara dig




Inte kategoriserad Joy-it Manualer

Inte kategoriserad Manualer

Nyaste Inte kategoriserad Manualer