Comments (9)
You need to try setting HIGH on pin 8 to enable esp8285.
from maixduino.
Thank you!
It now gives a response, but not 'OK'. It responds with 0x42 0xFF. So the example still concludes that the ESP cannot be initialized. If I give the AT command to reset, the ESP gives responses, but again not what is expected.
Also if I try the maixpy demo, with correct ssid and passwd, I get an error:
OSError: couldn't init nic esp8285 ,try again please
Maybe there is something wrong with the esp8285 on my board?
from maixduino.
Try using logic analyzer to read the serial output when esp8285 first startup.
from maixduino.
During startup it seems to respond correctly:
At first the baud rate is 74880:
\r \n ' ' e t s ' ' J a n ' ' ' ' 8 ' ' 2 0 1 3 COMMA r s t ' ' c a u s e : 2 COMMA ' ' b o o t ' ' m o d e : ( 3 COMMA 0) \r \n \r \n l o a d ' ' 0 x 4 0 1 0 0 0 0 0 COMMA ' ' l e n ' ' 2 5 9 2 COMMA ' ' r o o m ' ' 1 6 ' ' \r \n t a i l ' ' 0 \r \n c h k s u m ' ' 0 x f 3 \r \n l o a d ' ' 0 x 3 f f e 8 0 0 0 COMMA ' ' l e n ' ' 7 6 4 COMMA ' ' r o o m ' ' 8 ' ' \r \n t a i l ' ' 4 \r \n c h k s u m ' ' 0 x 9 2 \r \n l o a d ' ' 0 x 3 f f e 8 2 f c COMMA ' ' l e n ' ' 6 7 6 COMMA ' ' r o o m ' ' 4 ' ' \r \n t a i l ' ' 0 \r \n c h k s u m ' ' 0 x 2 2 \r \n c s u m ' ' 0 x 2 2 \r \n \r \n 2 n d ' ' b o o t ' ' v e r s i o n ' ' : ' ' 1 . 7 ( 5 d 6 f 8 7 7) \r \n S P I ' ' S p e e d ' ' : ' ' 4 0 M H z \r \n S P I ' ' M o d e ' ' : ' ' D O U T \r \n S P I ' ' F l a s h ' ' S i z e ' ' & ' ' M a p : ' ' 8 M b i t ( 5 1 2 K B + 5 1 2 K B) \r \n j u m p ' ' t o ' ' r u n ' ' u s e r 1 ' ' @ ' ' 1 0 0 0 \r \n \r \n r f ' ' c a l ' ' s e c t o r : ' ' 2 5 1 \r \n f r e q ' ' t r a c e ' ' e n a b l e ' ' 1 \r \n r f [ 1 1 2 ] ' ' : ' ' 0 3 \r \n r f [ 1 1 3 ] ' ' : ' ' 0 0 \r \n r f [ 1 1 4 ] ' ' : ' ' 0 1 \r \n \r \n S D K ' ' v e r : ' ' 2 . 2 . 1 ( 6 a b 9 7 e 9) ' ' c o m p i l e d ' ' @ ' ' J u n ' ' ' ' 7 ' ' 2 0 1 8 ' ' 1 3 : 5 9 : 1 4 \r \n p h y ' ' v e r : ' ' 1 1 3 6 _ 0 COMMA ' ' p p ' ' v e r : ' ' 1 0 . 2 \r \n \r \n
Then it switches to 9600:
\r \n r e a d y \r \n
But when it receives the 'AT\r\n' it still responds with 0x42 0xFF.
If i change the Serial1.begin(9600) to Serial1.begin(74880) in the WebServer sketch, I see that the ESP responds correctly to the AT command. It then gets an AT+RST command and indeed resets itself and I see the same message appear as given above. After the reset, communication starts to get problematic again, probably because the ESP switches to 9600 while the k210 does not. The sketch says that no WiFi shield is present.
from maixduino.
The correct baud rate supported by the esp8285 is 115200.
I modified the examples and you can test it again.
from maixduino.
It works!!!!
Thank you!!!!
from maixduino.
Hi, I am now trying to use ESP8285 to connect to a wifi network and getting that same error, although with Maixduino:
OSError: couldn't init nic esp8285 ,try again please
already checked baudrate and 8 pin to be high, I am using the following firmware:
MicroPython v0.5.0-42-g458ed4e on 2020-04-10; Sipeed_M1 with kendryte-k210
, will try with another build just in case. Believe wifi with ESP8285 isn't available for maixduino right?
from maixduino.
Try using logic analyzer to read the serial output when esp8285 first startup.
hi, the page is not found i dont know why
from maixduino.
It works!!!!
Thank you!!!!
can you send me the code please?
the page not found
from maixduino.
Related Issues (20)
- Need assistance adding support for the stickV
- Need help running OpenCV and Dlib
- Maixduino no longer connecting to Maixpy IDE HOT 2
- RE: Trying the Given Selfie Source/Maixduino Selfie Source! HOT 1
- Maix Amigo basic display red and blue swapped HOT 1
- Cannot install board definitions - wrong link and wrong SHA256 HOT 3
- no serial connection HOT 7
- [TCP/İP Socket] live stream using maixduino as client HOT 3
- Maixduino Operating system HOT 3
- [UART] Maixduino Reading Serial port HOT 2
- How to display rtsp stream in maiduino board
- Is there any way to send images from a computer to maixduino board using micropython
- board missing HOT 1
- How to use C/C++ PlatformIO/Arduino Framework (Not MaixPy) to use wifi HOT 3
- Are There Plans for Maix M1s Support? HOT 1
- Is This Project Dead? HOT 1
- using "SD.h" library for SD card on maixduino HOT 1
- arg "channel_mask" in "i2s_init" function HOT 1
- use external I2S mems mic for Maix_Speech_Recognition HOT 1
- Where is your binocular example? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maixduino.