3

Am using SIM7600X 4G HAT with Arduino Uno

I follow to manual to Power up the module and it works well, The NET light flashing. enter image description here

But when I connect to Arduino Uno and use DigitalPin 2 write (High -> Delay500ms -> Low) for "power on pulse" it doesn't work, The NET light still not flashing. enter image description here

My code:

#include <Waveshare_SIM7600.h>
// Pin definition
int POWERKEY = 2;

char phone_number[] = "XXX";      //Store the phone number you want to call

void setup() {
  Serial.begin(9600);
  sim7600.PowerOn(POWERKEY);
  sim7600.PhoneCall(phone_number);
}
  
void loop() {

}

code from Waveshare (Waveshare_SIM7600.h):

/**************************Power on Sim7x00**************************/
void Sim7x00::PowerOn(int PowerKey = powerkey){
   uint8_t answer = 0;

  Serial.begin(9600);

  // checks if the module is started
  answer = sendATcommand("AT", "OK", 2000);
  if (answer == 0)
  {
    Serial.print("Starting up...\n");
    
    pinMode(PowerKey, OUTPUT);
    // power on pulse
    digitalWrite(PowerKey, HIGH);
    delay(500);
    digitalWrite(PowerKey, LOW);
    
    // Stuck in below loop because Send AT command and no response ///////
    // Becuase NET light not flashing (not connect) //////////////////////

    // waits for an answer from the module
    while (answer == 0) {     // Send AT every two seconds and wait for the answer
      answer = sendATcommand("AT", "OK", 2000);
      delay(1000);
    }

  }

  delay(5000);

  while ((sendATcommand("AT+CREG?", "+CREG: 0,1", 500) || sendATcommand("AT+CREG?", "+CREG: 0,5", 500)) == 0)
    delay(500);
}
2
  • How is everything powered? SIM modules can draw rather big current (I remember something in the range of 900mA, though I'm not sure). You don't want to draw that current through the Arduino. If you don't provide enough current, the module might brown out and thus fail to work.
    – chrisl
    Mar 26, 2021 at 13:01
  • I don't know much about schematics but i following this youtuber guy, my SIM7600 module is like him, and arduino board is similar but i stuck at 2:20 in the video. int the video it work well. youtube.com/watch?v=KOig5ndq2ek&ab_channel=cytrontech Mar 26, 2021 at 13:14

1 Answer 1

2

The GSM module requires a 5V 2A source and my Arduino Uno cant draw for it, my solution is to use a power bank that can draw 5V 2A for powering the GSM module and jump PWR pin to GND (manual said) the NET led start flashing and module can working but TX, RX pin still there for comm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.