Sonsivri

Electronics => Pic Basic Languages => Topic started by: cigua on October 29, 2007, 02:05:53 02:05



Title: ???blink test works in proteus & dev board, but not in projectboard
Post by: cigua on October 29, 2007, 02:05:53 02:05
hi to all, whats going on with this is that simple code blink.bas works fine in proteus, also in my matrix m development board, but i remove the chip do a basic setup of it in a protoboard and it doesnt work, using 4mhz crystal, 22pf caps, also tested w/out caps, 5v and gnd to chip, led with resistor in ouput pin, why isnt working
am using 16f84-04/p, is it mandatory to ground or 5v the unused pins?
thanks for any help


Title: Re: ???blink test works in proteus & dev board, but not in projectboard
Post by: jeanninemtv on October 29, 2007, 04:41:40 04:41
attach pullup resistor to mclr pin.  maybe you forgot it
check the values of caps attached to crystals.   if you are working on protoboard they are not mandatory.  one time i used 100n   ;D  and pic dont work....  ::) little error .... but check out your circuit. or check fuses while programming


Title: Re: ???blink test works in proteus & dev board, but not in projectboard
Post by: cigua on October 29, 2007, 05:02:58 05:02
hi jeanninemtv, mclr has pullup, fuses are xt crystal 4mhz, wdt off, pwrup on, tried with caps and w/out, what else could it be?


Title: Re: ???blink test works in proteus & dev board, but not in projectboard
Post by: mculove on October 29, 2007, 06:48:30 06:48
Did you try to disable Watchdog timer while programming your chip?