WinPicProg Forums Forum Index WinPicProg Forums
A forum to support WinPicProg
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem in controlling the triac for lamp dimming

 
Post new topic   Reply to topic    WinPicProg Forums Forum Index -> Questions
View previous topic :: View next topic  
Author Message
keth



Joined: 25 Oct 2007
Posts: 2
Location: Philippines

PostPosted: Tue Oct 30, 2007 1:24 am    Post subject: problem in controlling the triac for lamp dimming Reply with quote

Hello Smile
i got a difficulty starting on the codes to control the triac for lamp dimming...the hardware was done and and all the pins were connected (gpo0=triac, gp4=sync, gp5=switch)...the output is ok only that i could not start to dim...
any suggestions?!! thanxxxxxxxxxxxx...
Back to top
View user's profile Send private message Yahoo Messenger
armo



Joined: 03 Jan 2007
Posts: 4
Location: Brasil

PostPosted: Mon Nov 05, 2007 11:17 pm    Post subject: Re: problem in controlling the triac for lamp dimming Reply with quote

keth wrote:
Hello Smile
i got a difficulty starting on the codes to control the triac for lamp dimming...the hardware was done and and all the pins were connected (gpo0=triac, gp4=sync, gp5=switch)...the output is ok only that i could not start to dim...
any suggestions?!! thanxxxxxxxxxxxx...


Hi, are you using some sort of a zero crossing detector? Thatīs the only way that I could make a dimmer br controled by a PIC 12F629
Alfredo
Back to top
View user's profile Send private message
keth



Joined: 25 Oct 2007
Posts: 2
Location: Philippines

PostPosted: Tue Nov 06, 2007 12:47 am    Post subject: yes i have the zero detect at gp4 Reply with quote

yes and it is connected on gp4, i understand that i have to trigger the triac at a certain point, but i dont know how to generate the code? i saw some similar programs but is too complicated for me to understand and they are using some table.. could you help me with the code? just a simple dimming..thnnxxxx:-)
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    WinPicProg Forums Forum Index -> Questions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group