about using max232 in 89c52

Status
Not open for further replies.

visva

Member level 3
Joined
Jul 26, 2012
Messages
55
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,633
why in serial communication the max232 need to use in micro controller. if there is no max232 then can we send data in serial. please any one explain
 

max232 is an ic which converts the +5v signal of uC into standard RS-232 levels of signal, which are +/- 12v.

you can of course use serial comms without max232, but do not try to connect it to a standard rs232 cable/ port, otherwise your uC will blow.
 
Reactions: visva

    visva

    Points: 2
    Helpful Answer Positive Rating
why in serial communication the max232 need to use in micro controller. if there is no max232 then can we send data in serial. please any one explain


Its simple RS232 have signals 24V and TTL 5V.




This chip converts RS232 signal voltage levels to TTL voltage levels and visa-versa, hence if you need to communicate to your PC through it's serial port (COM1 or COM2) then this is the chip that can perform that function. If you have a microcontroller circuit, or a phone, or a calculator that requires a PC connection then this is the chip that is needed to make that communication happen.

The RS232 serial port protocol (v.24) states -15v to represent binary 1 and +15v to represent binary 0. For TTL communication this is incompatible since TTL uses 0v to represent binary 0 and +5v to represent binary 1. MAX232 chip converts serial signal voltage levels to TTL standards, and also vias versa. It therefore has a driver and a receiver to perform this function.

https://www.petervis.com/electronics guides/MAX232/MAX232.html
https://www.edaboard.com/threads/91287/
https://en.wikipedia.org/wiki/MAX232

**broken link removed**


This conversion can be done with transistors.

 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…