Chat freely about anything...

User avatar
By blackink
#1802 HI All,
I have a bunch of sensors I'd like to be able to monitor and I've been looking at these little wonders and would like to know: Does it have the resources to:
a) Have an Interrupt configured detect a GPIO transition
b) On receiving the interrupt, make an HTTP call to a server?

Thanks in advance

AB
User avatar
By tinhead
#1812 yes it does
User avatar
By blackink
#1818 Thanks Tinhead - good to know that the capacity is there.

Where would I start looking to understand how interrupts are handle on the chip? I can't see any examples thus far.

Thanks,

AB
User avatar
By Borstenhorst
#2097 I played a bit with the commands but was not able to enable the interrupts.
Thats the reason I am currently have a timer set up which is polling the pin... NAAAAH!!!

I did some research on that and found:
http://g-lab.ca/esp8266ex-gpio-applicat ... interface/

I haven't had the time to try those commands but maybe someone wants to do it and post an explanation?
Seems like there is just one GPIO interrupt handler and that you have to figure out what happened in the ISR, but this is just speculation, I look forward to get some Infos on that :)

For sending some HTTP on an event you might want to check my AT-example mod code
https://github.com/ThomasBarth/ESP8266- ... _baseCmd.c

and

https://github.com/ThomasBarth/ESP8266- ... at_ipCmd.c