I've got a few decorations I'd like to covert from simple on off 3xAAA batteries to an Arduino nano and rechargeable pack I can program a schedule to or app control. I've used Arduino before and know the language. Next year I'd like to do less turning on and off during the festive season!
I was hoping for a bit of guidance on Nano + battery pack to buy? And if the power for the lights would be ok to come directly off the nano pins or if other circuitry would be needed?
Nano is not ideal for battery powered projects because of its usb-serial chip, which cannot be put into standby and wastes battery power.
A 3.3V arduino of some kind could be a better choice for battery powered circuits. Some Arduino compatible boards have built-in charge circuit and connector for LiPo rechargeable packs, so you could consider one of those.
It sounds like you may also need a real-time clock.
No, you almost certainly cannot power light decorations from an Arduino pin. The absolute maximum on Nano is 40mA and may be even less on other Arduino. Do not consider relays for switching the decorations if using battery power, because a relay will waste a lot of power. Use a transistor such as a MOSFET.
Thanks Paul, already glad I asked! The lights in thesec particular decorations are only 3/4 LEDs so not like a full set of Christmas lights. Do you think I'd still need the transistor for switching?
Measure the voltage and current. If the voltage is higher than the voltage of the Arduino you are using, or the current is more than around 30mA (although tbh that also depends what Arduino you are using and could be less) then you will need a transistor.