Reply by Phil February 7, 20052005-02-07

Obvious things to consider: pin enabled as an output? LED wired
correctly? proper dropping resistor for the LED? Is the PIC actually
running? Are you getting any voltage agross the LED?

One possibility is something I saw when running off of 3.2V (628A as
well as the 12F629/675. It appears that the PIC is not able to drive
an LED with the full Vcc (of 3.2V). It did light the LED but very
dimmly and the voltage was lower than it should have been. I never
did understand why but I used a driver transistor (2n3904) to get
enough voltage to the LED. You might try that. But before you do
that, measure the voltage across the LED to see what you are getting.

Phil

--- In , "rtstofer" <rstofer@p...> wrote:
>
>
> If Low Voltage Programming is enabled in the Config bits then RB4 is
> used to turn it on. As you are probably using high voltage
> programming, this pin must be held to ground while the device is
> programmed. This is a PITA because it further complicates circuit
> design.
>
> Best to disable low voltage programming in the config bits.
>
> --- In , "Scott Lingerfelt"
> <slingerfelt@c...> wrote:
> > Thanks, Hasan
> >
> > The problem seems to be with my in-circuit programming circuit.
> How did you
> > handle this? I am using the example on the PICBASIC website. I
> have taken
> > the PIC out of my circuit programmed out of circuit and then
> replaced the
> > PIC and everything seems to work. I am using the RB7, RB6, and
> MCLR with a
> > diode.
> >
> > Thanks for your input, Scott
> > -----Original Message-----
> > From: Hasan Arslan [mailto:arslanweb@y...]
> > Sent: Sunday, February 06, 2005 2:31 PM
> > To:
> > Subject: Re: [piclist] Running PIC16F628A at 3.6V
> >
> >
> > Hi Scott,
> > I have use for a project 3.6V lithium battery. It is fuction
> very good and
> > he have not a problem.
> >
> > Look for you progam. You must the "Brown-out Detect (BOD)" Fuse
> disable.
> > And make the LED anot pin to the VCC and the catod pin to the
> ProtB.5 with
> > resistor(330R). The LED are light if you make the port pin to LOW.
> > And last clue. Make the MCU for unused time to sleep mod, or use
> R/C ocs.
> > for use low power. The 16LF628A wase more better than a normal
> 16F628A PIC,
> > because the have LOW power feature.
> >
> > Hasan ARSLAN
> >
> >
> > Scott Lingerfelt <slingerfelt@c...> wrote:
> >
> > I have a project that requires battery operation. I am using
> a Lithium
> > Tadiran 3.6V 1/2AA battery for this project. I have an LED
> that is tied
> > to
> > PORTB.5 so when the PIC starts I pull this pin high and this
> never
> > happens.
> >
> > Can someone point me in the right direction?
> >
> > Thanks in advance, Scott
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.841 / Virus Database: 572 - Release Date:
> 1/21/2005
> >
> >
> >
> > to unsubscribe, go to http://www.yahoogroups.com and follow the
> > instructions
> >
> >
> >
> >
> > -------------------------------
> ---------
> > --
> >
> > instructions
> >
> >
> >
> > -------------------------------
> ---------
> > --
> > Yahoo! Groups Links
> >
> > a.. To
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.841 / Virus Database: 572 - Release Date: 1/21/2005



Reply by rtstofer February 6, 20052005-02-06


If Low Voltage Programming is enabled in the Config bits then RB4 is
used to turn it on. As you are probably using high voltage
programming, this pin must be held to ground while the device is
programmed. This is a PITA because it further complicates circuit
design.

Best to disable low voltage programming in the config bits.

--- In , "Scott Lingerfelt"
<slingerfelt@c...> wrote:
> Thanks, Hasan
>
> The problem seems to be with my in-circuit programming circuit.
How did you
> handle this? I am using the example on the PICBASIC website. I
have taken
> the PIC out of my circuit programmed out of circuit and then
replaced the
> PIC and everything seems to work. I am using the RB7, RB6, and
MCLR with a
> diode.
>
> Thanks for your input, Scott
> -----Original Message-----
> From: Hasan Arslan [mailto:arslanweb@y...]
> Sent: Sunday, February 06, 2005 2:31 PM
> To:
> Subject: Re: [piclist] Running PIC16F628A at 3.6V > Hi Scott,
> I have use for a project 3.6V lithium battery. It is fuction
very good and
> he have not a problem.
>
> Look for you progam. You must the "Brown-out Detect (BOD)" Fuse
disable.
> And make the LED anot pin to the VCC and the catod pin to the
ProtB.5 with
> resistor(330R). The LED are light if you make the port pin to LOW.
> And last clue. Make the MCU for unused time to sleep mod, or use
R/C ocs.
> for use low power. The 16LF628A wase more better than a normal
16F628A PIC,
> because the have LOW power feature.
>
> Hasan ARSLAN > Scott Lingerfelt <slingerfelt@c...> wrote:
>
> I have a project that requires battery operation. I am using
a Lithium
> Tadiran 3.6V 1/2AA battery for this project. I have an LED
that is tied
> to
> PORTB.5 so when the PIC starts I pull this pin high and this
never
> happens.
>
> Can someone point me in the right direction?
>
> Thanks in advance, Scott
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.841 / Virus Database: 572 - Release Date:
1/21/2005
> to unsubscribe, go to http://www.yahoogroups.com and follow the
> instructions >
>
> -------------------------------
---------
> --
>
> instructions >
> -------------------------------
---------
> --
> Yahoo! Groups Links
>
> a.. To > ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.841 / Virus Database: 572 - Release Date: 1/21/2005



Reply by Scott Lingerfelt February 6, 20052005-02-06
Thanks, Hasan
 
The problem seems to be with my in-circuit programming circuit.  How did you handle this?  I am using the example on the PICBASIC website.  I have taken the PIC out of my circuit programmed out of circuit and then replaced the PIC and everything seems to work.  I am using the RB7, RB6, and MCLR with a diode.
 
Thanks for your input, Scott
-----Original Message-----
From: Hasan Arslan [mailto:a...@yahoo.com]
Sent: Sunday, February 06, 2005 2:31 PM
To: p...@yahoogroups.com
Subject: Re: [piclist] Running PIC16F628A at 3.6V

Hi Scott,
I have use for a project 3.6V lithium battery. It is fuction very good and he have not a problem.
 
Look for you progam. You must the "Brown-out Detect (BOD)" Fuse disable.
And make the LED anot pin to the VCC and the catod pin to the ProtB.5 with resistor(330R). The LED are light if you make the port pin to LOW.
And last clue. Make the MCU for unused time to sleep mod, or use R/C ocs. for use low power. The 16LF628A wase more better than a normal 16F628A PIC, because the have LOW power feature.
 
Hasan ARSLAN


Scott Lingerfelt <s...@covcable.com> wrote:

I have a project that requires battery operation.  I am using a Lithium
Tadiran 3.6V 1/2AA battery for this project.  I have an LED that is tied to
PORTB.5 so when the PIC starts I pull this pin high and this never happens.

Can someone point me in the right direction?

Thanks in advance, Scott

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.841 / Virus Database: 572 - Release Date: 1/21/2005



to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



Reply by Hasan Arslan February 6, 20052005-02-06
Hi Scott,
I have use for a project 3.6V lithium battery. It is fuction very good and he have not a problem.
 
Look for you progam. You must the "Brown-out Detect (BOD)" Fuse disable.
And make the LED anot pin to the VCC and the catod pin to the ProtB.5 with resistor(330R). The LED are light if you make the port pin to LOW.
And last clue. Make the MCU for unused time to sleep mod, or use R/C ocs. for use low power. The 16LF628A wase more better than a normal 16F628A PIC, because the have LOW power feature.
 
Hasan ARSLAN


Scott Lingerfelt <s...@covcable.com> wrote:

I have a project that requires battery operation.  I am using a Lithium
Tadiran 3.6V 1/2AA battery for this project.  I have an LED that is tied to
PORTB.5 so when the PIC starts I pull this pin high and this never happens.

Can someone point me in the right direction?

Thanks in advance, Scott

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.841 / Virus Database: 572 - Release Date: 1/21/2005



to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



Reply by Scott Lingerfelt February 6, 20052005-02-06

I have a project that requires battery operation. I am using a Lithium
Tadiran 3.6V 1/2AA battery for this project. I have an LED that is tied to
PORTB.5 so when the PIC starts I pull this pin high and this never happens.

Can someone point me in the right direction?

Thanks in advance, Scott

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.841 / Virus Database: 572 - Release Date: 1/21/2005