3.3v signals to 5v signals


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1

    Default 3.3v signals to 5v signals

    Hi, can I use pull-ups to allow the PIC to properly receive the 3.3v signals from a SPI Radio module? Thanks

  2. #2
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    No, you have to build a level converter to convert your signal from 3.3 to 5 volt.(possible with 1 transistor)
    Attached Images Attached Images  

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    3.3 v could be enough to be considered as a high level signal. Maybe you could just use it without anything in between. Depending your PIC, you could also use the built-in comparator and use it as a level converter as well.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    3.3 v could be enough to be considered as a high level signal. Maybe you could just use it without anything in between. Depending your PIC, you could also use the built-in comparator and use it as a level converter as well.
    I have a USB Serial module that I use with my PIC projects.
    http://www.dontronics-shop.com/produ...roductid=16141

    That has 3.3V lines for TX and RX. I just use a 1k resistor between that and the PIC and it works fine

    If you were only going from the 3.3v device to an input then direct connection would probably be OK but if you send any signals back from the PIC then without a limiting resistor it would probably damage the 3.3v device.
    Keith

    www.diyha.co.uk
    www.kat5.tv

  5. #5


    Did you find this post helpful? Yes | No

    Default

    I tried your schematic, and all it does is cause my PIC to reset, and directly connecting just reads in jibberish
    Last edited by InitialDriveGTR; - 6th February 2007 at 20:15.

  6. #6
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    I use 5 volt PICs and 3 volt PICs or other devices together all the time. Never had an issue as long as a resistor was put between them. (1 to 10K).

  7. #7


    Did you find this post helpful? Yes | No

    Default

    That is true, but my problem is that the PIC is looking for 5v signals, and the radio module is only supplying 3.3v signals, so the PIC doesn't properly read the module's output.

  8. #8
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Depending on the PIC and port pin, a "1" will be any voltage over 1.8 to 2 volts. 3.3 will look like a "1", not a "0". If the PIC is not seeing a "1", something else is wrong. Check the "Tris registers, and if you want to prove the trip point of the PIC yourself, hook a 10K potentiometer to B+ and ground.Next hook the wiper to the pin in question. Write a short program to turn on a LED when the pin goes positive(and off when a zero).Next, measure the voltage.If it's over 3 volts, I'll buy the coffee!

Similar Threads

  1. Generating 5v from 4 batteries
    By BobP in forum Off Topic
    Replies: 10
    Last Post: - 27th December 2009, 09:46
  2. 6V to 5V
    By Fisher in forum Schematics
    Replies: 10
    Last Post: - 11th August 2008, 17:31
  3. 5v and 7v on same board - question
    By mark.oswald in forum Schematics
    Replies: 1
    Last Post: - 28th July 2007, 23:03
  4. Pic 3.3v ?
    By scottl in forum Off Topic
    Replies: 3
    Last Post: - 8th August 2006, 12:16
  5. Replies: 5
    Last Post: - 23rd February 2005, 17:35

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