Tuesday, 10 May 2022

Arduino SIM800L IMEI CHANGER

๐Ÿ“ก Arduino SIM800L IMEI Configuration & Setup Guide

๐Ÿ“Œ Overview

This guide covers querying and updating the IMEI parameter on SIM800L GSM modules using standard AT commands, along with recommended power supply references.

Note: Modifying or cloning IMEI numbers may be restricted or illegal in certain jurisdictions depending on local telecommunication regulations and device registration frameworks (e.g., PTA / DIRBS). Ensure compliance with local laws before modifying GSM device identifiers.

1. ๐Ÿ” How to Read/Find Current IMEI

To retrieve the current IMEI string from a SIM800L module over AT commands:

C++
delay(4000);
SIM800L.println("AT+GSN"); // Queries the IMEI number
delay(1000);

2. ⚙️ AT Command Code Example

Below is a simple Arduino sketch demonstrating sending the AT+SIMEI command to set a target IMEI string:

C++
#include <SoftwareSerial.h>

// Define SoftwareSerial pins (Rx, Tx)
SoftwareSerial SIM800L(10, 11); 

void setup() {
  Serial.begin(9600);   // Hardware Serial for Debugging
  SIM800L.begin(9600);  // Software Serial for SIM800L
  
  delay(2000);

  // Send command to set desired 15-digit IMEI
  SIM800L.println("AT+SIMEI=863789000008218"); 
}

void loop() {
  // Read responses from SIM800L and print to Serial Monitor
  if (SIM800L.available()) {
    Serial.write(SIM800L.read());
  }
}

๐ŸŽฅ Reference Videos

⚡ Power Supply Reference


7 comments:

  1. can we change the product identifier via At commands?

    ReplyDelete
  2. is this command really working? It cant be found anywhere else

    ReplyDelete
  3. connection with arduino UNO????

    ReplyDelete
  4. it can be Serial connection with Arduino although soft serial also work here

    ReplyDelete
  5. Muchas gracias salve algunos mรณdulos que mi operador bloqueo.

    ReplyDelete