Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
October 27, 2011
about 4 years ago
FIXED: Funny/strange characters on SMB5100B-D
DEVICES: ARDUINO UNO R2 & SMB5100B-D
NEEDED FOR SOLUTION:
STEP 1 upload this Code snippet
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.
//Initialize serial ports for communication.
//Serial.println(“Starting SM5100B Communication…”);
//If a character comes in from the cellular module…
incoming_char=cell.read(); //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…
incoming_char=Serial.read(); //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
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 :(
Forgot your password?
No account? Register one!