Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

max232 and atxmega128a1

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR
View previous topic :: View next topic  
Author Message
kits

Bascom Member



Joined: 18 Dec 2008
Posts: 67
Location: IRAN

iran.gif
PostPosted: Wed Oct 13, 2010 12:11 pm    Post subject: max232 and atxmega128a1 Reply with quote

hello all
i like connect max232 and atxmega128a1 directly!
and think so output of max232 is around 5 volt and in transmit or receive from max232 maybe xmega damage

i have that question , can i connect max232 to xmega directly?
thank you Exclamation
Back to top
View user's profile
matevz

Bascom Member



Joined: 14 Oct 2010
Posts: 2

slovenia.gif
PostPosted: Thu Oct 14, 2010 6:59 pm    Post subject: Reply with quote

I think that this is not good to connect max232 directly to xmega128a1
For xmega128a1 I usually use max3232, has the same pin configuration as MAX232.
The difference is in supply voltage:
MAX232 work at 5V, output end input level = 5V
MAX3232 work at 3V to 5.5V, output end input level = 3V to 5V depending of
power supply,(accept 5V logic input with 3.3V supplay).
Back to top
View user's profile
rileyesi

Bascom Member



Joined: 19 Dec 2006
Posts: 398

blank.gif
PostPosted: Mon Oct 18, 2010 11:22 pm    Post subject: Reply with quote

Hi,

Look at the MAX232 datasheet on page 17 you sill see a suggested circuit. Unless I am very much mistaken, all you need to do is connect the microcontroller to the "TTL/CMOS" pins (either input or output as needed).

Be sure to use the capacitors as dictated in the datasheet.

Hope this helps.

Pete[/img]
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> AVR All times are GMT + 1 Hour
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
You cannot attach files in this forum
You cannot download files in this forum