Notes
APC Environmental card
AP9512TH
IC1 | LM35 | Temperature Sensor |
IC2 | LM358N | Dual Opamp |
IC3 | LM78L | Vreg, 5V |
BP1 | TDK CHS-UGR | Humidity Sensor |
AP9612
IC1 | ADC0834 | 8-Bit Serial I/O A/D Converter with Multiplexer Option |
IC2 | MM74HC14N | Hex inverting Schmitt trigger |
IC5 | P87C521 | Controller |
PCF8574 - 8-Bit I/O Expander for I2C-Bus
Retroreflective yarn
Timestamps
Convert Excel timestamp to unix time: =(EXCEL-25569)*86400
Convert unix time to Excel timestamp: =(UNIX/86400)+25569
5 hour timezone offset is (-5*3600)=18000 seconds
gnuplot.php
<?PHP if(isset($_REQUEST["file"])) { header('Content-type: image/png'); passthru("gnuplot ".escapeshellcmd($_REQUEST["file"])); die(); } $dir="/var/www/gnuplot/"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { $split=split("\.",$file); if(filetype($dir . $file)=="file" && $split[1]=="gnuplot"){ echo "<a href=\"gnuplot.php?file=".$split[0].".gnuplot\">".$split[0]."<BR>"; } } closedir($dh); } } ?>