https://github.com/thorsten-l/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.
https://github.com/thorsten-l/a7moduletest
arduino gprs gps gsm
Last synced: about 1 month ago
JSON representation
This is a test program for the Ai-Thinker A7 module connected to an Arduino Pro Micro or the Elecrow 32u4 with A7 module.
- Host: GitHub
- URL: https://github.com/thorsten-l/a7moduletest
- Owner: thorsten-l
- License: apache-2.0
- Created: 2017-11-19T10:49:05.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T11:55:38.000Z (almost 8 years ago)
- Last Synced: 2025-01-20T01:31:50.522Z (9 months ago)
- Topics: arduino, gprs, gps, gsm
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A7ModuleTest
This is a test program for the [Ai-Thinker A7](https://www.smart-prototyping.com/image/data/9_Modules/101756%20Wireless%20A6C/A6_A7_A6C_datasheet-EN.pdf) module connected to an
Arduino Pro Micro or the [Elecrow 32u4 with A7](https://www.elecrow.com/wiki/index.php?title=32u4_with_A7_GPRS/GSM) 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
- [Elecrow A7 GSM GPRS GPS Module with Mega32U4 3 In 1 Development Board ](https://aliexpress.com/item/Elecrow-Mega32U4-with-A7-GSM-GPRS-GPS-Module-A6-A6C-DIY-Kit-Newest-Development-Board-Integrated/32790443050.html)
- [Wireless Module Ai-Thinker A7 GSM GPRS GPS](https://aliexpress.com/item/Wireless-Module-A7-GSM-GPRS-GPS-3-In-1-Module-Shield-DC-5-9V-For-Arduino/32798617442.html)
- [Pro Micro ATmega32U4](https://aliexpress.com/item/Pro-Micro-ATmega32U4-5V-16MHz-Replace-ATmega328-For-Arduino-Pro-Mini-With-2-Row-Pin-Header/32808519179.html)
- [IRLIZ44N MOSFET](https://aliexpress.com/item/Free-shipping-10pcs-lot-IRLIZ44N-TO-220F-new-original/32676976844.html)