I recommend considering this FET+1 driver instead of the one discussed in this thread. This driver functions fine, but requires many important firmware and flashing considerations. All versions of the driver in this thread requires extra special firmwares, NOT a plain version of STAR or a DrJones firmware. The original version and most other versions of the driver in this thread area also one-time-flash drivers for most users: without high-voltage programming equipment it's not possible to reflash them! Reading through the thread should answer any questions you have relating to this subject. This thread's driver offers relatively limited benefits over the newer FET+1 driver discussed in this other thread of mine: |
OK guys, here's a good reason to curse my name. I present... a driver which you cannot physically assemble and which has no firmware available:
- This is a combination 6*7135 and FET driver. On top you have the ATtiny13A, all support components, and the FET. On the bottom you have 7135 chips.
- This driver will accept either an LFPAK56 FET or a DPAK (TO-252) FET.
- I used Eagle's normal [giant] 0805 pads, so there is actually a lot more space than there looks like. A 0805 resistor is less than 2/3 as long as the overall length of the pads. Much closer to 1/2 the length actually.
- I just couldn't quite squeeze in a Zener diode. I did leave enough space to replace D1 with a resistor, so stacking the Zener diode on C1 is still possible I guess.
- Components have names following the convention Mattaus established with BLF17DD.
- The voltage divider for LVP bypasses D1, so new values are required. Stock Nanjg 105c values will not give correct results for low voltage protection.
- I maintained 0.5mm of keepout around the edges on both sides of the board.
- This driver will require a special firmware. It uses 4 pins on the ATtiny13A to control these things separately:
A. 1*7135
B. 2*7135
C. 3*7135
D. the FET - This driver will be very difficult to assemble.
- Moonlight (unregulated w/ PWM on FET)
- 1*7135
- 2*7135
- 3*7135
- 3+1*7135
- 3+2*7135
- 3+2+1*7135 (6 total)
- Turbo (FET 100% duty cycle [wide open])
Shoutout to Chloe for her post #14 in this thread explaining how to set images to 100% in the Advanced Post Editor.
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
Awesome!
(nice work)
BLF LED database – collaboration spreadsheet and latest news about where to buy LEDs
http://budgetlightforum.com/node/19342
Make two versions, one for the LFPAK56 FET and one for the DPAK (TO-252) FET
Is the center battery contact 5mm?
It uses the 3 output pins for the controlling of the 7135’s and/or FET correct
Use 0603 footprints, 0805 components will fit on those pads, think of them as high density 0805 architecture (but you probably already knew that)
Very very very interesting design idea for sure!
That’s a WHOLE lotta stuff going on in 17mm
You certainly know how to attract
fliesmodders. I like this idea, the benefits of regulated output plus the overdrive of FET DD. Now you just need some programmer honey.Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
With something like this…I think it’s time we try (as a community) to utilize the ATtiny25..double the coding space
Texaspyro will frag your A$$ for running the signal trace under the AMC chips. Is it possible to shrink the center pad to allow the trace to run inside the chips?
Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
Not if you want to solder a spring to it…it looks like a full 5mm pad that has some solder stop over it..any smaller and good luck even soldering a flipped over spring to it, 5mm is teeny tiny
Eliminate the solder stop. For that matter, eliminate the center pin pad or shorten it.
Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
Also noteworthy:
The LED- via is 1.1mm. The BAT+ via is 1.5mm.
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
Might help the – via by putting some top copper at angles to the FET pad just to smooth out the bump so to speak, and provide a little more copper for current flow
Quite an interesting design
I can see advantages to both ideas. You have a point about versatility with the current superimposed FET layouts wight but an lfpak56 only design would give the board a bunch of extra space on the mcu side. I love a challenge so bring it on.
Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
I took RBD’s suggestion and deleted the middle pin on the 7135’s. (and I cleaned up the traces on the bottom) Remember, the pins are still there just with no exposed copper under them.
WarHawk-AVG – I doubt that current handling will change but I will add copper around the via as an aesthetic touch.
Good point about freeing up space RBD.
Here is the updated board:
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
I knew I forgot to mention something.
I moved the solo 7135 onto PB0. The firmware should be able to put PWM on either the FET or the single 7135. With a single 7135 you can probably get moonlight low enough and still be regulated… I’m too lazy to try it.
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
It seems almost certain that a driver with one chip with a low pwm input will be capable of a lower moon mode than a driver with 8 chips at the same value. This made me think of WarHawks test board for 7135’s. By hooking that board up to a driver set to moon mode it should be possible to test various 7135’s to sort them by their low level output. They’re fixed and pretty uniform at full but not nearly as uniform at low levels. Now I have to find that thread again. Where is it? I saw it under the chair a minute ago.
Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
So is this driver actually on the card of becoming a reality?
Current Collection:
BLF: BLF-GT90, BLF-GT70 (CW Sliced), BLF GTmini, BLF-LT1;
BTU: Shocker (3 x SST-40 @ 8A);
Solarforce: L2P (XM-L2 U3 @ 4A), MPP-1 (XP-L HI @ 6A), MPP-3 (3 x XM-L2 U2 @ 12A), M6 (Nichia 319A @ 6A), M8 (XHP-50.2 @ 9A), 9x (9 x XM-L2 U2 @ 2A);
Coming Soon: Lumintop: BLF-GT4;
Wow, I also have thought about adding one or two 7135 to a FET driver but you squeezed 6 on it. AWESOME!
Just publishing the Ostpark link, that we can Order and start to adjust the firmware for that driver.
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
Any updates on this?
Current Collection:
BLF: BLF-GT90, BLF-GT70 (CW Sliced), BLF GTmini, BLF-LT1;
BTU: Shocker (3 x SST-40 @ 8A);
Solarforce: L2P (XM-L2 U3 @ 4A), MPP-1 (XP-L HI @ 6A), MPP-3 (3 x XM-L2 U2 @ 12A), M6 (Nichia 319A @ 6A), M8 (XHP-50.2 @ 9A), 9x (9 x XM-L2 U2 @ 2A);
Coming Soon: Lumintop: BLF-GT4;
Honestly with what you are wanting to do…wouldn’t a ATtiny25A work better…same as the ATtiny13A but with 2K of programming space
I still think 0603 pads and still use 0805 components would free up alot of space, either way still an awesome build
I started to do something productive (not related to firmware) earlier today and then caught myself and fired up Eagle instead ;-). I’ve decided that RBD is right, the DPAK sized FET is a waste of space. The board now requires a Power-SO8 (LFPAK) sized FET. This shouldn’t incur any cost or performance penalty, so “it’s all gravy” as they say.
I’ve implemented the [June/July 2014] anti-boost fix for the DD drivers (eg I moved the decoupling cap electrically to the other side of the diode). I removed the resistors previously present which were related to driving the FET properly, IIRC they aren’t necessary for this after moving the cap.
Between those two changes the top of the board is looking a lot less hateful for anyone who has to solder this by hand. I think it looks completely doable now.
As usual note that there is no firmware so this hardware is just for firmware developers and masochists.
Here it is on OSH Park: Firmware Developers Only – 17mm DD+7135 v012
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
Wight, does this use the normal attiny13a? If so, there has been firmware out for a little while that will do what you want it to do.
Mountain Electronics : batteries, Noctigon, and much more! What's new?
Interesting how the 7135 chips are addressable separately. That should greatly help improve efficiency on low/med modes. With an attiny13 though, only two can use PWM at a time and they share a counter. I’m guessing it would use PWM on the single 7135 (to cover all the low modes) and also on either the FET or the double 7135?
Although I think the desired behavior would probably fit into 1024 bytes, I don’t really see any reason to use an attiny13 on a custom driver instead of something with more space… attiny25 or 45 maybe? They don’t cost a lot more, and the extra room is always nice.
I suppose it wouldn’t be all that much beyond the existing alt-pwm driver code… one array for the pwm ceiling of each mode, one for the alt pwm ceiling, one for specifying which other channels should be on/off, maybe one to specify which pwm channel(s) should be used.
Wight is designing this board but as of yet there isn’t any code written specifically for it. It would be great if someone with consummate coding skill could step up here to help flesh this out. If there is similar code already available say for rgb drivers that might be adapted it might cut the task down a bit.
Three Tanna leaves to give him life, nine to give him movement. But what if he eats the whole bag?
Scott
Like I mentioned somewhere, I figure a 2D array representing each output from the ATtiny would work well. You could extend the array to cover PWM types as well. I could be wrong, I have no idea what impact on available resources an array like that would have… doesn’t seem like it would be that bad. That way you could say
(single7135, dual7135, triple7135, FET)
(1/255,0,0,0/255) – terrible moonlight
(100/255,0,0,0/255) – brighter moonlight, heh
(255/255,0,0,0/255) – 1*7135
(0/255,1,0,0/255) – 2*7135
(0/255,0,1,0/255) – 3*7135
(255/255,0,1,0/255) – 4*7135
(0/255,1,1,0/255) – 5*7135
(255/255,1,1,0/255) – 6*7135
(0/255,0,0,255/255) – FET Turbo
or anything along those lines you wanted. (I’m sure you understand this, but for the benefit of others reading… Nobody wants that many brightness levels in their regular mode group of course! You’d define the array accordingly with whatever modes you want, those are all examples.)
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
That’s more or less what I had in mind too. Except… 100/255 is a “moonlight” mode? On an XM-L2 with 1×7135 that’s like 80 lumens!
In any case, it doesn’t sound like it’d be particularly difficult to make the firmware for that type of driver.
I wonder if perhaps the 2×7135 circuit should have PWM instead of the 1×7135 circuit though… because otherwise you end up with a gap between 380mA and 760mA where no modes can exist, and another between 1520mA and 1900mA. The 2×7135 PWM option would make it gapless.
I missed the part where you were trying to individually address 7135s. I thought that you just needed 2 PWM outputs...that is possible.
Mountain Electronics : batteries, Noctigon, and much more! What's new?
Still fine, still on a break. One day I’ll catch up with you folks! previous wight catchup
list of my drivers & variants (A17DD, FET+1 stuff, WIP stuff, etc)
STAR has dual PWM out now.
Mountain Electronics : batteries, Noctigon, and much more! What's new?
What’s the purpose of that RMM? I’m workin on a new project (the dual head DX21 clone) [using a PIC 18F1824] with 4 PWM out’s (3 to the 2 emitters, one to a set of red/green battery indicator LED’s). For my purpose each emitter needs 1.5PWM lines (2 but using a series of BJT’s they can share one of them).
RIP SPC Joey Riley, KIA 11/24/14. Now I am become death, the destroyer of worlds.
The main purpose is being able to control a FET+7135 or a bank of 7135s then a single 7135 for a much lower and more stable moonlight--or any other combination imaginable. It is also great for the new 25mm MT-G2 Noctigon with the 4 small XQ-E pads. I am using the second output to power a 7135 slave board besides the main FET for the 4 XQ-Es.
Mountain Electronics : batteries, Noctigon, and much more! What's new?
Pages