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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Stefan Kanev
01/26/10 12:14
Read: 195 times
Silistra
Bulgaria


 
#172740 - re-think code
Responding to: Joel Ward'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      Joel Ward      01/26/10 11:52      
   milliseconds?      Jan Waclawek      01/26/10 12:11      
      I wonder too ...      Erik Malund      01/26/10 12:14      
         use of interrupts      Joel Ward      01/27/10 08:17      
            Remember state      Per Westermark      01/29/10 15:30      
      To (almost) quote Star Trek:        Christoph Franck      01/27/10 02:05      
         Counter        Aubrey Kagan      01/27/10 07:50      
   re-think code      Stefan KAnev      01/26/10 12:14      
   Weeelll if you have to      Steve M. Taylor      01/26/10 12:31      
      misnamed device      Erik Malund      01/26/10 12:46      

Back to Subject List