Question on 3v to 5v SPI


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks Sean. I will look into the 74LVC07A. If the Pic will accept a 3v input as a high, then half my battle is over! But here is what I was originally suggesting.... Does this look correct?
    Attached Images Attached Images  

  2. #2
    Join Date
    Aug 2005
    Posts
    42


    Did you find this post helpful? Yes | No

    Default

    Not sure if that looks correct with the tranny, would pop a resistor in on the base to start with and is the emitter going to gnd on the chip and your 5v is the load output coming off it?

    Heres a good link to help you choose the config if using a tranny you need but remember that using a tranny will invert the signal and to allow this in your code.

    http://www.kpsec.freeuk.com/trancirc.htm

    Regards

    Sean.

  3. #3
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    Actually I am using a transistor basically as a 3v switch in this schematic. When the compass sends a 3v signal to the base, the 5v on the collector would flow to emitter, thus sending a 5v pulse through the emitter to the 5v input on the pic. Er, in theory.

  4. #4
    BertMan's Avatar
    BertMan Guest


    Did you find this post helpful? Yes | No

    Default

    I found an excellent pdf that expains different ways to mix 3v and 5v logic and gives part #'s too. Just in case someone else is trying this... http://www.freescale.com/files/micro...ote/AN2433.pdf

Similar Threads

  1. Using SPI with External Interrupts
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th June 2008, 04:08
  2. 16-bit SPI problem
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th June 2008, 15:42
  3. 1.5 v to 3v and 5v? Really confused.
    By kevj in forum Schematics
    Replies: 6
    Last Post: - 17th October 2007, 14:16
  4. 5v and 7v on same board - question
    By mark.oswald in forum Schematics
    Replies: 1
    Last Post: - 28th July 2007, 23:03
  5. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31

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