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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/27/06 07:26
Read: times


 
#130168 - About the 4n35
Responding to: ???'s previous message
Asok

said:
Ext0 is connected to pin 5 of 4N35 which is the collector of the photo transistor.The base is open hence ? ...is there any base current if it is dark?


The way you have connected the 4n35 indicates that the LED is bright when not in zero crossing. Thus, the collector will be pulled low when not in ZC and high when the input is swinging through the 0 point.

said:
Regarding receiving a bit at a time can you give any example,I am not sure if I will miss the bus

Pseudo code starts
   if state == waiting for start bit
        read start bit
        state = waiting for data bits
        bit number = 0
   if state == waiting for data bits
        read data bit
        dataword = 1 << bit number
        bit number = bit number+1
        if (bit number >= number of data bits)
             state = waiting for start bit
             RC5code = dataword
             Flag = RC5CodeAvailable
Pseudo Code ends

I hope you understand what I am getting at.

Jerson

List of 25 messages in thread
TopicAuthorDate
Multiple Interrupts with Infrared RC5            01/01/70 00:00      
   Must be the technique you are using            01/01/70 00:00      
      Test Zero Cross            01/01/70 00:00      
         Couple of questions            01/01/70 00:00      
   Do you disable interrputs when you are in ISR?            01/01/70 00:00      
   use priority            01/01/70 00:00      
      Peter,Please clarify            01/01/70 00:00      
         RC5 within interrupt            01/01/70 00:00      
         RC5 polling            01/01/70 00:00      
            Quality workmanship...            01/01/70 00:00      
               workmanship            01/01/70 00:00      
            Dimmers            01/01/70 00:00      
               Russel Please            01/01/70 00:00      
                  Some more points            01/01/70 00:00      
                     Dimmers            01/01/70 00:00      
                     that does not make sense            01/01/70 00:00      
                        Divide and Rule            01/01/70 00:00      
                           instead of using your first choice, you state:            01/01/70 00:00      
   C sample code            01/01/70 00:00      
      Let me assimilate your code first            01/01/70 00:00      
         .LST?            01/01/70 00:00      
         About the 4n35            01/01/70 00:00      
            Thanks Jerson ,I corrected the picture            01/01/70 00:00      
               Here            01/01/70 00:00      
   F629FAN Schematic            01/01/70 00:00      

Back to Subject List