Show Posts
Pages: [1]
1  General Category / General Discussion / ATTiny85 Pinout Sticker on: April 07, 2013, 04:34:31 pm
I didn't look too hard, but I did a google search and found no pinout labels for the ATTiny85. So I used some images showing the pinouts to create my own pinout sticker. It's no masterpiece, but I hope it helps someone. These are pinouts for ATTiny85/45/and etc. running Arduino code.
2  Using Arduino / Motors, Mechanics, and Power / Motor control issues with ATTINY85 on: October 13, 2012, 01:35:50 pm
So I have a standard DC motor that I pulled from something some years ago. I don't know the specs on the thing but if i plug it into my arduino uno's 5V+ and GND- it runs just fine. So I wrote a simple code to upload to my ATTINY and see if I could control it. So far I haven't even tried PWM with it.

This is the code I wrote:

//ATtiny85 motor controller

const int motorForward = 1;

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

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


So to my understanding it should run the motor for one second and then rest for one second if I have 1 of the motor's leads grounded and the other lead plugged into pin 1 on the ATTINY85 with the ATINY powered. Unfortunatley this is not the case and instead it will not turn my motor at all. Any reasons why?
Pages: [1]