I have been toying/learning with an Arduino Nano. Currently I am away from home and do not have access to the physical Nano, so I ask here.
How long does it take from power up until it starts running user code?
Thanks
I have been toying/learning with an Arduino Nano. Currently I am away from home and do not have access to the physical Nano, so I ask here.
How long does it take from power up until it starts running user code?
Thanks
To explain a bit futher, would you use the Arduino Nano to monitor some device, say a battery, for correct operation ? I was thinking if the startup time is 3-4 seconds in that time the device could be destroyed.
I'd be inclined to suggest you change your programming practice especially if things are going to be "destroyed" as all software, not just Arduino, needs time to load and settle.
akis_t:
To explain a bit futher, would you use the Arduino Nano to monitor some device, say a battery, for correct operation ? I was thinking if the startup time is 3-4 seconds in that time the device could be destroyed.
Don't switch the Arduino off and there will be no startup delay.
If you need to save energy, as far as I know the wake from sleep is very fast.
The Arduino startup delay is due to the bootloader code listening to see if you are trying to upload a sketch. You can write and upload code that doesn't use a bootloader - it's just a bit less convenient.
The Atmel datasheets list the actual startup times and wake from sleep times for each MCU.
...R