Différences entre versions de « Senseur IR »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 4 : Ligne 4 :
  
 
== Introduction ==
 
== Introduction ==
xxx
+
[[Fichier:IRsensorPNA4602.jpg]]
 +
 
 +
IR detectors are little microchips with a photocell that are tuned to listen to infrared light. They are almost always used for remote control detection - every TV and DVD player has one of these in the front to listen for the IR signal from the clicker. Inside the remote control is a matching IR LED, which emits IR pulses to tell the TV to turn on, off or change channels. IR light is not visible to the human eye, which means it takes a little more work to test a setup.
 +
 
 +
There are a few difference between these and say a [[Photo-résistance]]:
 +
 
 +
* IR detectors are specially filtered for Infrared light, they are not good at detecting visible light. On the other hand, photocells are good at detecting yellow/green visible light, not good at IR light
 +
* IR detectors have a demodulator inside that looks for modulated IR at 38 KHz. Just shining an IR LED wont be detected, it has to be PWM blinking at 38KHz. Photocells do not have any sort of demodulator and can detect any frequency (including DC) within the response speed of the photocell (which is about 1KHz)
 +
* IR detectors are digital out - either they detect 38KHz IR signal and output low (0V) or they do not detect any and output high (5V). Photocells act like resistors, the resistance changes depending on how much light they are exposed to
 +
 
 +
In this tutorial we will show how to
 +
 
 +
* Test your IR sensor to make sure its working
 +
* Read raw IR codes into a microcontroller
 +
* Create a camera intervalometer
 +
* Listen for 'commands' from a remote control on your microcontroller
 +
 
 +
== Quelques informations ==
 +
{{ambox | text = LINK }}
 +
 
 +
These stats are for the IR detector in the Adafruit shop (LIEN) also known as PNA4602. Nearly all photocells will have slightly different specifications, although they all pretty much work the same. If there's a datasheet, you'll want to refer to it
 +
 
 +
 
 +
* Size: square, 7mm by 8mm detector area
 +
* Price:
 +
* Output: 0V (low) on detection of 38KHz carrier, 5V (high) otherwise
 +
* Sensibilité: 800nm to 1100nm with peak response at 940nm. Frequency range is 35KHz to 41KHz with peak detection at 38KHz
 +
* Power supply: 3-5V DC 3mA
 +
* Fiche technique du [http://mchobby.be/data-files/datasheet/PNA4602.pdf PNA4602] (obsolète et plus vendu) ou [http://mchobby.be/data-files/datasheet/GP1UX31QS.pdf GP1UX311QS] ou [http://mchobby.be/data-files/datasheet/tsop382.pdf TSOP38238]  (remplacement, brochage compatible)
  
 
== Où Acheter ==
 
== Où Acheter ==
 +
{{ambox | text = LINK }}
 
xxxx.
 
xxxx.
  

Version du 27 juillet 2012 à 10:43

Introduction

IRsensorPNA4602.jpg

IR detectors are little microchips with a photocell that are tuned to listen to infrared light. They are almost always used for remote control detection - every TV and DVD player has one of these in the front to listen for the IR signal from the clicker. Inside the remote control is a matching IR LED, which emits IR pulses to tell the TV to turn on, off or change channels. IR light is not visible to the human eye, which means it takes a little more work to test a setup.

There are a few difference between these and say a Photo-résistance:

  • IR detectors are specially filtered for Infrared light, they are not good at detecting visible light. On the other hand, photocells are good at detecting yellow/green visible light, not good at IR light
  • IR detectors have a demodulator inside that looks for modulated IR at 38 KHz. Just shining an IR LED wont be detected, it has to be PWM blinking at 38KHz. Photocells do not have any sort of demodulator and can detect any frequency (including DC) within the response speed of the photocell (which is about 1KHz)
  • IR detectors are digital out - either they detect 38KHz IR signal and output low (0V) or they do not detect any and output high (5V). Photocells act like resistors, the resistance changes depending on how much light they are exposed to

In this tutorial we will show how to

  • Test your IR sensor to make sure its working
  • Read raw IR codes into a microcontroller
  • Create a camera intervalometer
  • Listen for 'commands' from a remote control on your microcontroller

Quelques informations

These stats are for the IR detector in the Adafruit shop (LIEN) also known as PNA4602. Nearly all photocells will have slightly different specifications, although they all pretty much work the same. If there's a datasheet, you'll want to refer to it


  • Size: square, 7mm by 8mm detector area
  • Price:
  • Output: 0V (low) on detection of 38KHz carrier, 5V (high) otherwise
  • Sensibilité: 800nm to 1100nm with peak response at 940nm. Frequency range is 35KHz to 41KHz with peak detection at 38KHz
  • Power supply: 3-5V DC 3mA
  • Fiche technique du PNA4602 (obsolète et plus vendu) ou GP1UX311QS ou TSOP38238 (remplacement, brochage compatible)

Où Acheter

xxxx.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Source: [1] notre fournisseur.