![]() To get you going, you could just use your switches straight from VCC to the Anode (through current limiting resistor). With the emitter joined to VCC and the collector to your display Anode through a small resistor then current will flow from VCC through the PNP transistor to the display Anode. ![]() You could let the 74LS138 outputs drive a PNP transistor so that when it's output goes low it pulls current from the base (through a resistor, say 1K). As your displays are Common Anode this is correct for the 74LS47, but the 74LS138 is incorrect, as you need to SOURCE current to the Anode of the displays. Actually, most 7-segment displays contain eight internal LED’s as the eigth one is used for a decimal point, usually in. ![]() switch open = '1'.Ģ) Both of your driver ICs are of the type that SINK current, ie when the input in ON it looks like a swicth to GND. As its name suggests, a 7-segment display consists of seven segments, meaning it consists of seven light emitting diodes or LED’s, which together can be used to form one complete digit on the display. Note, this ends up as opposite logi, ie switch closed = '0'. Your switch then switched that input to ground. For TTL logic, you need to pull each input High to VCC with a 4K7 or similar resistor. There are several problems with this circuit.ġ) Your switched don't connect to anything on one side so they cannot possibly do anything. Thread starter aaronk Start date Similar Threads Similar Threads aaronk Well-Known Member. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |