Elk M1 Ethernet Interface power source

drvnbysound said:
I don't know if you've read any of the other thread (Topic about automating a gate) where I've mentioned the ease of using a RPi, but it can do what you've mentioned very easily and for under $100 it could be used to do a lot of other things too.
RPi's are great - I have one here I've tinkered with, and I want to update to the new one.  I've also done things like the SheevaPlug in the past... I also have a windows server running full time for Elve and to do my DynDNS updater and anything else I need.  That said, for this exact application, if you have an extra relay output, then it just makes sense to keep it all onboard the Elk IMO.
 
It seems like these XEP issues either exist or they don't for people.  Some people have to constantly reset theirs when it locks up and some people never have trouble.  Luckily I fall into the latter category.  I think I've had to reset mine 2-3 times in 7+ years and I knew when I caused it by hitting it with one or two pieces of software, disconnecting and reconnecting all rapidly.  I do see mine reset by itself often enough - during a connection problem it'll freak out and reboot and be back online within 2-3 minutes - which I'm fine with... that's way better than it needing manual intervention.
 
Work2Play said:
RPi's are great - I have one here I've tinkered with, and I want to update to the new one.  I've also done things like the SheevaPlug in the past... I also have a windows server running full time for Elve and to do my DynDNS updater and anything else I need.  That said, for this exact application, if you have an extra relay output, then it just makes sense to keep it all onboard the Elk IMO.
 
It seems like these XEP issues either exist or they don't for people.  Some people have to constantly reset theirs when it locks up and some people never have trouble.  Luckily I fall into the latter category.  I think I've had to reset mine 2-3 times in 7+ years and I knew when I caused it by hitting it with one or two pieces of software, disconnecting and reconnecting all rapidly.  I do see mine reset by itself often enough - during a connection problem it'll freak out and reboot and be back online within 2-3 minutes - which I'm fine with... that's way better than it needing manual intervention.
 
In my case, and most of the installs that I've done the only on-board relay (OUT3) is used for the GDO. Being able to trigger things via monitoring of a SysLog and trigger Elk due to those events is pretty powerful...
 
I too haven't had any issues with my XEP or those that I have installed. I can't even keep track of how long Ive had mine installed unless I dig back through threads here, but I know it's at least 2 years and I've yet to have to power cycle mine because of an issue.
 
My guess is that the instability some people see is tied to the power supply.  If you use the Elk or a battery stabilized supply my guess is your problems go away.  This is why it was important for me to put my XEP on the elk supply and to ensure I have a decent amount of battery capacity.  :)
 
All computers benefit from being on UPS power.
Microcontrollers do not like unstable power supplies.  Ripples are bad news.
 
Here is why I think they are bad news:
CPU's store information as either a high or low.  As systems have strived to consume less power, they have lowered the operating voltage.  In old electronics you used +12v and -12v as your high and low.  Modern computers used +12v and 0v.  Newer computers have continued dropping.... it's down to 1.5v and 0v.  If your power supply fluctuates for a part of a cycle you might be seeing voltage drop down a bit.  A computer might count anything above .8 as a 1 and anything below it as a 0.  I believe in practice it's actually the opposite, but I'm not engaged in hardware engineering this month.... so don't get me to lying!
 
The digi embedded port has a CPU in it as well.  It's tiny stuff to fit in a small package and tiny stuff generally uses +5v at best.  More than likely it's a 3v or lower chipset.  Very small fluctuations in the power supply will cause it to appear to "freeze" or lockup.  With the stock power supply you are guaranteed to get those when your utility has their normal daily fluctuations.
 
What can cause a fluctuation in the incoming voltage?  Practically anything... here are some examples:
- Your laser printer fires up and causes voltage drop.
- The business down the street fires up their evil scientist voltron lab pulling 1500Amps at 480v and causing a 2v drop for everyone served by their substation.
- A power plant shuts down and hands off it's load to another one.
- Your wife turns on the oven and all 4 electric burners at the same time taxing your already outdated electrical service.
 
At my last house we had an industrial neighbor a block away.  Everyday at 8am they did something that caused all the UPS units in my house to alarm.
 
I keep all my computers, network gear, and Tivo on a UPS unit.  The majority of power outages are just a few minutes long, so you don't need much.  In my case I tend to use 1200va or 1500va TrippLite units.  I also like APC but they want too much for the fancy displays that tripplite offers.   
 
It's also worth noting, bit of a tangent... get a higher rated power supply for your computer.  They have bronze, gold, silver, and platinum efficiency ratings.  Your computer rarely runs at full tilt, so you almost never get rated efficiency.  An unrated power supply is about 56% efficient when running less than peak.  A higher rated power supply is more efficient at a non-peak load.  This usually will pay for itself with today's power saving computers.  
 
Back
Top