PIC based bomb game

Thread Starter

jo12345

Joined Oct 23, 2011
2
the PIC i'm using is 16f88. the problem is with pins 16 and 15. they are used to glow the displays via transistors. the voltage from pin16 to GND is 1.17V & from pin15 to GND is 0V. hence display connected to pin 16 is glowing & the other is not.plz help.
 

Attachments

t06afre

Joined May 11, 2009
5,934
What kind of 7 segment display do you use. If they are LED type you must add series resistors for each segment. Many people in this forum do not open Word files. Just save your schematic as a PDF or PNG file instead
 

SgtWookie

Joined Jul 17, 2007
22,210
I've extracted your schematic from the Word document:



Please simply attach a .png format image to your post; it's so much easier. You can paste a screen print into MSPaint, and save it as a .png file.

What voltage do you measure across pins 5 (gnd) and 14 (Vcc/Vdd)?
If you are getting 5v there, then try removing R1 and measure pins 16 to pin 5.

It could be that your count is set to < 10 seconds, so that pin 16 is never turned on.
About the most you can expect from pin 15 is 2.5v average using a voltmeter; as it may be 5v for a short period and then 0v for slightly longer, too fast for you to pick up on a meter.

The display connections were designed poorly. The single 560 Ohm resistor shouldn't be there, and there should be a resistor for each segment (a through g) on pins 6 through 12.

Do you have the source code for the program? If so, post it using the [ CODE]/[ /CODE] blocks.
 
Last edited:
Top