More power from Arduino pins?

I have an idea for a project using several Attinys to operate a simple mechanism on command from an Uno. Getting the physical size of the "receivers" to a minimum is critical. At the moment I am concentrating on the mechanics because there is no point buying Attinys if I can't get the mechanics to work. I thought I might be able to wind small solenoid coils but what works with 4AA cells won't work with a 3.6v LiPo cell. Then I thought I might use a very small electric motor (6mm diam) with a threaded rod on its shaft as a linear actuator. This works well but introduces the need for a h-bridge which seems to burst my space budget. I also have a cost budget and the electric motor uses almost all of it!

The Attiny (and the Atmega) can source a max of 40ma on its I/O pins which is not enough to drive the motor directly.

I wonder if anyone knows if I could double up the I/O pins (use 2 for each side of the motor) thus making up to 80ma available?

If I could do that I wouldn't need an external h-bridge. I haven't been able to find anything about this on Google.

I'm trying to figure out all the parts I need so I can get everything in a single delivery.

...R

I wonder if anyone knows if I could double up the I/O pins thus making up to 80ma available?

Yes. Maybe. There are some IR-based micro-RC planes that do this sort of thing, usually with PICs. It seems to work.
Note that 40mA is supposed to be an "absolute max" for the pins, not a comfortable full-time drive level.

For low-power H-bridges, you can also use things like 74ACxxx buffers or 555 timers; you don't need to go all the way to the DIP or Power packages used on the standard motor drivers.

I wonder if anyone knows if I could double up the I/O pins

If you do then you have to use direct port bit manipulation so you can switch them at the same time.

I woudn't recomend doing this though.

Robin2:
I wonder if anyone knows if I could double up the I/O pins (use 2 for each side of the motor) thus making up to 80ma available?

I don't see why not, although:
a) The current available isn't really 40mA (when datasheets say 'maximum rating' they don't mean 'working load').
b) Driving motors directly from pins seems like it could stress them (motors are inductive and produce all sorts of transients/reverse spikes).

In other words: It might work but it's not good design and it would probably be unreliable (chips could die).

Thanks everyone for the replies. I had actually expected the idea to be shot down.

In any case it's been sidelined because I have managed to break the motor I was using for testing. Well, truthfully it broke a couple of months ago when one of the power wires came off. But in my attempt to fix it I lost one set of brushes without realizing it until it was too late to find them.

That forced me to go back to the idea of a solenoid. I found another source of lacquered wire in my scrap box and managed to make one that seems to work fine with 500mA from a 3.6v LiPo. That will just require a single transistor to switch the current. And it only needs a very short pulse to do the work. Now I just have to figure out how to make the mechanism that the solenoid pulls :slight_smile:

...R