powerdone
authorstephen
Thu, 27 May 2010 16:34:37 +0100
changeset 4 1715f50a066d
parent 3 1d832a05eb87
child 5 10a6882c7671
powerdone
images/S-off-small.jpg
images/S-off.jpg
images/S-on-small.jpg
images/S-on.jpg
images/S-turingon-small.jpg
images/S-turingon.jpg
images/resizeem
index.html
router-screen.html
Binary file images/S-off-small.jpg has changed
Binary file images/S-off.jpg has changed
Binary file images/S-on-small.jpg has changed
Binary file images/S-on.jpg has changed
Binary file images/S-turingon-small.jpg has changed
Binary file images/S-turingon.jpg has changed
--- a/images/resizeem	Thu May 27 15:03:28 2010 +0100
+++ b/images/resizeem	Thu May 27 16:34:37 2010 +0100
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-set -x
+# set -x
 
 for file in S-*.jpg
 do
@@ -11,6 +11,7 @@
 		if [ ! -f "$fb-small.jpg" ]
 		then
 		# there's no -small variant
+		echo "Doing $file"
 		convert -geometry 300x400 $fb.jpg $fb-small.jpg
 		fi
 	fi
--- a/index.html	Thu May 27 15:03:28 2010 +0100
+++ b/index.html	Thu May 27 16:34:37 2010 +0100
@@ -12,7 +12,7 @@
 <h1><img alt="Logo" src="images/n4c-logo.png" width="243" height="52" /> N4C Summer
 2010 Trial</h1>
 
-<strong><span style="font-size: 24pt">DRAFT 2010-05-26 SUBJECT TO CHANGE</span></strong><small>contact: stephen.farrell@cs.tcd.ie</small>
+<strong><span style="font-size: 24pt">DRAFT 2010-05-27 SUBJECT TO CHANGE</span></strong><small>contact: stephen.farrell@cs.tcd.ie</small>
 
 <p style="text-align:right;margin-left:auto;margin-right:0;"><a
 href="#Contact">Contact</a>, <a href="#privacy">Privacy, security etc.</a>,
@@ -57,10 +57,13 @@
 battery level is too low. There is a small screen on the village DTN
 router (inside the window) that displays the current state, which 
 for example, will indicate when the device will next reboot, if it is in
-a low-power state. (When the device is turned off, it will not provide
+a low-power state. When the device is turned off, it will not provide
 any services:-)</p>
 
-<p>Please don't tamper with these devices - as you can imagine it can
+<p>Full details of the (limited) user interface to this
+hardware can be found <a href="router-screen.html">here</a>.</p>
+
+<p>Please <strong>DON'T TAMPER WITH THESE DEVICES</strong> - as you can imagine it can
 take a lot of effort to go visit one to fix it!</p>
 
 	  <p>We have installed equipment on two <a
@@ -98,7 +101,7 @@
       </td>
       <td>
 		<a href="images/padjelanta-map.jpg"><img src="images/padjelanta-map-small.jpg" alt="Padlelanta map"/></a>
-		<small><a href="http://www.padjelanta.com/en/karta/index.asp">http://www.padjelanta.com/en/karta/index.asp</small></p>
+		<small><a href="http://www.padjelanta.com/en/karta/index.asp">http://www.padjelanta.com/en/karta/index.asp</a></small>
 		</td>
     </tr>
   </tbody>
@@ -115,43 +118,47 @@
 	<li>To have configured your mail client with an account that uses our message store ("IMAP" server) and 
 mail relay ("SMTP" server). The same settings will work in all of our locations, and (when you get home) from the Internet, for the duration of the trial.
 
+<font size="-1" face="Courier New, Courier, mono">
 <table cellpadding="2" cellspacing="0" border="1">
+<tbody>
 <tr>
-<td><font size=-1><strong>Incoming Mail (IMAP) Server - optional SSL:</strong></font></td>
-<td><font size=-1 face="Courier New, Courier, mono">imap.village.n4c.eu</font><font size=-1><br>
-
-<strong>Use SSL</strong>: Yes<br>
-<strong>Port</strong>: 143 (without SSL) or 993 (with SSL) </font></td>
+<td><strong>Incoming Mail (IMAP) Server - optional SSL:</strong></td>
+<td>imap.village.n4c.eu<br/>
+<strong>Use SSL</strong>: Yes<br/>
+<strong>Port</strong>: 143 (without SSL) or 993 (with SSL) 
+</td>
 </tr>
 <tr>
-<td><font size=-1><strong>Outgoing Mail (SMTP) Server - optional TLS or SSL:</strong></font></td>
-<td><font size=-1 face="Courier New, Courier, mono">smtp.village.n4c.eu</font><font size=-1> (use authentication)<br>
-<strong>Use Authentication</strong>: Yes<br>
+<td><strong>Outgoing Mail (SMTP) Server - optional TLS or SSL:</strong></td>
+<td>smtp.village.n4c.eu (use authentication)<br/>
+<strong>Use Authentication</strong>: Yes<br/>
 
-<strong>Port without SSL or TLS/STARTTLS</strong>: 25<br>
-<strong>Port for TLS/STARTTLS</strong>: 587<br>
+<strong>Port without SSL or TLS/STARTTLS</strong>: 25<br/>
+<strong>Port for TLS/STARTTLS</strong>: 587<br/>
 <strong>Port for SSL</strong>: 465
-</font></td>
+</td>
 </tr>
 <tr>
-<td><font size=-1><strong>Account Name: </strong></font></td>
-<td><font size=-1>your full email address (including <font face="Courier New, Courier, mono">@village.n4c.eu</font>) </font> </td>
+<td><strong>Account Name: </strong></td>
+<td>your full email address (including @village.n4c.eu) </td>
 
 </tr>
 <tr>
-<td><font size=-1><strong>Email Address: </strong></font></td>
-<td><font size=-1>your email address (<font face="Courier New, Courier, mono">username@village.n4c.eu</font>) </font></td>
+<td><strong>Email Address: </strong></td>
+<td>your email address (username@village.n4c.eu) </td>
 </tr>
 <tr>
-<td><font size=-1><strong>Password: </strong></font></td>
-<td><font size=-1>your chosen password </font></td>
+<td><strong>Password: </strong></td>
+<td>your chosen password </td>
 
 </tr>
+</tbody>
 </table>
+</font>
 
 How you configure this depends on your client, but there are many 
-web pages that explain this, for example: <a
-href="http://mail.google.com/support/bin/answer.py?hl=en&answer=13287">http://mail.google.com/support/bin/answer.py?hl=en&answer=13287</a>.
+web pages that explain this, for example: 
+<a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=13287">http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=13287</a>.
 Note that if your password is something you use elsewhere, then you really
 should turn on the TLS or SSL security options.
 	</li>
@@ -161,8 +168,6 @@
 from a gmail or Yahoo! account. Note that we cannot do that, so you need
 to figure that part out yourself. </li>
 
-	</li>
-
 	<li>Patience! Mail won't be quick!</li>
 </ul>
 
@@ -171,7 +176,7 @@
 
 <h2><a name="Web" id="Web">Web</a> Services</h2>
 
-<p>To use the web service you need a WiFi-enabled <a href="#devices">device</a> with a standard browser.</li>
+<p>To use the web service you need a WiFi-enabled <a href="#devices">device</a> with a standard browser.</p>
 
 <p>There are two ways to get at web pages - each day we <a
 href="#pushed">push</a> some content to each of the village DTN routers, and
@@ -183,7 +188,7 @@
 
 <h3><a name="pushed" id="pushed">Pushed</a> Web Content</h3>
 
-To access "pushed" web content, you simply browse to the usual places and our
+<p>To access "pushed" web content, you simply browse to the usual places and our
 web infrastructure will serve up the web pages, if they are present. Since we
 clearly cannot copy the entire web, only a limited set of pages are available.
 Mostly, those are news, weather and other local sites that we expect to be of
@@ -197,7 +202,7 @@
 href="mailto:help@village.n4c.eu">help@village.n4c.eu</a> and we'll try to add
 that to the list (no guarantees though!). Be as specific as you can about the
 content you'd like (many sites use complex active scripts that won't work well
-in a trial like ours).
+in a trial like ours).</p>
 
 <h3><a name="requested" id="requested">Requesting</a> Specific Pages</h3>
 
@@ -298,7 +303,7 @@
 experimental network and depends on users behaving well, so please
 do not abuse the system! (Thanks:-)</p>
 
-<strong><span style="font-size: 24pt">DRAFT 2010-05-26 SUBJECT TO CHANGE</span></strong><small>contact: stephen.farrell@cs.tcd.ie</small>
+<strong><span style="font-size: 24pt">DRAFT 2010-05-27 SUBJECT TO CHANGE</span></strong><small>contact: stephen.farrell@cs.tcd.ie</small>
 
 
 </body>
--- a/router-screen.html	Thu May 27 15:03:28 2010 +0100
+++ b/router-screen.html	Thu May 27 16:34:37 2010 +0100
@@ -23,9 +23,13 @@
 Any such tampering is likely to result in an non-functional village DTN router
 so please don't do it!</p>
 
-<p>Figure 1 shows a village DTN router deployed in Staloluokta in 2009.</p>
+<p align="center">
+<a href="images/smaller-node.jpg"><img alt="Village DTN router" src="images/smaller-node-thumb.jpg"/></a><br/>
+Figure 1 shows a village DTN router deployed in Staloluokta in 2009.<br/>
+(For all images on this page, you can click on the image for a full-sized version.)
+</p>
 
-<h2>Turning On and Off</h2>
+<h2><a name="onoff" id="onoff">Turning On and Off</a></h2>
 
 <p>The large switch at the side of the device is used to turn it on and off.
 The device requries approximately two minutes to fully boot and bring up all of
@@ -34,16 +38,28 @@
 particular, the filesystems - such an error would be the equivalent of a
 hard-disk failure in a laptop.</p>
 
-<p>Figure 2 shows the ON/OFF switch in the "ON" position. </p>
+<p align="center">
+<a href="images/S-on.jpg"><img src="images/S-on-small.jpg" alt="switch"/></a><br/>
+Figure 2 shows the ON/OFF switch in the "ON" position. 
+</p>
 
-<p>Figure 3 shows the ON/OFF switch in the "OFF" position.</p>
+<p align="center">
+<a href="images/S-off.jpg"><img src="images/S-off-small.jpg" alt="switch"/></a><br/>
+Figure 3 shows the ON/OFF switch in the "OFF" position.
+</p>
 
-<p>Figure 4 shows a user switch the device to the "ON" position.</p>
+<p align="center">
+<a href="images/S-turingon.jpg"><img src="images/S-turingon-small.jpg" alt="switch"/></a><br/>
+Figure 4 shows a user switching the device to the "ON" position.
+</p>
 
-<p>That's all very simple so far, but its gets a little more complicated when
-we need to understand how the device manages its use of power.</p>
+<p>That's all nice and simple so far, but its gets a little more complicated when
+we need to understand how the device manages power, which is, of course, in 
+short supply in Padjelanta!</p>
 
-<h2>Power Management</h2>
+<h2><a name="power" id="power">Power Management</a></h2>
+
+<h3>Basic Power States</h3>
 
 <p>As a solar-powered device, the village DTN router must manage its power so
 as to conserve battery in case there is not sufficient sunlight to charge the
@@ -53,18 +69,111 @@
   <li>When sufficient power is available and the device is operating normally,
     it is in the "UP" state. In the "UP" state, all WiFi, mail and web services
     are operating.</li>
-  <li>When power levels are lower, the device may switch to a standby mode of
-    operation for a short period (30 minutes) to allow some time for the
+  <li>When power levels are lower, the device will switch to a standby mode 
+    for a short period (30 minutes) to allow time for the
     batteries to recharge, this is the "STANDBY-SHORT" state. In this state the
     device uses much less power, but no services are available as the processor
     in the device is asleep, just like a laptop in standby mode. After 30
     minutes, the device will power up, and if power levels are sufficient will
     change to the "UP" state.</li>
-  <li>If power levels fall further, the device will </li>
+  <li>If power levels fall further, the device will enter the "STANDBY-LONG"
+	state, where it will go to sleep for 3 hours.</li>
+  <li>And if power levels drop very low, then the device will power itself
+	off completely, until the batteries have been recharged to approximately
+	50% full. This can take three to four hours with good sunlight, but 
+	substantially longer in bad weather conditions.</li>
+  <li>Finally, the device is set to put itself to sleep overnight, between
+	22:00 and 06:00, in order to conserve power.</li>
 </ul>
 
-<p></p>
+<p>In each of the sleep or standby states, the device displays the time
+at which it is set to reboot, but note that after reboot, the device may
+go right back to sleep, if the power conditions warrant taking that
+action.</p>
+
+<h3><a name="override" id="override">Override Mode</a></h3>
+
+<p>Whilst the device is sleeping, if a communications opportunity arises (e.g.,
+a helicopter arrives), the device will not detect this since its radios are
+off, and we could lose the opportunity to send and receive data, which would be
+unfortunate, since such opportunities are relatively rare.  However, a user who
+is present can turn the device on temporarily. The device will power itself up
+for 30 minutes, during which it will operate normally (if there is sufficient
+power), and then transit to whatever is the appropriate state, depending on the
+power conditions. This is the "OVERRIDE" mode of operation.</p>
+
+<p>The device can be put into the OVERRIDE state at any time that it is
+sleeping.</p>
+
+<p>To put the device into the OVERRIDE state, the user simply turns 
+the switch to the "OFF" position, waits 5 seconds, and then turn the
+switch to the "ON" position. As usual it will take 2 minutes for the
+device to reboot, but it will then be in the OVERRIDE state and all
+WiFi, email and web services will be operational.</p>
+
+<h3><a name="powersummary" id="powersummar">Summary of Power States</a></h3>
+
+The table below summarises the different power states. Since the
+battery voltage level is displayed on the <a href="screen">LCD screen</a>
+we include the approximate voltage levels corresponding to each of
+the states. Voltage levels are somewhat technical, but provides the
+best way to measure the battery level, for the kind of battery we
+are using. The nominal voltage level when operating is 12V but in
+fact the levels fluctuate between 11.1V and approximately 13V
+depending on the state of the battery.</p>
+
+<p/>
 
-<p></p>
+<table border="1">
+<tbody>
+<tr>
+<th>State</th>
+<th>Briefly</th>
+<th>Description</th>
+<th>Voltage Levels</th>
+</tr>
+
+<tr>
+<td>UP</td>
+<td>Fully functional</td>
+<td>The device is operating normally as a WiFi access point, email and web server</td>
+<td>11.6V and above</td>
+</tr>
+
+<tr>
+<td>STANDBY-SHORT</td>
+<td>Sleep for 30 minutes</td>
+<td>The device is sleeping, to try charge the batteries.</td>
+<td>11.4V to 11.6V</td>
+</tr>
+
+<tr>
+<td>STANDBY-LONG</td>
+<td>Sleep for 3 hours</td>
+<td>The device is sleeping, to try charge the batteries.</td>
+<td>11.1V to 11.4V</td>
+</tr>
+
+<tr>
+<td>OFF</td>
+<td>Entirely powered off</td>
+<td>Either switched off manually, or else power is too low even for sleep</td>
+<td>11.1V and below</td>
+</tr>
+
+<tr>
+<td>OVERRIDE</td>
+<td>Work for 30 minutes</td>
+<td>The device will try operate fully for the next 30 minutes, if power permits</td>
+<td>N/A</td>
+</tr>
+
+</tbody>
+</table>
+
+<h2><a name="screen" id="screen">LCD Screen</a></h2>
+
+<p>TBD</p>
+
 </body>
 </html>