BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

SmartFarm_DeepSleep for ESP32 and ESP8266

I’ve seen many people are still interested in DeepSleep.

Just put the SmartFarm_DeepSleep project onto GitHub. The DeepSleep code has been tested several months and very reliable.

The water pump is controlled by the soil moist, measured either by preferably capacitive or resistive moist sensor.

Please note that the MaxDeepSleep Time in ESP8266 is very short, around 220 minutes or less. This features has been automatically taken care and adjusted in the code.

The new features are as folows:

# SmartFarm_DeepSleep Project for ESP8266, ESP32

## SmartFarm_DeepSleep demonstrates how to use DeepSleep in ESP32 and ESP8266

In the sample project, you can use these features:

1. Deep Sleep in ESP8266 and ESP32, with configurables DeepSleep time. 
2. Configurable sensor type, without having to rewrite code such as DHT type (DHT11,DHT22, AM2302, MW33, etc.), Soil Moist Sensor type (Capacitive, Resistive). 
3. Many configurable parameters, such as alarm setpoint, pump running setpoint, etc... 

2a_QR

Updated

SmartFarm_DeepSleep Project for ESP8266, ESP32

SmartFarm_DeepSleep demonstrates how to use DeepSleep in ESP32 and ESP8266

In the sample project, you can use these features:

  1. Deep Sleep in ESP8266 and ESP32, with configurables DeepSleep time.
  2. Configurable sensor type, without having to rewrite code such as DHT type (DHT11,DHT22, AM2302, MW33, etc.), Soil Moist Sensor type (Capacitive, Resistive).
  3. Many configurable parameters, such as alarm setpoint, pump running setpoint, etc…

Menu-based Configurable Parameters

  1. Degree

    • a. Celcius
    • b. Fahrenheit
  2. Pump Mode

    • a. Auto & Notice
    • b. Auto
    • c. Manual & Notice
    • d. Manual
  3. DHT Type

    • a. Auto Detect
    • b. DHT11
    • c. MW33
    • d. DHT22
    • e. AM2302
    • f. RHT03
  4. Moist Alarm Interval

    • a. No Alarm
    • b. Every 1 hour
    • c. Every 6 hrs
    • d. Every 24 hrs
  5. Soil Moist Sensor Type

    • a. Resistive
    • b. Capacitive

Other configurable parameters

  1. Minimum Air Temperature Alarm
  2. Maximum Air Temperature Alarm
  3. DHT Adjustment %
  4. Moist Adjustment %
  5. Minimum Air Humidity Alarm
  6. Maximum Air Humidity Alarm
  7. Dry Soil Humidity % for Running Pump
  8. Time Pump Running in seconds
  9. Dry Soil Humidity % Alarm
  10. Wet Soil Humidity % Alarm
  11. Interval between DeepSleep in minutes
  12. DeepSleep Time in minutes

Control Buttons

  1. Restart
  2. Force DeepSleep

More in the README.md file:

9 Likes

:clap::clap::clap: Amazing work… Good UI

:clap: very nice

1 Like

Great work, it’s possible share again the qr code is not working.

Cumps.

That QR code is created on Local Blynk Server.

  1. If you need to run the project on Blynk Cloud Server, you need quite a bit of Energy. Buy more Energy if you don’t have enough.

  2. You might need to connect you phone to local/home WiFi to have better speed. Sometimes, local phone providers could block certain necessary ports and/or speed is not fast enough.

  3. The best thing you can do is to create a Local Blynk Server, which requires lot of time, some knowledge and works to finish. But your Energy is not limited.

  4. The worst case if you can not do anything to solve the issue, just create the project from the images, step-by-step. All are basic widgets.

1 Like

I have energy, the blynk when read the qr code, retrieve a message “not a valid blynk qr code”. If you don’t want share no problem.

Hello, khoi! Do you have time to update QR-code? The present link is NOT valid for today. Thank You.

Try this QR (using CellPhone/Tablet connected to Local WiFi, instead of LTE / 3G)

2b_QR

or on GitHub (https://github.com/khoih-prog/SmallProjects/blob/master/SmartFarm_DeepSleep/pics/SmartFarm_v1.0.2b_QR.JPG)

image

This QR is also created on my Local Blynk Server. I’m not sure you can scan it to use on Blynk Cloud Server.

1 Like