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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/31/08 07:52
Read: times


 
#150099 - de-spiking inputs
Responding to: ???'s previous message
Richard Erlacher said:
Debouncing? I'd have thought that the 8042 or whatever takes its place handles that, as it's not possible for it to produce an unambiguous output if it doesn't properly debounce the scan.


OK it's not 8042, that was/is on the PC side... If there was ever an intel microcontroller in the AT keyboard (there might have been in the original PC keyboard, maybe an 8048), which I doubt (by that time there were undoubtedly much cheaper microcontrollers available for that purpose), it certainly did debounce the key matrix input itself. However, for a real-world application, the prudent engineer rarely lets an input coming into the box from outside, especially from a not-so-well-defined-electrically output as the keyboard is, debounced - or, read it "de-spiked", if you want.

---

Btw. your remark reminded me that this might be one of the simplest solutions of your problem - pick an 8042 from any old PC motherboard, wire it up onto the bus of the host processor, and you're done. It does not spit out the scancode, you need to ask for it; but it's a simple read from a memory (or I/O if it's a separate address space) position.

Jan


List of 33 messages in thread
TopicAuthorDate
PC Keyboard interface Has anyone done this ?            01/01/70 00:00      
   basicly code works            01/01/70 00:00      
   timertick timeout not included            01/01/70 00:00      
   I wonder ...            01/01/70 00:00      
      dont know before, but now available            01/01/70 00:00      
      it is too bad search is temporarily disabled            01/01/70 00:00      
         Google still works            01/01/70 00:00      
            Really? How does that work?            01/01/70 00:00      
               Spiders and Robots            01/01/70 00:00      
                  I did that, and it promotes humility, believe me            01/01/70 00:00      
               try this for example            01/01/70 00:00      
                  Debouncing? Why?            01/01/70 00:00      
                     de-spiking inputs            01/01/70 00:00      
                        Oh yes there is!            01/01/70 00:00      
                           debouncing            01/01/70 00:00      
                        that won't work ... and that's now how it works            01/01/70 00:00      
                  8052.com PS2 code            01/01/70 00:00      
                     Debouncing            01/01/70 00:00      
               Google trick            01/01/70 00:00      
               RE: I must have missed something along the way.            01/01/70 00:00      
   well, at least            01/01/70 00:00      
      at least one reason for "dissapearing"            01/01/70 00:00      
         Oh yes there is!            01/01/70 00:00      
   Why bother?            01/01/70 00:00      
      not serial for serial...            01/01/70 00:00      
         Exactly!            01/01/70 00:00      
            I guess you want a "bridge" then            01/01/70 00:00      
            get the 8042            01/01/70 00:00      
               it isn't that simple.            01/01/70 00:00      
                  socket            01/01/70 00:00      
                     it fits the socket, and the board is wire-wrapped            01/01/70 00:00      
                  isn't this replacement?            01/01/70 00:00      
                     Gee ... that's where I got 'em last time ...            01/01/70 00:00      

Back to Subject List