I am using attiny85 to control 4 motors that work all togather at the same time. Will that hurt the attiny85 controller or is it ok. Because I think that the 4 motors will draw high power through the attiny85 and that may affect it. So should I use relay at this situation?

  • \$\begingroup\$ What kind of motors are you trying to drive? \$\endgroup\$ – Adam Z Jun 16 '16 at 5:10
  • \$\begingroup\$ Do the motors only turn in one direction? \$\endgroup\$ – Spoon Jun 16 '16 at 6:53
  • 1
    \$\begingroup\$ Top tip never drive any motor through a microcontroller or any IC that's meant to deal with logic and not meant for motors. You could use a transistor if you want to control multiple motors at once but watch for the heat as you may need a heatsink. Or more simply just use a relay. \$\endgroup\$ – Bradman175 Jun 16 '16 at 9:38

Yes, you will need some sort of motor controller. The absolute maximum current draw from each pin of the ATTiny is 40 mA.

While it's possible to do this with relays, your best bet will be a set of H-bridge motor drivers.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.