[Sold] 4. Batch "TA" Bistro/Bistro HD OTSM/Narsil drivers, 46mm for Q8 1S or 2S, Clicky or E-switch, SIR404

It can be done with 2 Channels but I didnt test it, the bank of AMCs is nice in middle brightness

I do like the three channels but are they not prone to breaking with 2s input? I can go with three channel since it is tested.

Del had 2 capacitors added for protection
Only that 27000lumens light with the Infineon FET killed the AMCs, while it worked with SIR404 that I use as well

The claw AMCs take it well so far, the voltage is not the poblem its when the FET comes to play

Ok sounds good then :slight_smile:

I will order one 46mm 2s driver for MT03
NarsilM LDO 65°C, SD=6v, PO=(2B)

old quote, but FYI the latest Q8 e-switch build maps the TA modegroups onto a FET+1 driver. It's e-switch, it applies an indicator voltage on pin 3, and the modegroup ramps are matched up (matching transition from 7135 to FET) ideally for a driver that outputs 16A, That last part is always an issue though unless ramps are customized for a particular light, but it's not a big deal, just affects mode spacing a little in the middle modes.

Anyway, I can easily configure a build for FET+1 clicky switch, either with or without OTSM, that uses TA tripple modegroups. This requires no real programming change, just customizing the configs before compiling. If there is demand for it, let me know. This kind of configuration doesn't have to be done by me either. HD is designed to be reconfigured in these ways, but I wouldn't expect lexel to do it unless he just wants too, it's certainly extra work for mass distribution and he's selling these real cheap. Sometimes I might do it, and of course enthusiasts can do it themselves and re-flash.

Oh, yes, the reason I was trolling this thread is because of that Q8 firmware. It's a stock Q8 firmware, not a TA Q8 firmware. I think the bistro-eswitch-HD-TA should probably work on the TA Q8 board, but I'll review it. I assume the TA Q8 board doesn't use an indicator led (no pins left)? Now that I look at it again, it should work fine on the 2S/4S board too.

for new orders please refer to the 5. batch here [Finished] 5. Batch "TA" Bistro HD OTSM/Narsil drivers, 15-47.5mm size fit H03, MF01, MT03, Q8 1S or 2S, Clicky or E-switch

I hope the other AMC7135 suppliers claw type work as well as the old supplier ones
When they do I do another big order of parts from Digikey and Mouser

for discussions use this topic

Any update on the MF-01 boards, Lexel? Are you still waiting for Oshpark?

They are shipped, but it takes some time

Hi, I have Bistro HD OTSM and trying to install lighted tailcap in S41 with stock tailcap board. I’m adding resistors in the tailcap with LED. The problem is: if resistor value is to high (>220), green led does not work; if resistor value is around 220 and lower, green diode is working but I cannot change modes.

This sounds not right

Usually those green LEDs work with 20-50k Ohm resistors
Did you add a bleeder resistor on the OTSM pad near the single AMC7135?

Hm, that might be the reason :wink: What value should have bleeder? Could you mark the place where it should be soldered?

Edit:

found it, marked BR: . Is it correct? According to this thread, 470-630ohm. Is better to have it larger or smaller?

I would go towards >1-2kOhm as the bleeder resistor value,
because it increases current when the light is on the moonlight current, this would be more than MCU plus main LED with 600 ohms

In tail you need resistors to even out the LED voltages with 2.2-30k depending which brightness you need

Well, it looks like I better get around to writing that taillight chapter

This could be tricky. No time right now, but I'll look at it soon. Basically though, raising the bleeder resistor goes the wrong way. The bleeder is parallel to R1 and R2, and is actually redundant with R1 and R2. It only serves to lower their value. Those three resistors together form one effective resistor Reff from the top of C1 (basically the battery +) to the case. Reff is in series with the LED resistance. Reff and Rled form a voltage divider (only sort of being that the LED itself is non-linear). Ok, the goal is to get the voltage across Reff low. It must be low for the mcu to detect power off and start timing the click.

To get the voltage across Reff low, you need Reff relatively low compared to Rled. So yes a low value of Rled will break OTSM.

The possible solutions are to lower BR (if it's infinite now, then yes that means add some resistor) or to use lower resistors for R1 and R2.

Using a 1K will reduce the Reff by about 3 or 4, and it might work. I'd probably try without with 500 though, and either way try to get that LED resistance back up some as well at the same time.

I've been meaning to try to calculate something for this, but in the end, trying is a good way, especially when led's are involved.

Basically the voltage divider R1 and R2 wont change the voltage when the the switch is shut down, as they still got the same ground as the C2 and MCU
They discharge the C2 when the the switch is off, so the MCU voltage drops while the reference keeps the same

Or am I wrong?

while the BR LED resistor and tail LEDs have still the battery ground, which is separated from the C2 and MCU ground
This should not affect the MCU at all

Yes, you're wrong. Sorry, that didn't mean to sound blunt, but you asked. Without a tail light, the current through R1/R2 goes to zero so V=IR goes to zero, ie the cap fully discharges. This creates a poweroff detection

With a tail circuit, there is current through both BR and R1/R2 and V=IR is NOT zero. It's higher than zero. So there's a voltage across R2. If that voltage is too high, OTSM doesn't work. In fact it always means voltage will drop at a slower rate and OTSM won't trigger quite as fast, but that shouldn't be a big deal so long as it gets low enough pretty fast.

This wouldn't work at all if not for the fact that the diode itself has what, 2.1V. So for a full battery the total voltage across all other resistors when off is only 4.1-2.1 = 2.0V. That helps. We only need to get to, er, about let's say 0.8V. (technially 0.3*Vcc, but Vcc has also dropped a little by then, and you want to dive below spec a bit to get there faster, 0.8 is a good ballpark for a full battery.

So you can actually calculate all this, but it's tricky because of the non-linear diode. If you just assume a fixed diode Vf then it gets easier, but you probably want to target a certain diode current to get that. Then use Vbatt-Vf as the voltage over the resistor network, then work out the current in Rled, then iterate, or course use algebra, which I've been meaning to do. If someone can toss out a good number for a target Vf and diode current that match, it will help me make a start on that algebra.

There's a reason I never wrote this chapter. It requires extra thinking.

Anyway, the simple version is you need either lower BR or lower R1/R2 or both and/or the LED resistor higher. If he was close before, then just trying something significantly lower should be good. And adding a 1k BR does at least significantly lower the C1 parallel resistance.

I have to say though, I was a little surprised that a higher LED resistor won't light the LED, even without a bleeder. I call for what about 4K of R1+R2 resistance?

So a 1K LED resistor would make 5K total in series. Ok, so at the lowest Vbat, let's just say 2.7, there's 0.6V left between batt and the diode. 0.6/5K is 120uA... enh, ok that's pushing at, with a low battery. With a 1K bleeder and 1K tail resistance, that's up close to 300uA , should be ok for lighting the LED.

For a high battery though, that puts the BR voltage drop at half the 2.0V total, so 1.0V (just a bit less when correcting for the R1+R2 contribution). R2 brings that down another 30% so right about 0.7V on R2. It should work... probably.

Bottom line: Ok, so try a 1k series LED resistor and a 1k BR. See what happens. Test with full and empty battery. If it works, I won't need a chapter after all, just the components.

order arrived,already install in courui ,thanks.

Usually people use Tail LED resistors between 4.7 and 15k per LED
You claim that for example a 10k Bleeder resistor would kill the Timing totally, which makes electrically no sense at all

I am an electritian and do not see what a 100-300uA through a not common ground parallel wired should affect the MCU and R1+R2 at all

As soom as you half press the switch you separate the C2 voltage on the ground by the switch and Batt+ with the diode, so it becomes a separate voltage source like a second battery
R1 and R2 wont conduct any current through the bleeder and tail LEDs as there is no electrical path or potential difference

LED high-current circuit not shown.

             Batt+  Batt-
             |--|  |-----|
             |           |----*<--Rled---|  (tail cap LED,shorted by switch)
             |           |---------/ ----|  (tail cap switch)     
             |                           |
             |                           |
             |---------BR----------------|  (case ground plane, not equal to 
             |                           |       batt- when tail cap led is on)
             R5                          |
             |              C1           |
             |---------------||----------|
             |                           |
             |-------R1----------R2------|
             |             |             |
             |          Vsense pin       |
            LDO----                      | 
                  |                      |
      (Schottky)  V                      | 
                  |                      |
                  |                      |
                  |----------mcu---------|
                  |--------<(zener)------|
             Vcc  |----------||----------|       
                             C2

(Generally either the LDO or the zener or neither will exist but not both at once.)

or for reference, it can be found here: https://budgetlightforum.com/t/-/44344#TAcircuit

But I added the Rled in the version above, in the way I >>believe<< it's wired (pretty sure, but never saw one).

Separated? The only way Bat+ is getting to Rled is through BR and in parallel also through R1/R2. That's current, through the divider resistors. Current on a resistor = voltage. (also through R5, but that's tiny) Yes, the mcu itself is on a completely isolated circuit. The mcu power circuit, once the switch is off has nothing to do with the BR-R1-R2-Rled circuit. The voltage for shutdown detection is not the C2 voltage, it's the C1 voltage, but more specifically the C1 voltage divided through R1 and R2.

image got broken, trying to fix it again.