Power Management
#1
Posted 30 April 2011 - 09:56 AM
Just a curious guy
#2
Posted 30 April 2011 - 10:07 AM
#3
Posted 30 April 2011 - 11:16 AM
.NET Micro Framework has PowerState class that could be used to control various power levels - however, the behavior is vendor-specific and it is not implemented in the current version of Netduino firmware. As far as I know, it is planned for a future release.I saw some hack like code (that still did not compile) for the Arduino but I understand the Netduino is slightly different in this respect anyway.
#4
Posted 30 April 2011 - 11:30 AM
I went through this as well. You can read about the CPU options in the at91sam7x data sheet Power Management Controller section, but the Netduino Plus board design isn't really targeting lowest power. What I found is the Netduino Plus works very well for parts of the system that are mains powered, and the portions of the system that are battery powered work better with Arduino Fio. I keep all the main application logic of the system on the Netduino, and the satellite systems for data collection / output operation only have "spinal reflex" logic. They are linked with XBee modules. What is your application?I am searching a code sample of controlling the Netduino power. My project needs to run on battery and the typical ~40mA consumption of the board is not realistic to feed out of battery.
I saw some hack like code (that still did not compile) for the Arduino but I understand the Netduino is slightly different in this respect anyway.
#5
Posted 30 April 2011 - 02:53 PM
Just a curious guy
#6
Posted 30 April 2011 - 04:19 PM
I want the battery to last as much as possible, but needs to be at least a week. With 9V 250mA/H and 1mA average consumption, it should be more than 10 days, so that is good.
I don't mind swithching to Arduino really, I am much more experienced in C then in C# :-) but wouldn't that be missing the purpose?
Is the physical size of the battery pack critical? Could you not go for a pack made of 2900mA/H AA size made up to 9V? That's the option I'm looking at for a project I'm working on. That and a solar charger but this is a stationary project in a greenhouse so light and size are not a problem for me.
Regards
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#7
Posted 30 April 2011 - 09:33 PM
Yes, that is a good plan. That is what I do too. IRQs wake things up as needed, or timed sleeps. Everything is programmed in C, even the Netduino Plus, which I put FreeRTOS on instead of the .net stock firmware. It is running a simple webserver, some USB, and a serial interface to the Zigbee.I basically need to wake every 5-10 seconds (7 sounds good), collect some data and if nothing new, go back to sleep. I figured since this is the mode of operation, power can be saved dramatically. I expect the collection of data to take no more than 10ms so think of 10mSec* 50mA + 7Sec*1mA (it should be even less). So no reason for keeping the ARM at full active mode all this time.
Depends on the purpose I guess. I thought getting native on the Netduino Plus with C and FreeRTOS, building the tools and even a custom programmer was fun, and that was my purpose. Netduino Plus is a great deal for me. Of course, 99.9% of people buy Netduino because of Visual Studio, so I understand your point!wouldn't that be missing the purpose?
#8
Posted 30 April 2011 - 10:08 PM
What we are working on right now is the ability to put your Netduino into a low power mode. Obviously the onboard power LED would still take some power--and there are limited ways to get the MCU back out of low-power mode--but we're playing with options to see what works well..NET Micro Framework has PowerState class that could be used to control various power levels - however, the behavior is vendor-specific and it is not implemented in the current version of Netduino firmware. As far as I know, it is planned for a future release.
Chris
#9
Posted 01 May 2011 - 08:07 AM
Just a curious guy
#10
Posted 01 May 2011 - 03:26 PM
#11
Posted 08 May 2011 - 08:22 AM
#12
Posted 09 May 2011 - 08:08 AM
Just a curious guy
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users