Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 18:26 29 Mar 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 : ESP8266 on CMM2 or "you can't ping the www.backshed.com"

Author Message
andreas

Senior Member

Joined: 07/12/2020
Location: Germany
Posts: 187
Posted: 12:20pm 25 Sep 2022
Copy link to clipboard 
Print this post

Hello,

I wanted to connect the Colour Maximite 2 to the internet.

My setup is an ESP8266 chip connected to ports 4,6,8,10 of the CMM2. Pin 8 & 10 are for TX/RX of com1: and pin 4 & 6 for VCC and GND. In between I put a dc-dc converter which generates 3.3 volts for the esp from the 5 volts comming from the cmm2. the TX/RX are connected cross over ("null modem") TX Cmm2 to RX ESP and vice versa. The ESP chip enable pin is sourced from the 3.3V comming from the buckboost converter.






a tiny "terminal program" gives the possibility to key in ESP8266_AT commands to test all the features:

' terminal.bas - terminal program to interface with esp8266
'
cls
print "ESP Terminal on COM1"
print "===================="
print
open "com1:115200" AS #1
open "terminal.log" FOR APPEND AS #2
do

 eingabe$ = ""
 ausgabe$ = ""
 
 eingabe$ = inkey$
 
 if eingabe$ <> "" then
   print #1,UCASE$(eingabe$);
 end if
 
 if Loc(#1) >=1 then ausgabe$ = input$(1,#1)
 char = ASC(ausgabe$)
 
 if char > 31 then
   print ausgabe$;
   print #2, ausgabe$;
 end if
 
 if char = 13 then
   print
   print #2, ""
 end if

loop


And this is the result:

OK
AT+RESTORE


OK

ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
 SPI Speed      : 40MHz
 SPI Mode       : DIO
 SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

??o?s?n|??|rl?s?l?l?l`?s?dl?l`?r?l???ll`sl?rd???cd?cr|bp`lcls?dco?nn?lpl?l?????ll?o???bl?p???cl?cpslrl
Ai-Thinker Technology Co. Ltd.

ready
AT+CWMODE=1


OK
AT+CWLAP

+CWLAP:(3,"WLAN-E6A414",-81,"9c:80:df:e6:a4:c4",7,0,0)
+CWLAP:(3,"hurz",-57,"98:9b:cb:2e:00:ec",12,11,0)
+CWLAP:(3,"TEST",-55,"9a:9b:cb:2e:00:ec",12,11,0)

OK
AT+CIFSR

+CIFSR:STAIP,"0.0.0.0"
+CIFSR:STAMAC,"c8:c9:a3:64:ef:2b"

OK
AT+CWJAP_DEF="TEST","SOMEPASSWD"

WIFI CONNECTED
WIFI GOT IP

OK
AT+CWAUTOCONN=1


OK
AT+CIPSTATUS

STATUS:2

OK
AT+CIPDOMAIN="WWW.THEBACKSHED.COM"

+CIPDOMAIN:223.27.28.33

OK
AT+PING="WWW.THEBACKSHED.COM"

+timeout

ERROR
AT+PING="WWW.GOOGLE.COM"

+13

OK
AT+PING="WWW.THEBACKSHED.COM"

+timeout

ERROR


so, the www.thebackshed.com is not pingable  

sources:
https://www.espressif.com/sites/default/files/4a-esp8266_at_instruction_set_en_v1.5.4_0.pdf - the at commands

https://www.instructables.com/Using-the-ESP8266-module/ - inspiration for the terminal program

-andreas
 
Print this page


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

© JAQ Software 2024