VALETRON SYSTEMS
  • Wiki
    • Products
      • VALTRACK-V4-VTS-IO-INT-LTE
        • Features
        • Specifications
        • Getting Started
        • Configuration
        • Programming
        • PCB Design
        • Firmware Versions
      • VALTRACK-V4-VTS-ESP32-C3
        • Features
        • Specifications
        • Purchase info
        • Getting Started
        • Configuration
        • Programming
        • Schematics
        • Firmware
        • Packet format
        • Google Sheets - Script
        • Understanding Logs
      • VALTRACK-V4-MFW-ESP32-C3
        • Features
        • Specifications
        • Purchase info
        • Getting Started
        • Configuration
        • Programming
        • Schematics
        • Packet format
        • Firmware
        • Google Sheets - Script
        • Understanding Logs
      • A7672x-EVAL
        • Features
        • Specifications
        • Purchase info
        • Getting Started
        • Arduino Interfacing
        • Downloads
        • Firmware update
        • Open CPU programming
      • A7670x-EVAL
        • Features
        • Specifications
        • Purchase info
        • Getting Started
        • Arduino Interfacing
        • Downloads
        • Firmware update
        • Open CPU programming
        • Dimensions
      • VALTRACK-V4-MF
        • Getting Started
        • Specifications
Powered by GitBook
On this page
  1. Wiki
  2. Products
  3. A7670x-EVAL

Arduino Interfacing

PreviousGetting StartedNextDownloads

Last updated 11 months ago

Making Connections

Here we have connected UART TX(Purple),RX(Grey),GND(Black),VTRANS(Yellow), PWRKEY(Blue) pins of modem to Arduino Uno RX, TX, GND, 5V, GPIO2/Pin no 2 respectively

Make sure you press PWRKEY switch before running the below code or incorporate the PWRKEY activation code before sending AT command. Wait for atleast 30 seconds after module turns on to send any AT command.

Here is a simple code for testing a simple AT command. This code reads the IMEI number of module which is also printed on it.


void setup()
{
  Serial.begin(115200);
  digitalWrite(2,1); // Make PWRKEY low
  delay(1000);
  digitalWrite(2,0); //  Make PWRKEY high
  Serial.println("Initializing...");
  delay(15000);
 
}

void loop()
{
  Serial.println("AT+CGSN");
  while(Serial.available()) 
  {
    Serial.write(Serial.read());//Forward what Software Serial received to Serial Port
  }
  delay(5000);

 
}