More about the A20 Plus (Pictures of the final product)


I found more info about the new A20, apparently it was available on taobao but idk why we can’t buy it at the moment, here is the link:

Important points:

  • Esp8285 for the wifi
  • No video mode available(there is an AT command for that)
  • 12-15$
  • Compatible with OV7670,GC0308,GC0328,GC0309 cameras (0.3M)
  • Flash


And we have a picture:




So there is two information:

It’s surly the biggest Ax board( and maybe there is also an UART ?)

The price: it’s very close to the A6C board for the seller, the AC6 cost 7,49$ and the A20 7,49$ (50Y and 49Y) so it will be surly around 12-13$

They added also two leds surly for the flash, in the A6C AT Commands we can activate it thx to the Camera parameters commands.


They also made an android app for use the A20Plus camera, here some pictures:


I found the Application and explanation here:

You can also go to the online doc here, i found the last pictures here and they explain the code(in chinese):

The first code is: 123456

We can find more info about the code here, but i can’t download his zip because we need to pay for it! :

I found the biggest part of these informations on this page:

Pinout and other pictures of my previous post:

Details of the A6C(like the A20 with no wifi), At commands for control the camera, demo etc:

The AI-Thinker Ax “program”

I’ve discovered with this page:,searchweb201602_2_10057_10056_10065_10068_10055_10054_10069_10059_10058_10073_10017_10072_10070_10060_10061_10052_10062_10053_10050_10051,searchweb201603_4&btsid=042d14e1-ba67-412b-bd4b-ac37c6d9666e that AI-thinker made a page for test the A6/A6C/A7.

But the negative point is it’s in chinese… it’s really not easy to understand but it’s still a great idea:




I made a pdf copy if the link is dead(it’s only for the A6C):



A20 ? The new Gprs/Gsm product


If you read the infos about A6/A6C/A7 in this pdf: you can notice in the title there is also the A20 but i found nothing about this module in internet it’s because they actualy work on it, we can find the information here :

So the A20 will combine WIFI/GPRS/GSM/CAMERA, they are the same poeple who made the ESP8266 so maybe they will use this chip for the A20.

There is nothing in the datasheet about the wifi so idk why exacly they added the A20 name, and for the second page they said in chinese “to be updated” and “See full functional test board reference schematics”.

EDIT: I found in a doc here: more info about the A20, they will use the 8285 chip for the wifi!

Here is the pin description:

More pictures:




So maybe thx to this chip it will be easiest to find a solution for program the A20 with the Arduino environment… I hope.

The google Drive link come from here:

Best Wireless Cam solution : A6C ?



I’ve discovered the A7, an anwsome solution for have GPS and GPRS in the same chip thx to the great Andreas Spiess youtube channel:

But he he did not talk about the A6C module, maybe because the module was not annonced at this moment, let’s me tell you the avantages of this module:

  • Size: If you know the others cam solutions for the arduino and tiny devices, you surly know the ArduCam, and it’s a BIG module because the Arduino can’t be connected directly to the Camera or we need a lot connections so a big module like this one:

    The A6C has the same cam(OV7670) but it’s more smaller and we need just 2new connection for the Arduino, RX/TX just for the cam!a6c-module-03

  • Price: Surly the important point because we can have smaller, better résolution, better gprs etc but much more expensive! I think for exemple to the Raspberry pi Zero and his high definition camera, normaly they cost around 25$ and with a good Gsm/gprs module around 50$. I also wanted to do a wireless camera with a Esp8266, it’s a cheap module but the cameras are really expensive, like this one: and i didn’t find a solution above 25$…  But with the high price we have also better résolution, 2M against 0.3M max for the A6C but personaly i don’t know what can happen to a wireless module so i prefer a cheap one which do the basic job. His price is around 12$, with the camera which cost normaly around 3.5$. But the module is likely to cost less in the future because i’ve found only few sellers.


I think there is no better deal for a wireless Cam module at this moment, 12$ is a great price and it can be really interesting for the makers community which don’t want to spend more than 15$ for send a picture through a wireless module.




AT Commands

AT+CAMSTART         (Start the Cam and choose the resolution)

  • AT+CAMSTART=0       (QVGA: 320×240)

  • AT+CAMSTART=1         (VGA: 640×480)

  • AT+CAMSTART=2        (QQVGA: 160×120)


AT+CAMSTOP       (Stop the camera)

AT+CAMCAP         (Take a picture, the default format is .JPG)

AT+CAMRD          (Read the content of the picture)

  • AT+CAMRD=fromaddr,toaddr;


AT+CAMREC (Not available for the moment)

AT+CAMCFG (Camera configuration)

  • AT+CAMCFG=mode,param

This is pure Reverso traduction because i don’t understand what they really say(in chinese):

  • 0 indicates that the flash mode, the parameter is 0, Off, 1, 2 Open Automatically
  • 1 indicates whether a night market, the parameter is 0, no night vision, 1 open the night vision
  • 2 indicates that the image quality, parameters 0,1,2 //7,10,14,20
  • 3 indicates that the image is rotated, the parameter is 0, indicating that will not rotate 1 rotate 90 degrees, 2 rotate 180 degree and 3 rotate 270 degree
  • 4 The exposure parameters -2,-1,0,1,2
  • 5 brightness, parameters -2,-1,0,1,2
  • 6 white balance, parameter 0-auto,1-daylight,2- daylight (0x08),3-cloudy(0x09),4- (0x0a) tungsten lamps
  • 7 contrast parameters 1-5;


Interesting Docs:


a6_a7_a6c_datasheet-en (Page 15 for the A6C)

AT Commands(in chinese)

ai-thinker_a6_a7_a6c_at_v1-02 (Page 171 for the A6C)


Few interesting links:

Module in AliExpress:,searchweb201602_2_10057_10056_10065_10068_10055_10054_10069_10059_10058_10073_10017_10072_10070_10060_10061_10052_10062_10053_10050_10051,searchweb201603_4&btsid=e228f014-6743-4419-9334-4f7f6f0fad21


How to use it:  (You can open with Google Chrome or IE)

Doc from IA-Thinker(there is a part in chinese :/) :



Tcp Communication A6 Module

If you want to test the tcp communication with the A6 Module you can follow this tutorial (but use the AT commands for the A6) BUT before, make sure the port is open, go in your router and create a  “NAT”, choose the port you want(something like 747), internal and external(the same), for the device choose the internal IP of your computer.

You can check if the port his open with this website:

(You must creat the server before check the port or it will not work!)

Check his channel because he has a lot of things about Gprs/gsm module, they are for the SIM900 but the A6 is close to this module.

TCP with Gprs Gsm A6 Module

Good news for the A6, there is a simple way for TCP, i wrote in the previous article the long way with AT+CGACT=1,1 because AT+CIICR did not work for me but Simon f found the good order for use it, so i give you his code:


**Power Up**








(we can wait a lot of time, if you see COMMAND NO RESPONSE! do nothing, this mess is send if a command don’t return a message after a while)


+CTZV:16/6/8, 1:33:8:8

















AT+CIPCLOSE               (If you want to close the actual tcp connection)

AT+CIPSHUT                 (If you want to stop the internet connection)

I invite you to go to see his comments for more info and his article!

A6 Gsm/Gprs Module PinOut and data

There is a new module, very cheap around 4$( Here). We can call/send sms and normaly connect to the website and surly use MQTT(i will explain why after). The good thing is we don’t need to spend more money for use it, there is a antenna and we just need to connect the speakers and a mic on the pins for use it. So it’s very close to the SIM800L(Here with bluetooth and rf in it!).

I recieved the module a week ago but i found nothing about the pinout, and the only things writed on it was 1, 12 and chineses things, maybe rx, tx ? No, with google translation i discovered it was like “made in shenzhen”…  I tried different combination based on the videos, but nothing worked. On the official page they write for AT Commands “Included in the download link” so maybe the solution is in this file ? But i can’t find the link :(.

I finaly found the Holy link here yesterday:

We find everything even the software used in the video!

A6 Gsm/GPRS Module Pinout

How use it:

  1. Connect UART_TXD to RX of the FTDI
  2. Connect UART_RXD to TX of the FTDI
  3. Connect GND to the GND of the FTDI
  4. Connect VCC5.0 To the PWR_KEY pin
  5. Connect a Micro Usb for the power(with any smartphone charger)
  6. After 4-5 second you can remove the connection between VCC5.0 and PWR_Key

You can open The arduino software, in tools select the good port(not COM1), open the serial monitor and choose 115200baud. Write “AT”, and if you see “OK” it works!

If you don’t know how exacly to do the connections, you can see how the Esp8266 works with a FTDI, it’s very close, for exemple:


The good new is the AT commands are very close to the Commands for others Gprs/Gsm modules like SIM800/SIM900 so it’s surly possible to use the same library.

I’ve noticed the CIPMUX command can’t be used, maybe it’s CMUX ?


How call ?

ATD+the phone number

For exemple: ATD0785957436

Push enter and you will recieve the call.


How send a message ?


AT+CMGS=”0785957436″   (It’s the phone number)

>(write the message here)                (push Ctrl-Z and Enter, it doesn’t work in the Arduino Serial monitor but you can do it in SSCOM, the software in the Zip)


You can see all your previous message with:


for an another message change the number








And TCP/IP Connection ?

If i’m right this is the key for the MQTT connection to website etc so the most interesting part. I tried to do like in this page:

/** First test if everything is okay **/

=> AT

<= AT /** This should come back. SIM900 default is to echo back commands you enter **/

<= OK /** This string should tell you all is well**/

=>AT+CPIN? /**This is to check if SIM is unlocked. This sample assumes unlocked SIMs**/

<= +CPIN: READY /** If your response contains this, then it means SIM is unlocked and ready**/

=>AT+CREG? /**This checks if SIM is registered or not**/

<=+CREG: 0,1 /**This string in the response indicates SIM is registered**/

=>AT+CGATT? /**Check if GPRS is attached or not**/

<=+CGATT: 1 /**A response containing this string indicates GPRS is attached**/

//if you have CGATT:0, write CGATT=1 and even if you have an error check again

=>AT+CIPSHUT /**Reset the IP session if any**/

<=SHUT OK /**This string in the response represents all IP sessions shutdown.**/

//It Never works for me, i’ve +CME ERROR:50

=>AT+CIPSTATUS /**Check if the IP stack is initialized**/

<=STATE: IP INITIAL /**This string in the response indicates IP stack is initialized**/

=>AT+CIPMUX=0 /**To keep things simple, I’m setting up a single connection mode**/

//Not really important, i think for the A6 it’s AT+CMUX=0

<=OK /**This string indicates single connection mode set successfully at SIM 900**/

//I think it’s better to write that before:AT+CGDCONT=1,”IP”,”your_apn”

=>AT+CSTT= “APN”, “UNAME”, “PWD” /**Start the task, based on the SIM card you are using, you need to know the APN, username and password for your service provider**/

<= OK /**This response indicates task started successfully**/

=> AT+CIICR /**Now bring up the wireless. Please note, the response to this might take some time**/

<=OK /**This text in response string indicates wireless is up**/

//It never works for me :/

=>AT+CIFSR /**Get the local IP address. Some people say that this step is not required, but if I do not issue this, it was not working for my case. So I made this mandatory, no harm.**/

//It never works :/

<= /**If previous command is successful, you should see an IP address in the response**/

=>AT+CIPSTART= “TCP” , “”, “80” /**Start the connection, TCP, domain name, port**/

//You can also use something like AT+CIPSTART=”TCP”,””,”80″

<= CONNECT OK /**This string in the response indicates TCP connection established**/

=>AT+CIPSEND /**Request initiation of data sending (the request)**/

<= > /**The response should be the string “>” to indicate, type your data to send**/

=> xxxxxx /**Just type anything for now**/

=>#026 /**Now type the sequence #026. This tells the terminal.exe to send the hex code 0x1a (which is Ctrl+Z) to indicate end of data sending**/

<= xxxxxxxxxx /**You should get some response back from the server…it would generally be a complain that the request string was not valid…but that is a different subject…you have established the connection**/

/**To close the connection**/

=>AT+CIPSHUT /**Request shutting down of the current connections**/

<=SHUT OK /**Indicates shutdown successful**/

I think i can’t connect because my operator sends a message for activate internet on the phone, i need to install something after that so i can’t do it with this kind of module :/.

Let’s me know if it works for you!

Here an another page wich can be useful if you want to use the arduino and A6:


I bought a new Sim card it works but it’s different than in my previus exemple(and the doc exemple).


AT+CPIN=1234           (only if you have a Sim code)


(+CREG:1,5         CREG should be like 0,1 or 0,5 so we need to change that)



(+CGATT:0 it’s not attach to the GPRS network, +CGATT:1 It’s attach)


(it can take a lot of time and write COMMAND NO RESPONSE, everytime it worked for me, just check again with AT+CGATT?)

AT+CGDCONT=1,”IP”,”free”            (free is the apn name of my operator, for your operator search in google “apn settings youroperator”)

(Maybe you will need to add AT+CSTT if you need to use your username and password for use internet with your phone:

AT+CSTT=”free”,”raymond”,”password”          Because i don’t have username and  password i write like that:

AT+CSTT=”free”,””,”” )



(>+CDNSGIP: 1,””,”″



AT+CIFSR                          (The IP Adresse)



So for the MQTT ?

I found here a library for the Sim800 with MQTT:

The commands seems to be the same exept for few of them, so it can works surly easily but i have not tried because i can’t do TCP connection, i will try it soon with an another sim card.


Power Consumption

I used a usb meter so the result are not great but it can give you an interesting overview:

Idk how much it is for the Sim800L, maybe the A6 is better for that.

If i change nothing, so i can call, send message etc, the power is around 0.06w/0.13w/0.20w and when i call it can reach 2W.

It’s for 5v so it’s around 0.03A

There is a low-power mode and they say it use only <1mA, but they don’t explain how to use it.