Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/23/09 11:23
Modified:
  11/23/09 11:41

Read: times


 
#171060 - We have not seen the schematics
Responding to: ???'s previous message
but if START=0 and STOP=1 are in some way related to triac“s gate (and you are using inverted logic), there is a mistake. Triac is triggered and keep fired until Iak falls below some charasteristic value. It means that, for minimum bright, you have to fired the triac NEAR the next zero-crossing. And, for maximum power, you have to trigger it inmediately after one zero-crossing.

And the above is not what your software is done.

Trigger pulse width can be quite short, deppending on triac. It is only to turn it on; it will turn off when current drops bellow sustain value.

Daniel

PD: what is msec_wait(9)? May be this external function changes interrupt states? For testing purposes simply complement LED outputs in ex0_irs. And may be your circuit is not firing correctly P3.2...

List of 15 messages in thread
TopicAuthorDate
Intensity control            01/01/70 00:00      
   show some CODE            01/01/70 00:00      
      Dear Erik            01/01/70 00:00      
         where are the comments?            01/01/70 00:00      
         We can't read your mind            01/01/70 00:00      
            Erik & Richard            01/01/70 00:00      
               What prevents you from putting in the required comments?            01/01/70 00:00      
               While putting in comments i saw one error            01/01/70 00:00      
   Hmmmm...            01/01/70 00:00      
      Jitter            01/01/70 00:00      
         still no luck            01/01/70 00:00      
            We have not seen the schematics            01/01/70 00:00      
               Its working            01/01/70 00:00      
   Another Program to test my interrupt !!            01/01/70 00:00      
   Code legibility            01/01/70 00:00      

Back to Subject List