Shop OBEX P1 Docs P2 Docs Learn Events
Standby mode ? — Parallax Forums

Standby mode ?

inakiinaki Posts: 262
edited 2006-09-21 08:09 in General Discussion
Hi.
I have made a remote controller with an SX28. It works but I would like to keep it ON all time the way other remote controllers work (currently I have a ON/OFF switch). It should enter low power mode if not used for some seconds and wake up when any button is pressed.

Does SX28 support standaby mode or some sort of low power state ?
If so, how is it implemented ? Any example out there ?

If there is no specific support for this on chip, any other idea on how to implement such feature?.






▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-09-20 20:18
    Here is a link to a Low Current Standby technique using a BS2 consuming less than 3nA in standby mode.
    ·
    I designed this and used it for a·"doorbell" in my daughter's playhouse.· A rechargeable 9V battery (7.2V)
    would last about 8 months.
    ·
    You could cleverly implement this in a keypad instead of just the single switch setup I have.
    ·


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2006-09-20 20:58
    You may also use the SX sleep instruction to bring it in low power mode, and configure any of the port B pins as an input causing a wake-up on either a rising, or falling signal edge, depending on the button circuitry you are using.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • inakiinaki Posts: 262
    edited 2006-09-20 22:13
    Guenther, does this technique work sith SX Basic or should I implement it in assembler ?
    In your SX book I could not find any example. Have I missed it ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2006-09-21 08:09
    inaki,

    this works with SXB as well - see the SLEEP instruction in the on-line help. You are right, in my book, there is no example for the sleep instruction. You will find some information about how to configure port B inputs for wake-up on page 97.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
Sign In or Register to comment.