Search found 10 matches
- Fri Oct 12, 2018 5:15 pm
- Forum: ESP8266 boards
- Topic: esp8266 won't wake from sleep
- Replies: 8
- Views: 8035
Re: esp8266 won't wake from sleep[SOLVED]
Hi, I’ve found the problem: power source. I’m using esp8266 only with resistor and cap and with an external usbtoserial converter, no nodemcu or huzzah board. When I power device with a strong power source and not from vcc of usb, wake normally, and it’s no problem, I can see the serial message anyw...
- Wed Oct 03, 2018 6:48 am
- Forum: ESP8266 boards
- Topic: esp8266 won't wake from sleep
- Replies: 8
- Views: 8035
Re: esp8266 won't wake from sleep
Ho, I have a led to a gpio that turn on for ten seconds in the main.py file after boot file, after this time start a script with the sleep function, so if the awake do a reset, I believe I can see the led on after wake, but it turn on only if I do a manual reset. I’m using an esp8266 with a usb to s...
- Sat Sep 29, 2018 5:28 pm
- Forum: ESP8266 boards
- Topic: esp8266 won't wake from sleep
- Replies: 8
- Views: 8035
Re: esp8266 won't wake from sleep
I disconnect gpio16 when I flash and reconnect after flashing.
when I use this script the device go to sleep but wake up only with manual reset
when I use this script the device go to sleep but wake up only with manual reset
- Sat Sep 29, 2018 5:25 pm
- Forum: ESP8266 boards
- Topic: esp8266 won't wake from sleep
- Replies: 8
- Views: 8035
Re: esp8266 won't wake from sleep
Hi, this one from the documentation: import machine # configure RTC.ALARM0 to be able to wake the device rtc = machine.RTC() rtc.irq(trigger=rtc.ALARM0, wake=machine.DEEPSLEEP) # check if the device woke from a deep sleep if machine.reset_cause() == machine.DEEPSLEEP_RESET: print('woke from a deep s...
- Sat Sep 29, 2018 1:03 pm
- Forum: ESP8266 boards
- Topic: esp8266 won't wake from sleep
- Replies: 8
- Views: 8035
esp8266 won't wake from sleep
Hi, I have an esp8266 running micropython v1.9.3 , I'm trying to work with the deep sleep and it work, but also if I have a connection between reset and GPIO16, using the script like the example in the documentation, the chip go in sleep mode but I can wake it only with a reset to gnd. Seems alarm0 ...
- Wed Aug 01, 2018 11:24 am
- Forum: ESP8266 boards
- Topic: orders ds18b20 probe
- Replies: 1
- Views: 1615
orders ds18b20 probe
Hi, could someone, if possible, let me understand how micropython orders the probes when there are more than one? with the scan() I can see the address of the probes and I can print the single probe read with a sort of list, but if I reboot the esp8266 or if I change one probe, for example the probe...
- Thu Dec 07, 2017 4:49 pm
- Forum: ESP8266 boards
- Topic: Credentials sticking around?
- Replies: 7
- Views: 7143
Re: Credentials sticking around?
hi,
is there anyone who knows exactly how many credentials are saved in the flash and where?
if only the last configuration is taken into account, why are so many saved?
is there a way to 'read' the others too? thanks for the answers and sorry for too many question!!
Andrea
is there anyone who knows exactly how many credentials are saved in the flash and where?
if only the last configuration is taken into account, why are so many saved?
is there a way to 'read' the others too? thanks for the answers and sorry for too many question!!
Andrea
- Tue Sep 12, 2017 10:36 am
- Forum: ESP8266 boards
- Topic: HTTP server body
- Replies: 4
- Views: 4314
Re: HTTP server body
What I see is an absolute limit on the length, if I add character is always truncated at 52 of body . The entire response of 536 includes all the header, token from Postman, body, etc. I notice that in the 'socket.recv(bufsize)' I can decide the size of buffer to receive, but not more than 4096? 409...
- Mon Sep 11, 2017 1:33 pm
- Forum: ESP8266 boards
- Topic: HTTP server body
- Replies: 4
- Views: 4314
Re: HTTP server body
Hi, I solved checking the len of the response and printing only the part after '\r\n\r\n' , the body of a POST. Now my queston is: what is the maximum length possible to receive? Now I have '.recv(4096)' and the len of the entire response is 536, the len of the body is 52. All outside of 52 characte...
- Sat Sep 09, 2017 4:43 pm
- Forum: ESP8266 boards
- Topic: HTTP server body
- Replies: 4
- Views: 4314
HTTP server body
Hi , i'm trying to use a web server example from micropython on esp8266, but I don't understand how to read the body of a POST request . I send the request from Postman and I receive all the header. I've try to check if Content-Length is present to print the query. I receive the correct length of th...