Search the Community

Showing results for tags 'sim900'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Found 4 results

  1. Hello Im trying to send sms message by sending AT commands from MSP40F5529 to SIM900 (by Simcom). physical connections: Rx(P3_4) to Tx, Tx(P3_3) to Rx, GND to GND. When I plug the micro-usb cable and turn the serial monitor on ,I can see the commands and messages well. I scoped the signal from the UART pins of the MSP and I saw noting changes (constant 0) - the pins do not react to my code. this is my code (i print int 55 in order to see some changes in the uart pins value ,which didnt happend) : void setup(){ Serial.begin(9600); } void sendsms(){ Serial.println("AT\r"); delay(1000); Serial.println("AT+CMGF = 1\r"); delay(1000); Serial.println("AT+CMGS =\"+972****844095\"\r"); //my phone number delay(1000) Serial.println("HELLO WORLD"); delay(1000); Serial.println((char)26); delay(100); } void loop() { Serial.println(int(55)); //delay(200); sendsms(); } questions: 1. do i need to configure my UART pins in setup() or its done automatically when I use Serial? because I didn't declare anything 2. When I plug the usb cable - the serial reading and writing from the UART pins are stopped? because i scoped both cases (with and without usb cable) and the results were different 3. Why is the serial monitor shows all fine and when i scope the signals , the voltage value does not change? do i need to use some special library? Looking forward for help. Thank you Nir
  2. Hello Im trying to send sms message by sending AT commands from MSP40F5529 to SIM900 (by Simcom). physical connections: Rx(P3_4) to Tx, Tx(P3_3) to Rx, GND to GND. I scoped the Rx and Tx pins and they both have constant voltage value of 2.7 (logical 1) When I plug the micro-usb cable and turn the serial monitor on ,I can see the commands and messages well. this is my code (i print int 55 in order to see some changes in the uart pins value ,which didnt happend) : void setup(){ Serial.begin(9600); } void sendsms(){ Serial.println("AT\r"); delay(1000); Serial.println("AT+CMGF = 1\r"); delay(1000); Serial.println("AT+CMGS =\"+972544844095\"\r"); delay(1000); Serial.println("HELLO WORLD"); delay(1000); Serial.println((char)26); delay(100); } void loop() { Serial.println(int(55)); //delay(200); sendsms(); } questions: 1. do i need to configure my UART pins in setup() or its done automatically when I use Serial? because I didn't declare anything 2. When I plug the usb cable - the serial reading and writing from the UART pins are stopped? because i scoped both cases (with and without usb cable) and the results were different 3. Why is the serial monitor shows all fine and when i scope the signals , the voltage value does not change? Looking forward for help. Thank you Nir
  3. Hello, I am using msp430g2553 mcu and I interfaced that mcu with gsm sim900 successfully. Now I am facing some strange behavior in the code. When I write the loop as follows: void loop() { String buffer = readSIM900A(); String msgOn = buffer; String number1 = "8320389582"; //problem String number2 = "9106555707"; //problem String number3 = "9979933498"; //problem if (buffer.startsWith("\r\n+CMT: ")) { Serial.println(buffer); buffer.remove(0,12); buffer.remove(10); Serial.println(buffer); msgOn.remove(0,51); msgOn.remove(3); Serial.println(msgOn); if(((buffer==number1)||(buffer==number2)||(buffer==number3))&&((msgOn=="On")||(msgOn=="ON")||(msgOn=="on"))) { digitalWrite(led, HIGH); } } delay(100); } In the lines above commented with "problem": -> When I write String number1 = "8320389582"; //problem like this and when I use this for toggling led like this if(((buffer==number1)||(buffer==number2)||(buffer==number3))&&((msgOn=="On")||(msgOn=="ON")||(msgOn=="on"))) { digitalWrite(led, HIGH); } This doesnt work but instead when I use the code like if(((buffer=="+91963xxxx")||(buffer=="+91963XXXX")||(buffer=="+918753XXX"))&&((msgOn=="On")||(msgOn=="ON")||(msgOn=="on"))) { digitalWrite(led, HIGH); } This works and I can toggle the led. According to my understanding there is some compiler issue in this related to memory for local loop. Can anyone help me with this? I am attaching my code for reference. Thanks, Shailav prefinal.rar
  4. For the AT commands from energia's serial monitor it appears as some characters missing!!! Any solutions? Below is my output: AT+CREG? +CREG: 0,1 OK AT+CREG=? +CREG: (0-2) O AT+CFUN=? +CFUN: (0,1,4),(-) K