SIM7600 Module Power up by Arduino Uno doesn't work

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.

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.

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);
	}

How much current does the SIM board draw?

.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.