{"id":238247,"date":"2021-04-14T14:15:14","date_gmt":"2021-04-14T12:15:14","guid":{"rendered":"https:\/\/emariete.com\/?p=238247"},"modified":"2023-11-02T13:16:42","modified_gmt":"2023-11-02T12:16:42","slug":"experiments-with-speasy-sp8266-and-low-consumption-v2-0","status":"publish","type":"post","link":"https:\/\/emariete.com\/en\/experimentos-con-espeasy-esp8266-y-bajo-consumo-v2-0\/","title":{"rendered":"Experiments with ESPEasy (ESP8266) and low power - v2.0"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Getting a <strong>low consumption<\/strong> of the ESP8266 for use with <strong>battery <\/strong>is the goal we want to achieve, and in this article we will continue the experiments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will try to <strong>optimise time<\/strong> that our meter is \"awake\" and for that we need to know, first of all, what operating times we are talking about.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-el-experimento-anterior\">The previous experiment<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the previous article, we got our CO2 meter to work with <strong>one 18650 battery for 12 days<\/strong>reporting values via MQTT <strong>every minute<\/strong>The first step is a simple experiment. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These are the rules we used for the previous experiment (there might be some difference because, unfortunately, I didn't save them):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nOn [Sunrise#PPM] do\n  publish,%sysname%\/Sunrise\/PPM,[Sunrise#PPM] \/\/publish CO2\n  publish,%sysname%\/Battery,[Battery#Volts] do publish,%sysname%\/Battery,[Battery#Volts] \/\/publish CO2\n  publish,%sys\n  If [SleepEnable#State]=1\n    deepsleep,60 \/\/go to deepsleep for 60 seconds (even if deep sleep value is not configured in the config menu)\n  EndIf\nEndon\n\nOn MQTT#Connected Do \/\/when the broker is connected\n If [SleepEnable#State]=1\n  publish,%sysname%\/status, \"Deepsleep Enabled\" \/\/publish information\n  timerSet,1,1\n Else\n  publish,%sysname%\/status, \"Deepsleep Disabled\" \/\/publish information\n EndIf\nEndOn\n\nOn Rules#Timer=1 Do\n  deepsleep,60 \/\/go to deepsleep for 60 seconds (even if deep sleep value is not configured in the config menu)\nEndOn\n\nOn System#Wake Do\n  publish,%sysname%\/status, \"Wake\" \/\/publish information\nEndOn\n\nOn System#Boot Do\n  publish,%sysname%\/status, \"Boot\" \/\/publish information\nEndOn\n\nOn System#Sleep Do\n  publish,%sysname%\/status, \"Sleep\" \/\/publish information\nEndOn\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">And here you can see <strong>the time our microcontroller was on and its power consumption.<\/strong> (1mV=1mA consumption with an offset of approx. 8mV):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"534\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision-1024x534.png\" alt=\"\" class=\"wp-image-238248\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision-1024x534.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision-300x156.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision-768x400.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision-1536x800.png 1536w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Anatomia-Lectura-y-Transmision.png 1915w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Let me explain, in detail, <strong>how to interpret this graph<\/strong> so that you can interpret this graph and the following graphs yourself. There is a lot of useful information in the graph and, depending on your powers of observation, you may detect a lot more than I am describing in this article, as the amount of information it contains is analogue (infinite):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>vertical scale<\/strong> you have some numbers, such as 0.004, -0.016, -0.036, etc. These numbers represent the consumption of the entire meter at any given moment. As you can see, each horizontal division is separated by 20 millivolts, which represents 20 milliamps of consumption (1mV=1mA).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These values have an offset (deviation) of 8mA, caused by the measuring instruments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If at a given moment on the scale you see -0.026V, this means that the consumption at that moment was 26mA.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>horizontal scale<\/strong> you have the time in seconds. Each division on the horizontal scale is 1.12 seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The times refer to the moment at which the <strong>data capture <\/strong>(before the meter is switched on).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will see, for example, that the meter starts up at second 4.35 and starts with a small consumption peak of about 30mA followed by another peak of about 40mA and another peak of 118mA and then goes down to about 26mA and stays there for a few seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see the meter is on a total of <strong>10,186 seconds<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-linea-base-punto-de-partida-del-consumo\">Baseline (starting point of consumption)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">As I am doing these experiments with <strong>ESP Easy<\/strong>The first thing I am going to do, before we start communicating with the CO2 sensor, sending data via wifi, MQTT and so on, is to do a first analysis in which I will put a rule in ESP Easy (in System#Boot) that will put the microcontroller back into deep sleep mode, without doing anything else.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This will help me to check which is <strong>the minimum time that ESP Easy allows me to keep the microprocessor awake<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ESP Easy is like an operating system. It has its own start-up procedure in which it does its own business, initialisation, creation of its data structures, searching for available plugins, etc. and this takes some time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We assume that <strong>we cannot claim to have the same control over the microcontroller as we would have by programming it directly, in C++.<\/strong>for example, where we own every microsecond that the microcontroller uses. That is the price to pay for a system as simple as ESP Easy, which <strong>no programming required<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Although the first thing we do, when ESP Easy starts and we have control, is to put the microcontroller back into deep sleep mode (running a rule in System#Boot), this will take some time and that time will be that baseline or minimum time, over which we will start to add other things that will consume time (communications with the CO2 sensor, connection to the wifi network, sending data, etc.).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this case, I have added the following rule:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nOn System#Boot Do\n  If [SleepEnable#State]=1\n    deepsleep,30 \/\/go to deepsleep\n  EndIf\nEndOn\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">This rule is executed as soon as ESP Easy starts up (or wakes up from deep sleep) and checks if <em>SleepEnable#State<\/em> is equal to 1 (this is a switch I have placed on one of the pins to enable and disable deep sleep mode at will). If <em>SleepEnable#State<\/em> is equal to 1 returns to deep sleep mode for 30 seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"675\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima-1024x675.png\" alt=\"\" class=\"wp-image-238253\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima-1024x675.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima-300x198.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima-768x506.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Consumo-Regla-Minima.png 1474w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, the microcontroller is awake during <strong>2,133 seconds<\/strong>. This is the <strong>minimum time <\/strong>time it takes to start ESP Easy, run the rule and return to deep sleep state <strong>without doing anything else<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there room for optimisation of this part? There might be. I'll have to do some more testing, playing with some values in the ESP Easy configuration and even compiling a custom version that doesn't include support for any sensors that are not essential.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-leyendo-el-sensor-de-co2\">Reading the CO2 sensor<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The next test I am going to perform is to see how much longer it takes to <strong>I do add the measurement of the CO2 sensor<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have several options here, and I'm going to try some of them...<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first test will consist of enabling the device corresponding to the Senseair Sunrise sensor I am using in the Devices tab, with its default values, and force the sensor reading from the rule.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">During this test I am going to keep the sensor on and permanently enabled so that it is ready to provide the measurement and avoid the waiting time while the sensor starts up and provides the measurement (the ENable pin of the Senseair Sunrise connected to +5V). This time will probably be minimal, but I don't want it to influence.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the rule I am going to use:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nOn System#Boot Do\n  If [SleepEnable#State]=1\n    taskrun,1\n    deepsleep,30 \/\/go to deepsleep\n  EndIf\nEndOn\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">This rule is the same as the one I used in the previous example, but note that I include the line \"<em>taskrun,1<\/em>\". This command, in case you are not familiar with it, tells ESP Easy to read the measurements from sensor number 1 in the Devices tab (in this case sensor number 1 in the tab is the Senseair Sunrise, ESP Easy lists them as \"Task\"):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Devices.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1009\" height=\"326\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Devices.png\" alt=\"\" class=\"wp-image-238254\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Devices.png 1009w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Devices-300x97.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Devices-768x248.png 768w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And this is the result:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-1024x682.png\" alt=\"\" class=\"wp-image-238255\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-1024x682.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-300x200.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-768x512.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise.png 1469w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">hmmm... this has really changed a lot... see?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To start with, where before we had an almost flat consumption line, now we have a consumption line full of periodic peaks (the sensor consumption) and, above all, now our ESP8266 is awake for much longer...<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have marked, with red circles, two pieces of information that I want you to see:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first one on the upper right is the time that <strong>ESP8266 has been awake 8,533 seconds<\/strong> (previously it was 2.133 seconds). This time is the time elapsed between the first green vertical line (marked \"a\") and the second green vertical line (marked \"b\").<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second one, in the central part, is the <strong>consumption of these peaks of the Senseair Sunrise, 6mA<\/strong>. It is the difference between the two horizontal green lines (which limit the top and bottom of these peaks).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By the way, in case you don't know and as a \"general gadgetry culture\", those green lines, which oscilloscopes show to help measure differences, values, etc., are the ones you can see in the oscilloscope. <strong>are called <em>cursors<\/em><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The increase in time for reading the sensor has been of <strong>6.4 seconds, unacceptable.<\/strong> Further tests will have to be done to see if it is possible to reduce this time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-leer-el-sensor-de-co2-y-enviar-la-medida\">Read CO2 sensor and send measurement<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The above examples were good because they allowed us to establish a baseline from which to start, but they were <strong>quite useless<\/strong>from a functionality point of view.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The ESP8266 would wake up, read the sensor, go back to sleep, and so on and so forth (without doing anything at all). <strong>nothing <\/strong>with these measures, which were lost like tears in the rain).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this experiment we will<strong> send measurements<\/strong> by <strong>wifi <\/strong>to a server using the <strong>MQTT<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Remember that this involves activating the ESY Easy MQTT driver, which will force you to connect to the MQTT broker, and this takes time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These are the rules I will use for this experiment:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nOn MQTT#Connected Do \/\/when the broker is connected\n If [SleepEnable#State]=1\n  publish,%sysname%\/status, \"Deepsleep Enabled\" \/\/publish information\n  publish,%sysname%\/Sunrise\/PPM,[Sunrise#PPM] \/\/publish CO2\n  deepsleep,30 \/\/go to deepsleep\n EndIf\nEndOn\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">This rule is executed when the event occurs. <em>\"MQTT#Connected\".<\/em>which generates <strong>automatically <\/strong>ESP Easy <strong>when connecting to the MQTT server<\/strong> (why do anything before this point?), and what it does is to send two MQTT messages and return to deep sleep mode for another 30 seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the MQTT controller is activated, the consumption is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"696\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-1024x696.png\" alt=\"\" class=\"wp-image-238264\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-1024x696.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-300x204.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-768x522.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT.png 1431w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, I have separated the cycle with two cursors so that you can differentiate the time in high consumption (which corresponds to the maximum wifi activity), which has the greatest impact on the battery. On the right edge of the image you can see that the increase in time between cursor \"b\" and cursor \"c\", which corresponds to the area of maximum consumption, is 3.578 seconds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below, you can see <strong>two complete cycles<\/strong>where our meter wakes up, reads the sensor, sends the data via MQTT, goes back to deep sleep, wakes up, reads, sends, and goes back to deep sleep. This will allow you to see how long the deep sleep state lasts and its consumption:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos-1024x681.png\" alt=\"\" class=\"wp-image-238262\" srcset=\"https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos-1024x681.png 1024w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos-300x199.png 300w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos-768x511.png 768w, https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-Consumo-Lectura-Senseair-Sunrise-y-MQTT-dos-ciclos.png 1471w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you will see I have placed <strong>cursors on the oscilloscope at the beginning and end of every \"<em>wake up<\/em>\"<\/strong> so that you can check these times (on the right edge you can see the time increments between them, e.g. that the deep sleep time between the two \"<em>awakenings<\/em>\"is 20.067 seconds).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you found this interesting, don't miss the next post:<\/strong><\/p>\n\n\n<div class=\"gb-container gb-container-cead5e17\">\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"jYjUQsJFJt\"><a href=\"https:\/\/emariete.com\/en\/experiments-with-speasy-sp8266-and-low-consumption-v3-0\/\">Experiments with ESPEasy (ESP8266) and low power - v3.0<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;Experiments with ESPEasy (ESP8266) and low power - v3.0&quot; - eMariete\" src=\"https:\/\/emariete.com\/experimentos-con-espeasy-esp8266-y-bajo-consumo-v3-0\/embed\/#?secret=ff5x8tcUbH#?secret=jYjUQsJFJt\" data-secret=\"jYjUQsJFJt\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Loto Instruments OSC482 USB Oscilloscope<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I would like to take this opportunity to comment:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The oscilloscope used on this occasion (to which the screenshots correspond) is not my usual Rigol DS1054Z bench-top oscilloscope, but rather <strong>I used a USB oscilloscope <a href=\"https:\/\/s.click.aliexpress.com\/e\/_A7RaPp\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Loto Instruments OSC482<\/a> and I want to tell you that I am delighted with it.<\/strong> (I mention this mainly because some of you have asked me about this issue).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The particular model that I have purchased is the OSC482L, which <strong>includes 4-channel logic analyser<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the few weeks that I've had it, it has become <strong>one of the instruments I use the most<\/strong> on a daily basis. It is super easy for me to check what a microprocessor is doing, if a power supply is stable, if a sensor is communicating well, and many other things...<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a short analysis with the most important things about it and my impressions:<\/p>\n\n\n<div class=\"gb-container gb-container-2bc0860d\">\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-emariete wp-block-embed-emariete\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"nKafYUAMYU\"><a href=\"https:\/\/emariete.com\/en\/oscilloscope-usb-loto-instruments-osc482\/\">Loto Instruments OSC482 USB Oscilloscope<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&quot;Loto Instruments OSC482 USB Oscilloscope&quot; - eMariete\" src=\"https:\/\/emariete.com\/osciloscopio-usb-loto-instruments-osc482\/embed\/#?secret=9LKC1iLdNU#?secret=nKafYUAMYU\" data-secret=\"nKafYUAMYU\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n<\/div>\n\n\n<p class=\"has-text-align-center has-pale-cyan-blue-background-color has-background has-medium-font-size wp-block-paragraph\"><strong>DID YOU FIND IT INTERESTING? <\/strong><br><strong>DON'T MISS OUT ON FUTURE EXPERIMENTS!<\/strong><br><strong>SUBSCRIBE TO THE NEWSLETTER AND JOIN THE TELEGRAM GROUP AND DON'T MISS ANY OF THE BEST.<\/strong><\/p>\n<div class=\"essb_break_scroll\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Getting a low power consumption of our ESP8266 to use it on battery is the goal we want to achieve, and in this article we are going to continue the experiments.<\/p>","protected":false},"author":1,"featured_media":238270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_lmt_disableupdate":"yes","_lmt_disable":"no","footnotes":""},"categories":[17],"tags":[21,26,28,30,41],"class_list":["post-238247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-proyectos-arduino","tag-bajo-consumo","tag-espeasy","tag-esp8266","tag-experimentos","tag-nodemcu"],"modified_by":"Mariete","uagb_featured_image_src":{"full":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2.png",1620,912,false],"thumbnail":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-150x150.png",150,150,true],"medium":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-300x169.png",300,169,true],"medium_large":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-768x432.png",768,432,true],"large":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-1024x576.png",1024,576,true],"1536x1536":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2-1536x865.png",1536,865,true],"2048x2048":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2.png",1620,912,false],"trp-custom-language-flag":["https:\/\/emariete.com\/wp-content\/uploads\/2021\/04\/Experimentos-con-ESP-Easy-ESP8266-y-bajo-consumo-v2.png",18,10,false]},"uagb_author_info":{"display_name":"Mariete","author_link":"https:\/\/emariete.com\/en\/author\/admin_xlyz052h\/"},"uagb_comment_info":0,"uagb_excerpt":"Conseguir un bajo consumo de nuestro ESP8266 para utilizarlo con bater\u00eda es el objetivo que queremos conseguir, y en este art\u00edculo vamos a continuar los experimentos.","_links":{"self":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/comments?post=238247"}],"version-history":[{"count":5,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238247\/revisions"}],"predecessor-version":[{"id":241174,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/posts\/238247\/revisions\/241174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media\/238270"}],"wp:attachment":[{"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/media?parent=238247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/categories?post=238247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emariete.com\/en\/wp-json\/wp\/v2\/tags?post=238247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}