Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 02:03 25 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Collected and updated info about wifi and CMM2

     Page 2 of 2    
Author Message
grinoir
Newbie

Joined: 12/09/2020
Location: Denmark
Posts: 11
Posted: 08:25am 16 Sep 2021
Copy link to clipboard 
Print this post

Hi jirsoft and frnno967
Thanks for your suggestions.

I tried downgrading the ESP libraries (2.7.4) as mentioned om Zimodem Github page.
Uploaded again to both my ESP-01s and a NodeMCU.
Now i don't get an error message but the Maxiterm only gives me the "Terminal online" with no possibility for writing AT commands.

jirsoft: HW watchdog, low-voltage + reset.
Can you elaborate? The ESP-01s is connected to my pc with a usb adapter (with flash switch) the NodeMCU has a reset button
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 10:43am 16 Sep 2021
Copy link to clipboard 
Print this post

Hi grinoir (Anders Christensen  ),
when you have ESP (or NodeMCU) connected to the PC and flashed, what it shows after restart? It's working properly or shows some error? Does it react to the ATI command?

You can first test everything direct from PC terminal, first when it will be working properly, connect it to the CMM2 and test Maxiterm...

Most simple commands to test should be:
ATI : re-shows the startup message, including wifi connection information.
ATI0 : same as ATI
ATI1 : Shows the current common variable settings, common 'S' registers.
ATI2 : Shows the modem's current IP address
ATI3 : Shows the modem's current Wireless Router connection
ATI4 : Shows only the firmware current version
ATI5 : Shows all the current variable settings, all 'S' registers.
ATI6 : Shows the current mac address.
ATI7 : Shows the current formatted time (see AT&T).
ATI8 : Shows the firmware build date/time
ATI9 : Same as I3, but also includes any static settings, same order as ATW
ATI10: Shows the last printer url used.

Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
grinoir
Newbie

Joined: 12/09/2020
Location: Denmark
Posts: 11
Posted: 12:07pm 16 Sep 2021
Copy link to clipboard 
Print this post

Hi jirsoft, thanks for taking your time to help me.

1) Restart - how do I do that? Arduino IDE just sat "Hard resetting" (no indication of it being done

2) I tried to use the terminal in Arduino IDE but it does not do anything.
What program do you use and how to you connect to the ESP-1 for testing?
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 12:24pm 16 Sep 2021
Copy link to clipboard 
Print this post

Hi grinoir,
terminal in Arduino IDE should work. Easiest way is with NodeMCU, as it has already good working USB-to-serial adapter. Maybe have you wrong set the speed (try 115200).

I would try some simple blink program first, modified to use also serial output:
void setup() {
 Serial.begin(115200);
 pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
 digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                   // but actually the LED is on; this is because
                                   // it is acive low on the ESP-01)
 Serial.println("LED On!");
 delay(1000);                      // Wait for a second
 digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
 Serial.println("LED Off!");
 delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}


After flashing and reset of the ESP, it should blink the LED and also write LED On!/LED Off! to the serial console (terminal in Arduino IDE).

When it's working properly, flash ZiModem and try some AT command, when not:
Is the LED blinking, just no serial output? -> try to adjust the speed
Nothing happened? You have problem with flashing, maybe try to adjust ESP type (and memory size)...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3013
Posted: 01:37pm 16 Sep 2021
Copy link to clipboard 
Print this post

  jirsoft said  Most simple commands to test should be:
ATI : re-shows the startup message, including wifi connection information.

[Etcera]

Thank you very much for this. In all the years I've looked at various AT command documents, I've never seen (or paid attention to) this. Is it for specific firmware or for most ESP AT-capable firmware?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 02:15pm 16 Sep 2021
Copy link to clipboard 
Print this post

Hi Lance,
this was about ZiModem, so it's specific for Zimodem FW...

Here is original ESP8266 AT commands set.
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
grinoir
Newbie

Joined: 12/09/2020
Location: Denmark
Posts: 11
Posted: 12:02am 19 Sep 2021
Copy link to clipboard 
Print this post

Thanks jirsoft!

Now my setup is working.
Using your program I flashed the nodemcu. It worked right away.
Back to reflashing with the Zimodem firmware. Before flashing I noticed in the code, that baud was set to 9600 - probably because it is supposed to work on Commodore 64. I changed that to 115200 and that made it work.
Setting up the wifi worked like a charm also.

I could not be happier.
Thanks a lot to all of you.

Best
Grinoir
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024