View Single Post
  #20   Report Post  
Posted to alt.binaries.schematics.electronic,sci.electronics.basics,sci.electronics.design,alt.electronics
Chuck Harris Chuck Harris is offline
external usenet poster
 
Posts: 125
Default Reverse Polarity

Spehro Pefhany wrote:
On Wed, 12 Sep 2007 08:19:04 GMT, the renowned JimW52


A small microcontroller with EEPROM or similar would be a simple solution,
but only if the OP has some experience with them.

Jim


How do you think people should get experience in the first place? This
is a perfect project to learn on. Less than a page of code on an 8-pin
micro supported by a $50 kit.



Best regards,
Spehro Pefhany


The only issue is the EEPROM cells have a fairly short lifetime, so
there would be a destructive limit to how many cycles the device could
handle... much like with a relay. A clever programmer will use a scheme
where the "toggle" cell is actually a counter that counts with a redundant
code that can be checked for accuracy. If the "toggle" cell shows a failure,
the program marks it as bad, and uses a fresh cell in the EEPROM.

-Chuck