Results 1 to 8 of 8

Thread: New Beta Code - renard-20070811.asm

  1. #1
    Join Date
    May 2007
    Posts
    5,341
    Post Thanks / Like

    Default New Beta Code - renard-20070811.asm

    Here is a new version of the code. In addition to some re-organization of the ISR code, it has modest support for zero-crossing SSRs added to the PWM version (regular and DC versions should behave the same as they do now). The change in behavior affects only the PWM code with a brightness level of 255 - the new version will drive the SSR continuously, even through the zero-crossing time, so that zero-crossing SSRs can be turned on. In all other cases the PIC outputs are turned off around the zero-crossing, to prevent some twinkling that xmus noticed under light loads.

    --

    Phil
    Attached Files Attached Files

  2. #2
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861
    Post Thanks / Like

    Default

    Hi Phil,

    I will be evaluating this code with the XMUS board this week.

    I need to program some PIC's for some folks next week, so I'm trying to get re-oriented with the status of the FW.

    I'm trying to determine if this code has the "user friendly" changes you did a few months back for:
    1) "user friendly" Internal/external OSC selection
    2) "user friendly" baud rate selection
    3) "lockout" (Is it even necessary these days?)

    It sounds like this new code has both PWM and "traditional" signaling options in it? Is that true? In the past I tried to stay away from the PWM code because it used a lot more power...

    Thanks,
    Dave

  3. #3
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861
    Post Thanks / Like

    Default

    Quote Originally Posted by xmus
    1) "user friendly" Internal/external OSC selection
    2) "user friendly" baud rate selection
    3) "lockout" (Is it even necessary these days?)
    4) It sounds like this new code has both PWM and "traditional" signaling options in it?
    Looks like YES YES YES and YES respectively.
    Nice work Phil.

    And your default is external oscillator at 57600 and PWM=OFF.

    I will ship programmed pic's with your defaults unless there is push-back for some reason from you or others:

    One noted issue with this code:

    With a single C7 load, when going 100% on for 1 second, follwed by 100% off for 1 second, the single C7 bulbs glow slightly. Heavily loaded channels look perfect.

    A very slow ramp from 0% to 100% and then 100% to 0% appears to work perfectly, in this case the single C7's do not twinkle inappropriately.

    It is almost 2AM on a "school night" so I'm off to bed, i imagine we just need to tweak CTR_LOCKOUT 15 to a higher value? 20? 25?

    No other issues noted, code looks GREAT and comments are fantastic as well.

    Thanks Phil,
    Dave

  4. #4
    Join Date
    May 2007
    Posts
    5,341
    Post Thanks / Like

    Default

    I tried this same test just now with some 4W nightlight bulbs, and they turned on and off without any residual glow (using Renard8 and coop SSRs). I'll try it with the xmus board a little later today.

    Is there any chance that you have set the 'minimum' value in Vixen to some number greater than zero?

    --

    Phil

  5. #5
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861
    Post Thanks / Like

    Default

    I fired up Vixen to double check, MinimumLevel=0.

    I've attached the sequence:
    Attached Files Attached Files

  6. #6
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861
    Post Thanks / Like

    Default

    I stand corrected. I manually viewed the VIX file attached with VI, and minimumLevel=15 even though the GUI says 0.

    Problem solved?

  7. #7
    Join Date
    May 2007
    Posts
    5,341
    Post Thanks / Like

    Default

    Seems to be. I've checked the xmus board that I have with that firmware and 4W bulbs, and it seems to be working fine.

    --

    Phil

  8. #8
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    861
    Post Thanks / Like

    Default

    Phil,

    I agree, your FW is working perfectly. A++ work as usual!

    FYI: http://www.doityourselfchristmas.com...hp?p=2919#2919

    Thanks,
    Dave

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •