CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

18f97j60 3v and rs232 5v

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
madhu
Guest







18f97j60 3v and rs232 5v
PostPosted: Sat Feb 06, 2010 12:55 am     Reply with quote

Dar friends,

My hardware is PIC18f97j60 with 3.3v and rs232 with 5v supply whether it works or not. Please help me.
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

re:
PostPosted: Sat Feb 06, 2010 1:43 am     Reply with quote

how is the voltage translation done, between 3.3 V to 5 V and vice-versa ??

thanks
arunb
madhu
Guest







18f97j60 3v and rs232 5v
PostPosted: Sat Feb 06, 2010 2:22 am     Reply with quote

hi,

u mean it should be either 5V or 3.3V supply voltage for both.
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Sat Feb 06, 2010 10:03 am     Reply with quote

why not use a 3.3volt capable rs232 interface IC like the MAX3232?

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: 18f97j60 3v and rs232 5v
PostPosted: Sat Feb 06, 2010 10:20 am     Reply with quote

madhu wrote:
Dar friends,

My hardware is PIC18f97j60 with 3.3v and rs232 with 5v supply whether it works or not. Please help me.


It will work but as already suggest, a 3.3V RS232 converter would be a better fit electrically between the PIC and the transceiver however a +5V RS232 would provide a better solution for RS232 because of the high signal level and therefore better signal to noise ratio.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Sat Feb 06, 2010 10:47 am     Reply with quote

huh??

The max3232 still puts out about 10V on the RS232 side running at 3.3 or 5.
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sun Feb 07, 2010 9:31 pm     Reply with quote

bkamen wrote:
huh??

The max3232 still puts out about 10V on the RS232 side running at 3.3 or 5.


Not on the test boards I have.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Sun Feb 07, 2010 9:36 pm     Reply with quote

asmallri wrote:
bkamen wrote:
huh??

The max3232 still puts out about 10V on the RS232 side running at 3.3 or 5.


Not on the test boards I have.


Funky. The spec reads +/-5 5 for a 10V swing.

Good to know.

Those spec sheets... they LIE... ;)

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group