Juslearnin
(Juslearnin)
December 18, 2020, 2:48am
1
So, let’s say I set up my anduril light just the way I want it in terms of stepped vs ramped/ number of steps/ Max/ min etc.
Then I take the battery out. How does anduril retain the settings I have input?
Is there a capacitor that maintains some power to remember the new settings?
Will the settings be lost eventually and revert back to defaults? If so, how long until this happens?
Thanks for the info.
iamlucky13
(iamlucky13)
December 18, 2020, 3:02am
2
The microcontroller has non-volatile memory it can retain the settings in.
If I understand the datasheet and some of Toykeeper’s comments right, the ATtiny85 has:
- 8 kB of flash memory for the program
- 512 Bytes of EEPROM memory for preserving settings like your customizations
Juslearnin
(Juslearnin)
December 18, 2020, 3:15am
3
So it sounds like it will retain the settings indefinitely?
Thanks for the quick response.
iamlucky13
(iamlucky13)
December 18, 2020, 3:26am
4
As far as I know, yes. The datasheet claims decades.
forsh
(forsh)
December 18, 2020, 5:23am
5
The same way a SD card keeps it’s memory stored after it’s taken out of what ever it’s in
Kind of
Marc_E
(Marc E)
December 18, 2020, 10:34am
6
EPROM. The transistors act as switches which don’t need power to retain their postion, just to change it.
Pages for logged out editors learn more
An EPROM (rarely EROM), or erasable programmable read-only memory, is a type of programmable read-only memory (PROM) chip that retains its data when its power supply is switched off. Computer memory that can retrieve stored data after a power supply has been turned off and back on is called non-volatile. It is an array of floating-gate transistors individually programmed by an electronic device that supplies higher voltages than those normally used...
Bwana
(Bwana)
December 18, 2020, 11:44am
7
VOODOO ! no other reasonable explanation.