Mar 4, 2014 #1 malik_zohaib Full Member level 5 Joined Sep 1, 2010 Messages 261 Helped 36 Reputation 72 Reaction score 35 Trophy points 1,308 Location Pakistan Activity points 2,707 Hi guys. I need help in driving CA 7-seg. Me using pic18f452 and code from this site(given at end): http://extremeelectronics.co.in/mic...ment-displays-–-pic-microcontroller-tutorial/ I have to change the code for CA, but the main problem is driving 7-seg using PNP transistors. Proteus is displaying all 8s, but by changing transistor type to NPN it is simulating well. But its not working in hardware???????? Please help me. Regards.
Hi guys. I need help in driving CA 7-seg. Me using pic18f452 and code from this site(given at end): http://extremeelectronics.co.in/mic...ment-displays-–-pic-microcontroller-tutorial/ I have to change the code for CA, but the main problem is driving 7-seg using PNP transistors. Proteus is displaying all 8s, but by changing transistor type to NPN it is simulating well. But its not working in hardware???????? Please help me. Regards.
Mar 5, 2014 #2 malik_zohaib Full Member level 5 Joined Sep 1, 2010 Messages 261 Helped 36 Reputation 72 Reaction score 35 Trophy points 1,308 Location Pakistan Activity points 2,707 Without transistors its working well but with very low brightness....Any suggestions ???????
Mar 5, 2014 #3 #MAAM# Full Member level 2 Joined Nov 21, 2009 Messages 131 Helped 29 Reputation 58 Reaction score 27 Trophy points 1,308 Location Egypt Activity points 1,920 If you connect your hardware as site given it should working in hardware.
Mar 5, 2014 #4 malik_zohaib Full Member level 5 Joined Sep 1, 2010 Messages 261 Helped 36 Reputation 72 Reaction score 35 Trophy points 1,308 Location Pakistan Activity points 2,707 CC 7-sehment is working well, but i am using CA, which is not working well.
Mar 5, 2014 #5 B BradtheRad Super Moderator Staff member Joined Apr 1, 2011 Messages 15,187 Helped 2,900 Reputation 5,812 Reaction score 2,982 Trophy points 1,393 Location Minneapolis, Minnesota, USA Activity points 113,781 CC 7-sehment is working well, but i am using CA, which is not working well. Click to expand... Did you invert the 7 signals going to the display?
CC 7-sehment is working well, but i am using CA, which is not working well. Click to expand... Did you invert the 7 signals going to the display?
Mar 5, 2014 #6 malik_zohaib Full Member level 5 Joined Sep 1, 2010 Messages 261 Helped 36 Reputation 72 Reaction score 35 Trophy points 1,308 Location Pakistan Activity points 2,707 yes i did. only simulation working (for npn transistors not for pnp?????), not the hardware???? code and simulation.View attachment digg.rar Last edited: Mar 5, 2014
yes i did. only simulation working (for npn transistors not for pnp?????), not the hardware???? code and simulation.View attachment digg.rar