![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Heres an example with a piezo siren, but its the same analogy for the segment displays GND would be applied to Pin 8 on the ULN2003 bullet Pin 9 on the ULN2003 is connected to the positive supply for inductive loads such as motors and relays
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) |
| The datasheet of ULN2003 shows that there is a 2.7 k
__________________ Superman returns.. | |
| |
| | (permalink) | |
| Quote:
A '1' on an input turns on its corresponding output which sinks current to the LED segment turning it on. Stick with common anode displays and use the ULN2003 or ULN2803 to drive the segments. ![]() Last edited by Mike, K8LH; 24th March 2007 at 02:53 AM. | ||
| |
| | (permalink) | ||
| Quote:
That’s correct, a digital "High" (5V) at the input will supply an earth to the output (like a switch to earth), a logic low (0V) will turn off this earth ("open circuit") thus turning the segment/device off Quote:
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net Last edited by gramo; 24th March 2007 at 01:35 AM. | |||
| |
| | (permalink) | |
| Quote:
I assumed you were describing using a ULN2003 as a sinking driver for a multiplexed common cathode display, using it to replace the sinking NPN drivers in the "common cathode" drawing below. Yes, no? Last edited by Mike, K8LH; 24th March 2007 at 03:01 AM. | ||
| |
| | (permalink) | ||
| Quote:
Quote:
__________________ Superman returns.. | |||
| |
| | (permalink) | ||
| Quote:
Quote:
![]() Common Cathode
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |||
| |
| | (permalink) |
| But if you only have common anode displays, and the additional components already, then go with the transistor switching..
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) |
| Because previously I complained that the 7-segment display is not bright enough. If I use common cathode, the current sourced by the PIC is enough?
__________________ Superman returns.. | |
| |
| | (permalink) | |
| Quote:
Last edited by Mike, K8LH; 24th March 2007 at 03:22 AM. | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Ya, that's why I choose to have the PNP with common anode and the driver.
__________________ Superman returns.. | |
| |
| | (permalink) |
| PIC's can throw out up to 25mA per output. I try and aim for around 20mA, and it’s a clear display with that much current
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| | (permalink) | |
| Quote:
Any idea if I want to turn 4 LED's on at the same time with PIC with the brightest? But I'm not going to use any transistor or driver, just the LED's, resistors and the output port of the PIC. I would sink the current from the PIC. There are 3 extra pins not being used, I plan to use all of them for four LED's. But how should I connect them? Definitely not in series right? I will use parallel for all.
__________________ Superman returns.. | ||
| |
| | (permalink) | |
| Quote:
If you a one to four digit display you're fine. If you've got more than four digits and you can get by with a lower brightness display then by all means, go for it... Here's a very fuzzy picture of a 4-digit common cathode stick display. The common cathodes have transistor drivers and the segments (anodes) are directly driven. This board is actually using the Charlieplexing type of multiplexing where 8 pins are used to drive the columns (common cathode transistors) and the segments (anodes) instead of 12 pins. It's quite a bit dimmer than a full brightness display. It throws off plenty of light but you can't see it very well in a sunlit room and you can't see it at all when it's in direct sunlight. Last edited by Mike, K8LH; 30th March 2007 at 07:31 PM. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| How we can do it in Assembly..Help Needed | Ayne | Micro Controllers | 37 | 29th December 2006 06:49 PM |
| dual decade ripple counter | baftab | Datasheet/Parts Requests | 1 | 30th September 2006 01:57 PM |
| Dual Beam People Counter Problem........ | fingers | Electronic Projects Design/Ideas/Reviews | 7 | 21st September 2004 01:02 PM |
| Crude assembly counter | Mark Lazarides | Micro Controllers | 5 | 28th February 2004 08:22 PM |
| Query about 4518 Dual 4 bit counter | andipi | General Electronics Chat | 2 | 12th October 2003 11:04 PM |