Most recent activity
-
Hi Gordon,
thanks for your comments!..the multimeter was not changed, just mentioned it. In tests nr.2.x and later the InAir9b module was disconnected from all pins of PICO.
It helps!!!
// test 3.3b: 24uA digitalWrite([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3],1);
instead of
// test 3.3: 68uA digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]);
Unfortunately:
1) my tests results (e.g. 1.1 and 1.2) have a little differ. Probably, on the reason of battery voltage is down from test to test;
2) there is pure test, i.e. without radio module, sensors and another loads on PICO pins. How to reach the same result in case of many PICO pins are connected? -
So, my next report (try 2) for all three tests as above for three-four minutes each; using multimeter UT50B made by UNI-T:
// test 1.2: ~61uA digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setInterval('digitalPulse(LED1,1,10)',60000); // actual repeat time is about 50 seconds setDeepSleep(1);
// test 2.2: ~48uA digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setSleepIndicator(LED1); setInterval(function(){ }, 60000); // actual repeat time is about 50 seconds setDeepSleep(1);
// test 3.2: ~59uA digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setInterval(function() { digitalWrite(LED1, 1); setTimeout(function () { digitalWrite(LED1, 0); }, 20); }, 60000); // actual repeat time is about 50 seconds setDeepSleep(1);
Wow, power consumption has drop almost 10 times! Anyway, I did not reach result mentioned above my notes.
Any comments/suggestions are welcome!
NB: here is open question, that is about power consumption in case of all connected circuits to PICO, like InAir9B, PIR sensor and 4 pcs DS18B20...
-
-
Hi,
let me renew the "Pico power consumption" issue.I have Espruino Pico v1.4 (fw 2v01) and tried to reach as less consumption as possible using LiPol 3.7V 1100mAh.
My code and test results:
// test 1.1: **~460uA** digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setInterval('digitalPulse(LED1,1,10)',5000); setDeepSleep(1);
// test 2.1: **~500uA** digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setSleepIndicator(LED1); setInterval(function() {}, 5000); setDeepSleep(1);
// test 3.1: **~400uA** digitalRead([B15,B14,B13,B10,B1,A7,A6,A5,A4,A3,A2,A1,A0,A10,B9,B8,A8,B7,B6,B5,B4,B3]); setInterval(function() { digitalWrite(LED1, 1); setTimeout(function () { digitalWrite(LED1, 0); }, 20); }, 5000); setDeepSleep(1);
Unfortunately, no pins are grounded.
Could you tell me, how is grounding important for this issue? What can be suggested else to reduce consumption?
In fact, "pin grounding" is not good for me. Because entire B3-B7, A8 are linked with InAir9b module.
-
(in continue)
As former test-engineer, I see some strange behavour of ESP-12F under heavy JS-code (over 10050 bytes - this is reached maximum!).Issue - dead wifi.scan() after several minutes of periodic calls, i.e. this function does not return any data (blank array).
Solution to fix it - wifi.connect('111');wifi.disconnect(). here '111' is fake AP name.
Any thoughts will be very appreciated. Thank you!
-
-
Hello,
I have ESP12F module with Espruino v1.89 and two versions of test code, around 11K and 0.1K compressed bytes accordingly.
To test I use console of Espruino Web IDE and I am entering command:
wifi.scan(console.log)
There is strange behaviour.
Test 1) 0.1K code size - found 5 pcs AP always.
Test 2) 10K code size - found just one AP.- It seems, the number of detected AP depends on the size of JS code. Can it be the true?
-
Hi,
is this about ESP8266 modules like ESP-12F? Hope sample below will help to you:var wifi=require("Wifi"); wifi.on('connected',function(details){ ... }); wifi.on('disconnected',function(details){ ... }); wifi.on('associated',function(details){ ... }); wifi.on('sta_joined',function(details){ ... }); wifi.on('sta_left',function(details){ ... }); wifi.on('auth_change',function(details){ ... }); wifi.on('dhcp_timeout',function(){ ... });
Thanks a lot, Gordon!
I will try to assemble complete functional board and test it focusing on the power consumption, and share result/problems here...