vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.96k stars 726 forks source link

Support of GOOUUU TECG IOT-GA6 : reflash the firmware ! #164

Closed manuprendlair closed 6 years ago

manuprendlair commented 6 years ago

Hello,

This not really an issue but a solution for these who bought IOT-GA6 from GOOUUU TECH. You could reflash the firmware with the AI-THINKER A6 firmware. I just do it and confirm this is working!

please look at:

http://wiki.ai-thinker.com

you will find tool and latest A6 firmware (use google translation if like me you couldn't read chinese!)

Have Fun!

Emmanuel

welir commented 6 years ago

If I load firmvare send "Failed"

manuprendlair commented 6 years ago

I just did it without any problem. I used a ftdi ttl/rs232 converter with rx to HTX (A6) and tx to HRX(A6)

This is working with the ai thinker tool

2018-05-09 14:43 GMT+02:00 Denis Voronin notifications@github.com:

If I load firmvare send "Failed"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-387725853, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ244o73OYZnLmAibDj3aw1B-FQvSyks5twuR0gaJpZM4T39rw .

manuprendlair commented 6 years ago

Vous etes français?

2018-05-09 14:43 GMT+02:00 Denis Voronin notifications@github.com:

If I load firmvare send "Failed"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-387725853, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ244o73OYZnLmAibDj3aw1B-FQvSyks5twuR0gaJpZM4T39rw .

welir commented 6 years ago

I use same ftdi ttl, But issue in open port default

manuprendlair commented 6 years ago

This is working perfectly for me. Do you check that your are able to comunicate to your FTDI adaptater ?

2018-05-09 15:30 GMT+02:00 Denis Voronin notifications@github.com:

I use same ftdi ttl, But issue in open port [image: default] https://user-images.githubusercontent.com/7795803/39817237-416310b2-53a6-11e8-82c7-13c0ab61ac28.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-387739024, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2_KoCTb1d0Z4hcB1uLjMEtHinUdLks5twu-LgaJpZM4T39rw .

manuprendlair commented 6 years ago

after flashing firmware you need to set the imei !

like that : AT+EGMR=1,7,"998111854633244"

you could check imei after:

AT+EGMR=2,7

if you do not do that imei is 0000000000000 and your networ will not accept to register the module !

2018-05-09 15:30 GMT+02:00 Denis Voronin notifications@github.com:

I use same ftdi ttl, But issue in open port [image: default] https://user-images.githubusercontent.com/7795803/39817237-416310b2-53a6-11e8-82c7-13c0ab61ac28.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-387739024, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2_KoCTb1d0Z4hcB1uLjMEtHinUdLks5twu-LgaJpZM4T39rw .

vshymanskyy commented 6 years ago

Hi @manuprendlair , thanks for your input. This is valuable, added link to this topic to the README. The issue is closed, but feel free to continue the discussion here!

welir commented 6 years ago

I successful flash with another ftdi adapter, but after flashing module don't response on at commands

gerwinvis commented 6 years ago

i downloaded the tool and the firmware... opened the tool, connect the oit-ga6 to my computer. My computer tells me it doesn't recognize the usb device and nothing appears in the tool. Is there a driver i need to install first? (driver for PL2303HXD usb to uart ttl is installed) ps: i tried the connection with bost the h-rxd and h-txd as the u-rxd and u-txd

nothing happens

manuprendlair commented 6 years ago

how do you connect the A6 to your computer? you need a serial to usb converter module. You need first to check your module ir recognize by your computer (sometime you need to download driver, but generaly not if you use ftdi converter module), a new com port must be create. Sometime the tool not working if you have different com port. also take care to your connection tx to rx and rx to tx

Generally, problems come from the user and connections, check all two times, three times!

For myself, I had too much problem to make the A6 working correctly with at command (gprs connection etc.), so finally I decide to use a sim800 module, who is a sure value!

Have fun!

2018-06-05 12:05 GMT+02:00 Gerwin Vis notifications@github.com:

i downloaded the tool and the firmware... opened the tool, connect the oit-ga6 to my computer. My computer tells me it doesn't recognize the usb device and nothing appears in the tool. Is there a driver i need to install first? ps: i tried the connection with bost the h-rxd and h-txd as the u-rxd and u-txd

nothing happens

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-394654398, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2zr7Q8g7E5_4KaoYsjJUVhxsLf4pks5t5lfTgaJpZM4T39rw .

gerwinvis commented 6 years ago

tnxs driver for PL2303HXD usb to uart ttl is installed and recognized bij the computer and the com port thing you explain is new for me....

i think i'm gonna buy an other one... haha

manuprendlair commented 6 years ago

this usb serial converter is best : FTDI FT232RL USB to TTL Serial Converter Adapter Module (google this)

For the gprs, yes I suggest not to spent to much time with the A6 !

have fun

2018-06-05 12:25 GMT+02:00 Gerwin Vis notifications@github.com:

tnxs driver for PL2303HXD usb to uart ttl is installed and recognized bij the computer and the com port thing you explain is new for me....

i think i'm gonna buy an other one... haha

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-394659871, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2_btGxYL7D-cvWjabqflD5ApRd7qks5t5lymgaJpZM4T39rw .

gerwinvis commented 6 years ago

allright, don't know what i did different but it says it passed. i'm a noob in this things... what software do you use to test with at commands?

manuprendlair commented 6 years ago

humm If I well remember on the ai thinker wiki you could find a tool to test at command. but I wrote my code with the gps tiny library. I had no success with the A6, sometine register to the network, sometime not, sometime return some code nobody know...I just was successful sending sms and make call two or tree times..but not for gprs connection let's me know if you have success with it !

2018-06-05 13:01 GMT+02:00 Gerwin Vis notifications@github.com:

allright, don't know what i did different but it says it passed. i'm a noob in this things... what software do you use to test with at commands?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-394668377, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2-735afsa_buOrwUer__EH2DHoY1ks5t5mUWgaJpZM4T39rw .

gerwinvis commented 6 years ago

tnxs!!

manuprendlair commented 6 years ago

you're welcome. Have Fun

2018-06-05 13:12 GMT+02:00 Gerwin Vis notifications@github.com:

tnxs!!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-394670943, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ2_UfkKbA9ZUim0xTfOM-wBSj93Twks5t5meFgaJpZM4T39rw .

gerwinvis commented 6 years ago

any tips on the best baud rate?

manuprendlair commented 6 years ago

The baudrate is 115200 for the A6 You could change it, but when reseting the baudrate come back to 115200. Normally you could use profile to save settings like baudrate. profile must normally be load at startup... I never been able to make it working on A6!

Good luck and let's me know if you'll have success

2018-06-05 21:21 GMT+02:00 Gerwin Vis notifications@github.com:

any tips on the best baud rate?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-394829137, or mute the thread https://github.com/notifications/unsubscribe-auth/AKcQ23YjHQHmQQbDsiKn9BpkE56MU_M0ks5t5toggaJpZM4T39rw .

janobstruggler commented 6 years ago

Experts Please Help! I can not even connect and run the Goouuu Tech IOT-GA6 module? I am looking literature for this module but all of them are in Chineese, please help me to understand and read about this module in english links, pdfs etc.

gerwinvis commented 6 years ago

To end my story, i stopped trying. Bought a adafruit feather fona. Sorry, its not an answer to your question but i wanted to end my story

janobstruggler commented 6 years ago

image

so the gsm model which is paining me is on the picture

cbolanos79 commented 6 years ago

I tried a IOT-GA6 module with arduino mega 2650 using Serial1 instead SoftwareSerial

Using arduino for connection between modem and computer worked ok: AT commands worked right, but I got errors when tried GPRS connection sequence.

It failed every time until I found the right sequence:

Instead using

AT+CSTT=”apn”, “”, “”

Use

AT+CGDCONT=1,”IP”,”apn”

Ok, I use an apn without user and password, but it would be nice if anybody could try connection to A6 module and GPRS connection

I've no time for now to modify library and try gprs connection, but it should work.

yatan commented 6 years ago

Worked TinyGSM with Goouuu Tech IOT-GA6.

Updated a Goouuu Tech IOT-GA6 module using a stable oficial A6 firmware using simple usb_ftdi_ttl converter, connecting vcc_in, gnd, rst, h_rxd, h_txd pins and work fine the upgrade.

Upgrade tool: http://wiki.ai-thinker.com/_media/ai-thinker_gsm_module_download_tool_v11.00.04.7z Upgrade image: http://wiki.ai-thinker.com/_media/gprs/a6_v03.03.20161229019h03.rar

Then used a AT_Debug for know the modem COM speed (after upgrade changed to 38400), and upgrade de IMEI with AT commands commented the user: @manuprendlair

Used Diagnostics sketch to test, and work some GET petition to web server, the modem get stuck to recognize the response, but the petition to server are made correctly.

lucianog2000 commented 6 years ago

Hola, tengo este módulo y necesito ayuda para un proyecto ya que no estoy muy adentrado en el tema de módulos gsm y gprs. No encuentro nada que explique paso por paso como hacerlo funcionar y por eso acudo acá. Si alguien puede darme una mano estaría muy agradecido. Desde ya muchas gracias.

GerardoAllende commented 6 years ago

The only way it worked for me was updating the firmware as @yatan posted but connected FTDI TX pin with the A6 U_TX and the RX with U_RX. This way I can receive the "OK" response from my "AT\r."

@lucianog2000 yo también estoy empezando con este módulo y perdí todo el día probando. En mi perfil está mi dirección de email.

cbolanos79 commented 6 years ago

@yatan are you using software serial? If so, try to set baudrate 9600. Software serial may not be safe for higher baud rate.

chaton78 commented 6 years ago

Firmware upgrade worked for me... but I had to connect RX to HRX and TX to HTX which is the opposite of what I am used to with Serial Connection. Note that Uart connection is standard on this module (RX->U_TX, TX->U_RX). Don't forget the Ground.

maxholgasson commented 6 years ago

Hi, unfortunatly I also got a GOOUUU TECG IOT-GA6 instead of a AI A6

i updated now the board with the AU Thinker firmware sucessfully when sending "ATI" I got the current info now

ATI

Ai Thinker Co.LTD A6

V03.06.20171127R

OK

Updated then the IMEI with the number printed on the board However I still got an error when trying to send a sms:

AT+CMGF=1.

ERROR

Tried different AT commands and then get error 58:

CINIT

+CME ERROR:58 AT + CREG?

+CME ERROR:58

Does anyone have an idea?

img

EDIT It worked finally..the sim card was in the wrong direction in this module

Vcelist commented 6 years ago

Hi! I flashed this module (from Goouu Tech) firmware from Ai Thinker and it began to work at a speed of 115200 (previously, before the firmware, it worked fine on 9600) but it stopped registering in the gsm network when connected to Arduino (when disconnet - register and receive sms ok). So I would like to flash it back-the original firmware from Gooouu tech-can anyone find it? I couldn't find(((

yknivag commented 6 years ago

Is it possible to flash the firmware on these devices without a Windows PC? It looks like the AI-Thinker tool is only available for Windows. Is there a Linux/python solution? Or a command line one can issue over the serial?

yknivag commented 5 years ago

After much searching I have managed to track down both a datasheet and AT command list for the Goouuu Tech Ltd IOT-GA6-B device here http://www.lingzhilab.com/forum.php?mod=viewthread&tid=29

Unfortunately a Chinese mobile phone number is needed to register with the site to download the files so I am still no nearer getting it to work, but if anyone who has a Chinese phone number can register and download them then maybe it will be possible to get it working with this library...

chijiao commented 5 years ago

After much searching I have managed to track down both a datasheet and AT command list for the Goouuu Tech Ltd IOT-GA6-B device here http://www.lingzhilab.com/forum.php?mod=viewthread&tid=29

Unfortunately a Chinese mobile phone number is needed to register with the site to download the files so I am still no nearer getting it to work, but if anyone who has a Chinese phone number can register and download them then maybe it will be possible to get it working with this library...

I'm chinese, i had all files about you,
https://drive.google.com/open?id=1ikYhlcg3KJLbDsWzYDg7RmtgruROlYFk

AT command pdf file https://drive.google.com/open?id=1keBj3Ht6U5wnm6jFlwNSaO8__CXJmFWy

andrids95 commented 5 years ago

Hai, i tried to flash my IOT-GA6 using that Ai thinker tools but no port detected... image i used the old tools and the new one, its just same... no port detected but in device manager my port actually detected ... image and i can send AT command image so i think my port just working fine, but why Ai Thinker tools can't detect my port? i used FTDI and USB to TTL, and the result is still same... Any Solution?

chaton78 commented 5 years ago

You have to reverse the connection for programming and it is not the same pins. Le mar. 6 nov. 2018 à 07:44, andrids95 notifications@github.com a écrit :

Hai, i tried to flash my IOT-GA6 using that Ai thinker tools but no port detected... [image: image] https://user-images.githubusercontent.com/44802978/48064864-53646580-e236-11e8-88d6-73a068dbad76.png i used the old tools and the new one, its just same... no port detected but in device manager my port actually detected ... [image: image] https://user-images.githubusercontent.com/44802978/48064910-87d82180-e236-11e8-8124-cbba5235effe.png and i can send AT command [image: image] https://user-images.githubusercontent.com/44802978/48065032-d2599e00-e236-11e8-8845-39ece2be043a.png so i think my port just working fine, but why Ai Thinker tools can't detect my port? i used FTDI and USB to TTL, and the result is still same... Any Solution?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vshymanskyy/TinyGSM/issues/164#issuecomment-436239800, or mute the thread https://github.com/notifications/unsubscribe-auth/AAd81JKN9FKgGPKK4qkUGADhp-L74VjIks5usYQsgaJpZM4T39rw .

andrids95 commented 5 years ago

You have to reverse the connection for programming and it is not the same pins. Le mar. 6 nov. 2018 à 07:44, andrids95 notifications@github.com a écrit : Hai, i tried to flash my IOT-GA6 using that Ai thinker tools but no port detected... [image: image] https://user-images.githubusercontent.com/44802978/48064864-53646580-e236-11e8-88d6-73a068dbad76.png i used the old tools and the new one, its just same... no port detected but in device manager my port actually detected ... [image: image] https://user-images.githubusercontent.com/44802978/48064910-87d82180-e236-11e8-8124-cbba5235effe.png and i can send AT command [image: image] https://user-images.githubusercontent.com/44802978/48065032-d2599e00-e236-11e8-8845-39ece2be043a.png so i think my port just working fine, but why Ai Thinker tools can't detect my port? i used FTDI and USB to TTL, and the result is still same... Any Solution? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#164 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAd81JKN9FKgGPKK4qkUGADhp-L74VjIks5usYQsgaJpZM4T39rw .

i've done that, just nothing happend my port still didn't detected... i've tried to reinstall the driver too, and im using windows 10 64bit. is that normal if the port not listed in Ai Thinker tools?

chijiao commented 5 years ago

update firmware not use rx tx,a6 have another pins, htx hrx, this two pins for update firmware,please check

chijiao commented 5 years ago

http://wiki.ai-thinker.com/gprs_download

GPRS系列模组一般有两个串口,一个AT串口,一个下载串口。我们使用Hst_txd、Hst_rxd引脚下载程序。 使用USB-TTL接在模组的Hst_txd、Hst_rxd引脚,将串口连接到电脑上。

This module have two uart, one for mcu, one for download firmware, use usb-ttl connect Hst_txd、Hst_rxd, it's ok, i had tested

procopio commented 5 years ago

You have to reverse the connection for programming and it is not the same pins. Le mar. 6 nov. 2018 à 07:44, andrids95 notifications@github.com a écrit : Hai, i tried to flash my IOT-GA6 using that Ai thinker tools but no port detected... [image: image] https://user-images.githubusercontent.com/44802978/48064864-53646580-e236-11e8-88d6-73a068dbad76.png i used the old tools and the new one, its just same... no port detected but in device manager my port actually detected ... [image: image] https://user-images.githubusercontent.com/44802978/48064910-87d82180-e236-11e8-8124-cbba5235effe.png and i can send AT command [image: image] https://user-images.githubusercontent.com/44802978/48065032-d2599e00-e236-11e8-8845-39ece2be043a.png so i think my port just working fine, but why Ai Thinker tools can't detect my port? i used FTDI and USB to TTL, and the result is still same... Any Solution? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#164 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAd81JKN9FKgGPKK4qkUGADhp-L74VjIks5usYQsgaJpZM4T39rw .

i've done that, just nothing happend my port still didn't detected... i've tried to reinstall the driver too, and im using windows 10 64bit. is that normal if the port not listed in Ai Thinker tools?

I have the same problem @andrids95!

The important thing here is we are talking about a another board its the B one. GA6-B is different from GA6. With GA6 I can reflash without problem but this GA6-B is not detected by any version of Download Tool.

If anybody figured out how to reflash Goouuu Tech IOT-GA6-B, please post the trick.

ideunkr commented 5 years ago

Worked TinyGSM with Goouuu Tech IOT-GA6.

Updated a Goouuu Tech IOT-GA6 module using a stable oficial A6 firmware using simple usb_ftdi_ttl converter, connecting vcc_in, gnd, rst, h_rxd, h_txd pins and work fine the upgrade.

Upgrade tool: http://wiki.ai-thinker.com/_media/ai-thinker_gsm_module_download_tool_v11.00.04.7z Upgrade image: http://wiki.ai-thinker.com/_media/gprs/a6_v03.03.20161229019h03.rar

Then used a AT_Debug for know the modem COM speed (after upgrade changed to 38400), and upgrade de IMEI with AT commands commented the user: @manuprendlair

Used Diagnostics sketch to test, and work some GET petition to web server, the modem get stuck to recognize the response, but the petition to server are made correctly.

where the "rst" Pin connected to ?

phuongnv9 commented 5 years ago

Hi! I flashed this module (from Goouu Tech) firmware from Ai Thinker and it's ok. But I can not display sms as text mode (AT+CMGF=1). Help me please! a6

xthuan commented 5 years ago

Any update regarding the GA6-B board? The PWR pin of B board stays LOW when system boots up, it is the major difference. Anything related to this? Basically GA6-B is still a GA-6.

friistf commented 5 years ago

Hi, I know this was the subject of a now closed subject, but I am new to Goouuu Tech IOT-GA6 (just bought one) and the earlier treatment left me confused. Is there now a conclusion?

I am trying the "AT" command as follows:

[Code]

PICAXE 14M2

Terminal 19200

Symbol TlfSet = B.4 'RTS pin on module Symbol TXpin = B.3 'to U_RXD on module (there is also a H_RXD (which gives "No response")) Symbol RXpin = B.2 'to U_TXD on module (there is also a U_TXD (which gives "No response"))

Symbol TlfBaudRate = t9600_16 'Tlf Baud rate

pause 1000

PowerOnReset: High TXpin SetFreq M16 SerTxd( Cr, LF, "Started PowerOnReset", CR, LF ) pause 4000

MAIN:

    b1 ="?" : b2 = "?" : b3 = "?" : b4 = "?"
b5 ="?" : b6 = "?" : b7 = "?" : b8 = "?"

SerOut TXpin, TlfBaudRate, ( "AT" )

Serin [8000], RXpin, TlfBaudrate, b1,b2,b3,b4,b5,b6,b7,b8

if b1 = "?" OR b1 = "E" Then
    SerTxd( "No response", CR, LF )
Else
      SerTxd( "R:", b1,b2,b3,b4,b5,b6,b7,b8, CR, LF )
End if

pause 4000
goto MAIN

[/Code]

I have the red light (pwr) on and the blue light flashing every 3 sec. I have connected to U_RXD and U_TXD, but I get "No response" when sending "AT". Can anyone help?

best regards torben

xthuan commented 5 years ago

Better check the baudrate of GA6, default is 115200 I believe.

Hi, I know this was the subject of a now closed subject, but I am new to Goouuu Tech IOT-GA6 (just bought one) and the earlier treatment left me confused. Is there now a conclusion?

I am trying the "AT" command as follows:

[Code]

PICAXE 14M2

Terminal 19200

Symbol TlfSet = B.4 'RTS pin on module Symbol TXpin = B.3 'to U_RXD on module (there is also a H_RXD (which gives "No response")) Symbol RXpin = B.2 'to U_TXD on module (there is also a U_TXD (which gives "No response"))

Symbol TlfBaudRate = t9600_16 'Tlf Baud rate

pause 1000

PowerOnReset: High TXpin SetFreq M16 SerTxd( Cr, LF, "Started PowerOnReset", CR, LF ) pause 4000

MAIN:

  b1 ="?" : b2 = "?" : b3 = "?" : b4 = "?"
b5 ="?" : b6 = "?" : b7 = "?" : b8 = "?"

SerOut TXpin, TlfBaudRate, ( "AT" )

Serin [8000], RXpin, TlfBaudrate, b1,b2,b3,b4,b5,b6,b7,b8

if b1 = "?" OR b1 = "E" Then
  SerTxd( "No response", CR, LF )
Else
      SerTxd( "R:", b1,b2,b3,b4,b5,b6,b7,b8, CR, LF )
End if

pause 4000
goto MAIN

[/Code]

I have the red light (pwr) on and the blue light flashing every 3 sec. I have connected to U_RXD and U_TXD, but I get "No response" when sending "AT". Can anyone help?

best regards torben

Better check the baudrate of GA6, default is 115200 I believe.

procopio commented 5 years ago

Any update regarding the GA6-B board? The PWR pin of B board stays LOW when system boots up, it is the major difference. Anything related to this? Basically GA6-B is still a GA-6.

Until now there is no way to reflash GA6-B with Ai Thinkers firmware. It comes officially from factory. Try it as it is, to me the GA6-B is working well with original firmware.

Good luck!

procopio commented 5 years ago

Better check the baudrate of GA6, default is 115200 I believe.

Confirmed the default is 115200.

xthuan commented 5 years ago

Any update regarding the GA6-B board? The PWR pin of B board stays LOW when system boots up, it is the major difference. Anything related to this? Basically GA6-B is still a GA-6.

Until now there is no way to reflash GA6-B with Ai Thinkers firmware. It comes officially from factory. Try it as it is, to me the GA6-B is working well with original firmware.

Good luck!

Thanks for your reply:) I can use AT commands to establish TCP connection, however, can not use MQTT through PubSubclient on the top of TinyGSM.

Any comments?

friistf commented 5 years ago

Hi, I have some (easy?) questions:

  1. When I want to connect to sent AT-commands, do I connect to U_TXD/U_RXD or to H_TXD/H_RXD.
  2. At which baud rate do I communicate?
  3. When I send an AT-command, do I suffix the "AT" with CR - like "AT$13" I think these are the questions that have to be answered first. Can anyone help? best regards torben
xthuan commented 5 years ago

Hi, I have some (easy?) questions:

  1. When I want to connect to sent AT-commands, do I connect to U_TXD/U_RXD or to H_TXD/H_RXD.
  2. At which baud rate do I communicate?
  3. When I send an AT-command, do I suffix the "AT" with CR - like "AT$13" I think these are the questions that have to be answered first. Can anyone help? best regards torben
  1. U_TXD/U_RXD
  2. 115200
  3. When you use Arduino IDE, type "AT" and don`t forget to select the "NL and CR" option.

-Xintao

friistf commented 5 years ago

Hi xthuan, Thank you for your answer. You write: "When you use Arduino IDE, type "AT" and don`t forget to select the "NL and CR" option"

I am using Picaxe, so my communication after points 1. and 2. will look like this:

hSerOut 0, ( "AT" ) hSerIn (1000, MAIN), 0, 4

where the latter should result in the answer "OK". Is that right? Since I dont use Aduino I dont have the options "NL" and "CR". best regards torben

xthuan commented 5 years ago

Hi xthuan, Thank you for your answer. You write: "When you use Arduino IDE, type "AT" and don`t forget to select the "NL and CR" option"

I am using Picaxe, so my communication after points 1. and 2. will look like this:

hSerOut 0, ( "AT" ) hSerIn (1000, MAIN), 0, 4

where the latter should result in the answer "OK". Is that right? Since I dont use Aduino I dont have the options "NL" and "CR". best regards torben

Seems correct.