Unknown: Creation of dynamic property Request::$request is deprecated in /home/bastelga/public_html/74/system/library/request.php on line 26Unknown: Creation of dynamic property mysqli::$report_mode is deprecated in /home/bastelga/public_html/74/system/library/db/mysqli.php on line 15Unknown: Creation of dynamic property Session\DB::$db is deprecated in /home/bastelga/public_html/74/system/library/session/db.php on line 8Unknown: Creation of dynamic property Proxy::$getTranslations is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: mysqli::real_escape_string(): Passing null to parameter #1 ($string) of type string is deprecated in /home/bastelga/public_html/74/system/library/db/mysqli.php on line 53Unknown: Creation of dynamic property Proxy::$getLanguage is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getLanguages is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Cart\Customer::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 14Unknown: Creation of dynamic property Cart\Customer::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 15Unknown: Creation of dynamic property Cart\Customer::$request is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 16Unknown: Creation of dynamic property Cart\Customer::$session is deprecated in /home/bastelga/public_html/74/system/library/cart/customer.php on line 17Unknown: Creation of dynamic property Proxy::$getCurrencyByCode is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$getCurrencies is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__construct is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__get is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Proxy::$__set is deprecated in /home/bastelga/public_html/74/system/engine/proxy.php on line 30Unknown: Creation of dynamic property Cart\Currency::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/currency.php on line 7Unknown: Creation of dynamic property Cart\Currency::$language is deprecated in /home/bastelga/public_html/74/system/library/cart/currency.php on line 8Unknown: Creation of dynamic property Cart\Tax::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/tax.php on line 7Unknown: Creation of dynamic property Cart\Tax::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/tax.php on line 8Unknown: Creation of dynamic property Cart\Weight::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/weight.php on line 7Unknown: Creation of dynamic property Cart\Weight::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/weight.php on line 8Unknown: Creation of dynamic property Cart\Length::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/length.php on line 7Unknown: Creation of dynamic property Cart\Length::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/length.php on line 8Unknown: Creation of dynamic property Cart\Cart::$config is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 7Unknown: Creation of dynamic property Cart\Cart::$customer is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 8Unknown: Creation of dynamic property Cart\Cart::$session is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 9Unknown: Creation of dynamic property Cart\Cart::$db is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 10Unknown: Creation of dynamic property Cart\Cart::$tax is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 11Unknown: Creation of dynamic property Cart\Cart::$weight is deprecated in /home/bastelga/public_html/74/system/library/cart/cart.php on line 12 Capteur de Distance Infrarouge Sharp 2Y0A21 - Bastelgarage Boutique en ligne d'électronique

Capteur de Distance Infrarouge Sharp 2Y0A21

Avec ce capteur de distance infrarouge Sharp, vous pouvez mesurer des distances entre 10 et 80cm. Le capteur infrarouge est parfait pour les projets de robotique grâce à sa petite taille et à ses temps de mesure rapides, permettant d'éviter les obstacles. La sortie analogique peut être facilement évaluée sur un Arduino, où une tension de 3,1 V correspond à 10 cm et diminue proportionnellement à 0,3 V à 80 cm. La distance peut être calculée très facilement à l'aide de la formule suivante : Distance (cm) = (3027,4/ValeurAnalogique)^1,2134. Pour obtenir des valeurs aussi précises que possible, vous devrez calibrer le capteur avec une mesure comparative avant utilisation. De plus, dans notre boutique en ligne, vous pouvez acheter de nombreux autres composants pour vos projets Arduino. Alors n'hésitez pas à y jeter un coup d'œil!

Si vous avez des questions ou des problèmes pour piloter le capteur, ou si vous avez des suggestions concernant la description du produit, n'hésitez pas à nous envoyer un e-mail ou à utiliser la fonction d'évaluation. Nous serons ravis de vous aider.


Connexions :

  • Rouge = +5V
  • Noir = GND
  • Jaune = Tension Analogique (3,1V à 0,3V)


Téléchargements :

Sharp_2Y0A21_Datasheet.pdf


Exemple de code Arduino UNO  

int ValeurAnalogique;
int Distance;

void setup() {
    Serial.begin(9600);
}

void loop() {
    ValeurAnalogique=analogRead(0);
    Distance=pow((3027.4/ValeurAnalogique), 1.2134);
    Serial.println(Distance);
    delay(100);
}


Détails techniques :

  • Portée de mesure : 10 - 80cm
  • Tension d'alimentation : 4,5 - 5,5V
  • Courant de fonctionnement : environ 30mA
  • Sortie analogique: Non linéaire à la distance
  • Temps par mesure : 38,3ms ± 9,6ms
  • Longueur du câble : 20cm
  • Poids : 8g


Contenu de la livraison :

  • 1x Capteur de distance infrarouge Sharp 2Y0A21
  • 1x Câble de connexion


Rédiger une critique

Remarque : le HTML n'est pas traduit !
    Mauvais           Bon

Capteur de Distance Infrarouge Sharp 2Y0A21

  • Marque : purecrea
  • Code produit : 420257
  • Disponibilité : En stock
  • CHF12.90

  • Hors taxe : CHF11.93

Balises : Sharp, Module, Arduino, Capteur, Breakout, Distance, IR, Infrarouge, Capteur de distance, Détecteur de distance, Robot, Analogique, 2Y0A21, GP2Y0A21YK0F