Capteur de température

Il me semble que les self servent surtout a limiter les perturbation liée aux fréquences.
Je vais plutôt tester en mettant un condensateur NP afin de lisser le signal, je vous dirais que est le composant le plus adapté.
Cdt

Ok, merci pour votre aide. Je dois m’absenter 1 petite semaine, je reprendrai
mon câblage et mes essais à mon retour.
Cordialement.

Bonjour,

il y a quelques temps, Patrick m’avait donné comme référence le capteur MCP 9700 AE.
Il se câble de la même manière que le LM35, mais couvre la température de -40°C à +125°C.

Le calcul permettant d’obtenir la température à partir du convertisseur Numérique est :

Temperature = (valeurNumerique/3.54)-40;

Je suis désolé de ne pas avoir répondu plutôt.

Je pense que le capteur TC-4012 répond au même besoin : TC-4012

Cordialement,
Ronan

English
Good evening I am from GREECE and my English is not so good sory. I am an owner of the card ipx 800 v 2 and I am very happy and wait for v3 I want to ask I’ve gotten the sensor lm 35 and I have connected normally left 3, 3volt middle and right analog grounding, but the menu card shows me why -31,95 c;

Hi,

Original javascript code (index1.htm)

[code]
// calcul temp an1
calcultemp1 = getXMLValue(xmlData, ‹ an1 ›);
temp1 = (calcultemp1 - 155.135) /3.1027;
temp1 = temp1.toFixed(2);

if (temp1 <= -45)
document.getElementById(‹ tmp1 ›).innerHTML = ("— ");

else
document.getElementById(‹ tmp1 ›).innerHTML = temp1;
[/code]

For lm35DZ change it with this code:

// calcul temp an1 
 	calcultemp1 = getXMLValue(xmlData, 'an1');
   	temp1 = calcultemp1 / 3.22;
   	temp1 = temp1.toFixed(2);

Best regards

Patrick

hi
first of all you mean index1.html???
and secondly how can i open???with wordpad or something else???

i open (index1.html) with wordpad and nothing change…

thank you very much for your time

Hi,

You must modify the following files (dedicated Iphone file included) with notepad , in the IPX\WEB_RELAY_BOARD directory :

index1.htm
ianalog.html

After that, you must use MPFS2.exe from the IPX\Utility directory, to compile your new web site AND upload it, on your IPX800-V2 BOARD.

All this is documented in Custom_embedded_Web_site.pdf from IPX\Doc\ directory.

Enjoy,

Yann

ok je vous remercie tous très

Snifff :frowning:

Me not comprendre english…

C’est possible d’ajouter le sous-titrage ?

:wink:

Il y a bien Nelson Monfort… :slight_smile: mais comme c’est de l’anglais traduit par Google
perso je n’ai pas compris le dernier Post.

[quote]
or may be ready my columns these two files

and ask if allowed photos of my card like I’ve [/quote]

Sorry but i don’t understand your last reply !!!

nous pouvons mettre des photos de notre propre carte?

Bonjour,
je pense avoir un problème dans mon code.
J’ai installer un LM35DZ, (dans le bon sens !)
Aucune lecture ne s’effectue !
Voici mon code

[code]// Update analog value

document.getElementById('an1').innerHTML = getXMLValue(xmlData, 'an1');
	
document.getElementById('an2').innerHTML = getXMLValue(xmlData, 'an2');

    calculvolt1 = getXMLValue(xmlData, 'an1');
   	volt1 = calculvolt1 * 0.003223 ;
volt1 = volt1.toFixed(2);
document.getElementById('vlt1').innerHTML = volt1;

    calculvolt2 = getXMLValue(xmlData, 'an2');
   	volt2 = calculvolt2* 0.003223 ;
volt2 = volt2.toFixed(2);
document.getElementById('vlt2').innerHTML = volt2;

// calcul temp an1
  calcultemp1 = getXMLValue(xmlData, 'an1');
  temp1 = calcultemp1 / 3.22;
  temp1 = temp1.toFixed(2);

// calcul temp an2
  calcultemp2 = getXMLValue(xmlData, 'an2');
  temp2 = calcultemp2 / 3.22;
  temp2 = temp2.toFixed(2);[/code]

Personne pour me dire ou est l’erreur, je m’y casse la tête dessus !!!
J’ai un « ? » à la place de la température !!!

Bonjour,

Avez vous une valeur analogique dans le formulaire status.xml?
Le code à l’air bon peut être une parenthèse ou une accolade oublié…
Repartez avec le code d’origine et changez juste le calcul de la température.

Bonjour,
merci de m’aider !
Oui pour la valeur analogique.
voici ce que j’ai dans le status.xml: 89
voici ce que l’index1 m’affiche:
Température sonde n°1: ?°c
Température sonde n°2: ?°c
Volt 1: 0.29 V
Volt 2: 0.00 V
Analog 1: 88
Analog 2: 0

Pouvez vous poster le code complet ou m’envoyer la page?

Voici mon code (index1)

[code]

Digital Input Level

?   ?   ?   ?

1234


0/1 Digital logic state


Digital counter

<p>Counter1:<span class="marges"><span id="count1">?</span></p>
<p>Counter2:<span class="marges"><span id="count2">?</span></p>


Analog Input Level

Température sonde n°1:  ?°c

Température sonde n°2:  ?°c


Volt 1:    ? V

Volt 2:    ? V


Analog 1:  ?

Analog 2:  ?


  

 
Copyright : 2009 GCE.ELECTRONICS FRANCE
[/code]

Voici la version corrigée:

~inc:header.inc~
<div id="content">

<div id="status">
	<div id="loading" style="display:none">Error:<br />Connection to relay board was lost.</div>
	<div id="display">

<p><br />
<p class="exercise">Relay Status</p>

<p><br />
		<span class="leds">
		<a id="led0" onclick="newAJAXCommand('leds.cgi?led=0');">&bull;</a>
		<a id="led1" onclick="newAJAXCommand('leds.cgi?led=1');">&bull;</a>
		<a id="led2" onclick="newAJAXCommand('leds.cgi?led=2');">&bull;</a>
		<a id="led3" onclick="newAJAXCommand('leds.cgi?led=3');">&bull;</a>
		<a id="led4" onclick="newAJAXCommand('leds.cgi?led=4');">&bull;</a>
		<a id="led5" onclick="newAJAXCommand('leds.cgi?led=5');">&bull;</a>
		<a id="led6" onclick="newAJAXCommand('leds.cgi?led=6');">&bull;</a>
		<a id="led7" onclick="newAJAXCommand('leds.cgi?led=7');">&bull;</a>
		</span></p>

<span style="float:left;height: 10px; with: 0px;font-size:11px;font-weight:bold;margin-left:15px; letter-spacing:1.545em ">12345678</span>
<p><br />
<p><br />

<p class="exercise">Fugitif Mode</p>
<p><br />
-------------- Commandes Chauffage  / Climatisation -------------- <br><br>
CH1: <INPUT type="button" value="ON / OFF" style="width:70px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=0');"/><br><br>
CH2: <INPUT type="button" value="+1&deg; C" style="width:45px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=1');"/><br><br>
CH3: <INPUT type="button" value="-1&deg; C" style="width:45px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=2');"/><br><br>
CH4: <INPUT type="button" value="Oscillation / Mode" style="width:120px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=3');"/><br><br>
------------------- Commandes Alarme Intrusion -------------------<br><br>
CH5: <INPUT type="button" value="ON" style="width:45px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=4');"/><br><br>
CH6: <INPUT type="button" value="OFF" style="width:45px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=5');"/><br><br>

-------------------- Commandes Volets / V&eacutelux --------------------<br><br>
CH7 :<INPUT type="button" value="Ouverture" style="width:80px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=6');"/><br><br>
CH8 :<INPUT type="button" value="Fermeture" style="width:80px;margin-left:5px;"onclick="newAJAXCommand('rlyfs.cgi?rlyf=7');"/>
<p><br />
<p class="exercise">Digital Input Level</p>
<p>      
   <span class="marges" id="btn3">?</span> &nbsp;
   <span class="marges" id="btn2">?</span> &nbsp;
   <span class="marges" id="btn1">?</span> &nbsp;
   <span class="marges" id="btn0">?</span>
</p>
<span style="float:left;height: 10px; with: 0px;font-size:11px;font-weight:bold;margin-left:30px; letter-spacing:3.8em ">1234</span>
<p><br />
<span style="float:left;height: 10px; with: 0px;font-size:9px;font-weight:normal;margin-left:57px;">0/1 Digital logic state</span>
<p><br />
<h5>
   <p class="exercise">Digital counter<b></p>
</h5>
   <p>Counter1:<span class="marges"><span id="count1">?</span></p>
   <p>Counter2:<span class="marges"><span id="count2">?</span></p>
<p><br />
<p class="exercise">Analog Input Level</p>
<p>Temp&eacute;rature sonde n&deg;1:&nbsp;&nbsp;<span id="tmp1">?</span>°c</p>
<p>Temp&eacute;rature sonde n&deg;2:&nbsp;&nbsp;<span id="tmp2">?</span>°c</p>
<p><br />
<p>Volt 1:&nbsp;&nbsp;&nbsp;&nbsp;<span id="vlt1">?</span>&nbsp;V</p>
<p>Volt 2:&nbsp;&nbsp;&nbsp;&nbsp;<span id="vlt2">?</span>&nbsp;V</p>
<p><br />
<p>Analog 1:&nbsp; <span id="an1">?</span></p>
<p>Analog 2:&nbsp; <span id="an2">?</span></p>
</div>
</div>
<p><br />
</div>
<p>
<span id="jour" style="font-weight:normal">&nbsp;&nbsp;</span> <span id="time0" style="font-weight:normal"></span>
</p>
<script type="text/javascript">
<!--

// Detection iPhone
	if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) 
  {
    if (document.cookie.indexOf("iphone_redirect=false") == -1)
    window.location = "index.html";
  }

// Parses the xmlResponse from status.xml and updates the status box
function updateStatus(xmlData) {
	// Check if a timeout occurred
	if(!xmlData)
	{
		document.getElementById('display').style.display = 'none';
		document.getElementById('loading').style.display = 'inline';
		return;
	}

	// Make sure we're displaying the status display
	document.getElementById('loading').style.display = 'none';
	document.getElementById('display').style.display = 'inline';
	
	// Loop over all the LEDs
	for(i = 0; i < 8; i++) {
		if(getXMLValue(xmlData, 'led'+i) == '1')
			document.getElementById('led' + i).style.color = '#090';
		else
			document.getElementById('led' + i).style.color = '#ddd';
	}
	
	// Loop over all the buttons
	for(i = 0; i < 4; i++) {
		if(getXMLValue(xmlData, 'btn'+i) == 'up')
			document.getElementById('btn' + i).innerHTML = '0';
		else
			document.getElementById('btn' + i).innerHTML = '1';
	}

	// update day of week

	calculjour = getXMLValue(xmlData, 'day');

	if (calculjour == 0)
		document.getElementById('jour').innerHTML = ("Monday");

	if (calculjour == 1)
		document.getElementById('jour').innerHTML = ("Tuesday");

	if (calculjour == 2)
		document.getElementById('jour').innerHTML = ("Wednesday");

	if (calculjour == 3)
		document.getElementById('jour').innerHTML = ("Thursday");

	if (calculjour == 4)
		document.getElementById('jour').innerHTML = ("Friday");

	if (calculjour == 5)
		document.getElementById('jour').innerHTML = ("Saturday");

	if (calculjour == 6)
		document.getElementById('jour').innerHTML = ("Sunday");

	// Update analog value

	document.getElementById('an1').innerHTML = getXMLValue(xmlData, 'an1');
		
	document.getElementById('an2').innerHTML = getXMLValue(xmlData, 'an2');

        calculvolt1 = getXMLValue(xmlData, 'an1');
       	volt1 = calculvolt1 * 0.003223 ;
   	volt1 = volt1.toFixed(2);
	document.getElementById('vlt1').innerHTML = volt1;

        calculvolt2 = getXMLValue(xmlData, 'an2');
       	volt2 = calculvolt2* 0.003223 ;
   	volt2 = volt2.toFixed(2);
	document.getElementById('vlt2').innerHTML = volt2;

   // calcul temp an1
      calcultemp1 = getXMLValue(xmlData, 'an1');
      temp1 = calcultemp1 / 3.22;
      temp1 = temp1.toFixed(2);
   	document.getElementById('tmp1').innerHTML = temp1;
   // calcul temp an2
      calcultemp2 = getXMLValue(xmlData, 'an2');
      temp2 = calcultemp2 / 3.22;
      temp2 = temp2.toFixed(2);
			document.getElementById('tmp2').innerHTML = temp2;

        // Update count 1 - 4 value
	document.getElementById('count1').innerHTML = getXMLValue(xmlData, 'count1');
	document.getElementById('count2').innerHTML = getXMLValue(xmlData, 'count2');

	// Update the time value
	document.getElementById('time0').innerHTML = getXMLValue(xmlData, 'time0');
}

setTimeout("newAJAXCommand('status.xml', updateStatus, true)",500);
//-->

</script>

<div class="spacer">&nbsp;</div>
<div id="footer">Copyright : 2009 GCE.ELECTRONICS FRANCE</div>
</div></div></div></div></div>
</body>
</html>

Bonsoir

Je viens d installer une sonde capteur MCP 9700 AE j ai bien une température mais y a t il du code a écrire ?
Si il y en a pouvez vous m’aidez je ni connait rien
Merci d avance

fr:Bonjour je vous demander, j’ai la v3 30109 et j’ai mis du capteur LM35 Comment puis-je changer le code?
parce que la nouvelle version a d’autres informations

en:Hello may I ask, I have the v3 30109 and I’ve put sensor lm35 How can I change the code?
because the new version has other information

ευχαριστω πολυ με αγαπη απο ΕΛΛΑΔΑ