Modifications

Sauter à la navigation Sauter à la recherche
423 octets ajoutés ,  14 août 2013 à 11:10
Ligne 30 : Ligne 30 :  
Voir la réponse de "La sortie de mon thermocouple est décalée".
 
Voir la réponse de "La sortie de mon thermocouple est décalée".
   −
== How can I connect multiple thermocouples? ==
+
== Comment puis-je connecter plusieurs thermocouples? ==
   −
You can connect as many MAX31855's as you have pins. Simply share the CLK and DO pins of all the breakouts and have a unique CS pin for each one
+
Vous pouvez connecter autant de MAX31855 que vous le voulez (pour autant que vous ayez assez de broches disponibles).
   −
Then you can create new thermocouples using the following style:
+
Partagez simplement les broches CLK et DO entre tous les breakouts et utiliser une sortie différente pour chacune des broches CS ("Chip Select" signifiant "sélection du circuit")
 +
 
 +
Vous pouvez ensuite créer de nouveaux thermocouples à l'aide d'un code comme celui-ci:
    
  <nowiki>Adafruit_MAX31855 thermocouple1(thermoCLK, thermoCS1, thermoDO);
 
  <nowiki>Adafruit_MAX31855 thermocouple1(thermoCLK, thermoCS1, thermoDO);
 
Adafruit_MAX31855 thermocouple2(thermoCLK, thermoCS2, thermoDO);
 
Adafruit_MAX31855 thermocouple2(thermoCLK, thermoCS2, thermoDO);
 
Adafruit_MAX31855 thermocouple3(thermoCLK, thermoCS3, thermoDO);</nowiki>
 
Adafruit_MAX31855 thermocouple3(thermoCLK, thermoCS3, thermoDO);</nowiki>
 +
 +
Où thermoCS1, thermoCS2 et thermoCS3 sont 3 broches distinctes de votre microcontroleur.
 +
 +
== Comment faire une mesure de précision ==
 +
Pour les mesurer une température avec précision, nous proposons d'utiliser une thermistance 1%.
    
{{Thermocouple-TRAILER}}
 
{{Thermocouple-TRAILER}}
29 917

modifications

Menu de navigation