I am working on a project based on embedded systems "password controlled room light controller and visitor counter". it's not working as yet n i am reqd to submit it before 30th april..after trying many things..i am finally taking help from this forum.
i have used 4 seven segments (CA) in which i have interconnected all the respective pins of seven segments(a to dp) to each other except both the common pins.
also i have finally connected these pins to P0 of at89s52 through a 10k pull up resistor array and eight 330 ohms resistor..one each.
i have left one common pin unconnected and the other common pin..i have interfaced with microcontroller using pnp transistor and 1k resistor each .
i jst wanted to ask whether this way of interfacing 7segments with at89s52 is correct or not??
plzz do reply...itz a humble request!!!
i have used 4 seven segments (CA) in which i have interconnected all the respective pins of seven segments(a to dp) to each other except both the common pins.
also i have finally connected these pins to P0 of at89s52 through a 10k pull up resistor array and eight 330 ohms resistor..one each.
i have left one common pin unconnected and the other common pin..i have interfaced with microcontroller using pnp transistor and 1k resistor each .
i jst wanted to ask whether this way of interfacing 7segments with at89s52 is correct or not??
plzz do reply...itz a humble request!!!