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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/30/06 14:37
Read: times


 
#117279 - any MCU will work
Responding to: ???'s previous message
Since a dedicated MCU is the recommended solution, it doesn't need interrupts, inasmuch as it has no other tasks to perform.

The timer can serve to generate an interrupt every 20 ms or so, and, if there is a keypress detected on, say, three, successive scans, the key closure is reported once it has gone away. There are, of course, some anomalies that have to be tested-for, e.g. multiple key closures.

Serial communication can be "bit-banged" in order to communicate with the main processor.

Since these tasks can be interleaved and operated concurrently in the foreground, there's no need for interrupt-driven anything in the slave MCU.

ISP is quite slow, as compared with parallel programming. If this is intended for production, that is a valid concern.

RE




List of 28 messages in thread
TopicAuthorDate
passive matrix keyboard readout            01/01/70 00:00      
   yep use the dallas switch debouncers            01/01/70 00:00      
      really, you can't have it both ways            01/01/70 00:00      
   Keypad            01/01/70 00:00      
      what???long weekend maybe            01/01/70 00:00      
         dedicated HW in some '51s            01/01/70 00:00      
   watch human reaction speed            01/01/70 00:00      
   derivative with interrupt on pin change            01/01/70 00:00      
      Or use a maxim 6816            01/01/70 00:00      
         I use SW debouncing...            01/01/70 00:00      
   Can reduce time spent in ISR Key Scan            01/01/70 00:00      
   Use tiny slave micro            01/01/70 00:00      
      Makes sense!            01/01/70 00:00      
         Programming the slave micro            01/01/70 00:00      
            $0            01/01/70 00:00      
               Non-zero cost            01/01/70 00:00      
                  who cares            01/01/70 00:00      
                     The folks who pay will care            01/01/70 00:00      
                        You apply what I said about apples to or            01/01/70 00:00      
                           you missed my meaning            01/01/70 00:00      
                              OK, I'll clarify            01/01/70 00:00      
            Costs? He needs to solve it anyway...            01/01/70 00:00      
               Tme is money            01/01/70 00:00      
                  contradictory            01/01/70 00:00      
         Key bounce.            01/01/70 00:00      
            use a LPC            01/01/70 00:00      
               any MCU will work            01/01/70 00:00      
                  with a LPC you can do either            01/01/70 00:00      

Back to Subject List