<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>electron &#8211; Voltaic Systems Blog</title>
	<atom:link href="https://blog.voltaicsystems.com/tag/electron/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.voltaicsystems.com</link>
	<description>Solar Tutorial and DIY Solar Guides</description>
	<lastBuildDate>Wed, 29 Jan 2025 17:13:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.voltaicsystems.com/wp-content/uploads/2024/07/cropped-Favicon_48x48-32x32.png</url>
	<title>electron &#8211; Voltaic Systems Blog</title>
	<link>https://blog.voltaicsystems.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Particle Electron Power Consumption Analysis</title>
		<link>https://blog.voltaicsystems.com/particle-electron-power-consumption-analysis/</link>
					<comments>https://blog.voltaicsystems.com/particle-electron-power-consumption-analysis/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 06 Jul 2016 22:01:06 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[electron]]></category>
		<category><![CDATA[gsm]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[particle electron]]></category>
		<category><![CDATA[sensors]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=8366</guid>

					<description><![CDATA[Particle Electron Power Consumption How much power does the Particle Electron consume? When designing a solar-powered IoT project, it is always important to have a good real-world sense for how much power your devices are going to use. I hadn&#8217;t been able to find good data on the Particle Electron&#8217;s power consumption across its different sleep [&#8230;]]]></description>
										<content:encoded><![CDATA[<h1>Particle Electron Power Consumption</h1>
<p>How much power does the Particle Electron consume? When designing a <a href="https://voltaicsystems.com/iot/">solar-powered IoT project</a>, it is always important to have a good real-world sense for how much power your devices are going to use. I hadn&#8217;t been able to find good data on the <a href="https://store.particle.io/collections/cellular">Particle Electron&#8217;s</a> power consumption across its different sleep (and transmitting) modes, so I decided to go ahead and gather some data myself. I&#8217;ll summarize high level findings below, but read on for more information about how these tests were done and for access to the raw power data (sampled every 1s). The solar weather powered weather logger from a previous blog post was used as a test bed for this project (pictured below).</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup.jpg"><img fetchpriority="high" decoding="async" class="alignnone wp-image-8356 size-large" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-1024x521.jpg" alt="particle electron solar panel, particle electron power consumption" width="750" height="382" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-1024x521.jpg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-300x152.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" /></a></p>
<h2>TL;DR Results</h2>
<p>Please also see discussion and detailed results sections below to get a better idea of power use and tradeoffs.</p>
<table border="2">
<tbody>
<tr>
<td style="text-align: center;"><b>Mode</b></td>
<td style="text-align: center;"><b>Mean Power Use (W)</b></td>
</tr>
<tr>
<td style="text-align: center;">SLEEP_NETWORK STANDBY</td>
<td style="text-align: center;">0.27</td>
</tr>
<tr>
<td style="text-align: center;">System.Sleep</td>
<td style="text-align: center;">0.08</td>
</tr>
<tr>
<td style="text-align: center;">SLEEP_MODE_DEEP</td>
<td style="text-align: center;">[Not Measurable]</td>
</tr>
<tr>
<td style="text-align: center;">Transmit to ThingSpeak (POST)</td>
<td style="text-align: center;">0.70</td>
</tr>
<tr>
<td style="text-align: center;">Transmit to Particle (Publish)</td>
<td style="text-align: center;">0.53 (but for long durations, see detailed discussion)</td>
</tr>
</tbody>
</table>
<p>Note that when using System.sleep and SLEEP_MODE_DEEP, significant (several kB) of data needs to be used to reconnect to the network on wake.</p>
<table border="2">
<tbody>
<tr>
<td style="text-align: center;"><b>Mode</b></td>
<td style="text-align: center;"><b>Avg Transmit Duration (s)</b></td>
<td style="text-align: center;"><b>Energy per Transmit (W*h)</b></td>
</tr>
<tr>
<td style="text-align: center;">Particle Publish</td>
<td style="text-align: center;">51.67</td>
<td style="text-align: center;">0.0076</td>
</tr>
<tr>
<td style="text-align: center;">POST to ThingSpeak</td>
<td style="text-align: center;">11</td>
<td style="text-align: center;">0.0021</td>
</tr>
</tbody>
</table>
<p>Note that there are 2 second stabilization delays in each of the transmits measured in the table above.</p>
<h2>Methods</h2>
<p>For these tests, I used a <a href="https://www.amazon.com/dp/B00J3N2JKY/ref=twister_B00T778A22?_encoding=UTF8&amp;psc=1" target="_blank" rel="noopener">Drok USB power gauge</a> to measure power consumption by a Particle Electron <em>without its sidekick LiPo battery attached</em>. A video of the setup was taken, and the voltage and current information was extracted from the seven segment display in the video using an<a href="https://github.com/suyashkumar/seven-segment-ocr" target="_blank" rel="noopener"> image processing library</a> I wrote. The raw data (sampled once a second) was then fed into Matlab along with time intervals during which the device was actually awake (manually extracted by watching the videos). A Matlab script was then used to gather various statistics from the data. The analysis scripts, raw sampled data, and analysis output can be found on Github <a href="https://github.com/suyashkumar/VoltaicPower" target="_blank" rel="noopener">here</a>.</p>
<p><a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-06-at-3.08.31-PM.png"><img decoding="async" class="alignnone wp-image-8382 size-full" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-06-at-3.08.31-PM.png" alt="particle electron power consumption" width="550" height="803" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-06-at-3.08.31-PM.png 550w, https://blog.voltaicsystems.com/wp-content/uploads/2016/07/Screen-Shot-2016-07-06-at-3.08.31-PM-205x300.png 205w" sizes="(max-width: 550px) 100vw, 550px" /></a></p>
<p>Three trials were performed:</p>
<ol>
<li><strong>Sleep_NetworkSTBY_Particle</strong> (use the SLEEP_NETWORK_STANDBY sleep mode and use particle.publish)</li>
<li><strong>Sleep_Network_STBY_ThingSpeak</strong> (use the SLEEP_NETWORK_STANDBY sleep mode and send data to ThingSpeak)</li>
<li><strong>Sleep_ThingSpeak</strong> (use the basic System.Sleep mode and send data to ThingSpeak)</li>
</ol>
<p>All trials first waited 1 second, took and transmitted temperature and humidity measurements, waited another second, and then entered their respective sleep modes. The exact code can be found <a href="https://github.com/suyashkumar/VoltaicPower/blob/master/VoltaicPower.ino">here</a>.</p>
<h2>Analysis Results</h2>
<p>Detailed analysis results with mean power use (and standard deviation) for each awake and asleep interval can be found in the analysis text files <a href="https://github.com/suyashkumar/VoltaicPower/tree/master/analysis_output">here</a>.</p>
<h2>Discussion</h2>
<p>Clearly SLEEP_MODE_DEEP saves the most power on the Electron, but it comes at the cost of being unable to save much data while in sleep (when it wakes up, it wakes up as if from reset) and at the cost of spending several kB of data every time it wakes up to reconnect to the network. This is probably the best mode if you transmit infrequently and don&#8217;t have to hold anything in memory (say, you just wake up to take and transmit a measurement before going back to sleep).</p>
<p>Next is the typical System.sleep() call, which shuts down the modem and puts the processor into a halt mode. This uses less power than leaving the modem on and holds information in memory but still must spend data reconnecting to the network when it wakes up. This is a good middle ground up from the deep sleep mode.</p>
<p>Finally we have the sleep mode with SLEEP_NETWORK_STANDBY enabled. Sleep mode halts the processor but does not turn off the modem and leaves the connection live. This mode uses much less power than when fully operating (up to ~0.35W less) but does not have to use data reconnecting to the network on wake. This mode is ideal if you need power conservation, transmit often, and/or have a tight data budget. Something else worth discussing is the trade-offs between Particle.publish and sending HTTP POST data to a service like thingspeak. In these tests, publishing to particle used less power (avg 0.53 W) but it took much longer to transmit (up to 71 seconds vs. ~15 seconds), though this could be because of modem re-connection times (future tests without re-connection could confirm this). It is also reported that Particle.publishes use less data than HTTP POST requests likely because they use streams.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/particle-electron-power-consumption-analysis/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Build Solar Powered &#038; Connected Devices With Particle</title>
		<link>https://blog.voltaicsystems.com/building-solar-powered-cloud-connected-devices/</link>
					<comments>https://blog.voltaicsystems.com/building-solar-powered-cloud-connected-devices/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 24 Jun 2016 18:11:26 +0000</pubDate>
				<category><![CDATA[All]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[3.5W]]></category>
		<category><![CDATA[6.0W]]></category>
		<category><![CDATA[electron]]></category>
		<category><![CDATA[f3511-microusb]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[sensors]]></category>
		<guid isPermaLink="false">http://80ca4ebf1c.nxcli.io/?p=8326</guid>

					<description><![CDATA[Hi there folks, In this post, I&#8217;m going to talk about building a simple solar powered cloud-connected weather station using the Particle Electron. I&#8217;ll also discuss the tradeoffs between the different power saving modes the Electron offers and how to structure and plan a cellular-data driven project to run completely off of solar 24/7/365. Getting [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Hi there folks, In this post, I&#8217;m going to talk about building a simple solar powered cloud-connected weather station using the <a title="Particle Electron" href="https://www.particle.io/cellular" target="_blank" rel="noopener">Particle Electron</a>. I&#8217;ll also discuss the tradeoffs between the different power saving modes the Electron offers and how to structure and plan a cellular-data driven project to run completely off of solar 24/7/365.</p>
<h2>Getting Started: Weather Logger Tutorial</h2>
<p>This weather logger is going to sample data from a DHT22 humidity/temperature sensor and log it to a cloud platform (ThingSpeak) using HTTP POST every 20 minutes. Between transmits, we&#8217;ll put the device into sleep mode to conserve power. In my testing, this configuration uses only an average of 0.1021 W. This means our configuration uses only 2.5 Wh of energy a day (0.1021 W * 24 h)&#8211;so we can comfortably power our device using a Voltaic 6W or 3.5W panel. After the tutorial, I&#8217;ll discuss other power saving modes of the Electron and additional Solar considerations. For this tutorial we&#8217;re going to be using:</p>
<ul>
<li>Particle Electron + included 3.7V 2000 mAh LiPo battery</li>
<li><a href="https://www.adafruit.com/product/385">DHT22 Temperature/Humidity Sensor</a></li>
<li><a href="https://www.voltaicsystems.com/6-watt-panel" target="_blank" rel="noopener">6W Voltaic Solar Panel</a> or<a href="https://www.voltaicsystems.com/3-5-watt-panel" target="_blank" rel="noopener"> 3.5W Voltaic Solar Panel</a></li>
<li><a href="https://www.voltaicsystems.com/f3511-microusb?SID=nnjiu77hu6snmigg8m1rboi801" target="_blank" rel="noopener">Voltaic MicroUSB Adapter</a></li>
</ul>
<h3>Hardware Setup</h3>
<p>First, place the Electron in the middle of the included mini breadboard, and place the DHT22 so that pins 1-4 connect to pins D1-D4 on the Electron as shown below. We&#8217;ll be powering the DHT22 from digital pins so that we can turn power off to the sensor when we enter sleep mode. Ensure that the included LiPo battery is connected to the Electron and the U.FL antenna is attached.   <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/tut-1.png"><img decoding="async" class="alignnone size-full wp-image-8333" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/tut-1.png" alt="particle electron sensor setup" width="600" height="432" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/tut-1.png 600w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/tut-1-300x216.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
<h3>Solar Setup</h3>
<p>To keep our device running, ideally we&#8217;d like to generate 2.5 Wh of energy a day to replace what&#8217;s used in 24 hours. With a 6W panel that gets 3 hours of good sun a day we can safely estimate generating 0.5*6W*3=9Wh a day, more than enough to keep us going and charge up LiPo battery reserves to get the device (and any sensors/LEDs) through weeks with bad weather or no sun. We multiply the panel Wattage by 0.5 to get a safe estimate of actual power generated and delivered to the Electron given various sources of loss from power regulation. This calculation also means you can get by with a 3.5 W panel if you&#8217;re in an area with good sun and don&#8217;t mind losing some power margin of error (you&#8217;d be generating at least 5.25 Wh a day). Since there&#8217;s already a LiPo battery charge controller (and intelligent power switching between battery and USB) built into the Particle Electron, all you need to do is directly connect the panel to the Electron&#8217;s MicroUSB connector as shown below. The battery charging draws between 0.65W and 1.8W in my testing. <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_7379-copy.jpg"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8334" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_7379-copy.jpg" alt="particle electron microusb" width="1013" height="690" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_7379-copy.jpg 1013w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_7379-copy-300x204.jpg 300w" sizes="auto, (max-width: 1013px) 100vw, 1013px" /></a></p>
<h3></h3>
<h3>Solar Setup 2</h3>
<p>If you&#8217;re in need to store larger amounts of power or store it faster (e.g. you&#8217;re in an area with only a few hours of good sun a day), I&#8217;d recommend using a Voltaic V15 or V44 battery to store power from the panel and then pass it to the Electron. This is because the Voltaic batteries can pull down upto 4W of power from the panel at peak generation, whereas the Particle Electron&#8217;s charge controller doesn&#8217;t typically allow for power storage at such fast levels.</p>
<p>Basically, just connect the Voltaic battery to the panel and then connect the battery to the Electron with standard microusb. Picture is below.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-8364 size-medium aligncenter" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_9202-300x225.jpg" alt="solar powered cloud connected devices" width="300" height="225" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_9202-300x225.jpg 300w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_9202-1024x768.jpg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/IMG_9202-80x60.jpg 80w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<h3>Basic Software Setup</h3>
<h4>Thingspeak</h4>
<p>ThingSpeak will receive data from the Particle Electron and display/store it for us. Go to <a href="https://thingspeak.com/" target="_blank" rel="noopener">ThingSpeak</a> and set up an account. Click on &#8220;my channels&#8221; from the top tool bar and then &#8220;New Channel&#8221; <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.34.43-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8340" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.34.43-PM.png" alt="particle electron thingspeak" width="493" height="203" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.34.43-PM.png 493w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.34.43-PM-300x123.png 300w" sizes="auto, (max-width: 493px) 100vw, 493px" /></a> Add a name for the channel and add two fields (one for temperature and one for humidity) and save the channel. <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8341" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM.png" alt="particle electron thingspeak" width="495" height="311" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM.png 495w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM-300x188.png 300w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM-430x270.png 430w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.35.54-PM-400x250.png 400w" sizes="auto, (max-width: 495px) 100vw, 495px" /></a>   Once that&#8217;s done, click on the API Keys tab on your channel and note down your channel ID and write API key for later (we&#8217;ll need these to push data to this channel). <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.39.19-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8342" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.39.19-PM.png" alt="particle electron api Key" width="493" height="499" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.39.19-PM.png 493w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.39.19-PM-296x300.png 296w" sizes="auto, (max-width: 493px) 100vw, 493px" /></a></p>
<h4></h4>
<h4>Firmware</h4>
<p>Go to the Particle Build IDE, hit the code item in the lefthand menu, and create a new app. <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.09.31-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8335" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.09.31-PM.png" alt="Screen Shot 2016-06-28 at 2.09.31 PM" width="368" height="152" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.09.31-PM.png 368w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.09.31-PM-300x123.png 300w" sizes="auto, (max-width: 368px) 100vw, 368px" /></a> Next, we need to add and include the ThingSpeak and Adafruit_DHT libraries in our app. Do this by hitting the libraries tab item on the left and searching first for &#8220;ThingSpeak&#8221; and then for &#8220;Adafruit_DHT&#8221; and selecting &#8220;Include in App&#8221; and select your current app. <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.12.58-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8336" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.12.58-PM.png" alt="Screen Shot 2016-06-28 at 2.12.58 PM" width="377" height="227" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.12.58-PM.png 377w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.12.58-PM-300x180.png 300w" sizes="auto, (max-width: 377px) 100vw, 377px" /></a> <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.14.35-PM.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-8337" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.14.35-PM-149x300.png" alt="Screen Shot 2016-06-28 at 2.14.35 PM" width="149" height="300" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.14.35-PM-149x300.png 149w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.14.35-PM.png 311w" sizes="auto, (max-width: 149px) 100vw, 149px" /></a> Then you can go ahead and insert the code below into the editor, which can also be found here:<a href="https://gist.github.com/suyashkumar/fb1f09df4e475bda9cf0ba33cf009bf8" target="_blank" rel="noopener"> https://gist.github.com/suyashkumar/fb1f09df4e475bda9cf0ba33cf009bf8</a>. Comments are included on almost every line as explanation for what is going on. If you have a question, post in the comments below! <b>Make sure you replace myChannelID and myWriteAPIKey with the values for your ThingSpeak channel. If you used different pin mappings for the DHT22, change them in lines 7-10. </b> <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.23.11-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8339" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.23.11-PM.png" alt="Screen Shot 2016-06-28 at 2.23.11 PM" width="819" height="742" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.23.11-PM.png 819w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-2.23.11-PM-300x271.png 300w" sizes="auto, (max-width: 819px) 100vw, 819px" /></a></p>
<h4>Wrap-Up</h4>
<p>Now you should be good to go! You&#8217;ll want to find a way to water/weather proof this device if you&#8217;re going to deploy it in the wild. A quick power discussion is below. <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup.jpg"><img loading="lazy" decoding="async" class="alignnone size-large wp-image-8356" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-1024x521.jpg" alt="electron_setup" width="750" height="381" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-1024x521.jpg 1024w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/electron_setup-300x152.jpg 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a>   <a href="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-3.39.31-PM.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-8347" src="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-3.39.31-PM.png" alt="Screen Shot 2016-06-28 at 3.39.31 PM" width="964" height="333" srcset="https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-3.39.31-PM.png 964w, https://blog.voltaicsystems.com/wp-content/uploads/2016/06/Screen-Shot-2016-06-28-at-3.39.31-PM-300x103.png 300w" sizes="auto, (max-width: 964px) 100vw, 964px" /></a></p>
<h4>Power Discussion</h4>
<p>As mentioned earlier, posting to ThingSpeak 3 times an hour is going to consume 2.5 Wh a day (24 hours). The Particle Electron has two main sleep modes, though&#8211;<b>Deep Sleep and SLEEP_NETWORK_STANDBY</b> with summaries and comparisons below.<b> </b>To use deep sleep mode, comment out the current sleep line in the code above (line 44) and uncomment the one on line 45. In sum:</p>
<ul>
<li><strong>Sleep Network Standby (Higher Power, Low Data):</strong> Uses approx 0.1W of power max, keeps network connection alive (which saves a lot of data). <strong>Best if you transmit 1 or more times an hour. </strong></li>
<li><strong>Deep Sleep (Ultra-Low Power, High Data): </strong>Uses approx 0.0005W of power in sleep, but uses 6-10kB of data every time it wakes from sleep. <strong>Best if you transmit infrequently (say 1 a day) and need low power. </strong>Every time the device wakes up, it wakes up as if from &#8220;reset,&#8221; and runs the code from the setup() function.</li>
</ul>
<p>Check out a more detailed power analysis and actual recorded data in a future post. Note also that using Particle.publish() to send data to the particle cloud will save you data and power, but requires you to pull your data from the particle services with your own software. More on that in a future post as well.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.voltaicsystems.com/building-solar-powered-cloud-connected-devices/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
	</channel>
</rss>
