Hello,
Funny stuff..
So I uploaded the low power example, 2Mhz mode to my teensy 2++, after uploading I removed the usb cable and connect the VDD to external 5v battery.
when measuring the current (I have a small 1Ohm resistor in serial to the VDD pin) I get ~33mA, after pressing the arduino button it drops to the 4-6mA it should take. but the arduino stops working (i added a blink to show responsiveness of the mcu)
any ideas how I can achieve the low power consumption as seen in the low power page?
Funny stuff..
So I uploaded the low power example, 2Mhz mode to my teensy 2++, after uploading I removed the usb cable and connect the VDD to external 5v battery.
when measuring the current (I have a small 1Ohm resistor in serial to the VDD pin) I get ~33mA, after pressing the arduino button it drops to the 4-6mA it should take. but the arduino stops working (i added a blink to show responsiveness of the mcu)
any ideas how I can achieve the low power consumption as seen in the low power page?
Code:
const int usb_usb_disable = 1;
void setup() {
for (int i=0; i<46; i++) {
pinMode(i, OUTPUT);
}
if (usb_usb_disable) Serial.end();
}
elapsedMillis usec;
const int ledPin = 6;
void loop() {
digitalWrite(ledPin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(1000); // wait for a second
}