Electrical – ATTiny85 Not Working at all

attinyattiny85blinkmicrocontroller

I am using Arduino to program my ATTiny85 like this.

I am trying to make a simple blink example, here's the code:

void setup() {
  pinMode(0, OUTPUT);
}

void loop() {
  digitalWrite(0, HIGH);
  delay(1000);
  digitalWrite(0, LOW);
  delay(1000);
}

Connected to my programmer (which has a LED connected to pin 0) the LED flashes. When I plug it in to my circuit it does not work (the LED stays on.)

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

Connected to my programmer (which has a LED connected to pin 0) the LED flashes. When I plug it in to my circuit it does not work (the LED stays on.)

That alone tells you a lot about your problem. It suggest that your chip is successfully programmed and the issue is with your circuit.