Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Sketch/program persistence thru reboot - noob questions
Moderators: adafruit_support_bill, adafruit

Sketch/program persistence thru reboot - noob questions

by airgap on Tue Jul 30, 2013 6: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?
airgap
 
Posts: 1
Joined: Tue Jul 30, 2013 6:16 pm

Re: Sketch/program persistence thru reboot - noob questions

by adafruit_support_bill on Tue Jul 30, 2013 6: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.

adafruit_support_bill
 
Posts: 37497
Joined: Sat Feb 07, 2009 10:11 am