Search found 56 matches

by kwiley
Sat Jun 15, 2019 2:20 am
Forum: ESP8266 boards
Topic: How to manually awake from deep sleep
Replies: 4
Views: 183

Re: How to manually awake from deep sleep

So I put a simple momentary switch between RST and GND. It resets the board just fine, but curiously, it still resets with a DEEPSLEEP_RESET as the cause anyway. If I run the following code, which creates the main.py necessary for a proper boot-up and then puts the board to sleep, and if I then pres...
by kwiley
Fri Jun 14, 2019 7:02 am
Forum: ESP8266 boards
Topic: How to manually awake from deep sleep
Replies: 4
Views: 183

Re: How to manually awake from deep sleep

I did a little digging and it looks like most circuits wire the RST pin to VCC with a resistor and then provide a switch to ground. So, the idea is that the reset pin spends most of its time high, but if you explicitly pull it low with a switch the board suddenly reboots?
by kwiley
Fri Jun 14, 2019 5:53 am
Forum: ESP8266 boards
Topic: How to manually awake from deep sleep
Replies: 4
Views: 183

How to manually awake from deep sleep

Say I want to run a sensor very rarely, once a day perhaps, using an ESP-01S. Upon waking from deep sleep, the sensor takes its reading, transmits the data to a web server, and quickly goes back to deep sleep. However, if I walk past the device, I want to be able to push a button that manually trigg...
by kwiley
Fri Jun 14, 2019 2:34 am
Forum: ESP8266 boards
Topic: Startup serial noise?
Replies: 2
Views: 152

Re: Startup serial noise?

Ok, that makes sense. Thanks.
by kwiley
Thu Jun 13, 2019 3:19 pm
Forum: ESP8266 boards
Topic: Startup serial noise?
Replies: 2
Views: 152

Startup serial noise?

What is the noise that occurs at the beginning of a session, shown below? First there is some legitimate text showing various checksums, which I presume has to do with either initializing the chip itself, or with initializing the serial connection, but then following that there is what appears to be...
by kwiley
Wed Jun 12, 2019 1:11 pm
Forum: ESP8266 boards
Topic: ADC voltage range
Replies: 3
Views: 111

Re: ADC voltage range

Thank you. Still, I am curious about my original question. Does providing 1.1-3.3V into the analog sensor line merely saturate the signal so that it produces a 1023, or does it damage the chip?

Thanks again for the voltage divider design.
by kwiley
Wed Jun 12, 2019 2:52 am
Forum: ESP8266 boards
Topic: ADC voltage range
Replies: 3
Views: 111

ADC voltage range

I'm considering hacking the ESP-01S to access the ADC line. The voltage range for the ADC is 0-1.1V, not the full logic range of 3.3V. My question is whether providing 1.1-3.3V to the ADC line harms the chip or whether it merely saturates the ADC so that it returns 1023 (10 bits) for any voltage abo...
by kwiley
Thu Jun 06, 2019 7:53 am
Forum: ESP8266 boards
Topic: How to reset ESP01-S after converting TX to GPIO
Replies: 2
Views: 88

Re: How to reset ESP01-S after converting TX to GPIO

Okay. Thanks. I realize a lot of folks manually wire GPIO0 to ground, but I'm using one of those USB programmers with a physical switch between UART and PROG mode, so that isn't a wiring issue. At any rate, it's reassuring to see that prog mode should indeed circumvent this sort of issue. That's wha...
by kwiley
Thu Jun 06, 2019 7:15 am
Forum: ESP8266 boards
Topic: How to reset ESP01-S after converting TX to GPIO
Replies: 2
Views: 88

How to reset ESP01-S after converting TX to GPIO

I knew doing this would be difficult to back out of, but I didn't think it would be impossible. I didn't expect it to permanently brick the board, so I suspect I haven't figured out the solution yet. I wrote a main.py that initializes pin 1 (TX) to an output pin. So, now, whenever the board boots up...
by kwiley
Thu Jun 06, 2019 7:10 am
Forum: ESP8266 boards
Topic: Controlling a soil moisture sensor
Replies: 3
Views: 129

Re: Controlling a soil moisture sensor

Yeah, but this is what I have lying around, so I'm going to work with it.