Skip to content

This is a test program for the Ai-Thinker A7 module connected to an Arduino Pro Micro or the Elecrow 32u4 with A7 module.

License

Notifications You must be signed in to change notification settings

thorsten-l/A7ModuleTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A7ModuleTest

This is a test program for the Ai-Thinker A7 module connected to an Arduino Pro Micro or the Elecrow 32u4 with A7 module.

Used PINs

The pin layout is taken from the Elecrow 32u4 with A7 module.

  • 4 RESET ... with the Arduino Pro Micro this pin must be connected via a N-channel MOSFET (e.g. IRLIZ44N) to the A7 reset pin.

  • 5 ENABLE

  • 8 PWRKEY

  • 10 GPS RX software serial

  • 16 GPS TX software serial (not used)

Serial Connections

  • Serial is console

  • Serial1 is the hardware serial port to the A7 GSM UART

  • SoftwareSerial( 10, 16 ) serial port to A7 GPS UART (RX=10, TX=16)

Console Commands

GPS

you can switch on and off the GPS serial port

  • gps=on
  • gps=off

GSM / GPRS

  • every command starting with at is directly send to the GSM UART

  • if you like to send characters not starting with at start with a '-char as first character.

  • ctrlz is sending a CTRL-Z char to the GSM UART

Boot Sequence

At the program start RESET, ENABLE and PWRKEY are set to HIGH level. After 3s RESET is set to LOW level.

Modules

About

This is a test program for the Ai-Thinker A7 module connected to an Arduino Pro Micro or the Elecrow 32u4 with A7 module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages