Can Atiny13A control 7135s separately?

or at least two groups of them separately, i.e. one having only one 7135, while the others are in another group?

this way it would be possible to have more finely tuned and efficient moon mode.

http://www.atmel.com/Images/8126S.pdf

http://www.atmel.com/Images/doc8126.pdf

Apparently there’s lots of ground work already done on this, check the big STAR sticky and also here

Haven't heard anything about this project for awhile now. I don't recall the MCU being specifically mentioned and I don't have time to reread the thread. At the time, the Attiny13a was pretty much the default MCU.

great, so I can just wait :slight_smile:

I was also thinking that I could unsolder signal-in pin on one of the 7135s and unsolder a signal out pin on the MCU and connect them, and modify the firmware a bit so that 7135 is used only in moon mode and turbo mode.

on the other hand, my modes are 2.5mA 20mA 250mA 1A 2.8A, so I have 3 modes which can be produced using only one 7135, and therefore get better efficiency

very nice - pretty ambitious, but no info for many months now. It’s possible that the effort just outweighed the benefits :frowning:

Did that in my F6 driver (#181) to get lower lows; a single AMC7135 and seven in the second group; works fine.

Also did a hardware mod once to split the AMC7135s of a NANJG into 2 groups and made a firmware with 2 channels. Even made one with 4 channels once (that was quite some wiring...).

nice. Is there an available source for it ? I’d like to shorten the time it will take me to figure out how to send pwm to another pin.

As initialization use
TCCR0A=0b10100001; //A and B channels, phase-correct PWM
or
TCCR0A=0b10100011; //A and B channels, fast PWM

Then just use
OCR0B=xxx; //PWM channel B on pin 6 (standard)
OCR0A=yyy; //PWM channel A on pin 5

great, thanks!

Pin 3 can be used as an output also, but it can't do PWM like 5 & 6 - it's only on or off.

good to know

To follow up on this thread.

I am now using star_momentary firmware which already has dual PWM output features and controls them separately, to achieve the lowest possible moon mode, you can get it so low that it’s barely visible.

The great thing is this: it is possible to cut out/scrape out the trace leading from PIN6 to the 7135 closest to it / to the right of it (if you would be orienting the Attiny13A so that the pins 5-8 are pointing north), and solder the same trace to the pin 5. That way you have one 7135 connected to PIN5, and all the rest connected to PIN6, so you can make all the modes up to 350/380mA more efficient, and get lower moon mode.

Wight has done a lot of work using the Dual PWM built in to STAR. Look at these links: Link Link