Simplest way to do a battery powered esp8266 sensor?
Posted: Fri Jan 30, 2015 1:14 pm
I would like to create a sensor which will run at least 12 months with AA-batteries. It should be normally completely OFF, activated by PIR, or magnetic door sensor, and when activated it should run 30 seconds, open connection to wifi, and post to pushingbox.com that something triggered it.
I'm not electronics specialist so I need to do it simple. I have tried to use 8 LED PIR following instructions here:
http://www.instructables.com/id/Plane-i ... o-Do-Your/
I removed all led's and connected gnd --> gnd, then one positive pin of led to CH_PD and from another anode foot of LED pin to VCC. After that esp8266-01 red led has light or glowing, but not really bright. Blue led in esp8266 flashes just once, not like normally when connecting to network. So I was wondering is this voltage or power problem? Should I add something like optoisolator or try to find 3V relay? I have tested module by connecting directly to 2 AA-batteries, it works fine
Or would it be better to use this one and some way add it to work with for example magnetic door sensor?
http://www.dx.com/p/v89-2s-1000h-settab ... pcs-221756
or this?
http://www.dx.com/p/3-3v-18v-10s-24h-ti ... een-296557
I'm not electronics specialist so I need to do it simple. I have tried to use 8 LED PIR following instructions here:
http://www.instructables.com/id/Plane-i ... o-Do-Your/
I removed all led's and connected gnd --> gnd, then one positive pin of led to CH_PD and from another anode foot of LED pin to VCC. After that esp8266-01 red led has light or glowing, but not really bright. Blue led in esp8266 flashes just once, not like normally when connecting to network. So I was wondering is this voltage or power problem? Should I add something like optoisolator or try to find 3V relay? I have tested module by connecting directly to 2 AA-batteries, it works fine
Or would it be better to use this one and some way add it to work with for example magnetic door sensor?
http://www.dx.com/p/v89-2s-1000h-settab ... pcs-221756
or this?
http://www.dx.com/p/3-3v-18v-10s-24h-ti ... een-296557