pic16f88 & voltage


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2008
    Posts
    29

    Default pic16f88 & voltage

    i have a pic16f88 & xbee on the same breadboard. the pic should run at in input V between 2.0v to 5.5v.

    on the breadboard i have a 7805 for the 5v to the pic and a LD3.3 regulator for the xbee.

    however, having two voltage regulators is causing a problem when the xbee gnd is on the same rail as the 5v. that issue is probably evident to an EE, which I am not.

    Yet, I can't get the pic16f88 to function with 3.3v. At this point I was hoping to have only one voltage regulator and be able to power the pic & xbee.

    is there a programmatic setting i'm not using or should be using to get this pic to run with 3.3v ?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What OSC are you running the PIC at?

    Look at the electrical specifications in the PICs data sheet to see what speeds work with different voltages.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Which inputs do you use for Xbee ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4


    Did you find this post helpful? Yes | No

    Default

    It looks like the 16F88 needs a minimum of 4V to operate. The 16LF88 needs only 2V. Try the LF part, use 3.3V for both and turn off Brownout Detect.

  5. #5
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    mackrackit

    for this project, i have "DEFINE OSC 8"


    >>Look at the electrical specifications in the PICs data sheet to see what speeds work with different voltages.

    i've missed something there, thx for the reminder

    *************************************
    Acetronics


    >Which inputs do you use for Xbee ???

    pin 1 for 3.3Vcc
    pin 3 for input from RB5(tx) from pic


    Alain

    *************************************
    peterdeco1,

    >It looks like the 16F88 needs a minimum of 4V to operate. The 16LF88 needs only 2V. Try the LF part, use 3.3V for both and turn off Brownout Detect.

    actually i didn't see that in the datasheet i have but i'll look again. in the meantime i'll pick up some 16LF88's which are better suited to this particular prototype session.



    thx

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Red face Bad way of asking the Question ... ( I think )


    >Which inputs do you use for Xbee ???

    pin 1 for 3.3Vcc
    pin 3 for input from RB5(tx) from pic
    Hi,

    I think I didn't write it correctly ...

    Which inputs of the PIC do you use for Xbee reading ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi,

    I think I didn't write it correctly ...

    Which inputs of the PIC do you use for Xbee reading ...

    Alain
    no problem, i read backwards randomly at times, so maybe i mis-read the question.

    i use pin RB2(rx) is the only reading from the xbee currently.

  8. #8
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by peterdeco1 View Post
    It looks like the 16F88 needs a minimum of 4V to operate. The 16LF88 needs only 2V. Try the LF part, use 3.3V for both and turn off Brownout Detect.
    via the data sheet for the PIC16LF88-I/P on mouser's site i do now, see the pic16f88 listed at 4V.

    thanks

  9. #9
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Lightbulb

    Quote Originally Posted by rdxbam View Post
    no problem, i read backwards randomly at times, so maybe i mis-read the question.

    i use pin RB2(rx) is the only reading from the xbee currently.
    Hi,

    RB2 is then a Schmitt trigger Input ... if used for RX ...

    Can a 5v Powered schmitt Trigger input read 3v3 levels ??? ...

    Good Question !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  10. #10
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi,

    RB2 is then a Schmitt trigger Input ... if used for RX ...

    Can a 5v Powered schmitt Trigger input read 3v3 levels ??? ...

    Good Question !!!

    Alain
    indeed, great question and prompts me to research more:

    via p#11 of the datasheet from http://ww1.microchip.com/downloads/e...doc/30487c.pdf ...

    i'm using pin RB2 as [I]nput and not using the buffer as a Schmitt trigger input. Pin RB2 as [I]nput is for ausart.

    the Schmitt trigger input would be for serial programming ICD or low voltage ICSP programming but not on pin RB2, unless for SPI data out, which in my case it is not.

    is that how you read it?

    thx

  11. #11
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi,

    Can a 5v Powered schmitt Trigger input read 3v3 levels ??? ...

    [...]

    Alain
    on another board with a pic16f88 with RB2 reading from pin2 on the xbee sitting on a xbib-r-dev board, the data is read just fine. yes, RB2 can read 3.3v levels.

Similar Threads

  1. Expanded Scale Voltmeter
    By Pic_User in forum Schematics
    Replies: 6
    Last Post: - 8th February 2008, 20:32
  2. make a low voltage output from a PIC pin
    By emptyset in forum General
    Replies: 1
    Last Post: - 8th February 2008, 19:20
  3. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  4. Replies: 8
    Last Post: - 7th December 2006, 15:42
  5. Project-Read voltage in / different voltage out
    By andydoc in forum mel PIC BASIC
    Replies: 6
    Last Post: - 8th August 2005, 15:20

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts