View previous topic :: View next topic |
Author |
Message |
gabirelms
Joined: 28 Jun 2014 Posts: 38
|
Power another IC from PIC internal LDO |
Posted: Mon Jun 30, 2014 3:10 pm |
|
|
Hi all,
Is it possible to power another components of my board from PIC internal LDO ?
I'm using PIC16F1459 with 3.7v battery (4.2v full) and I need to power another part of my board with 3.3v.
I was thinking to use Vusb3v3, is it a good idea ?
Edit: Mistyped, I mean PIC16F1459.
Last edited by gabirelms on Tue Jul 01, 2014 5:52 am; edited 1 time in total |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19481
|
|
Posted: Tue Jul 01, 2014 2:50 am |
|
|
No.
You don't have regulator.....
Yours is an LF device. On the LF device, _you_ have to supply VUSB externally.
Quote from the data sheet:
"On F devices, the regulator is powered by VDD. On LF devices, the VUSB3V3 pin should be externally connected to VDD."
_Externally connected_. Vdd has to be between 3, and 3.6v, and directly feed Vusb.
It's rather pointless using a USB capable chip, since you can't use USB with your supply voltage.... |
|
|
gabirelms
Joined: 28 Jun 2014 Posts: 38
|
|
Posted: Tue Jul 01, 2014 5:51 am |
|
|
Sorry, I mistyped.
I mean PIC16F1459.
This one has internal LDO, and Vusb 3v3 has 3.3v output. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9218 Location: Greensville,Ontario
|
|
Posted: Tue Jul 01, 2014 6:53 am |
|
|
What is the 'device' ? How much current does it draw under MAXIMUM load conditions ?
I doubt the LDO has enough current capacity though it's not in the datasheet( well, that I could find....)
Perhaps you can power the 'device' from an I/O pin ? Providing it doesn't draw too much current this could be a viable method.
hth
jay |
|
|
gabirelms
Joined: 28 Jun 2014 Posts: 38
|
|
Posted: Tue Jul 01, 2014 8:13 am |
|
|
It is a motion dection sensor. It consumes 70uA in stand-by and 500uA when it wakes up, only 2-3 seconds.
What another I/O can I use ? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9218 Location: Greensville,Ontario
|
|
Posted: Tue Jul 01, 2014 2:28 pm |
|
|
Any free I/O pin will easily supply 500uA all day long and it's controllable. The PIC program can turn it on/off when required.
Just do an output_high(pin_name); to turn it on, same as an LED .
hth
jay |
|
|
gabirelms
Joined: 28 Jun 2014 Posts: 38
|
|
Posted: Tue Jul 01, 2014 3:28 pm |
|
|
Hi temtronic, thanks for your reply. Any pin the output will be 3.3v ?
By the way, this can be a good idea to completely OFF a SPI flash memory than consumes 5uA during sleep. what do you think ? doable ? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9218 Location: Greensville,Ontario
|
|
Posted: Tue Jul 01, 2014 3:44 pm |
|
|
just put a 10K r as the 'load' and then cut code to turn on the pin and measure the output voltage. It should be close to Vdd, well within say 90%+ of it.
I've done this with 5V PICs for decades..so it should work for 3V ones.
Learn by doing ! Nothing is a better teacher than hands on, bench level education !!
hth
jay |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Tue Jul 01, 2014 4:36 pm |
|
|
And when the magic smoke comes out, don't do that again :-)
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
|