Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:52 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : picoMite: ulra low power for battery operation pico has two modes?

Author Message
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 396
Posted: 01:42pm 05 Jan 2024
Copy link to clipboard 
Print this post

Hello,

I've testing the picoMite for an ultra low power operation but the manual says:

  Quote  Note that the CPU does not have a true low power sleep so the power
saving is limited.


so I tried:

-Turn off obboard LED (Heartbeat)

-CPU SLEEP (not much of a difference)

-CPU SPEED (down to 48000Mhz - huge difference but not enough!)

So with NO additional components (only the pico) I am drawing

0,057W (sadly not enough!)

Now I am reading all over the internet (and datasheet) that it is indeed possible to send the pico in
two modes of low power consumption:

normal "sleep mode" and "dormant mode" (externally triggered wake up required)

It is possible if you do the math for way more efficiency: 4.3 mW in Sleep Mode and 2.7 mW in Dormant Mode.

Is there a reason this isn't built into MMBASIC?

Greetings
Daniel
Edited 2024-01-05 23:43 by Amnesie
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6792
Posted: 02:50pm 05 Jan 2024
Copy link to clipboard 
Print this post

The RP2040 isn't the best choice for low power systems. As the Raspberry Pi Pico itself isn't all that efficient I don't think much priority has been put on saving power. More important to squeeze as much performance as possible out of it.

If you want *true* low power operation there are far better systems. Have you considered the Micromite?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4234
Posted: 02:52pm 05 Jan 2024
Copy link to clipboard 
Print this post

Daniel,

Look at a picaxe (08M2). There is a report on the web of some guy that ran it for 7 years on 3 AAA batteries...flashing a LED.

Volhout
Edited 2024-01-06 00:53 by Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9115
Posted: 03:04pm 05 Jan 2024
Copy link to clipboard 
Print this post

If you need a low power application use the stm32L range. The ArmmiteL4 (running MMBasic) can get down to 1.8uA in sleep mode. I'm not wasting time trying to get low power out of a chip that isn't designed for it ( apparently there are issues getting out of dormant mode for RAM resident code). 390uA seems to be the limit for the RP2040 - different ballgame to the ST range

Note also the Pico board uses power. The spec says the minimum with the RP2040 in dormant mode is 0.8mA
Edited 2024-01-06 01:07 by matherp
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 396
Posted: 03:13pm 05 Jan 2024
Copy link to clipboard 
Print this post

Hello and thank you all for your replies!

I was just asking because I am reading that it is possbile down to 1.4mA even by using microPython.

(Micropython (custom firmware) picosleep.seconds       1.4mA)

https://ghubcoder.github.io/posts/deep-sleeping-the-pico-micropython/

But no problem, I was just curious why it isn't implemented .. but Peter delivered the answer ... there are RAM issues, I see...  

But I am glad that you implemented a way to clock DOWN the CPU, that already drops the consumption a lot. So thanks for that feature!
Edited 2024-01-06 01:15 by Amnesie
 
Amnesie
Guru

Joined: 30/06/2020
Location: Germany
Posts: 396
Posted: 03:19pm 05 Jan 2024
Copy link to clipboard 
Print this post

Other microcontroller are not an option, because I am using it on my android mobile phone for programming on the way (connecting the Pico USB OTG via adaptor with a Serial To USB app installed) This way I can programm the pico via serial and using the Phone as input device :) It also gives some power. Works great!

So the main reason for choosing the Pico over other microcontroller is the ability to connect the pico right to my mobile phone and use it as a "programmer" via USB tu Serial on the way.
Edited 2024-01-06 01:26 by Amnesie
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6792
Posted: 04:13pm 05 Jan 2024
Copy link to clipboard 
Print this post

One of the smaller ESP32 devices might be a possibility for portable programming, but it's not MMBasic. I've not tried it with a phone.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 04:26pm 05 Jan 2024
Copy link to clipboard 
Print this post

  Amnesie said  So the main reason for choosing the Pico over other microcontroller is the ability to connect the pico right to my mobile phone and use it as a "programmer" via USB to Serial on the way.


No reason why ESP32 with Annex would not work that way. And once set up, if separately powered, you can use any PC/laptop/cromebook/phone to program the ESP32 in Basic with a browser without any connecting wires at all--no worry about draining your phone's battery.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 859
Posted: 05:30pm 05 Jan 2024
Copy link to clipboard 
Print this post

How about ArmMite L4 + (something like) HC-05 and program via Bluetooth?

Serial console on the L4, BTW.

Oh wait...not even sure what the L4 even is...I have the F4  
Edited 2024-01-06 04:41 by PhenixRising
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024