Berkeley CSUA MOTD:Entry 47868
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/08 [General] UID:1000 Activity:popular
7/8     

2007/8/31-9/5 [Science/Electric] UID:47868 Activity:nil
8/31    I want to make a little DIY electronic counter, where I press
        a button and a LED screen displays the number of times I pressed
        that button. Anyone have any ideas on how to build something
        like this? Would one of those PIC microcontrollers be useful?

                       when I told her (a few weeks before she was getting
                       married) that marriage required giving up some of that
                       'me, me, me' to make room for 'us, us, us'.  She's
                       still married 3 years later but they're both miserable.
                       \_ Wow, your wife's friend sounds like a gem. Sorry to
                          hear it. Hm, can we lay the blame at Dr. Phil's feet?
                          \_ In this case, no, just pure selfishness learned
                             long before Dr. Phil came on the air.
                 \_ Self sacrifice = tolerance for bullshit
                    \_ Sigh....  Please don't take a second wife, you'll just
                       be ruining her for someone else who might have been
                       happy.  Unless she's as selfish as you in which case
                       you deserve each other.
                       \_ You must have a different definition of
                          self-sacrifice. Mine involves doing things you
                          don't want to do for the sake of the marriage.
                          That always makes people happy! I think most
                          people on the MOTD are idealists who never
                          encountered real marital problems but, more
                          likely, just delude themselves into thinking
                          those problems don't exist.
                          \_ Self-sacrifice != surrendering your entire self.
                             In a marriage, it means working out what's truly
                             important and what's merely petty-ante power
                             politics and eschewing the latter.
                          \_ Not for the sake of the marriage, per se.  And
                             not thing you don't want to do.  But you do things
                             because it makes your wife happy and she does the
                             same for you.  A trivial example: my wife does
                             99% of the house work.  Sometimes she's tired or
                             just doesn't feel like it so I offer to do it.
                             I don't *like* doing housework but it isn't that
                             big a deal and it makes her happy that I'd do it
                             sometimes without being asked (much less nagged).
                             Was that a sacrifice on my part?  Sure, sort of,
                             but not really in the long run.  What sort of
                             sacrifices did you have in mind?  (And please note
                             that I did say this was a trivial example).
                             \_ You wife does 99% of the housework? Does she
                                have a job, too?
                                \_ She does not have a job outside the house
                                   recently.  When she did we had a maid
                                   service and split the rest of what the maids
                                   didn't do.  I hauled trash, we split the
                                   dishes, she did most of the laundry, etc.
                                   \_ I was wondering where you found someone
                                      who thought doing 99% of the housework
                                      was equitable. Now I understand. My wife
                                      works, but we share housework.
        \_ If you mentioned LED instead, it would be a typical CS150 assignment
           around my time (Fall '90).
        \_ It only exists for people with a high tolerance for bullshit.
        \_ Depending on how much of the circuit you wanted to build you can
           do all of it with a microcontroller, or you can use flip-flops
           and a multiplexer to hold the current state (count) for each digit
           required (four flip-flops per decade/digit).  Then you could
           use a FND357 (7 segment LED display) and a 9368 (7 segment decoder
           driver chip) to display each digit.  -scottyg