Question on LampDim.BAS


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Question Progress........

    OK, I have now changed the code to work on 16F676. Code is attached.
    I have tried different values for triacdelay from 8000 & downwards as in lampdim.bas to as high as 15000 & downwards, but I am not getting satisfactory results for my fan speed.
    It woks fine at full speed but when values start reducing, the fan speed reduces quiet a lot at the first step only. Any ideas as to what values I should try with?
    Attached Files Attached Files
    ___________________
    WHY things get boring when they work just fine?

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by financecatalyst View Post
    Any ideas as to what values I should try with?
    Hi,

    IF my old memory is right ... your motor is not one of the so called " universal " type ... AND modifying its speed is not so simple as for your electric drill ...

    as speed is based upon the mains FREQUENCY ...

    BTW ... This:
    2) Confirm if in Dimmers only Positive half is controlled (and WHY)?
    Shows you did not understand at all the way steve's DIMMER ( never been a motor speed controller !!! ) works ...

    Alain
    Last edited by Acetronics2; - 7th August 2010 at 18:08.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi,

    IF my old memory is right ... your motor is not one of the so called " universal " type ... AND modifying its speed is not so simple as for your electric drill ...

    as speed is based upon the mains FREQUENCY ...

    BTW ... This:


    Shows you did not understand at all the way steve's DIMMER ( never been a motor speed controller !!! ) works ...

    Alain
    It does say it can be used for motors in the code lampdim.bas
    Also, I am not using this code for previous motor control project, it is just for controlling speed of my ceiling fan, not any stepper motor or anything like that.

    I am trying to understand how fan/light Dimmers work & what is the benefit and use of half wave & full wave. Which one can be used for inductive load & which is better for resistive load?
    ___________________
    WHY things get boring when they work just fine?

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by financecatalyst View Post
    It does say it can be used for motors in the code lampdim.bas
    Also, I am not using this code for previous motor control project, it is just for controlling speed of my ceiling fan, not any stepper motor or anything like that.

    ?
    Soooo ... if you already know the things ... why do you ask such questions and why doesn't it want to work properly.

    excuse me if I have disturbed you ...

    *** smiles ***

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Soooo ... if you already know the things ... why do you ask such questions and why doesn't it want to work properly.

    excuse me if I have disturbed you ...

    *** smiles ***

    Alain
    A little explanation would have been more appreciated than this. I said it because I read it in the lampdim.bas " ' This program is use to dim intensity of an AC line load
    ' like lamp, motor and other. Developped for 60 Hz line."
    ___________________
    WHY things get boring when they work just fine?

  6. #6


    Did you find this post helpful? Yes | No

    Default

    hey finance, have a look here:
    http://www.picbasic.co.uk/forum/show...t=2674&p=92337

    Read this thread from start and you may get more idea.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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