arduino耗电量的问题
arduino uno 的耗电量是多少 在执行blink/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(3600000); // wait for a second
}
灯熄灭后的延时是一个小时 也就是说 一个小时亮一次他的耗电量大概在在多少?
一般在300ma,不知是否有省电模式。 应该只有几十毫安,不会过百的 林定祥 发表于 2013-11-30 16:10 static/image/common/back.gif
一般在300ma,不知是否有省电模式。
省电模式有五种
* SLEEP_MODE_IDLE -功率节省最少
* SLEEP_MODE_ADC
* SLEEP_MODE_PWR_SAVE
* SLEEP_MODE_STANDBY
* SLEEP_MODE_PWR_DOWN -最省电
http://playground.arduino.cc/Learning/arduinoSleepCode {:soso_e179:} 需要启用省电模式才省电
林定祥 发表于 2013-11-30 20:03 static/image/common/back.gif
需要启用省电模式才省电
怎样启动?
求教 smching 发表于 2013-11-30 19:47 static/image/common/back.gif
省电模式有五种
* SLEEP_MODE_IDLE -功率节省最少
* SLEEP_MODE_ADC
对于这个还是不太懂 能给个blink 加入省电的示例吗?
:lol smching 发表于 2013-11-30 19:47 static/image/common/back.gif
省电模式有五种
* SLEEP_MODE_IDLE -功率节省最少
* SLEEP_MODE_ADC
省电模式需要中断唤醒,例子是外部中断,内部中断应该也可以吧,如时钟中断。 PaulMyao 发表于 2013-11-30 20:34 static/image/common/back.gif
对于这个还是不太懂 能给个blink 加入省电的示例吗?
请读一下smching答复中的链接。 读过了变得更糊涂了 现在外部中断 看门狗 还有节省点这三个概念 完全混了 arduino就不是为低功耗设计的。除cpu外,外围电路耗电更大。要省电的话,必须最小系统。
http://www.openhomeautomation.net/arduino-battery/ johnsonzzd 发表于 2013-12-1 14:36 static/image/common/back.gif
arduino就不是为低功耗设计的。除cpu外,外围电路耗电更大。要省电的话,必须最小系统。
http://www.openh ...
这个厉害了~~~ 标记一下,这个有点用 johnsonzzd 发表于 2013-12-1 14:36 static/image/common/back.gif
arduino就不是为低功耗设计的。除cpu外,外围电路耗电更大。要省电的话,必须最小系统。
http://www.openh ...
收藏备用。
页:
[1]