I have an ATTiny85 running on a 32kHz crystal using a 3V, CR2032 battery cell to run the following code:
This code basically is using Timer/Counter1 to wake up from an idle sleep every overflow, which is 4 seconds.
The crystal is connected to pin 2-3, which it should. Vcc and ground are connected correctly to the battery cell and pin 5, or pin PB0, is used for powering the led. This all works perfectly well, until I replace the led for a vibrator motor, which is what I need. This seems really weird to me.
The motor works perfectly well on 3V directly, or with a resistor. Specifications for the motor say 1.5-3V. is it that the ATTiny85 can't output 1.5V through its pins? The circuit works fine on the 5V or 3.3V(tbh, it júst works.) supplied by an arduino Uno.
I'm guessing the ATTiny85 has a lower pin output than Vcc, which makes sense. But this seems like quite a lot. Does anyone have a solution?