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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/31/06 07:38
Read: times


 
#117341 - some of the answers?
Responding to: ???'s previous message
Arvind,

Please stop using shorcuts ("1" instead of "one"), it is hard to read your posting if you do so (and it is also against this forum's rules).

First, visualise the LEDs inside the 7-segment. One LED in each. If you force some current across it (usually the current is limited using a resistor in series as with a normal LED), it lights up. To spare pins, usually all the LEDs have one end connected together - that is the "common", so if it is "common anode", all the anodes (where you put +) are connected together, and if you put - through resistor on the individual cathodes they will light up.
"Common cathode" is the other way round.

Arvind Shrivastava said:
sending #11111001b to PORT will display numeric 1 or alphabet 'E' ...


If "1" on the port means that the connected segment will light up, 6 segments will light up (in proper arrangement - connection of the microcontroller pins to 7-segment - it might display "E").

If it is a different arrangement and "0" means that the connected segment will light, 2 segments will light up (in proper arrangement it means "1" displayed).

This assumes 8 segments altogether, most probably one of the output pins would be unconnected.

Experiments often help to understand. Perhaps, if you would take 7 LEDs (take those that have rectangular shape, if you can get them), arrange it in the same pattern as a 7-segment, connect series resistors and a power source and try to light them up manually in the required pattern to display "1", "2" etc., you might get the point quicker.

Jan Waclawek


List of 16 messages in thread
TopicAuthorDate
7 segment display            01/01/70 00:00      
   Basics            01/01/70 00:00      
      More guidelines            01/01/70 00:00      
         More Basics            01/01/70 00:00      
         Not at all            01/01/70 00:00      
      per-pin, per-port, and whole-chip limits            01/01/70 00:00      
   some of the answers?            01/01/70 00:00      
   Didn't search first            01/01/70 00:00      
      Quiz question            01/01/70 00:00      
         answer            01/01/70 00:00      
         it's usually a background task            01/01/70 00:00      
            Yes, but...            01/01/70 00:00      
               It's a good place to start.            01/01/70 00:00      
                  Base on posts, timing seems to be            01/01/70 00:00      
                     Timing            01/01/70 00:00      
                        Yes, it looks like homework            01/01/70 00:00      

Back to Subject List