Modifications

Sauter à la navigation Sauter à la recherche
242 octets ajoutés ,  2 août 2012 à 11:51
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{SenseurIR-Nav}}
 
{{SenseurIR-Nav}}
   −
Now we know that the sensor works, we want to figure out whats being sent right? But before we do that let's first examine exactly how data is being sent from the IR remote (in your hand) to the IR receiving sensor (on the breadboard)
+
Maintenant que nous savons comment fonctionne un senseur, voulez-vous savoir ce qu'il faut lui envoyer pour qu'il fonctionne correctement?  
   −
For this example we will use the Sony power on/off IR code from a Sony TV remote. Its very simple and commonly documented!
+
Mais avant prenons un peu de temps pour examiner en détails la façon dont une télécommande (celle dans votre main) envoi les données vers un senseur infrarouge (enfiché sur le breadboard).
   −
Lets pretend we have a Sony remote, and we can look at exactly what light is being blasted out of the IR LED. We'll hookup a basic light sensor (like a basic photocell!) and listen in. We won't use a decoder like a PNA4602 (just yet) because we want to see the undecoded signal. What we see is the following:
+
Dans cette document nous avons utilisé le bouton ON/OFF d'une télécommande pour téléviseur Sony . Il s'agit d'un cas très simple et habituellement documenté.
 +
 
 +
Disons que nous avons une télécommande Sony, et que nous pouvons voir avec exactitude la lumière émise par la LED infrarouge. Raccordons un senseur lumière quelconque (comme une simple photo-résistance/Cds) et analysons le signal reçu. Nous n'allons pas encore utiliser un décodeur comme le PNA4602 parce que nous voulons avoir un aperçu du signal brute (non décodé).
 +
 
 +
Et voici ce que l'on voit:
    
[[Fichier:IR-SIGNAL-1.jpg|400px]]
 
[[Fichier:IR-SIGNAL-1.jpg|400px]]
 +
    
Basically we see pulses or IR signal. the yellow 'blocks' are when the IR LED is transmitting and when there is only a line, the IR LED is off. (Note that the voltage being at 3VDC is just because of the way I hooked up the sensor, if I had swapped the pullup for a pulldown it would be at ground.)
 
Basically we see pulses or IR signal. the yellow 'blocks' are when the IR LED is transmitting and when there is only a line, the IR LED is off. (Note that the voltage being at 3VDC is just because of the way I hooked up the sensor, if I had swapped the pullup for a pulldown it would be at ground.)
29 837

modifications

Menu de navigation