Shop OBEX P1 Docs P2 Docs Learn Events
Power a Prop from 2 AA batts? — Parallax Forums

Power a Prop from 2 AA batts?

T ChapT Chap Posts: 4,223
edited 2012-06-07 21:51 in Propeller 1
How can this be done?

Comments

  • tonyp12tonyp12 Posts: 1,951
    edited 2012-06-05 06:16
    DC-DC boost, as the alkaline goes down to 1v+1v you still squeeze 3.3v out of them.
    Though the extra cost offset the cost of a 3rd battery, but if space and not using an oddball number of batteries is preferred.
    http://www.mouser.com/ProductDetail/ON-Semiconductor/NCP1450ASN33T1G/?qs=%2fugrpAKHX8r8z5O2syl402rCowfjQeLPBWesZNM0YqQ%3d
    or with built-in switching mosfet.
    http://www.mouser.com/ProductDetail/Texas-Instruments/TPS61097-33DBVT/?qs=IK5e5L0zOXj92STPEaYJfzfQKLzHq0fPPQnSK%2fMpEbs%3d
  • RaymanRayman Posts: 14,827
    edited 2012-06-05 06:33
    You can power it from 1 AA even, but you'd need that DC-DC boost circuit or chip...
    A lot easier to use 3 AAA...

    But, if you really need to... Sparkfun has a few DC-DC converter that take AA batteries, last time I looked...
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-06-05 06:36
    @tonyp12 - that is a brilliant solution. I'm thinking of combining that with a touchscreen board for a truly portable propeller computer.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-06-05 06:51
    A lot of the DC-DC circuit can cause severe radio interference so you need to use extra care when using a switching regulator with wireless devices.
  • jazzedjazzed Posts: 11,803
    edited 2012-06-05 06:54
    T Chap wrote: »
    How can this be done?

    A boost DC-DC converter can do the job with 2 Alkaline AA's. Buck boost converters are more practical since you might want to also use a non-battery power source like USB power or other cheap DC supply for project development.

    Not sure, but a single CR123A 3V LIPO might power propeller for most of the battery life.
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2012-06-05 07:25
    Back in the "olden days" the stepup converters using two batteries always worked better than with just one. That may not be true now, but still, with two batteries you might be using nicads so 1.5V is really on average 1.2V and it might drop to 1V. I think there was the idea also that 2 batteries "died" better than, say 3 batteries. With three batteries, one could go reverse voltage which is really bad for rechargeables. But with two batteries, if one cell went flat, the whole stepup controller died, which protected the other cell from reverse voltage.

    Bottom line is that two cells work very nicely.

    As jazzed has pointed out, we now have LiPos. And while one LiPo needs more care (you must never let them go flat), you only need one cell. Send it through a buck/boost to produce a reliable 3.3V, and it could be a very nice solution.

    There must be some "perfect" chip out there. Input 1V to >5V and output regulated 3.3V
  • LawsonLawson Posts: 870
    edited 2012-06-05 08:27
    T Chap wrote: »
    How can this be done?

    Disable the brownout detector, add a pullup to the reset line, only run at 40MHz or less and directly wire to the battery. It may run faster, haven't gotten around to testing the exact speed limits. Prop should be happy even below 2 volts. If you're really worried about brownouts, a MN1381 or similar chip can be hooked to reset the chip below 1.8-2 volts. First link in my signature shows my experiments on this. I've successfully programmed a Prop while it ran at 1.6v so the maximum clock at 1.6v is faster than RCFAST.

    Lawson
  • wmosscropwmosscrop Posts: 409
    edited 2012-06-05 10:30
    T Chap wrote: »
    How can this be done?

    T Chap -

    I created a prop-based remote control that runs for months on 2 AA's (not rechargeables).

    It's able to do this because it spends almost all of the time in a slow clock/waitcnt state. Only when a button is pressed does it actually switch to the crystal.

    At about 2.7V the unit no longer functions properly. That, however, may be because there's not enough ooomph and/or high enough voltage left in the batteries to power the IR led.

    Walter
  • WBA ConsultingWBA Consulting Posts: 2,935
    edited 2012-06-05 13:08
    I use one of these step up boards from Sparkfun, only $5.95. 1-3v input, 3.3v output.
    10967-01a.jpg
    600 x 600 - 141K
  • jazzedjazzed Posts: 11,803
    edited 2012-06-05 14:14
    SpinSocket-Flash boards will run off a single C cell.

    Regulator (4.1 to 15VDC) or Boost converter (1.4 to 3.6VDC) can be used.

    The design is on Tubular's smorgrasboard panel.
  • T ChapT Chap Posts: 4,223
    edited 2012-06-05 18:40
    Thanks for all this info, very helpful stuff.
  • LawsonLawson Posts: 870
    edited 2012-06-05 18:52
    wmosscorp wrote:
    I created a prop-based remote control that runs for months on 2 AA's (not rechargeables).

    It's able to do this because it spends almost all of the time in a slow clock/waitcnt state. Only when a button is pressed does it actually switch to the crystal.

    At about 2.7V the unit no longer functions properly. That, however, may be because there's not enough ooomph and/or high enough voltage left in the batteries to power the IR led.

    Walter


    2.7v is the on chip brownout detector's threshold. Tie the BOEn pin high to turn off the brownout detector. Also put a pullup on RESn so static won't reset the Prop. The remote should now run until the AA's are dead and/or the IR LED is too dim for the receiver to see.

    Lawson
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-06-05 19:28
    All this really depends on what the prop is doing and driving. Boosting is used in the single battery solar garden lamps, although this is usually a crude cct.
  • T ChapT Chap Posts: 4,223
    edited 2012-06-05 19:35
    The batteries also have to power the Nordic nRF24L01+, which has a very low power mode that can be enabled. The Nordic can operate from 1.9V - 3.6V. Other than a few passives, that's all there is to it.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-06-06 08:46
    If you need the Nordic to remain on and receiving, it will draw about 17mA.

    If you could have the device awakened with a button press, then the Prop could power the Nordic directly with an I/O pin (this usually requires an extra cap on the Nordic's Vdd pin).

    Since you are using this with a wireless device, you'll need to be careful about using a switching regulator.

    Mike Green has suggested ways of shielding a switching regulator but my initial (halfhearted) attempts haven't worked well.

    They sell Li-Ion in AA sizes. You'd need to include a warning on both the batteries and the device about the voltage difference of the cells.

    I'm not sure if the danger of using the Li-Ion AAs in some other device or someone using normal AAs instead of the Li-Ion in your device outweigh the convenience of using AA cell holders.

    A single Li-Ion (of LiPo) seems to be outside the usual input voltage range of buck regulators. It seems like there are more options for regulating two Li-Ions to 3.3V than one.

    Two alkaline AAs are probably a better solution in many cases than trying to regulate the higher voltage Li cells but I just don't like non-rechargeable batteries.
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2012-06-06 10:24
    AA size lithium iron disulfide primary cells (Energizer L91, also clones from batteryspace.com), have "normal" 1.5V and a nice discharge curve, lightweight, and good at extreme temperatures.

    Screen shot 2012-06-06 at 10.20.25 AM.png
  • lonesocklonesock Posts: 917
    edited 2012-06-06 11:53
    I haven't used this yet, but I want to [8^)

    LXDC2HL33A-055

    Jonathan
  • rokickirokicki Posts: 1,000
    edited 2012-06-06 16:08
    Remember that both the buck/boost regulators, and any "normal" regulators that
    regulate from a higher voltage down to a lower one, may have vastly more "idle"
    current draw than a base prop in a "wait" condition with the PLL off.

    That is, two AA cells directly to prop VCC, with the pin connections described
    above to prevent brownout, may well last much longer than *anything* using a
    buck, boost, buck-boost, or linear. This will probably be true both for lithium
    and alkaline, even despite alkaline's voltage sag with age.

    The simplicity, too, is extremely attractive.

    So we need an EEPROM, a Prop chip, a resistor, two batteries, and you've
    already got something that works (probably). If you add a crystal you might
    also want to add a small cap at VCC.

    It would be interesting to see how long such a setup could blink an LED. If the
    on period was short, it could be months.
  • jazzedjazzed Posts: 11,803
    edited 2012-06-06 16:32
    Low efficiency boost regulators don't make sense at all :)
  • rokickirokicki Posts: 1,000
    edited 2012-06-06 16:46
    This is true; the regular lonesock points out is amazing to me.

    I'm so used to seeing regulators that have several (or even ten) milliamps of "idle" current draw.
    The one lonesock shows has a "typical" off current draw of 0 microamps, and max of 2 microamps.
    That's pretty fantastic.

    I'm not sure what the current draw is when "on" but the load is drawing only microamps.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-06-06 18:16
    Tracy: Thanks for posting that curve. I have never bothered to look before. It certainly makes using 2x Lithium AA an excellent choice for powering a prop+cct that has a low power requirement.

    At 50mA draw and operational to 2.8V would give ~50 hours use.
  • Tracy AllenTracy Allen Posts: 6,664
    edited 2012-06-06 18:25
    That buck regulator with "inductor-imbedded ferrite" is quite interesting, but I wouldn't consider it either for a micropower design. The 2µA figure applies only to shutdown, and the best guess at performance under load comes from the efficiency curves.

    Murata_LXDC2_efficiency.png


    It is remarkable for a buck regulator to be spec'd down as low as 1mA, but the efficiency may(?) drop like a rock as it approaches the quiescent current.

    Some switching regulators that advertise low quiescent current like 20µA achieve that by going into a burst mode when the demand is low. But even so, it can match the quiescent current of running directly from a battery or with a linear regulator like the MCP17xx series.
    497 x 364 - 25K
  • LawsonLawson Posts: 870
    edited 2012-06-06 18:28
    Yea, that regulator Lonesock linked is amazingly small. Eyeballing it off the efficiency charts I'd estimate it's idle current between 100 and 200 microamps. The best idle current's I've see for switching regulators have been with LTI's "burst mode" chips. The Buck-Boost LTC3530 idles at ~40uA, while many of LTI's Buck regulators idle in the <10uA range. (just one example is LTC1771 ) For Linear regulators the Micrel MIC5232 is the best I've found. <2uA idle current even in dropout or when the input is disconnected while the load still has power.

    Lawson
  • Christoph_HChristoph_H Posts: 31
    edited 2012-06-07 00:44
    For very low idle currents there's also the MAX1722(..23, ..24). Step-up in SOT23-5 package, only additional parts are the input, output capacitors and the inductor.
  • T ChapT Chap Posts: 4,223
    edited 2012-06-07 18:05
    Let me ask you guys about an idea I have in mind. I do not know what would be the best circuit but here is the idea. If the device does not need to do anything until some event triggers a pin on the Propeller, what if the code had a circuit in which if a button was pressed that took the vss of the Prop board to GND, the power was allowed to boot because it now has power. Upon power up, the code engages a pin which completes a path to VSS for the board by some means. I don't want a relay nor the power to keep a relay on. But what about an n channel transistor or mosfet that stayed on while the pin was high. After an hour of inactivity (no activity on a pin or data), the Prop turned off the pin and thusly kills VSS to the board. The condition is that it is OK if the user knows that after a timeout, that a button press would have to wake up the board, then it would work fine again, the Prop resetting the timer after each event so that there is an hour of ready mode before sleep.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-06-07 18:31
    Have you seen this thread? It has some ideas on how to have the Prop control its own power.

    A latching relay doesn't require power to stay on or off. It just uses current to change states. I don't think a latching relay is as elegant as the solutions on the other thread, but I kind of understand how latching relays work so I'd be inclined to use one myself.

    It's been a while since I've read the thread I linked to so I don't remember if the solutions were low power or not. I think a latching relay could be latched on with a button press and then the Prop could latch it off when desired. The latching relays I've used were about 1/2" x 3/8" x 3/16". There are a lot of these little relays that can be driven directly by a Propeller.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-06-07 21:51
    BTW you mean to switch the power which is VDD. VSS is gnd.
Sign In or Register to comment.