Joy-it SEN-IR01 Handleiding


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

Pagina 1/6
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
INFRARED DISTANCE SENSOR
SEN IR01-
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.
Note that for the full range of the sensor, it can only be measured ac-
curately with a reflective object, such as white paper.
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
2. USAGE WITH ARDUINO
1. Connection
Arduino SEN IR01 -
5 V Vcc
GND GND
A0 Data
2. Code example
We provide the following code example to test your infrared distance
sensor. In this code example the distance to the next object is displayed
on the serial monitor. Note, that you have to set your serial monitor to a
baud rate of 9600 to be able to see this output.
To run this code example, copy the following code into your Arduino IDE
and upload it to your Arduino using the button.Upload
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
// Declaration of the variables
int IRPin = A0; // Pin of the IR sensor
float IRDistance = 0;
void setup() {
(9600);Serial.begin
}
float get_Distance(){
// Calculation of the distance
value = (IRPin);int analogRead
voltage = (value, 0, 1024, 0, 5000) / 1000.0;float map
IRDistance = 28.153 * (voltage, 1.175);pow -
IRDistance;return
}
void loop() {
// Output of the distance
Serial.print("Distance: ");
(get_Distance()); Serial.print // Calling the get_Distance method
);Serial.println(" cm"
);Serial.println(" "----------------------
(1000); delay // 1 second interruption
}
3. USAGE WITH RASPBERRY PI
1. Connection


Product specificaties

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

Heb je hulp nodig?

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




Handleiding Niet gecategoriseerd Joy-it

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd