Sonar MaxBotix HRLV-EZ4

senzori

5 Review(s)
const int sensorPin 1; long voltage, cm; int sum 0; int average 10; void setup() { Serial.begin(9600); } void loop() { for(int i 0; i average ; i++) { voltage analogRead(sensorPin) 2; sum + voltage; delay(10); } cm (sum average) 2.54; Serial.print( D...
Cod: SEN-SON-07 / 841
Disponibilitate: In stoc
Producator: Sparkfun

231.00 RON


watchshop.ro

const int sensorPin 1; long voltage, cm; int sum 0; int average 10; void setup() { Serial.begin(9600); } void loop() { for(int i 0; i average ; i++) { voltage analogRead(sensorPin) 2; sum + voltage; delay(10); } cm (sum average) 2.54; Serial.print( Distanta: ); Serial.print(cm); Serial.println( cm ); sum 0; delay(500); } Specificatii: 42 kHz Ultrasunete Tensiunea de alimentare : 2.5V-5V Rezolutie de 1 mm Distanta 5m Zona moarta la 30 de cm de senzor Analog,TTL,PWM Linkuri: Datasheet Ghid de utilizare Maxbotix FAQ
Opinia ta despre produs


xkids.ro

Recomandari