I need to monitor the level of potable water, stored in cylindrical 2000 litre plastic tanks.
This, I would like to achieve using a solarpowered ESP-12F via MQTT which should go into light sleep.
The ESP-12F has to supply power to the ultrasonic level transducer (JSN-SR04T), the digital thermocouple (DS18B20) and an accelerometer (MPU6050), collect the data cary out the temperature compensation and send it to the MQQT server together with the battery voltage.
I was thinking that the ESP-12F can wake up and turn on the consumers and step-up board via an NPN transistor?
then collect data:
The idea was to have the accelerometer on top of the water tank to monitor when the water mass gets into motion due to seismic activity.
The water should get into a detectable amount of motion when there is seismic activity. And even with the sensor in sleep I should be able to detect it after wakeup?
The neighbouring island (Puerto Rico) has about 10 earthquakes a day. I think we have around 10-20 a month.
Do I need a RTC or could it get the time via an MQTT topic it's subscribed to? Or is it enough using the time on the MQTT server once the data is being received?
Is there a way to secure the wifi password on the ESP-12F? HTTPS is probably not an option, so I can just set up an extra network with SSID and block MAC-adresses?
This, I would like to achieve using a solarpowered ESP-12F via MQTT which should go into light sleep.
The ESP-12F has to supply power to the ultrasonic level transducer (JSN-SR04T), the digital thermocouple (DS18B20) and an accelerometer (MPU6050), collect the data cary out the temperature compensation and send it to the MQQT server together with the battery voltage.
- ESP-12F
- 3.3V regulator with capacitors
- Lithium Ion Battery
- ultrasonic transducer JSN-SR04T
- digital thermocouple DS18B20
- accelerometer MPU6050
- Solar panel 170mA 4.3V(VMP)
- Li-Ion battery 3.7V
- CN3065 Mini Solar Lipo Charger
- 1S 3.7V 4A 18650 Charger PCB BMS Protection Board
- Step-up to 5V for the JSN-SR04T
- NPN transistor switch
- MQTT
I was thinking that the ESP-12F can wake up and turn on the consumers and step-up board via an NPN transistor?
then collect data:
- time?
- distance
- temperature
- acceleration
- battery voltage
The idea was to have the accelerometer on top of the water tank to monitor when the water mass gets into motion due to seismic activity.
The water should get into a detectable amount of motion when there is seismic activity. And even with the sensor in sleep I should be able to detect it after wakeup?
The neighbouring island (Puerto Rico) has about 10 earthquakes a day. I think we have around 10-20 a month.
Do I need a RTC or could it get the time via an MQTT topic it's subscribed to? Or is it enough using the time on the MQTT server once the data is being received?
Is there a way to secure the wifi password on the ESP-12F? HTTPS is probably not an option, so I can just set up an extra network with SSID and block MAC-adresses?