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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Richard Erlacher
01/12/12 22:02
Modified:
  01/12/12 22:03

Read: 538 times
Denver, Co
USA


 
#185453 - interfacing your switches has nothing to do with LED's
Responding to: ???'s previous message
You should start with one pushbutton. Determine the appropriate resistor for its positive side, which you connect to the MCU. Determine how you are going to deal with "switch bounce," which is a common effect one encounters with switch inputs. There are several ways to deal with that, but you must understand the effect of switch bounce and how you can deal with it. Once you have determined how to interface ONE switch, you can then repeat the process for two and then three, and so on. With four switches, it is unlikely you'll need a matrix-scanning arrangement, unless that's what you've been assigned to do.

The 7-segment LED displays can be dealt with as an entirely separate task.

RE

List of 44 messages in thread
TopicAuthorDate
switch interfacing      Anil Kumar      01/11/12 00:38      
   What?      Per Westermark      01/11/12 00:58      
      switch interfacing      Anil Kumar      01/11/12 01:39      
         The 7-segment digits will not handle switches      Per Westermark      01/11/12 02:57      
   Perhaps this may be useful to you      Maunik Choksi      01/11/12 03:53      
      4 buttons - not full keypad      Per Westermark      01/11/12 04:39      
         switch interfacing      Anil Kumar      01/12/12 00:06      
            That is called edit mode      Maunik Choksi      01/12/12 01:55      
               switch interfacing      Anil Kumar      01/12/12 22:50      
                  You need to study some examples      Maunik Choksi      01/12/12 23:51      
                     switch interfacing      Anil Kumar      01/13/12 00:10      
                  Details details - and where is debounce/repeat handling?      Per Westermark      01/13/12 01:20      
                     switch interfacing      Anil Kumar      01/14/12 00:59      
            Why should this be a problem??      Kai Klaas      01/12/12 07:53      
            interfacing your switches has nothing to do with LED's      Richard Erlacher      01/12/12 22:02      
   MUX LED AS O/P PIN      Satish S Munot      01/14/12 19:47      
      Switch interfacing      Anil Kumar      01/19/12 23:19      
         divide and conquer      Mahmood Elnasser      01/20/12 01:35      
         simplified step-by-step way to post your schematic        KONSTANTINOS L. ANGELIS      01/20/12 02:12      
            remember      Erik Malund      01/20/12 07:31      
               ? Not Muxing ?      Michael Karas      01/20/12 08:17      
   switch interfacing      Anil Kumar      01/21/12 01:57      
      You need lots of resistors      David Prentice      01/21/12 04:34      
         (Back to) Basics      Andy Neil      01/21/12 05:17      
            multiplex 5 digits      David Prentice      01/21/12 05:43      
               Don't think anyone would want 1:35 degenerate "multiplexing"      Per Westermark      01/21/12 05:52      
                  Have I done the sums wrong?      David Prentice      01/21/12 06:06      
                     No but multiplexing requires few driver lines      Per Westermark      01/21/12 06:17      
                        You MUST have digit drvers      David Prentice      01/21/12 07:00      
                           You missed '4094 OE+PWM for luminocity      KONSTANTINOS L. ANGELIS      01/21/12 09:47      
               No multiplexing needed...      Kai Klaas      01/21/12 07:33      
                  switch interfacing      Anil Kumar      01/21/12 07:46      
                     What help?      Andy Neil      01/21/12 08:33      
                     how?      Erik Malund      01/21/12 08:34      
                     Ah, a homework, right?      Kai Klaas      01/21/12 09:21      
                        switch interfacing      Anil Kumar      01/21/12 09:55      
                           language?      Erik Malund      01/21/12 10:37      
                           i have no logical idea how i write code      Andy Neil      01/21/12 10:40      
                           You need...      Kai Klaas      01/22/12 07:07      
                              Making a seven segment display blink      Andy Neil      01/22/12 07:19      
                                 The 4094 chip has an OE pin      David Prentice      01/22/12 07:48      
                              switch interfacing      Anil Kumar      01/22/12 10:57      
   switch interfacing      Anil Kumar      01/31/12 22:07      
      would you provide some feedback ?      KONSTANTINOS L. ANGELIS      02/01/12 03:35      

Back to Subject List