User Tools

Site Tools


proiecte:environment-monitoring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
proiecte:environment-monitoring [2018/06/07 16:28]
cristian.cocioaba [Solar energy harvesting]
proiecte:environment-monitoring [2018/06/07 16:37] (current)
cristian.cocioaba headers
Line 60: Line 60:
  
 ===== Gathering data ===== ===== Gathering data =====
-=== Temperature and humidity ===+==== Temperature and humidity ====
  
 <code cpp> <code cpp>
Line 79: Line 79:
 </code> </code>
  
-=== Battery ===+==== Battery ====
 <code cpp> <code cpp>
 typedef float sensor_battery_t; typedef float sensor_battery_t;
Line 85: Line 85:
  
 ===== Usage === ===== Usage ===
-=== Software serial example on Sparrow ===+==== Software serial example on Sparrow ====
 <code cpp> <code cpp>
 #include <SoftwareSerial.h> #include <SoftwareSerial.h>
Line 134: Line 134:
 Although both protocols operate at 2.4 GHz frequency, 802.15.4 is low-speed and low-rate and ATmega128RFA1 has Ultra Low Power consumption as we can see below. Although both protocols operate at 2.4 GHz frequency, 802.15.4 is low-speed and low-rate and ATmega128RFA1 has Ultra Low Power consumption as we can see below.
  
-== ATmega128RFA1 power consumption ==+=== ATmega128RFA1 power consumption ==
 {{:proiecte:atmega128rfa1_power_consumption.png?500|}} {{:proiecte:atmega128rfa1_power_consumption.png?500|}}
  
-== ESP8266 power consumption when radio is on ==+=== ESP8266 power consumption when radio is on ===
  
 In contrast, ESP8266 has more processing power and together with the power required by the bandwidth and data rate of Wi-Fi, it utilizes almost 10 times more energy, as we can see below. In contrast, ESP8266 has more processing power and together with the power required by the bandwidth and data rate of Wi-Fi, it utilizes almost 10 times more energy, as we can see below.
Line 184: Line 185:
  
 This a good improvement over the previous consumption when running continuously, but it can still be improved. This a good improvement over the previous consumption when running continuously, but it can still be improved.
 +
 ===== Optimizing power consumption ===== ===== Optimizing power consumption =====
  
Line 326: Line 328:
 ===== Results ===== ===== Results =====
  
-{{:proiecte:solar-panel-battery-esp.png?500|}}+For testing the theoretical results, we measured the voltage of the VCC voltage from the ESP. It was connected to a 3800mAh LiPo battery, which was charged from the solar panel. 
 + 
 +We present in the figure below tree days of measurement, starting with a relatively low charged battery, at around 3.7 V. 
 + 
 +{{ :proiecte:solar-panel-battery-esp.png?500 |}}
  
 +The voltage increases at the first day sunrise, followed by a discharge at night. After that, we encountered a cloudy weather, followed by another sunny day, which kept the battery fully charged. Our test suggests that the theoretical results are correct and that the ESP can run on battery and harvest solar energy.
 ===== Resources ===== ===== Resources =====
 - [[https://github.com/w01f6/esp8266-wsn-protocol | WSN Protocol for ESP8266 ]] - [[https://github.com/w01f6/esp8266-wsn-protocol | WSN Protocol for ESP8266 ]]
proiecte/environment-monitoring.1528378128.txt.gz · Last modified: 2018/06/07 16:28 by cristian.cocioaba