Adafruit #570 in Inc 5000 & #11 in manufacturing - fastest-growing private companies in America - INC 5000 - Read more!

Sketch/program persistence thru reboot - noob questions

by airgap on Tue Jul 30, 2013 5:37 pm

Sorry for what may be a few very simple questions, but my application is to create a device that will measure the temperature within a refrigerator and shutoff or turn on the 110 AC to keep the internal temperature between 55 deg F and 59 deg F. First question is if there is an interruption in the 110 AC from the power company, and the Arduino has to go thru a power up cycle, does the Arduino (Uno?) have to be reprogrammed, or maybe you call it reloading the sketch? Is there an Arduino package that uses an EPROM, or should I plan to purchase a Standalone AVR ISP Programmer Shield Kit to permanently hold my program/sketch?
Posts: 1
Joined: Tue Jul 30, 2013 5:16 pm

Re: Sketch/program persistence thru reboot - noob questions

by adafruit_support_bill on Tue Jul 30, 2013 5:42 pm

Arduino sketches are stored in flash memory which is non-volatile. After a power outage or reset, the sketch will automatically start running again.
User avatar
Posts: 28826
Joined: Sat Feb 07, 2009 9:11 am