Tell us about yourself!

Complete Your Profile
  • SIM900A Interfacing with Arduino UNO and Running Simple AT Commands

    How can you use the serial monitor if pin Tx and Rx are connected to the SIM900?

    This is the sketch I used for BT:#include <SoftwareSerial.h>SoftwareSerial BTserial(2, 3); // RX | TX// Connect the HC-05 TX to Arduino pin 2 RX. // Connect the HC-05 RX to Arduino pin 3 TX through a voltage divider.// char c = ' ';void setup() { Serial.begin(9600); Serial.println("Arduino is ready"); Serial.println("Remember to select Both NL & CR in the serial monitor"); // HC-05 default serial speed for AT mode is 38400 BTserial.begin(9600); }void loop(){ // Keep reading from HC-05 and send to Arduino Serial Monitor if (BTserial.available()) { c = BTserial.read(); Serial.write(c); } // Keep reading from Arduino Serial Monitor and send to HC-05 if (Serial.available()) { c = Serial.read(); ...

    see more »

    This is the sketch I used for BT:#include <SoftwareSerial.h>SoftwareSerial BTserial(2, 3); // RX | TX// Connect the HC-05 TX to Arduino pin 2 RX. // Connect the HC-05 RX to Arduino pin 3 TX through a voltage divider.// char c = ' ';void setup() { Serial.begin(9600); Serial.println("Arduino is ready"); Serial.println("Remember to select Both NL & CR in the serial monitor"); // HC-05 default serial speed for AT mode is 38400 BTserial.begin(9600); }void loop(){ // Keep reading from HC-05 and send to Arduino Serial Monitor if (BTserial.available()) { c = BTserial.read(); Serial.write(c); } // Keep reading from Arduino Serial Monitor and send to HC-05 if (Serial.available()) { c = Serial.read(); BTserial.write(c); }}

    View Instructable »