This is my 1st post, so be easy on me XD
I’m think this is the most appropriate category, however please feel free to move if needed so.
I’m busy with a project where my Uno will send a “command” over the serial port to an attached device that will in turn send out a SMS over the cellular network.
I’ve been battling quite a bit and after some help from the manufacturer of the GSM module I have discovered that the serial port is not communicating as expected.
The command that I’m needing to be send out is as follows *SMSTX:0831231234:This is the message#
The arduino is programmed to output the “command” when a specific pin is active high. Therefore when the button is pressed it will send the above command out over the serial port.
I’ve used the following code to “send” the “command” over the serial port.
Serial.print("*SMSTX:0831231234:This is the message#");
Now while monitoring it over the Arduino software Serial Monitor it works fine and I receive the *SMSTX:0831231234:This is the message# however if I plug the TX/RX pins of the arduino to a RS232 Lever Shifter and in turn plug the DB9 of the Lever Shifter to a serial port (usb to serial adapter) on my laptop and I run SuperTerm serial monitor I get only a couple letters, in random order, from the command line. EG SX, MSX, XT, or similar. Clearly this is why the GSM module it not sending out the SMS as expected. I have confirm that the GSM module is working correctly, as if I send SEND <*SMSTX:0821231234:This is the massage# from the SuperTerm terminal, the unit send out the SMS.
I’ve verified that all baudrates are correct and matching.
Could someone please help.
Thanks in advance