Skip to content

Commit 28b2190

Browse files
committed
update readme
1 parent a5e3524 commit 28b2190

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ As currently programmed, the sensor will loop between sleeping (with the Wemos i
2929

3030
## Going outdoors
3131

32-
A downside of the current implementation is that the SDS011 draws a relatively helft 4ma while asleep. Some possible solutions for increasing battery life:
32+
A downside of the current implementation is that the SDS011 draws a relatively hefty 4ma while asleep. Some possible solutions for increasing battery life:
3333
1) Use something (relay? MOSFET?) between the Wemos and the SDS011 to cut the connection before entering deep sleep.
3434
2) Hook the whole circuit to a MOSFET controlled by an ATiny85 or similar. This would provide better efficiency (because we would be sleeping the ATiny85 instead of the Wemos, which would be completely powered down), but is more complicated.
3535

@@ -38,23 +38,23 @@ Let's evaluate these options assuming a 10 minute wake interval, 30 sec working
3838
- Wemos consumes 150mA on average when awake or 5mA in light sleep
3939
- Deepsleep on Wemos consumes 2/3 times more than on esp8266 because of the USB-TTL converter: probably equates to around 0.1mA in total
4040
- At 1MHz the ATTiny85 consumes 2.5mA (awake) or 0.0005mA (asleep)
41-
- 3 AA batteries providing 7200mAh total
41+
- 10000mAh usb battery pack (e.g. [this one](https://www.amazon.co.uk/Puridea-Portable-External-Blackberry-Valentines/dp/B0109PYRE0/ref=sr_1_4?s=electronics&ie=UTF8&qid=1499622375&sr=1-4&keywords=10000+mah+usb+power))
4242
- 70% efficiency
4343

44-
As is: (7200 * 60 * 0.7) / (3 * (70 + 150) + 57 * (0.1 + 4) = 338 hours or 14 days
44+
As is: (10000 * 60 * 0.7) / (3 * (70 + 150) + 57 * (0.1 + 4) = 470 hours or 20 days
4545

46-
Without ATTiny but with relay: (7200 * 60 * 0.7) / (3 * (70 + 150) + 57 * 0.1) = 454 hours or 19 days
46+
Without ATTiny but with relay: (10000 * 60 * 0.7) / (3 * (70 + 150) + 57 * 0.1) = 631 hours or 26 days
4747

48-
With ATTiny: (7200 * 60 * 0.7) / (3 * (70 + 150 + 2.5) + 57 * 0.0005) = 453 hours
48+
With ATTiny: (10000 * 60 * 0.7) / (3 * (70 + 150 + 2.5) + 57 * 0.0005) = 629 hours
4949

50-
What about using the ATTiny and turning on the Wemos only for last 7 secs of 30sec working period (say, 0.7 mins / hour @ 200mA)? (7200 * 60 * 0.7) / (3 * (70 + 2.5) + 0.7 * 200 + 57 * 0.0005) = 845 hours or 35 days.
50+
What about using the ATTiny and turning on the Wemos only for last 7 secs of 30sec working period (say, 0.7 mins / hour @ 200mA)? (10000 * 60 * 0.7) / (3 * (70 + 2.5) + 0.7 * 200 + 57 * 0.0005) = 1174 hours or 49 days.
5151

52-
If the Wemos can request time and pass it to ATTiny85, we can sleep 6 hours at night as well, bringing us up to around 1120 hours.
52+
If the Wemos can request time and pass it to ATTiny85, we can sleep 6 hours at night as well, bringing us up to around 60 days.
5353

5454
## Portability
5555

5656
Another desideratum is the ability pair with a phone and transmit on the fly, or store measurements for transmission later.
5757

5858
Storing: by default we get 6 bytes of data every second. After 30 mins that's 11kb. The Wemos has 96 kb of data RAM so we should be fine... We could also move into the 4 mb of flash, but must be careful as it is limited to 100,000 write/erase cycles.
5959

60-
For gps data we need the phone. It should be possible for the phone to connect to the Wemos set up as an access point. Battery life on wifi might be expected to be 7200 * 0.7 / 200 = 25 hours. But it might make more sense to move to the ESP32 (which also has bluetooth) for this.
60+
For gps data we need the phone. It should be possible for the phone to connect to the Wemos set up as an access point. Battery life on wifi might be expected to be 10000 * 0.7 / 200 = 35 hours. But it might make more sense to move to the ESP32 (which also has bluetooth) for this.

0 commit comments

Comments
 (0)