Search found 8 matches
- Thu Mar 02, 2017 11:07 pm
- Forum: ESP8266 boards
- Topic: How do you properly handle external interrupts?
- Replies: 28
- Views: 23457
Re: How do you properly handle external interrupts?
There was an interesting recent ADAfruit video where they were using arduino and an external super low power timer chip ( TPL5110) to wake up the arduino at a set interval, let it's do it's thing, then when it's done the arduino was giving a signal back to the chip which would then cut power to the ...
- Thu Mar 02, 2017 7:57 pm
- Forum: ESP8266 boards
- Topic: How do you properly handle external interrupts?
- Replies: 28
- Views: 23457
Re: How do you properly handle external interrupts?
I remember reading in another thread that with a static IP it's between 2 and 3 sec, with dhcp it's about 4. Is there a command to run to check when you're on the network? I've got a built in 5 sec delay in my projects before connecting to the MQTT broker, but I'd like to replace that with something...
- Mon Feb 27, 2017 6:45 am
- Forum: ESP8266 boards
- Topic: How do you properly handle external interrupts?
- Replies: 28
- Views: 23457
Re: How do you properly handle external interrupts?
Here's My first script! It sends a MQTT signal when a button is pressed. It's set up to have 3 buttons, the button callback only sets a global variable. Then the main loop checks if that variable is set and sends the command. This means that slow network code stays out of the callback, makes sure th...
- Wed Feb 22, 2017 7:26 am
- Forum: ESP8266 boards
- Topic: Newly flashed D1 mini disconnects after a few sec
- Replies: 10
- Views: 8562
Re: Newly flashed D1 mini disconnects after a few sec
Thank you so much for your help. I'm going to blame buying the cheapest D1 minis I could find on Ebay. Connecting it to a solid 3.3v source seems to work fine, I'm able to connect to it's default Wifi and ping it endlessly (I count 3 min as endless based on what I was getting earlier.) Until my USB2...
- Mon Feb 20, 2017 7:23 pm
- Forum: ESP8266 boards
- Topic: Newly flashed D1 mini disconnects after a few sec
- Replies: 10
- Views: 8562
Re: Newly flashed D1 mini disconnects after a few sec
What you can try is deactivating the network: import network network.WLAN(network.STA_AP).active(False) network.WLAN(network.STA_IF).active(False) It's strange I'd be getting a short on both boards, They're dangling in free air off the cable (I've tried switching cables too) I get this running the ...
- Mon Feb 20, 2017 8:15 am
- Forum: ESP8266 boards
- Topic: Newly flashed D1 mini disconnects after a few sec
- Replies: 10
- Views: 8562
Re: Newly flashed D1 mini disconnects after a few sec
[quote="deshipu"]Is any part of the board getting hot? In particular, the 3-pin black voltage regulator?[/quote]
Yes the chip beside the USB connection does get hot, I think it's the same one you're mentioning, 3 pins one side, 2 on the other.
Yes the chip beside the USB connection does get hot, I think it's the same one you're mentioning, 3 pins one side, 2 on the other.
- Mon Feb 20, 2017 8:12 am
- Forum: ESP8266 boards
- Topic: Newly flashed D1 mini disconnects after a few sec
- Replies: 10
- Views: 8562
Re: Newly flashed D1 mini disconnects after a few sec
Update with more info. Turns out the board isn't crashing, when I connect with screen, It stops, but I can connect again just fine. I wrote the firmware to the board again with --verify, That reported it was all fine. I wrote it at baud 9600 which took a while but strangely (as you will see soon) it...
- Sun Feb 19, 2017 10:21 pm
- Forum: ESP8266 boards
- Topic: Newly flashed D1 mini disconnects after a few sec
- Replies: 10
- Views: 8562
Newly flashed D1 mini disconnects after a few sec
Hi there. I'm reasonably new to Micropython but have made one project using a nodeMCU and some buttons connected to MQTT I've received a couple of Wemos D1 mini's and I'm having trouble with them. I've flashed them with the same firmware used on the nodeMCU (the latest download for esp8266) and when...