Is 100% really 100%...
 
Notifications
Clear all

Is 100% really 100% on?

12 Posts
2 Users
0 Reactions
6,715 Views
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

No, I don't have any plans now for modifying that code. It's pushing the limits of the PIC16F627, and isn't easy to work with.

If you are truly using DC hardware (i.e. a DC supply for the LEDs, no TRIAC-based SSRs involved), you might be able to get better results by decreasing the constant in line 172 down to a small number, like maybe 2 or 4.

--

Phil

Edit - from your sig I assume that you are in New Zealand. All of my testing has been done in 60 Hz locales, and it's possible that there are some bugs that may only manifest in 50 Hz locales. How long is the 'OFF' interval when the level is set to 100%?


Reply
nathank
Posts: 204
Topic starter
(@nathank)
Reputable Member
Joined: 19 years ago

Thanks for the tip, I'll give it a try.

I'm not using triac based SSRs, instead I'm driving grunty transistors for DC operation.

I'll post the results once I've given it a try. Thanks again.


Reply
nathank
Posts: 204
Topic starter
(@nathank)
Reputable Member
Joined: 19 years ago
P. Short wrote:Edit - from your sig I assume that you are in New Zealand. All of my testing has been done in 60 Hz locales, and it's possible that there are some bugs that may only manifest in 50 Hz locales. How long is the 'OFF' interval when the level is set to 100%?

To be honest with you Phil I'm not sure exactly how to read that on the oscilliscope (all the values and stuff are very confusing to me at the moment!) but I'll do my best to find out for you...


Reply
nathank
Posts: 204
Topic starter
(@nathank)
Reputable Member
Joined: 19 years ago

Hmm, I changed that value and re-flashed the PIC but it didn't appear to make any difference.

Can I ask what that value actually does?


Reply
Posts: 6728
(@p-short)
Illustrious Member
Joined: 20 years ago

It forces the output off for a number of slot-times near the end of the AC cycle, with the intention of preventing 'flashing' with LEDs or other low-current lights (with SSRs).

--

Phil


Reply
Page 2 / 3
Share: