Not really sure what the problem is - but I do know what the effect is! If that even makes sense in this crazy world of electronics and blinky flashy.
Here's the deal - I'm having a hard time with LEDs running off my Grinch/Ren-c. When running LEDs from the Grinch, either directly or with a DC SSR, they are nice and bright. Add the Ren-c and they're about half the brightness maybe even less.
So what's the problem? Everything works on it's own - like the Grinch and DC SSR works together, Grinch/Ren-C works with SSR & incandescent lights, LEDs light work without being connected to any board. So I don't know if the problem is 1 or 2 or all of the boards, or if they're not meant to work like this . . .etc.
Interestingly I've got LEDs to work with SSR OZs - ones that are set up to work off AC. The LEDs I'd like to run off the DC SSRs are running off DC out of the box/Portaflood LED lights. I thought it would be easier to run them as they are without having to worry about rectifying them.
Have had a little chat with TimW about it, but thought I would also just chuck the question out there in case someone else has something to add (don't want to burden poor Tim with this!).
So there it is, any thoughts?
Ok - no real progress with this. But Tim and I have been chatting backwards and forwards over the weekend.
A bit of background, here's what Tim got me to test first:
check all the following with no power applied
1) on the renc check pin 6 of U6 (the sn74Hc02) (I think he meant U2)
with no power on it should read 10k ohms resistance between pin 6 and ground (pin 7)
2) Still with power off check that there is no short between pins 5 and 6 of U6
3) Next, check that there is a connection 'continuity' between pin 3 of the mbi that is furthest away from the plugs on the grinch and pin 6 of the aforementioned U6 on renc
4) make sure there is no solder bridge from anywhere to pin 3 of the MBI that is furthest away from the plugs on the grinch
So everything worked fine, i.e. the readings all match.
This then followed to questioning the ZC method. I've used the "haha method", that's a H11AA1 connected via pins 1 & 2 of JP3 (method 3 in the wiki). That's worked fine for anything connected via a SSR OZ (AC). Could it present a problem for anything connected with a DC SSR? I am yet to try bringing 9VDC through the connection (the Ren-T method), would that make a difference?
What firmware are you using? Is it the one off the wiki, or something else?
As for power, the Ren-c needs 5VDC, not 9V. There isn't any regulator on the board, so sending it 9V is very likely to damage the Ren-C (in addition to it not working).
Is there any chance that you are using the wrong chip for the H11AA1 (such as a 4N35 or 4N37 or H11A1)? Is it possible that someone slipped you an H11A1 (with one A) in place of an H11AA1?
I think we're talking about ZC from rectified 9vAC(not powering the board differently) ?- if you do that TP don't forget to put that inverting transistor and resistor back in....
Phil is it worthwhile removing the ZC from the equation by applying the hardware mod with the current firmware?
From firmware- ;; 20070823 Added firmware control for clearing the s/r when in PWM mode.
;; This change requires a h/w change to the board - disconnect the ZC
;; signal from pin 2 of the HC02, and connect pin 2 of the HC02 to pins
;; 11,12 of the PIC.
Where else can we look? The ZC and PWM cct seem to be the obvious places. (particularly as it seems to work ok as an AC dimmer?) . But if the problem is the width of the ZC pulse wouldn't it effectively break (or reduce the range) of AC dimming as well?
Ahh Tim, you always have the right words to say . . . I'm no good with this electronic mumbo jumbo. 😀
It's a H11AA1 - and I just checked now to make sure I wasn't making an ass of myself (easily done). Firmware is from the wiki. It works fine (perfectly in fact) when it's controlling AC - it's just when you use DC the LEDs are dim, take away the Ren-C and they're fine on the Grinch.
I never asked Tim - are you having this problem too? Or are you just going from my original question?
I'm confused now - what is being used for the zc circuit? Is it the H11AA1, the rectified 9VAC, some combination of the two, or something else altogether?
Tim, I'm not sure that applying the hardware change mentioned in the firmware is going to be worth the risk and effort. Although if it was successfully accomplished then I could come up with a new DC-only firmware that doesn't need the external ZC source at all. For now, though, I would prefer incremental debugging of toodle's current setup until the problem is understood.
Toodle - what happens now if you have some number of channels set up for DC simultaneously with one or more SSROZ boards used for whatever lights you normally test with?
Sorry for the confusion - we have been going round in circles on this for a few days..I'm not helping much I'm afraid... some new perspective would be much appreciated!
As I understand it (correct me if wrong TP) Currently its a H11AA1 applied directly. No pullup (other than the the 27k already in circuit). The inverting transistor used for the (Ren-T) configuration has been removed. We have tested continuity of the return signal path to the PWM circuit (but not the signal integrity obviously)
toodle_pipsky wrote:
This then followed to questioning the ZC method. I've used the "haha method", that's a H11AA1 connected via pins 1 & 2 of JP3 (method 3 in the wiki).
What voltage are you using for the the ZC and what value resistors are connected on the input to the H11AA1?
I have a theory but want to do some tests before I say anything but I need your setup info.
Excellent and thanks guys!
24VAC in (just a left over wall transformer from a set of lights- let me know if you need anything else about it), 3K resistors.
You got it in 1 Tim, thanks for adding the technical stuff. Sorry for the confusion!
Toodle_P,
Measure the actual voltage of that wall-wart when it is powering the ZC circuit. Is it still 24VAC or somewhere close?
Also actually measure the resistance of those resistors.
IF they are what you expect then as an experiment try replacing the resistors with a smaller value (maybe 2K) and see if it improves the brightness. I haven't done the math so I don't know how low you can go before causing problems to the H11AA1.
The crazy RavingLunatic theory of the day:
The pulse width of the ZC signal is much larger than it needs to be and is causing the firmware to keep things off while in ZC. (This is in reference to this particular situation not for all situtations)
Why doesn't it affect AC SSRs? Well if my reading of the firmware if close to correct, the firmware looks for 8 ZC detections in a row then it starts the dimming cycle. That would be all it would take to send the ON signal to the SSR and latch the triac. Once the firmware returns to check the ZC state and sees it is still ZC then it trys to keep everything off but its too late, you can't unlatch the triacs.
For DC, after the 8 ZC detections it starts the dimming cycle and sends out the ON signals. But once the firmware goes and sees the ZC again it shuts everything off again. And since this happens so quickly you don't see anything til the ZC signal goes away.
Now Phil might blow this theory right out of the water by saying the firmware doesn't actually work that way but I have found if you increase the pulse width of the ZC you will cause a dimming effect like Toodle_P is seeing. The pulse width can be increased by increasing the value of the resistors (and/or probably dropping the source voltage).
