I'm using an ATtiny85 and 3 AA batteries in series to create a DIY remote control. Does anyone know what kind of circuit I need to safely and correctly use the batteries? I assume it'll need some smoothing caps and maybe a diode, but I'm not experience enough to come up with it on my own. Can anyone help?

  • \$\begingroup\$ Depends, what's connected downstream? Just the ATtiny? \$\endgroup\$
    – winny
    Mar 23, 2023 at 16:47
  • \$\begingroup\$ What kind of batteries, and what do you mean safely? What would the diode do? Do you need to consider if batteries are inserted with wrong polarity? Are they rechargeable or not? Chemistry? \$\endgroup\$
    – Justme
    Mar 23, 2023 at 17:46
  • \$\begingroup\$ @winny It's the ATtiny, a push button, an LED, and a radio module I got off Amazon. \$\endgroup\$
    – 1W0n_29
    Mar 23, 2023 at 17:52
  • \$\begingroup\$ @Justme They're going to be regular AA alkaline batteries. I'm not going to be the one using it, so I need to consider reverse polarity and other possible mistakes. They are not rechargeable. The reason I'm asking because of my knowledge of power sources, a lot of them need some caps to smooth the signal because many power sources aren't consistent, or reverse polarity diodes from electrical discharge or something of the sort. \$\endgroup\$
    – 1W0n_29
    Mar 23, 2023 at 17:55
  • \$\begingroup\$ OK, so since you are not the user, someone might change to rechargeable batteries without you knowing, so you should still make it safe with rechargeables. But now you have some RF module, what voltages it works with - it may change everything. Add that piece of important knowledge that it's not only the Tiny85 you need to power. \$\endgroup\$
    – Justme
    Mar 23, 2023 at 18:19


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.