Skip to content

Question - 48-door-alarm-deepsleep #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SuperJuke opened this issue Dec 5, 2017 · 2 comments
Closed

Question - 48-door-alarm-deepsleep #43

SuperJuke opened this issue Dec 5, 2017 · 2 comments

Comments

@SuperJuke
Copy link

I refer to your circuit here under the 48 door alarm project:

https://github.com/chaeplin/esp8266_and_arduino/blob/master/_48-door-alarm-deepsleep/pics/door_alarm_light_sleep_gpio_int.png

What pins do the "GPIO IN" and "LIGHT SLEEP IN" connect to on the ESP8266?

@PProvost
Copy link

Per the code in that example, I think LIGHT SLEEP IN maps to pin 5, specified by this constant:

#define DOOR_INT_PIN 5

I still haven't figured out where GPIO IN is supposed to go. There appears to be no reference to a 4th pin in the code.

@SuoaJ - Did you figure it out? I'm considering just not connecting it.

@PProvost
Copy link

I think I found it here: esp8266/Arduino#1488 (comment)

Circuit Label Sketch Pin
GPIO IN DOOR_PIN
LIGHT SLEEP IN DOOR_INT_PIN
16 RST_PIN
RST not in sketch, use RST on the board

I would love for @chaeplin to confirm however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants