Használati útmutató Joy-It SEN-KY024LM

Olvassa el alább 📖 a magyar nyelvű használati útmutatót Joy-It SEN-KY024LM (6 oldal) a nincs kategorizálva kategóriában. Ezt az útmutatót 6 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra

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

Termékspecifikációk

Márka: Joy-It
Kategória: nincs kategorizálva
Modell: SEN-KY024LM

Szüksége van segítségre?

Ha segítségre van szüksége Joy-It SEN-KY024LM, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek




Útmutatók nincs kategorizálva Joy-It

Útmutatók nincs kategorizálva

Legújabb útmutatók nincs kategorizálva