![]() ![]() Add two 40K resistors (in parallel) to ground (or maybe just use one 20K but this is what I did).īoom. ![]() Then add a 240k resistor from that pin to VBUS (labeled USB pin on board).Resistor nessesary because alarm pin doesn’t source it’s own current.Ĭonnect the Emit pin of the NPN transistor to the Enable pin on the Huzzah Feather. Wire a GPIO to the Collect on the NPN transistor.Ĭonnect the Alarm pin to the Base pin of the NPN transistor. Replace the 10k pull-up resistor on the huzzah’s Enable pin (R7) with a 240k. This doesn’t matter though because I’m turning the whole board off via the Enable pin. I’m using the Huzzah Feather, which draws a ton of current even in the ESP’s deepsleep because, bad design. I just connected a $1 RTC DS3231 (Amazon), and NPN Transistor, three resistors and RTCLib with a dash of extra code to use the alarm feature. That’s 3x better than the “deepsleep” of the ESP8266 if everything is working perfectly and you have nothing else connected. I’m running my weather station at 20 micro amps (not milliamps) in “sleep” mode. going back to sleep instantly if battery voltage is below safety threshold (2,9v or 5,8V), in order for the sun come up again. voltage sensor from adc to the battery-terminals (max 4,2v or 8,4v) via voltage divider.use RTC-Ram as state registier and an I2C port expander like PCF8574 for going to deep sleep while sensor is "warming up" (running fan, getting fresh air), to keep Enable-Pin up while sleeping, would possible reduce battery consumption by 50%.go sleep for an adjustable amount of time (30 minutes.).transmit values (wait until successfull ack.fire up the wifi, search for AP, connect.idle for 60s (calibration time for sensor). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |