I have an issue where my program will not run when power is applied from a battery via the USB port while the Teensy is in sleep or deepSleep mode. If I plug it into a computer, it runs as expected. If I load the default blink program, plugging the Teensy into the battery runs the program as expected.
So I am not sure exactly what I am missing. I currently use the Alarm, USB, and Digital drivers. Normally I want the Teensy to wake every 30 minutes, read some sensors, and go back to sleep (for testing purposes I am using a 15s timer). This all works fine when it is plugged into a computer. I tried adding a digital driver to wake the Teensy up from a button press, to force it to wake up regardless of the timer, but this still only works when it is connected to a computer, not to a battery.
Is there something else I need to listen for to get the Teensy to wake when plugged into a battery?
I have an issue where my program will not run when power is applied from a battery via the USB port while the Teensy is in sleep or deepSleep mode. If I plug it into a computer, it runs as expected. If I load the default blink program, plugging the Teensy into the battery runs the program as expected.
So I am not sure exactly what I am missing. I currently use the Alarm, USB, and Digital drivers. Normally I want the Teensy to wake every 30 minutes, read some sensors, and go back to sleep (for testing purposes I am using a 15s timer). This all works fine when it is plugged into a computer. I tried adding a digital driver to wake the Teensy up from a button press, to force it to wake up regardless of the timer, but this still only works when it is connected to a computer, not to a battery.
Is there something else I need to listen for to get the Teensy to wake when plugged into a battery?