Final version of extended Attiny25V driver has been established. Final PWM speed is 16,5kHz. Added: auto-calibration of temperature safety treshold invoked by 9-clik (when assembled in flashlight: driver start in 100% mode, lamps head getting warm, then by touch, when sense max. safe temperature, by any click this ātouched temperatureā is written as a max. temperature treshold).
Final version of programmable Attiny13A driver has been established. Final PWM speed is 18kHz. Decription below:
Navigating between modes works two-way. One click makes you move to another mode in the loop, double click takes you back to the previous one. It allows us to; for instance, reduce brightness without clicking through stronger modes in the loop. After reaching the verge of the loop, moving further will cause āa jumpā to the next verge of the loop.
The programming procedure of a given mode is elicited by 6-click, while being in the mode we wish to change. Displaying the sequence occurs in the lowest mode (signaled by one twinkle) upwards. Every mode displays for about 1,5 of a second. After reaching 100% thereās one twinkle, then it displays modes downwards. The mode is programmed during the display invoked by a click or by the mechanism of turning off the switcher. If we cease to do anything during the procedure of presenting modes upwards and downwards, the light brightness will remain as previously set.
Brightness level palette available in the programming process:
0,02% (not always visible - depends on variability of electronic components parameters ).
0,15%
1%
4%
10%
18%
25%
32%
50%
70%
100%
Stroboscope (The strobo) mode is invoked by 3-click. The intensity of the flashes is the same as in the mode we have invoked the stroboscope, and has an optimal frequency 2Hz.
Simplified battery cell voltage measurement under full load is invoked by a 4-click. After invoking a 4-click, the lamp flashes for a short moment in 100, then the measurement happens. After that, with a number of flashes in 20 mode, the driver informs us about detected voltage range:
- 5 flashes means 3,8-4,0V
- 4 flashes means 3,6-3,8V
- 3 flashes means 3,4-3,6V
- 2 flashes means 3,2-3,4V
- 1 flash means 3,0-3,2V
- no flash means 3,0V (in a moment there will be low battery cell voltage warning starts).
RESET to factory settings (modes to: 0,15; 10; 32; 100. Inovoked by 8-click.
The low battery cell voltage warning starts when the cell, in a working mode reaches about 2,9-3,0V. Then a single flash appears and a reduction to another, lower level from the programmable modes palette (we reach ~2,9V in the given mode, and after a flash, we drop to another, lower mode). This works to the level 3 (1). When this happens the lamp will retain this level, flashing periodically every 10 seconds. After reaching 2,8V you will experience the last mode reduction to 2 (0,15). After reaching critically low voltage 2,6V, the driver 4 flashes and goes into sleep mode.