-->
Page 2 of 2

Re: Detecting door state

PostPosted: Tue Apr 26, 2016 5:46 pm
by chaeplin
danbicks wrote:
chaeplin wrote:
Chris Ryan wrote:I was wondering if anyone knows of a way to wake an esp8266 from deep sleep and also determine the state of a reed switch using only a single reed switch. I am able to achieve this using two, one acting as the reset for the esp8266 and another for reading the state.



For fast wifi connection, check this
https://github.com/chaeplin/esp8266_and ... -deepsleep

or adding attiny85 : http://imgur.com/MooQJV9


@chaeplin what software and hardware are you using to monitor current consumption, excellent graphs produced ?

Dans


Hardware :
1) ucurrent gold + pro mini + ads1115 + nrf24l01p
- https://www.eevblog.com/projects/ucurrent/
- https://github.com/chaeplin/esp8266_and ... ds1115.ino

2) gateway
- esp-12 + nrf24l01
https://github.com/chaeplin/esp8266_and ... emperature
- report : udp protocol to influxdb
https://github.com/chaeplin/esp8266_and ... #L763-L785

Software
1) time series db / influxdb
https://influxdata.com/time-series-platform/influxdb/

2) graph / grafana
http://grafana.org/

^^;

Re: Detecting door state

PostPosted: Tue Apr 26, 2016 8:23 pm
by martinayotte
@chaeplin. Thanks for all those links but I think the main question was :

what software and hardware are you using to monitor current consumption


In other words, do you use one ESP to measure consumption of another ESP and broadcast results to the DB ? :ugeek:

Re: Detecting door state

PostPosted: Tue Apr 26, 2016 11:46 pm
by chaeplin
martinayotte wrote:@chaeplin. Thanks for all those links but I think the main question was :

what software and hardware are you using to monitor current consumption


In other words, do you use one ESP to measure consumption of another ESP and broadcast results to the DB ? :ugeek:



Ucurrent gold is used to measure. Output volatge of ucurrent gold is sampled by ADS1115 with pro mini.
(I have to use pro mini and nrf24l01p as ucurrent gold is battery powered)

Re: Detecting door state

PostPosted: Wed Apr 27, 2016 9:55 am
by martinayotte
Interesting !
This David Jones, creator of uCurrent Gold, is a amazing guy ! ;)
For those who wish to see the schematic : http://www.eevblog.com/files/uCurrentRev5schematic.pdf
Unfortunately, pre-buildt unit is almost unaffordable, and out-of-stock every where ... :(