Check page 30 of the datasheet I've attached. It shows that one needs to convert the module's serial signal to RS232 if you want to connect it to a PC through its RS232 port. Therefore, the module's UART output works at low voltage level, and it tells me that you do not need an RS232 converter to interface it directly to an MCU as long as both the MCU and the module are working at the same voltage, which normally is 5V.
Thanks alot. the modem has a serial to a usb converter cable.
The serial end is to go the modem while the usb end is to go to the PC.
I connected the serial end of the cable directly to the modem and the usb end of the cable directly to the PC without any MAX232 interface and it worked.
That is very strange... it means that your USB to Serial cable is accepting 0-5V level signals... and not the RS232 standard ±12VI connected the serial end of the cable directly to the modem and the usb end of the cable directly to the PC without any MAX232 interface and it worked.
I agree... if he's plugging the USB to Serial converter directly to a DB9 connector, it means that the module that he has should be outputting RS232, and not 0-5VThis is a full module. You will need the max unless you can figure out how to hack in behind the R3232 interface.
Does your MCU have a USB interface? What MCU brand and model are you using?If am to connect the GSM module directly to the microcontroller, how can I identify the TX and RX on the USB side of the of the cable ?
This is a full module. You will need the max unless you can figure out how to hack in behind the R3232 interface.
Am using PIC16F877ADoes your MCU have a USB interface? What MCU brand and model are you using?
Some of these convertors have charge pump idea and up it to RS232, all in the back shell.That is very strange... it means that your USB to Serial cable is accepting 0-5V level signals... and not the RS232 standard ±12V
I guess as far as it is a cable , it can accept any logic level. its just the MAX232 that does the logic conversion. am i right ?That is very strange... it means that your USB to Serial cable is accepting 0-5V level signals... and not the RS232 standard ±12V
If you look at the translucent back shell cover you can make out a circuit board for RS232 conversion.I guess as far as it is a cable , it can accept any logic level. its just the MAX232 that does the logic conversion. am i right ?
How can I get over this ?If am to connect the GSM module directly to the microcontroller, how can I identify the TX and RX on the USB side of the of the cable ?
That is very interesting... gonna have to try that myself... see if it works. Thanks!Some of these convertors have charge pump idea and up it to RS232, all in the back shell.
I made one years ago for a PLC system.
Max.
There are quite a few posts out there on interfacing a GSM module and a Pic.If am to connect the microcontroller directly to the GSM module, do I still need the serial to usb converter cable? if yes, how do i conncet the usb side of the converter cable to the microcontroller ?
I have made a few different versions over the years, this was one for the Mitsubishi PLC which required a little larger housing.That is very interesting... gonna have to try that myself... see if it works. Thanks!
Meaning the GSM module is connected to the TTL side of the MAX232 while the PC is connected to the RS232 side of MAX232. Am I right ?
What he needs to worry about is that the DB9 connector on the module is indeed delivering 0-5v signals... otherwise he's going to fry his MCU if it's delivering RS232 ±12VYou won't need to worry about the PC because (I assume) you are going to let the Pic take the place of the PC.
What he needs to worry about is that the DB9 connector on the module is indeed delivering 0-5v signals... otherwise he's going to fry his MCU if it's delivering RS232 ±12V
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
| T | RS232 to TTL custom board, no output from MAX232 | General Electronics Chat | 25 | |
| O | MAX232 for ±25V from 5V supply | General Electronics Chat | 35 | |
| T | Max232 capacitor placing issues | Microcontrollers | 11 | |
|
|
MAX232 Heating issue..! | General Electronics Chat | 23 | |
|
|
Question about serial comms between a pic and a pc using a max232 | Microcontrollers | 11 |