Question about reflashing attiny13's and pwm/driver whine

I’ve ordered everything to flash MCU’s and should be ready to go next week. I have read where people had pwm/driver whine from nanjg 101’s. If I reflashed them as a single mode only or star programming, would this disappear? I found some for a good price, I just don’t want to order them if this will continue to be an issue. This is all new to me so bear with me as I jump head first into this. Also, what’s the best single mode programming to use.

If you use ‘fast’ pwm, you should avoid whine.

If you want single mode, with LVP/stepdown, it’s not as easy as you might first think, as a lower mode needs to exist to step down to…

I think TK has a single mode in her repository. If not, I can shoot you a single mode that I use for our inspection lights at work.

- edit -

Yep, Here’s TK’s single mode files. I’ll have to give it a try myself, as it has gradual rampdown, rather than a hard stepdown like I am using atm.

So the step down is when it hits it’s low voltage point right? I’ve always just thought of single mode as single mode but it makes sense that it’s actually two mode or more with the LVP. It just switches modes when conditions are met.

That’s right, & the point (voltage) at which it steps down can be altered in the code.

I usually flash, & bench test, & then tweak the LVP & re-flash if need be.

If you have not already, d/load some of the .c files & familiarize yourself with the code. Most of the parts you’ll want to tweak have comments to help you out.

You could always ask these sort of questions in the big firmware discussion thread, That’s what I usually do (and get good answers too). :slight_smile: With that said: I only know of attiny13a based drivers (ie 105d) beeing easy to flash so look out for those. All audible buzzing and basically all visible flicker will go away when using fast-pwm, no matter what output level. If you by single-mode mean full output you don’t use pwm at all so no buzz or flicker possible.

Thank for the info everybody