Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Re: Arduino Mega y pololu drv8825 on: January 20, 2013, 12:39:40 pm
GND all the sack of the same power supply generates +5, -5, 0 (GND), +12 and-12V. The LED connected to pin 12 of arduino I use testing as well as I tried to exit the arduino variety STEP.
2  Using Arduino / Motors, Mechanics, and Power / Re: Arduino Mega y pololu drv8825 on: January 20, 2013, 04:31:44 am
This is the scheme with which I have decided to write the post.
3  Using Arduino / Motors, Mechanics, and Power / Re: Arduino Mega y pololu drv8825 on: January 19, 2013, 07:18:41 pm
First of all thanks for answering so quickly.
It is like putting the images in the message. When stepping motor feed him with a 12v source. and noticed that the engine responds something, to play with their coils 12v directly. The scheme is the one in the link in the section where it says "using the driver". What I have is not the 100uF capacitor in the motor supply terminals.

Initializations terminals "sleep" and "reset" for I have put in place instead of directly to +5 v, inicializaras with arduino so you can "play" with the settings to see if it must be HIGH or LOW

Thanks again and I hope your answers.
4  Using Arduino / Motors, Mechanics, and Power / Arduino Mega y pololu drv8825 on: January 19, 2013, 06:02:46 am
First, I wish to greet all the members of this forum and that these words are worth as presentation.
And, of course, I want to ask a little question I have:

How do I connect pololu driver with arduino mega 8825 2560r3?, I tested with the connection shown in pololu site
http://www.pololu.com/catalog/product/2132  and is not in any way.

To test, I loaded the program on the arduino:

int sleep = 11;
int reset = 10;
int direccion = 9;
int paso = 8;


void setup()
{       
  pinMode(sleep,OUTPUT);
  pinMode(reset,OUTPUT);
  pinMode(direccion,OUTPUT);
  pinMode(paso,OUTPUT);
 
  pinMode(12,OUTPUT);

  digitalWrite(sleep, HIGH);
  digitalWrite(reset, HIGH);
  digitalWrite(direccion, HIGH);
 
}



void loop()
{
      digitalWrite(12, HIGH);
      digitalWrite(paso, HIGH);
      delay(100);
      digitalWrite(12, LOW);
      digitalWrite(paso, LOW);
      delay(100);
}
The pin 12 is to see me in a LED each program cycle ...

Awaiting your instructions ...


A greeting.
P.D.: Sorry for the English, is the translator of google.
5  International / Hardware / Arduino Mega y pololu drv8825 on: January 18, 2013, 04:26:34 pm
Ante todo, quisiera saludar a todos los miembros de este foro y que estas palabras valgan como presentación.
Y, como no, quiero preguntarles una "dudilla" que tengo:

¿Cómo conecto el driver de pololu 8825 con un arduino mega 2560r3?, he probado con la conexión que indica en la web de pololu
http://www.pololu.com/catalog/product/2132 y no va "ni palante ni patrás".

Para probar, he cargado en el arduino este programa:

int sleep = 11;
int reset = 10;
int direccion = 9;
int paso = 8;


void setup()
{       
  pinMode(sleep,OUTPUT);
  pinMode(reset,OUTPUT);
  pinMode(direccion,OUTPUT);
  pinMode(paso,OUTPUT);
 
  pinMode(12,OUTPUT);

  digitalWrite(sleep, HIGH);
  digitalWrite(reset, HIGH);
  digitalWrite(direccion, HIGH);
 
}



void loop()
{
      digitalWrite(12, HIGH);
      digitalWrite(paso, HIGH);
      delay(100);
      digitalWrite(12, LOW);
      digitalWrite(paso, LOW);
      delay(100);
}

Lo del pin 12, es para ver yo en un LED cada ciclo del programa...

Esperando vuestras indicaciones...


Un saludo.
Pages: [1]