I read that you can’t flash the ATtiny13A chip while it’s on the Nanjg driver board if the driver board has been zener modded. I can’t really get my head around why. Is the zener diod forcing the signal from the programmer clip away from the chip?
Is it enough to remove the zener diod in order to flash the chip, or do I have to remove the other added components also?
All the ones I've done flash fine fully assembled. Even reflashing one that's still got the LED wires connected. Apparently the 200 ohm resistor is enough to allow flashing, drivers where the diode is replaced by a straight jumper are the ones that won't flash.
May I ask if you have flashed with zener mod with the zener diod on top of the resistor (parallel), or in line (serial) with the resistor? Perhaps it makes no difference?
Thanks. If I can’t flash as comfy has done, at least all I have to remove is the zener.
The zener diode is always in parallel with the capacitor on these drivers; I've never run it in series. This is because the zener diode is run reverse biased here so that it will only conduct current when it reaches its avalanche/breakdown voltage of 4.3v, where it starts to burn off the extra voltage.
Richard, I think it was your post in this thread that got me off track: Modding Qlite 7135 to Drive MT-G2?
The first photo you posted has the description “Here you can see the small diode on top of the resistor:”. It’s in fact on top of a capacitor.
On the Oshpark 20 mm Zener Mod driver by Mattaus ( OSH Park ~) the zener appears to be in serial with the capacitor. Also the zener diode slot is larger than the capacitor. Why would one choose this design over the “traditional” zener mod with a smaller diode in parallel with the capacitor?
There is no way the zener will do its job if it is in series with the capacitor. The capacitor also won't be able to do its job. They both require a connection to the trace that goes to MCU pin 8 on one end, and ground on the other.
Zener goes from pin 8 to ground. Capacitor also goes from pin 8 to ground.
Aha… smacking my self in the head. That is indeed a parallel connection… I guess I’m not really cut out for this stuff… Oh well, glad people here are so friendly in helping out.
Neither have to be removed. Only reason to do so would be if it physically blocks the clip. They flash fine.
I've done it several times. Fully assembled light, driver zener-modded and with off-time cap, remove driver from pill/head with LED wires still attached, flash, reinstall driver.
If there is no diode at D1, if it's bypassed with a jumper, then you cannot reflash unless you un-bypass it. The programmer tries to power the LED since there's nothing between pin 8 and B+, and B+ is the same as LED+. The ~200 ohm resistor used in place of the diode on a zener-modded driver is enough resistance that it won't screw up the programming.
Have you already tried to flash one and had problems?
Thanks for the info. I haven’t tried yet, but I will try it on one of my drivers from RMM with an off time cap: http://www.mtnelectronics.com/opencart/index.php?route=product/product&path=67&product_id=53
In the description he has written “You will lose reverse polarity protection, low voltage warning, and the ability to reprogram the MCU.” This kind of stuck, so I wanted to find out why the ability to reprogram is lost.
All I know is that I've never been able to get one to flash with the zener diode and 200 ohm resistor installed. I can flash it with the zener removed and 200 ohm in place, but not with the zener in place. I think that the zener basically short circuits the power to the MCU across the capacitor.
Richard, you might want to test again. I just pulled out one of the zener modded drivers (also with off time capacitor) I ordered from you and I could both read and re-flash it. The MT-G2 LED was disconnected if that makes a difference.
I don’t know if this has anything to do with it, but I’ve read about different voltage settings on the USB programmer. I have not had to touch mine, but as a zener is voltage related, the voltage setting on the USB programmer might have an impact.
My programmer would not work on any driver or even a bare attiny with the jumper set to 3.3v, even though others here say they use 3.3v but occasionally have issues. I have always used the 5v setting.