go away spammer

Author Topic: Doubt with the MAX 232.  (Read 2225 times)

0 Members and 1 Guest are viewing this topic.

Offline yash25Topic starter

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Doubt with the MAX 232.
« on: July 07, 2009, 05:47:16 PM »
Okay I was just reading Admin's UART and RS232 tutorial..and he says that the serial port in the PC has a 12 volt supply and thats why we use the MAX 232 ic for converting 5 volts of the controller to 12V of the PC...then why is the ISP cable in the 50$ tutorial directly connected to the serial? without any sort of voltage converting IC?
Scientists dream about doing great things. Engineers do them.

Offline GearMotion

  • Supreme Robot
  • *****
  • Posts: 489
  • Helpful? 24
  • Two decades+ of Embedded Design
    • CircuitGizmos
Re: Doubt with the MAX 232.
« Reply #1 on: July 07, 2009, 07:06:13 PM »
Okay I was just reading Admin's UART and RS232 tutorial..and he says that the serial port in the PC has a 12 volt supply and thats why we use the MAX 232 ic for converting 5 volts of the controller to 12V of the PC...then why is the ISP cable in the 50$ tutorial directly connected to the serial? without any sort of voltage converting IC?

There are components other than "voltage converting ICs" that will lower the voltage.

Specifically the Zener devices (Z1, Z2) are devices that "regulate" voltage. These are 5.1V Zener diodes. That node of the circuit is prevented from reaching a higher voltage by the property of the Zener.
« Last Edit: July 07, 2009, 07:22:00 PM by GearMotion »

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: Doubt with the MAX 232.
« Reply #2 on: July 07, 2009, 09:11:32 PM »
Almost everything is serial. RS232 is serial, USB is serial, UART is serial, I2S is serial, TWI is serial (different name for I2C), SPI is serial... ISP uses SPI to program the microcontroller so the programmer is serial (and that is the only way for ISP programming). The programmer will connect 2 devices using different serial modes to transfer the data. One device is the microcontroller that uses SPI and the other is the PC that can use the USB port, or the Serial port (RS232) or the paralel port. The programmer will use eighter a dedicated ICs, or tranzistors, or diodes or whatever, to convert the signal from one format to the other. So this is different of the regular serial communication with the PC that requires just the voltage level adjustment. For that, the easiest way to do it is using a MAX232 IC, but you can also use tranzistors. Does it make more sense now?
Check out the uBotino robot controller!

Offline yash25Topic starter

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Re: Doubt with the MAX 232.
« Reply #3 on: July 08, 2009, 02:14:22 AM »
Yes I got the reason why we use a MAx232...but then why is'nt this IC being used in the 50$ tutorial?( If I'm not wrong , even that uses serial communication)
Scientists dream about doing great things. Engineers do them.

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: Doubt with the MAX 232.
« Reply #4 on: July 08, 2009, 05:42:42 AM »
Because it's a different type of serial communication.
Check out the uBotino robot controller!

Offline yash25Topic starter

  • Full Member
  • ***
  • Posts: 82
  • Helpful? 0
    • The Workshop
Re: Doubt with the MAX 232.
« Reply #5 on: July 08, 2009, 08:15:33 AM »
thank you!
Scientists dream about doing great things. Engineers do them.

 


Get Your Ad Here

data_list