I'm trying to get my Attiny85 to run on battery power but I cannot seem to do it.
It runs just fine when plugged into the USB programmer and functions as expected. However, placing the attiny85 onto the breadboard and giving it some power does nothing. I've tried using 2 AAA batteries to supply it and I've tried a coin cell CR2032 all to no avail.
Double check whether the processor chip is correctly inserted in the breadboard and is making good connections. A multimeter with continuity check is an essential tool for this hobby. So is a soldering pencil.
The processor chip requires a 100 nF bypass capacitor across power and ground, as close to the chip as possible.
It is odd, but I have been bitten by bad connectors in the past. e.g. jumperwires that were not crimped properly. I also see you have an extra adapter plate for your attiny. I would swap all the wires one by one, lose the adapter plate and insert the attiny directly in the breadboard and even move everything to a different position on the breadboard.
I changed locations on the board, tested all the wires using the battery pack and LED. I removed the adapter plate too, but I don't think its the easy since it works fine even plugged into the programmer. Thanks for the suggestions.
So I have another Attiny85 digispark board and I plugged the 5v output up to the attiny and it still doesn't work even with 5 volts. Yet it still works perfectly when plugged into the programmer.
Any idea why the attiny85 might totally refuse to work on power even from another attiny board?
When it all works correctly, is the Attiny85 removed from the breadboard and plugged directly into the programmer ?
If so, the review all the responses in this thread related to quality of connections, decoupling capacitors etc.
It is, anyway, unusual to socket an integrated circuit on a breadboard. Remove the socket and plug the chip directly into the breadboard.
The only other thing I can do is echo the suggestion to get a multimeter so you can really verify the connections. Usable ones can be very cheap (although delivery times may be long). Only one of many examples: