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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/26/10 18:14
Read: times


 
#172740 - re-think code
Responding to: ???'s previous message
Hi, Joel,
5...6 millisec is a lot of time. Task is fully for software , yes- with little help from microcontroller's hardware - connect sensor to IRQ pin, use additional timer if debouncing is needed.
In hardware - connect capacitor to sensing pin - reed relay will discharge this capacitor fast trough small resistor - 50 ohm , VCC will charge slowly-slowly trough some kiloohms. But this is really bad idea.
regards

List of 10 messages in thread
TopicAuthorDate
Sensor Problems            01/01/70 00:00      
   milliseconds?            01/01/70 00:00      
      I wonder too ...            01/01/70 00:00      
         use of interrupts            01/01/70 00:00      
            Remember state            01/01/70 00:00      
      To (almost) quote Star Trek:            01/01/70 00:00      
         Counter            01/01/70 00:00      
   re-think code            01/01/70 00:00      
   Weeelll if you have to            01/01/70 00:00      
      misnamed device            01/01/70 00:00      

Back to Subject List