Search found 140 matches

by kwiley
Fri Jun 05, 2020 3:42 pm
Forum: ESP8266 boards
Topic: Batch of 5X ESP-01S won't boot
Replies: 3
Views: 2152

Batch of 5X ESP-01S won't boot

I just bought five ESP-01S boards in a batch, so they're all identical. esptool had no trouble erasing them or writing firmware to them, but when I restart them in UART mode, all I get is the usual single brief LED wink. No terminal REPL and no MicroPythonXXX wifi network. These are 1MB boards. I ha...
by kwiley
Wed Jun 03, 2020 5:07 pm
Forum: Pyboard D-series
Topic: U.S. availability
Replies: 2
Views: 2744

U.S. availability

PyBoard D is only listed on the official store, based in the UK. The international distributors, such as Adafruit, Sparkfun, and RobotShop don't list the D on their websites, only the v1.1. Can the D only be obtained from the UK?

Thanks.
by kwiley
Tue May 26, 2020 7:39 pm
Forum: ESP8266 boards
Topic: time.sleep() vs machine.lightsleep()
Replies: 2
Views: 2887

Re: time.sleep() vs machine.lightsleep()

Thanks.
by kwiley
Mon May 25, 2020 5:58 am
Forum: ESP8266 boards
Topic: time.sleep() vs machine.lightsleep()
Replies: 2
Views: 2887

time.sleep() vs machine.lightsleep()

Is time.sleep() (or utime.sleep()) the same thing as machine.lightsleep()? They take slightly different arguments (float seconds vs. int milliseconds), but functionally are they doing the same thing? Is there a recommendation between the two? Are the functions under the machine module meant to suppl...
by kwiley
Sun May 24, 2020 7:21 am
Forum: ESP8266 boards
Topic: D1 Clones
Replies: 13
Views: 8304

Re: D1 Clones

All right, so yours is working. Thanks. I have two completely different D1 minis (both clones, I admit) and both suffer a fairly widely experienced problem in this regard. Waking with an alarm just doesn't work. Hard resetting works, and resetting from the "zombie" state of an erroneous alarm wakeup...
by kwiley
Fri May 22, 2020 8:15 pm
Forum: General Discussion and Questions
Topic: How to use a low-signaling sensor to trigger wake interrupt
Replies: 12
Views: 6675

Re: How to use a low-signaling sensor to trigger wake interrupt

Yes, sorry. I see your point. I did write that. I was referring to the only "logic" connection, pushing aside the issue of actually powering the sensor, and furthermore that ground should be "common" amongst components. But you are right that such details need to be clarified.

Thanks!
by kwiley
Fri May 22, 2020 8:09 pm
Forum: ESP8266 boards
Topic: Who can confirm deep sleep alarm wake on D1 mini boards
Replies: 4
Views: 3837

Re: Who can confirm deep sleep alarm wake on D1 mini boards

It isn't immediately and necessarily clear that one should need to connect GPIO16 to RESET to enable wakeup on the reasoning that people might want to use the pin for another purpose. We are at least two levels of abstraction removed from the chip. Sure, on the ESP8266, you have to connect them dire...
by kwiley
Fri May 22, 2020 7:37 am
Forum: General Discussion and Questions
Topic: How to use a low-signaling sensor to trigger wake interrupt
Replies: 12
Views: 6675

Re: How to use a low-signaling sensor to trigger wake interrupt

What do you mean "without ground". The sensor has a VCC and a GND line. Those are connected to the ESP board's VIN and GND lines. Then I connected the sensor's signal line to the RESET line. I'm sorry, but I'm not understanding what you're trying to explain about my setup.
by kwiley
Thu May 21, 2020 11:57 pm
Forum: General Discussion and Questions
Topic: How to use a low-signaling sensor to trigger wake interrupt
Replies: 12
Views: 6675

Re: How to use a low-signaling sensor to trigger wake interrupt

Well, I'm powering the sensor from the board's own lines if that's what you mean. The IR sensor has three pins: VCC, GND, and signal. I'm feeding the sensor's power and ground from the ESP-01S's VIN and GND pins. Is that what you were asking?
by kwiley
Thu May 21, 2020 6:48 am
Forum: General Discussion and Questions
Topic: How to use a low-signaling sensor to trigger wake interrupt
Replies: 12
Views: 6675

Re: How to use a low-signaling sensor to trigger wake interrupt

I solved some of the mystery. I had directly tied GPIO16 to RESET to enable RTC wakeup. Apparently, doing this renders the sensor inoperable. By connecting the sensor's output directly to RESET with RESET connected to GPIO16, the sensor no longer triggers a reset. In fact the sensor no longer works ...