I make solar kinetic outdoor sculptures. the set up is simple. An Atiny 85 uses pin 0 and 1 to control an H bridge that drives a motor. The motor is controlled with an analogWrite() to the pins to speed the motor up and slow it down or change direction.
The problem is that some how the ATiny doesn't seem to impliment the code. I measured the voltage on the chip and it is 5 volts but the two pins 0 and 1 remain at 0 volts. This seems to have something to do with the fact that the initial voltage/current to the circuit starts out low and works its way up as the sun gets higher.
If I short out the solar leads when the sun is full on the solar panels, then it starts working. I tried different Atiny 85 chips but that makes no difference. All these chips work fine in a breadboard setting but once it fails in the morning, more voltage/current during the day doesn't seem to help.
The nutty thing is that I have made several other similar solar kinetics and they work using the same code and hardware setup... most of the time... but Intermittently one will either fail to start in the morning or just keep turning in one direction with the pin locked HIGH. If I re-insert the chip it then works fine.