Tell us about yourself!

Complete Your Profile
  • Zaphot commented on lonesoulsurfer's instructable How to Fix Corroded Battery Terminals 11 months ago
    How to Fix Corroded Battery Terminals

    a "Glass Fiber Eraser" is a good tool to remove oxidisation and corrosion too...

    View Instructable »
  • Raspberry PI and DHT22 Temperature and Humidity Logger With LAMP and Email Warnings

    finally i got it now... I got an error when I removed the whole 2nd sensor line in the config, now I only removed the values from the 2nd sensor, it works now :-)how about to extend the output with dew point?I made this:// create content to web page?><html><head><title>Environment - 4thDnet</title></head><body></body><center>Temperatures</center><br><br><table width="800" border="1" cellpadding="1" cellspacing="1" align="center"><tr><th>Date</th><th>Sensor</th><th>Temperature</th><th>Humidity</th><th>Dew Point</th><tr><?php// loop all the results that were read from database and "draw...

    see more »

    finally i got it now... I got an error when I removed the whole 2nd sensor line in the config, now I only removed the values from the 2nd sensor, it works now :-)how about to extend the output with dew point?I made this:// create content to web page?><html><head><title>Environment - 4thDnet</title></head><body></body><center>Temperatures</center><br><br><table width="800" border="1" cellpadding="1" cellspacing="1" align="center"><tr><th>Date</th><th>Sensor</th><th>Temperature</th><th>Humidity</th><th>Dew Point</th><tr><?php// loop all the results that were read from database and "draw" to web page/* while($temperature=mysqli_fetch_assoc($temperatures)){echo "<tr>";echo "<td>".$temperature['dateandtime']."</td>";echo "<td>".$temperature['sensor']."</td>";echo "<td>".$temperature['temperature']."</td>";echo "<td>".$temperature['humidity']."</td>";echo "<tr>";}*/while($temperature = mysqli_fetch_assoc($temperatures)){ $T = $temperature['temperature']; $F = $temperature['humidity'];// ************* dewpoint *************if( $T >= 0 ){$a=7.5; $b=237.3;}else{$a=7.6; $b=240.7;}$sdd = 6.1078 * pow(10.0, (($a*$T)/($b+$T))); // Magnusformel$dd=($F/100.0) * $sdd;$v=log10(($dd/6.1078));$td=($b*$v)/($a-$v);$dewpoint =round(($td*100+0.5)/100,2); echo "<tr>"; echo "<td>".$temperature['dateandtime']."</td>"; echo "<td>".$temperature['sensor']."</td>"; echo "<td>".$temperature['temperature']."</td>"; echo "<td>".$temperature['humidity']."</td>"; echo "<td>".$dewpoint."</td>"; echo "<tr>"; }?></table></html>

    View Instructable »