Pages: [1]   Go Down
Author Topic: Arduino due in low power mode  (Read 638 times)
0 Members and 1 Guest are viewing this topic.
Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I am tryinng to put my arduino Due in low power mode.

I have managed to put the processor in backup mode and wait mode. And using a timer RTT to wake up it.

In backup mode, power consumption decreases substantially.

However, in the wait mode, power consumption remains exactly as in normal operation. How i could decrease power consumption in wait mode? Could anybody help me?

Thank you,

P.D. My appologise for my bad English.
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 160
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

could you post the code please?
i'm working on a similar application, (arduino due on wait mode until some serial data arrive)
this is the code i wrote, it enters the wait mode but does not exit. did you find any solution?
Code:
boolean flag;
void setup()
{
  interrupts();
Serial.begin(9600);
pmc_enable_waitmode();
PMC -> PMC_FSMR |= PMC_FSMR_FSTT4; //Set FSTT4 = 1
}

void loop()
{
  if(flag)
  {
    interrupts();
    Serial.println("cci tua");
  } 
}

ISR(URXD_vect)
{
  flag = 1;
  noInterrupts();
}
Logged

Offline Offline
Jr. Member
**
Karma: 9
Posts: 75
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've done a few experiments measuring power consumption on DUE.  Running blink sketch (4s period) and power by USB, DUE consumes  115.1ma/116.5ma (board LED off/on).  If I power via Vin, I measure 79.2/80.2 (off/on ma)

Powered via Vin, pmc_enable_backupmode() consumes 18.6ma,  pmc_enable_sleepmode(0) in loop() consumes 60.5 ma, presumably coming out of sleep by timer interrupts.  pmc_enable_waitmode() consumes 78.3ma, so it doesn't seem to be reducing power?

DUE specs suggest ARM chip:  sleep(29ma),wait(23ua),backup(2.5ua)
Of course DUE board has ATMEGA16US, voltage reguators and various LEDs
Logged

Spain
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

After several experiments with Due i think that if you want low power you should not use Due.

Due has many regulators, resistors, chips, etc that you can't control. The SAM3 ship has several power line to power several parts of the chip separately. But in Arduino Due all of them are joined together.

 I think that the power save of the SAM3 chip is lost inside this circuit.

Now, when i want a low power application, i use the Arduino pro 3.3V.

Perhaps, Arduino should develop an equivalent to Arduino pro 3.3v with the SAM3 microcontroler.
Logged

Pages: [1]   Go Up
Jump to: