Power efficient refrigerator for off grid use

As the cabin runs exclusively on solar power, a normal refrigerator would not work for us. Typically refrigerators use 0.75 to 1.2 kw of power per day. I’ve read that a chest freezer can be converted to a refrigerator by using an external temperature control and running the compressor until the desired temperature is achieved. The energy conservation comes from the chest property that keeps the cold in.

I purchased a [very small] 2 cubic feet chest freezer at my local Bi-Mart. I got the last Arctic King (made by Midea) model ARC21MW. The label on the back states it is consumes 86 watts. I bench-marked the inrush power at about ~300 watts. Using a Johnson Controls Digital Thermostat Control Unit set at 35F, I found the unit consumes on average 7 watts per hour and about about 168 watts per day.

DSC03271

DSC03274

DSC03272

Eight digit seven segment display from DealExtreme

I ran across this cheap (USD$4.70 SKU 250813) multi digit 7 segment display from DealExtreme. It’s composed of 3461BS displays and two 74HC595D shift registers. It runs cleanly on 5VDC (only voltage I tested). It requires three GPIO lines to run (latch, data, clock). Because the displays are multiplexed, it can only display one character at a time. This means you need to set activate each character faster enough to avoid any flicker (at least >= 20 hertz).

sku_250813_1

display1

display2

#define latch 9
#define clock 10
#define data 11
#define kDigitCount 8

char gDisplayBuffer[kDigitCount+1];

void setup()
{
   pinMode(latch, OUTPUT);
   pinMode(clock, OUTPUT);
   pinMode(data, OUTPUT);
   
   Serial.begin( 9600 );
   
   memset(gDisplayBuffer, ' ', kDigitCount);
}


void writeDigit(int digit, char inValue)
{
  byte value = 0;
  byte bitsToSend = 0;
  
  bitSet(bitsToSend, digit);
  
  digitalWrite(latch,LOW);
  shiftOut(data,clock,MSBFIRST, bitsToSend);
  
  
    switch (inValue)
    {
        case '.': value = B01111111; break;
        case '1': value = B11111001; break;
        case '2': value = B10100100; break;
        case '3': value = B10110000; break;
        case '4': value = B10011001; break;
        case '5': value = B10010010; break;
        case '6': value = B10000011; break;
        case '7': value = B11111000; break;
        case '8': value = B10000000; break;
        case '9': value = B10010000; break;
        case '0': value = B11000000; break;
        case 'H': value = B10001001; break;
        case 'i': value = B11111011; break;
        
        default:
        case ' ': value = B11111111; break;
    }
    
    shiftOut(data,clock,MSBFIRST,value);
  
  digitalWrite(latch,HIGH);
}

void writeToDisplay(bool inOveride)
{
  for (int i = 0 ; i < kDigitCount ; i++)
  {
    if (' ' != gDisplayBuffer[i] || inOveride)
      writeDigit(i, gDisplayBuffer[i]);
  }
}

void loop()
{
  char cmdBuffer[16];
  
  if (0 < Serial.available())
  {
      memset(cmdBuffer, ' ', 16);
      int iBytes = Serial.readBytesUntil('\n', cmdBuffer, 16);
      cmdBuffer[iBytes] = 0;
      
      if (!strncmp(cmdBuffer, "SET ", 4))
      {
        if (12 != strlen( cmdBuffer))
          Serial.println("ERR");
        else
          memcpy(gDisplayBuffer, &cmdBuffer[4], kDigitCount);
      }
      else if (!strncmp(cmdBuffer, "CLR", 3))
      {
          memcpy(gDisplayBuffer, "        ", kDigitCount);
          
          writeToDisplay(true);
      }
  }
  
  writeToDisplay(false);
}

Sleep Innovations mattress

We recently purchased a new Sleep Innovations 12-Inch SureTemp Memory Foam Mattress mattress. Kohl’s was running this great sale on a Sleep Innovations mattress, but their website was not working correctly. We ended up buying it from Amazon (free shipping!). It took about a week to adjust. The memory foam is a bit more firm than our worn down spring mattress. After a week, I’m sleeping better. Personally I think it’s a bit warm compared the old Sealy. I have not noticed it being warm after summer left.

Edit: After a few months of usage, my wife has determined that it makes her overly warm. If you lay or sit near the edges you also sink a quite a bit, you can’t really lay off the edge. The mfg will only honor the warranty if you put a water proof cover over it.

Winterizing the cabin

Winter is almost here in Oregon. This is the first time I’ve had to seriously winterize the utilities. I need to blow out the water from all the water lines and the Rinnai on-demand hot water heater. Instead of using a small utility compressor, I decided to use a higher volume electric tire pump. I settled on the Viair 88p. This sucker is rated at consuming 17 amps of power. Wow.

The next challenge is how to adapt a hose intended for filling a tire with air to 1/2 PEX? I shopped around and came up with a three part assembly. It uses a Camco blow out assembly, an adapter, and a Sharkbite fitting from Home Depot.

DSC03216 DSC03217

OpenSwan IPSEC L2L with ASA5505

I recently configured a IPSEC site-to-site (L2L in cisco language) with a ClearOS router running OpenSwan against a Cisco ASA5505. The first thing I tried (and did not work) was to add Tim Burgess marketplace add-in “Static IPsec VPN Basic.” Using this add-in the basic configuration was created, but the phase 2 transports do not match the options that Cisco has. I edited the ipsec config in /etc/ipsec.d/ipsec.unmanaged.xxx.conf and added these lines,

pfs=no
ike=aes256-sha1
esp=3des-md5
auth=esp

Elenco AM radio kit

I purchased this Elenco – Two IC AM Radio Kit (Amazon Prime) as a small project to do with my son Isaiah (age nine). It does not require more than an hour or two of assembling. The PCB pads are nice and large, allowing a fair amount of slop and use of too much solder. The parts are easy to place and generally robust. The ferrite rod was dropped and cracked in several places; we repaired it with a bit of hot glue.

Isaiah_Elenco_AMRadio_Kit

Elenco_PCB

Isaiah_Elenco2

Enter the Dragino

dragino2

The Dragino v2 was just released. This little device runs OpenWRT, supports wifi and mesh networking, and has remote flash of AVR (or Arduino) devices. The power consumption is rated at 1 watt…which is really good. This makes it feasible to run this from solar power.

This device has dropped to a great price point: $45. This makes it equivalent to a raspberry pi. It’s a nice price point to do home automation or remote DAQ.

Edit 12/23: The Dragino is now starting to show up Amazon Prime. This sounds a lot of effort arranging shipping from China,

My summer reading list 2013

Under The Dome, Stephen King
HTML5 Canvas, Steve Fulton, Jeff Fulton
Reamde, Neal Stephenson
Peopleware (2013), Tom Demarco
Finding The Next Steve Jobs, Nolan Bushnell