Disclaimers: I admit I do not understand power supply and consumption as well as I should, hence asking questions. I have done a lot of searching, reading, etc., but can’t seem to put it together, hence asking questions. Most of the results to my searching seem to be about larger solenoids, different needs.
Question: how do I best power my device using the smallest, lightest, and cheapest battery source possible?
Project: I need to power an Arduino Mega Pro (a Mega clone that is small, and with a micro-USB port) with a small display (currently a 128x64 OLED, but could be something else), and, most critically, a solenoid.
(I think I need a Mega because my code - possibly bloated, but that is another learning opportunity for me - seems to be too big for other Arduino boards.)
I will learn about general power consumption later. Optimizing, sleep mode, various display options, etc. For now my question is about powering the solenoid from hopefully small lightweight batteries.
== Solenoid ==
-I think the small 5V 1.1A solenoid is strong enough for my needs. In general it only needs to fire for a moment - basically as fast as possible, and doesn’t need to hold - but more on that in usage 2 below.
Usage 1) Depending on the answers to this question, it could only need to fire for a fraction of a second, and with at least a pause of 1 second between firing. It would only fire twice in any given use, then there would be time - probably minutes - before it fires again.
In other words, it either fires once, as fast as possible, and releases, or perhaps fires once, waits at least 1 second (possibly many many seconds) and fires again. Then there would be a much longer (user-defined) delay before the next use.
Usage 2) If possible, in some scenarios, I’d like to be able to hold the solenoid for many seconds, but I realize this may require a different solenoid (“latching” or some relay or something) as what I have requires a lot of current, gets hot, etc. Suggestions for a small solution for this are welcome, if that’s the route I should be taking.
I am currently using a circuit (for the solenoid, only) similar to the solenoid portion of this one:
(TIP120, diode, etc.)
I can get it to work if I power everything from a variable-voltage wall brick set to 9V. I want to use my device miles and miles away from any power outlets, so I need to figure out batteries, capacitors, whatever.
Ideally we’re talking about a few AA / AAA, maybe a rechargeable lithium-ion or something?
I realize this next thing gets into overall power consumption, but just to give an idea, I’d like for this device to be able to be on (the display) for many hours, and for the solenoid to be able to fire…I dunno, 50 times? in that time period. Basically I want to be able to use this device all day without having to change batteries.