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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/20/07 14:13
Read: times


 
#131161 - Schematic Added - Am I asking for too much?
Responding to: ???'s previous message
Thanks once again to everyone for your help. Have put up the schematic on:
http://www.8052.com/users/rishiraj

P3.0 and P3.1 are connetcet to push switches labelled "+" and "-". Pressing them increments (or decrements) the 2-digit display. The logic is that at a low display the zero-crossing code should output a pulse that causes the triac to switch on for a small duration thus causing the lamp (connected in series to it) to glow faintly. Conversely a high digit on the display causes the triac to be switched on for a longer duration for each 1/2 cycle.

The display works fine but the moment the input is applied to P3.3 the display stops functioning. It seems that the repeated interrupts do not allso the uC to execute the display sub-routines (or the switch polling sub-routines ) .

Does this mean that I cannot perform all three functions ( ZCD, display and polling) with one uC ?

I can delegate the task of ZCD to an external ckt. but I want the controller to do everything. Am I asking for too much ?

Rishi


List of 31 messages in thread
TopicAuthorDate
Zero Crossing detector woes            01/01/70 00:00      
   "Bible" time.            01/01/70 00:00      
      proper connecton 4n35?            01/01/70 00:00      
   Try MOC 3041 or MOC 3043            01/01/70 00:00      
   links            01/01/70 00:00      
   Why make simple matters worse?            01/01/70 00:00      
      I would never do this!            01/01/70 00:00      
         Sounds like a recipe for a Darwin Award.            01/01/70 00:00      
            Total agree!            01/01/70 00:00      
         i had did this with opampe !            01/01/70 00:00      
   Have tried out the suggestions!            01/01/70 00:00      
      It will get you 'excited' when you reverse the plu            01/01/70 00:00      
   Schematic Added - Am I asking for too much?            01/01/70 00:00      
      Been there; done that            01/01/70 00:00      
      Jerson is right            01/01/70 00:00      
      Post the code !here!            01/01/70 00:00      
   URL for schematic            01/01/70 00:00      
      You can avoid the bridge            01/01/70 00:00      
      You need a pull up            01/01/70 00:00      
      Will not work!            01/01/70 00:00      
         will work - 4511 has active "high" outputs            01/01/70 00:00      
            what is a 4511            01/01/70 00:00      
               It's a CD4511, of course            01/01/70 00:00      
                  of course?            01/01/70 00:00      
            No, it will not            01/01/70 00:00      
               agree            01/01/70 00:00      
         Mistake in writing            01/01/70 00:00      
   just remembered this one . Do not know if            01/01/70 00:00      
   Am making modifications            01/01/70 00:00      
      a few answers            01/01/70 00:00      
   It is a HEF4511B - sorry for the short form.            01/01/70 00:00      

Back to Subject List