IDE support for Ai-Thinker A9G GPRS + GPS board

Hi,

Anybody have IDE support for Ai-Thinker A9G board?
http://wiki.ai-thinker.com/gprs/a9g/boards

They already provide C SDK but not sure how to integrate to Arduino IDE.

Any guide to create the hardware driver to connect to IDE is much appreciated.

Cheers...

Here's the definitive reference:

I recommend you also use other hardware packages as a guide.

You might also find this useful if you want to add support for Boards Manager installation:

As you work through the process feel free to come back here with specific questions.

Hi
I'm about to get the a9g module . Did you get this working in the ide? Any info / code you have on integrating it with arduino that you can share will be greatly appreciated.

Regards

Meir

any news?
I purchased a dev board with SD-Card but without documentation, any tip?
https://www.ebay.de/itm/AI-Thinker-GPS-BDS-GPRS-A9G-Board-32Mbit-C-SDK-GPIO-UART-ADC-I2C-SPI-MQTT-TFCard-/282891177801

Hello users of the 32u4-A9G, to use this module with the Arduino IDE, you can select the Arduino Leonardo card, it uses an ATmega32u4 identical to that of the A9G card.
Then you can take inspiration from the codes of the Hackaday website: Results for A9G | Hackaday.io.
I translated AI-Thiker's A9G datasheet from Chinese to French, but it's easily retranslatable into English for those interested.
The most important thing in using this product is that for it to work well you have to wait for the A9G to start (several seconds) the best is to test your code with a command AT.
Good debug!
Vincent.
:slight_smile:

I got this board; I think it is similar:

A9G Module GPRS GSM GPS BDS Development Board Quad-Band 800/900/1800 / 1900MHz SMS Voice Wireless Data Transmission IOT with Antenna Geekstory
https://www.amazon.com/gp/product/B07BQZ8T9B/

Do you know if it needs a CP2102 or equivalent USB to UART to access from the Arduino IDE? Not seeing the COM port in the list when connected to the USB (and another board - the Wemos D1 mini does appear so prob not the cable or IDE)

From what I can decipher from the listing links provided by zeemankay, jumpjack, and dr3x, none of those boards can be used with the Arduino IDE unless someone has gone through a lot of work to create a hardware package for the A9G.

I think vidalv's statement will be misleading to anyone with one of those common A9G boards. You can not use those boards as a Leonardo. What vidalv is talking about is a different type of board which has the A9G module, but also an ATmega32U4. It is the ATmega32U4 which you will be programming via the Arduino IDE on those boards. You will not be programming the A9G directly. This is what the ATmega32U4 + A9G boards look like:

The large black chip is the ATmega32U4.

From the Hackaday link, there is also an A9G board with a SAMD21 chip on it that you can program with the Arduino IDE as a Zero:

To be precise, the A9G module is bundled with Chinese SDK

which, in principle, could be embedded into Arduino IDE. Unfortunately, the Chinese SDK is not just binary blobs and makefiles, but also a separate GUI tool, so some reverse engineering is definitely needed.

Instead, I would like to advertise my project porting micropython to this module:

Of course, it is designed to work without any ATmegas onboard, google for the reference board "pudding a9g". Help, PRs and likes are welcome.

Nice work geisha! I'm biased to C++, but making these chips more accessible is a great contribution, no matter which language is used.

Do you expect that the support you've added for this chip will eventually be merged into mainline MicroPython?

Sure: I do not see any problems merging. It is organized nicely such that I do not need to edit anything outside my port folder.

A9G demo code on github . Could find it's GitHub link on wiki

https://makerfabs.com/wiki/index.php?title=Maduino_Zero_A9G#GPRS_DEMO

Any new about direct Arduino IDE support for bare A9G?