Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6657
    jeremy.hise
    Participant

    Hi,

    I have a setup using the mini unltra and an XBee. The mini sleeps for 8 seconds, wakes up, wakes up the xbee, transmits data.

    My problem is that the system runs fine on the first iteration, then it resets and and runs at 9 mA for the duration of sleep. It then goes into low power mode for 8 seconds, wakes up, sends data and then resets. The only think I see is if I move the pinMode(pin_to_use_for_xbee_wakeup, OUTPUT) out of the setup() and into the loop(), the sleeping works fine, no resets. However, my radio does not work then.

    Why would the board reset? I’m getting desperate.

    Thanks!

    Jeremy

    #6897
    LIM PHANG MOH
    Keymaster

    Hi Jeremy,

    Depending on which XBee module you use, the XBee could consuming more than the 250 mA of current during transmission? If yes, you would need an external regulator as the on-board MCP1700 is good up to 250 mA. You can also try to add some bulk capacitor on the 3V3 before trying the external regulator approach. Based on my past experience on using XBee (older models though circa 2009-2012), the TX current can be very high.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.