[UPDATE:v1.7.1,Q8&1chanOTSM]bistro-HD, bistro your way. OTSM, eswitch(devel), Vcc reads, safe_presses, turbo timeout...

I tried to flash the Bistro HD OTC from the supplied HEX files

medium presses dont work
when I flash TA Bistro it works

can someone send me a hex that work OK?

I have a bistro-HD driver for testing now. After building a light and running some tests, maybe I can merge the code into the repository.

That would be very nice. Thanks!

Can someone help me choose if there is an MCU on this list that will work with OTSM?

I think this is OK but I’m not sure. Can someone confirm that?
I can buy from this site locally so I hope one of them will be good.

I'm pretty sure the one you listed will work but it's listed as no stock which seems to be the case everywhere for the 25V. I've used the 45V but it's also not in stock on that site. This is in stock and should work.

IIRC only the 45V has been tested to work. The 25v doesn’t offer the feature needed and the 85v is iffy on weather you get one that works but I have never tried HD myself so talking second hand here.

Sorry for the delay. I’ve had some distractions lately…

Anyway, I have a bistro-HD driver with tiny25v 10ssu and it appears to work. There is nothing on the OTC pads, but it is still able to do short/med/long timings while disconnected from power.

I should know more details soon, but it does at least appear to work with attiny25v.

I got problems to get 2S working with Attiny25V

2S/3S/4S is always tricky on drivers created primarily for 1S. The MCU needs its VCC capped by a zener or LDO, the MCU needs to read voltage through a divider, the 7135 chip(s) tend not to work, LVP tends to be more temperamental, components need to be rated for higher voltage, capacitors tend to drain at a different rate, the battery is more sensitive to differences between cells, etc. The problems might not be specific to the MCU type.

Not sure if this is the right place to post this, but I think I’ve found a bug in the bistro-HD code.

In the classic configuration (OTC, no OTSM, no E-SWITCH) , it seems that the wake_count_med and wake_count_short variables are being set to their OTSM values (as defined by wake_time_short and wake_time_med) instead of their proper OTC values (as defined by CAP_MED and CAP_SHORT). It seems the proper undefs / redefs appear in the code in the wrong place and aren’t getting picked up correctly and should be put at the top along with the other defines.

The result of this bug is that in the OTC configuration it is nearly impossible to “medium press,” since short press is set to ~6 and medium press is set to ~9. Short press works ok but is very short as a result.

I’d be more than happy to submit a patch if you guys accept those?

Patches are awesome! If you have one, please send it. :smiley:

Also, thanks for the reminder. I think I forgot … again … to merge BistroHD into the main repository. I tested it on an OTSM driver KFulton sent me (thanks again for that!) and it worked, but then life happened and I don’t think I ever got back to it.

Edit: Bistro-HD is merged and uploaded to the trunk branch. If you don’t mind using Launchpad, merge proposals there are always welcome. Otherwise, I can also take pretty much any other type of patch.

I’m having trouble figuring out how to get Bazaar set up, so here’s a patch for bistro-HD.c instead.

Everything compiles that I’ve tested, but I can’t guarantee it doesn’t break other configs :P.

Google Drive Link

Hey folks, I feel a little bad abandoning this thread. It look like others have given it a little life, maybe even the originator of it all TK herself. I'll see if I can catch up soon.

I got one problem with 2S OTSM drivers with the 17mm TA board LDO I got it working
but with 22mm other LDO its not working at all

Cool, I'm a little surprised someone tried to get 2S working at all, I mean it should have worked though. I wrote up some details in the manual didn't I? It's actually been awhile since I thought about it, but I think it needs pretty tight tolerances on the resistors. Maybe tolerances and variation are the issue. I wouldn't think there is any difference in the 17mm and 22m. Do you know of any difference in the circuit for the two? Is it just the number of 7135's?

This is a good point for patching HD. You mean you tested compiling all the provided build configurations, just not with every conceivable config permutation? That's probably pretty good. It's good with changes to HD to run the full build process to see if everything still builds. If it does, it's some good assurance that the patch didn't break any of the config options permutations. This was a big part of the work in HD actually was cleaning up a bunch of older config options that had become incompatible and making them all compatible again.

Exactly right for OTSM. Somewhere I wrote the necessary versions, or you can find it in the attiny manual under BODS. In theory compatible versions exist for all three versions as I recall. In the real world, only the 45V's seem to be selling with the needed version level. You could call the 85v iffy, if by iffy you mean there are no known, to us, accounts of anyone ever receiving one of a late enough version to work. Presumably someday the early version stock will run out and that will change, but it could be years if ever. The 45V is the way to go for OTSM. (see next post)

You know I've confused myself on this now... been too long. I'm pretty sure my 25V did work. It's just the regular 25 that didn't. Yes, half the point of the HD was to get it to fit in a 25. I'm pretty sure this is right. You do have to check the revision letter on the back though to be sure. If it's a late enough revision, it will certainly work.

Edit, see post 69, yes I found the attiny25V's I ordered working, and I think even attiny25 non V's actually (it's coming back to me, an attiny25 non-V was my original test chip in fact where I first got BODS working, just dug the board out of the drawer to check) , although non-V isn't good for OTSM anyway.

So it's just the 85's that don't work. But do see post 69 for revision letters and be sure to check the revision code on your chip before wasting time soldering it.

As for stock, 25V's were listed on aliexpress last time I checked. Be sure to search for SSU to get the small footprint. It's not always very cheap to order just one there though.

Everything builds (at least all the default included configs) but I can’t test all the different builds.

Glad to see you’re back Flintrock. I’ve successfully built a couple 26mm TA LDO 3s OTSM and several 1s 17mm OTSM drivers. They all used the 25V and 45V. I have some 85v 10su (have not tried them yet) that came from arrow and mouser.