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 : Onboard LED of the pico w
Author | Message | ||||
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 207 |
Is there a way to turn off a Pico W's onboard LED other than physically scratching the leads? I know the manual says on page 10 that the GPIO pin is not accessible via BASIC - but it would be nice if there was an OPTION for this to reduce power consumption. -andreas |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9129 |
manual page 77 |
||||
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 207 |
You are my darling! OPTION HEARTBEAT OFF is it! -andreas |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4250 |
If you seriously want to save power, turn WIFI off, or use a normal pico. Volhout PicomiteVGA PETSCII ROBOTS |
||||
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 207 |
Yes, but it's the pico's job to let me know when a burglar is stealing my bike ;-) -andreas |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
In that case use the pico to disable the wi-fi completely until it's triggered by your alarm device (vibration sensor or whatever). Then switch it on. Even better if there's a GPS on there as well then it can let you where the bike is. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
NPHighview Senior Member Joined: 02/09/2020 Location: United StatesPosts: 200 |
I'm not close to my workbench right now (about 1,000 km away), but how do you disable WiFi programmatically? In the WebMite manual, I see two possibilities to test: OPTION TCP SERVER PORT 0 (just one service, not the whole capability) OPTION WIFI DISABLE (though that's implied, not explicit) Live in the Future. It's Just Starting Now! |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9129 |
OPTION WIFI "","" but whether it reduces power I don't know and it is a permanent option that causes a reset |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
I suppose that if you were to use a non-W version with a separate wifi device you could just use a pin to switch its power off (via a mosfet). You could kill a GPS module the same way. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Print this page |