Build details explained
Several preconfigured builds are included. Many represent rebuilds of older
versions. Level of testing varies widely but many of the features included in
the builds are tested (a few aren't yet). All builds now include the new thermal control method. Most now include powersaving (Noah's torch: 40 days and 40 nights of moon mode).
default: This has no gauranteed setup. Probably will remain a Tripple build and
may have new features come and go. It's purpose is to be THE definitive
baseline configuration file, including all the latest build options (although
some will be commented out, but still there). If starting a new configuration
from scratch or studying the options, this is the one to look at.
II.1 attiny13 compatible builds (will auto build for attiny13 and above)
biscotti-HD:
Based on TK's biscotti,
Target layout: nanjg105D, 1-channel FET only
Limitations:
Very minimal, no OTC, no med press, noreverse, no hidden modes,
no muggle, no moon.
Features:
Includes turbo-timeout/bump-up in attiny13.
3 strobes, 4-bar battcheck, LVP, OTC-less short-press detection.
HD Features:
Original biscotti included no thermal or turbo-timeout.
Extra room in HD allows TURBO timeout/bump up (like BLFA6) in attiny13,
or the new bistro-HD thermal step-down in bigger attiny's.
Corruption protection for OTC-less press timing makes clicks more
reliable. (SAFE_PRESSES)
Modgroups:
13 modegroups including strobe groups and reverse to make up for
minimal features.
Notes: There is no reason a BLFA6-emu-like build cannot be constructed for a
convoy board layout.
battcheck-divider: flashes adc channel for voltage read from divider using 1.1V
internal reference.
attiny25 compatible builds (everything els):
BLFA6_EMU-HD
Mimics BLFA6_emu code, but configurable with any bistro-HD features.
Target layout: BLFA6 2-channel FET+1, but doesn't fit on attiny13
Only for attiny25 and higher.
Limitations:
battcheck is "only" 8-bar version (by tradition), No OTSM in default
config (but can be for attiny25+)
Features:
Almost full bistro features: OTC, medium clicks, reverse, hidden, muggle,
moon. 8-bar battcheck. Temp calibration in attiny25+
HD Features:
Includes TURBO timeout/bump up (like original) in attiny13, or new thermal
step-down/bump-up in bigger attiny's.
Modegroups: Very simple, only 2 groups included, 7 modes and 4 modes.
Strobes and turbo are in hidden modes.
classic-HD
HD version of classic bistro
Target layout: BLFA6 2-channel FET+1, only for attiny25 and higher.
Limitations: No OTSM in default config (but can be)
Features:
Full-featured: OTC medium clicks, reverse, hidden, muggle,
moon. Volts+tenth battcheck.
HD Features:
Bistro-HD thermal step-down.
Modegroups: 10 modegroups, from 1 1o 6 modes, including strobe groups.
Strobes and turbo in hidden modes.
trippledown-HD
Essentially identical to classic but configured for a TA 3-channel
FET+7135s+7135 board. Uses original bistro tripple-down modes.
TAv1-OTC-HD
Essentially identical to classic but configured for a TA 3-channel
FET+7135s+7135 board, and TA's extended modegroups. v1 refers to version 1
of the TA boards.
Modegroups:
Includes TA's v1.3 modegroups, 26 modes in all including a two
added by me (HD has room for more)
See Tav1.3+ modegroup listing in Apendix below.
HD Features: As all before uses new thermal control.
Benefits from added space to get a couple of new modes.
TAv1-OTSM-HD
The flagship build. OTSM Uses large cap to run timer during power-off,
creating reliable, stable click-timing.
Target layout: TAv1 tripple with OTSM components (see details in manual),
1S only for this build.
Otherwise the same as TAv1-OTC, but uses "internal" (inverted) Vcc voltage
reads. This generally does not require calibration to be pretty close to
right.
HD Features: OTSM, Vcc read, HD thermal control
TAv1-OTSM-LDO-HD
Same as TAv1-OTSM-HD, but uses vcc-referenced divider reads needed for OTSM
in builds >1S. Works on LDO or zener builds if appropriate diode (or high
quality LDO) is used.
HD Features: OTSM, vcc-referenced divider reads, HD thermal control.
highly experimental builds
e-switch-noinit-HD:
This is an experimental build for e-switch support.
Layout: TAv1, 1-S or LDO, no OTC, standard TA divider
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, HD thermal control.
Note: almost completely untested
dual-switch-OTSM-HD:
This is an experimental build for dual switch, e-switch plus click switch,
with OTSM timing for the click switch.
Layout: TAv1, 1-S only version, OTSM parts, no OTC
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, HD thermal control,
adds dual-switch-noinit: Enables noinit timing control on clicky switch in
a dual-switch light.
Note: completely untested, Use the highest reccomended OTSM divider resistors
(or try a bit higher) to reduce drain during e-switch off. With 4kOhms ,drain
will be around 1mA which is about 120 days of power from a 3Ahr battery, but
voltage drops continuously over that time. Power it off with the
click switch when shelving it.
dual-switch-noinit-HD:
This is an experimental build for dual switch, e-switch plus click switch,
with no timing cap on the click switch.
Layout: TAv1, 1-S or LDO, no OTC, standard C2 is fine (not OTSM), standard TA divider
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, HD thermal control,
adds dual-switch-noinit: Enables noinit timing control on clicky switch in
a dual-switch light.
Note: completely untested
dual-switch-dumbclick-HD:
This is an experimental build for dual switch, e-switch plus click switch,
where click-switch does nothing (no mode change), light comes back on as it
was, like a long press with mode memory. Especially useful if e-switch is
set to not use mode memory, best of both. Requested by Lexel.
Layout: TAv1, 1-S or LDO, no OTC, standard C2 is fine (not OTSM)
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, HD thermal control,
adds dual-switch-dumbclick: Overrides all mode changes if click switch is
press--> just turns light off, and back on as it was.
Note: completely untested
dual-switch-turboclick-HD:
This is an experimental build for dual switch, e-switch plus click switch,
where click-switch always goes to TURBO
Layout: TAv1, 1-S or LDO, no OTC, standard C2 is fine (not OTSM)
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, HD thermal control,
adds DUAL_SWITCH_TURBOCLICK: click switch always goes to first hidden mode
(TURBO in this case).
Note: completely untested. Likely non-sensical, eswitch needs low leakage
but OTSM needs fast leakage, probably 1mA anyway.
4-channel-dual-switch
This is an experimental build for dual switch, and 4 pwm channels
Really it's just a rediculous concept demonstration config to prove how much stuff
can compile and still fit in an attiny25. The concept was actually tested a
little at some point though, with 4-channels certainly working, but calling it
experimental is an understatement.
Layout: quadrupledown, 1-S only, OTSM cap and parts,
4th PWM channel on OTC pin. E-switch and click switch both detected
on voltage pin.
Features: standard bistro with TAv1.3+ modegroups
HD features: Eswitch, OTSM, 4th-channel PWM, internal Vcc read, HD thermal control
Modegroups: Presently it's actually just setup with the 3-channel modegroups of
TAv1.3+, so it's not really even using PWM4. It would need customization.
Note: almost completely untested, would need a separate build for LDO version
(because it uses OTSM).