Tried to look for similar issue/topic but no luck. Happy to be directed to one if such exists.
I am working on plant watering system, i use ATTiny85, a soil moisture sensor and a mini water pump (4-12V). If i connect water pump directly from ATTiny VCC pin it works just fine, however if i connect water pump to any other (PB0-4) ATTiny pins it doesn't get power. I have used a multimeter to measure the voltage and when the pump is not connected to any pins, i do get nearly 5V however once i connect the pump, the voltage drops to 0V straight away (and gets back to 5V after disconnecting the pump).
Any thoughts what am i doing wrong?