Hi, can I use pull-ups to allow the PIC to properly receive the 3.3v signals from a SPI Radio module? Thanks
Hi, can I use pull-ups to allow the PIC to properly receive the 3.3v signals from a SPI Radio module? Thanks
No, you have to build a level converter to convert your signal from 3.3 to 5 volt.(possible with 1 transistor)
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.
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
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.
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).
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.
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!
Bookmarks