Ary s

Member Since: October 27, 2011

Country: United States

  • FIXED: Funny/strange characters on SMB5100B-D
    Terminal.exe (
    STEP 1 upload this Code snippet

    include //Include the NewSoftSerial library to send serial commands to the cellular module.

    include //Used for string manipulations

    char incoming_char=0; //Will hold the incoming character from the Serial Port.
    NewSoftSerial cell(2,3); //Create a ‘fake’ serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.
    void setup()
    //Initialize serial ports for communication.
    //Serial.println(“Starting SM5100B Communication…”);
    void loop()
    //If a character comes in from the cellular module…
    if(cell.available() >0)
    {; //Get the character from the cellular serial port.
    Serial.print(incoming_char); //Print the incoming character to the terminal.
    //If a character is coming from the terminal to the Arduino…
    if(Serial.available() >0)
    {; //Get the character coming from the terminal
    cell.print(incoming_char); //Send the character to the cellular module.
    STEP 2: Open Terminal.exe make sure Arduino Serial monitor is closed
    STEP 3: Change Terminal settings so that you have the correct COM Port, Terminal 9600, Data bits 8, Parity, none, Stop bits 1, Handshaking none, custom BR blank.
    STEP 4: connect, wait 30 seconds
    STEP 5: run at the bottom AT+IPR=9600 then click send, some scribble should appear above
    STEP 6: close Terminal then change the code above so that cell.begin(115200); now reads to cell.begin(6900); then upload to Arduino
    STEP 7: run serial monitor at baud rate 9600 and wait upto 15 seconds
    hopefully this works for you

  • I tried the same, change the sketch to 115200 for both
    Serial.begin(); cell.begin();
    then uploaded to Arduino Uno R2 ran the serial Monitor @ 115200 , got the strange characters
    Then reverted everything back to 9600 and still receive strange character, have I missed something?

No public wish lists :(