Mostrando entradas con la etiqueta proyectos. Mostrar todas las entradas
Mostrando entradas con la etiqueta proyectos. Mostrar todas las entradas

CNC II Project

Direcciones:
     Rulemanes: Balparda - Rio Negro 1600 Esq. Cerro Largo (29021249)
                       Modelo ruleman: EE 3 2RS/R62RS SUMEC ($42)


    Barras de acero: ALTIX http://www.altix.com.uy/materiales.php
                              Dr. Pablo Ehrlich No. 3974 | Tel : (598) 2208 6700
                         
                                        BARRACA DE HIERROS SAN MARTIN
                                        José M. Penco 3422 - Tel: 2081561-2007521 


---------------------------------------------------------------------------------------------------------------------------
Circuito CNC-Arduino:


Terminal azul - El que esta al lado de los tips:


pos 1: motor (verde)
pos 2: motor (rojo)
pos 3: motor (blanco verde)
pos 4: motor (blanco rojo)


Terminal azul - El que esta debajo del de arriba:



pos 1: arduino (digital 7)
pos 2: arduino (digital 6)
pos 3: arduino (digital 5)
pos 4: arduino (digital 4)


los dos common del motor (cables blanco y negro) van a +
gnd de arduino va a -



---------------------------------------------------------------------------------------------------------------------------



Mach3: explicación de step y dir:
The standard signalling for hobby CNC axes is know as STEP/DIR. Two lines, one indicating direction (High/Low=Fwd/Rev), and the second is pulsed (Low to High to Low) to indicate a single step.


Motores:
     ASTROSYN - MINIANGLE STEPPER
     TYPE: 23LM - C343 - P2H
     3.5 v/PHASE
     1.4 amp/PHASE
     1.8 deg/STEP
     NO. T0615
     MINEBEA CO., LTD. 782-22


     Cableado:
          common (+12v) = rojo+negro
          secuencia=blanco_rojo, blanco_verde, rojo, verde
-------------------------------------------------------------------------------------------------------
Como calcular los amperes necesarios para un motor:

P = V x I

Si el motor es de 180Watts y la alimentacion es 24V, los amp que requiere son 180/24 = 5amp


-------------------------------------------------------------------------------------------------------
tip102. visto de frente: pata izq=base, pata medio=colector, pata der=emisor  ***LA PLACA METALICA ES COLECTOR***

Ventilador:

base -> 10k -> +5v
colector -> negativo del ventilador
emisor -> -12v
positivo del ventioador -> +12v

Stepper:

negro y blanco del stepper -> +12v

base -> 1.5k -> digital pin 11 de arduino
colector -> blanco_rojo del stepper
emisor -> tierra

base -> 1.5k -> digital pin 10 de arduino
colector -> blanco_verde del stepper
emisor -> tierra

base -> 1.5k -> digital pin 9 de arduino
colector -> rojo del stepper
emisor -> tierra

base -> 1.5k -> digital pin 8 de arduino
colector -> verde del stepper
emisor -> tierra

gnd de arduino -> tierra ***todas las tierras juntas, como siempre!!***


Codigo del arduino:

int motorPin1 = 8;
int motorPin2 = 9;
int motorPin3 = 10;
int motorPin4 = 11;
int delayTime = 2;

void setup() {
  pinMode(motorPin1, OUTPUT);
  pinMode(motorPin2, OUTPUT);
  pinMode(motorPin3, OUTPUT);
  pinMode(motorPin4, OUTPUT);
}

void detener() {
  digitalWrite(motorPin1, LOW);
  digitalWrite(motorPin2, LOW);
  digitalWrite(motorPin3, LOW);
  digitalWrite(motorPin4, LOW);
  while (true);
}

void loop() {
  detener();
  
  digitalWrite(motorPin1, HIGH);
  digitalWrite(motorPin2, LOW);
  digitalWrite(motorPin3, LOW);
  digitalWrite(motorPin4, LOW);
  delay(delayTime);
  digitalWrite(motorPin1, LOW);
  digitalWrite(motorPin2, HIGH);
  digitalWrite(motorPin3, LOW);
  digitalWrite(motorPin4, LOW);
  delay(delayTime);
  digitalWrite(motorPin1, LOW);
  digitalWrite(motorPin2, LOW);
  digitalWrite(motorPin3, HIGH);
  digitalWrite(motorPin4, LOW);
  delay(delayTime);
  digitalWrite(motorPin1, LOW);
  digitalWrite(motorPin2, LOW);
  digitalWrite(motorPin3, LOW);
  digitalWrite(motorPin4, HIGH);
  delay(delayTime);
}

-------------------------------------------------------------------------------------------------------




Backslash explicado y metodos para evitarlo:


http://www.machinetoolhelp.com/Repairing/What_is_backlash.html


Ejemplo de eje x con plataforma movil:


http://www.buildyouridea.com/cnc/Shrapnel/phase_one/phase_one.html


Apuntes sobre acoples, varillas roscadas, etc


 stainless steel threaded rod


http://melca.com.ar/apuntes.html


http://www.cncsimulator.com


Urls de 3 axis stepper motor driver board y motor couplers:



http://cgi.ebay.com/CNC-3-axis-Stepper-Motor-Driver-Board-Controller-TB6560-/110712814497?pt=LH_DefaultDomain_0&hash=item19c6ff7ba1#ht_2600wt_1185


http://cgi.ebay.com/3-Axis-CNC-TB6560-Stepper-Motor-Driver-Controller-Board-/260782799764?pt=LH_DefaultDomain_0&hash=item3cb7ddbb94#ht_907wt_952


Este es el que tiene las imagenes:
http://cgi.ebay.com/3-Axis-TB6560-CNC-Stepper-Motor-Driver-Board-Controller-/270549461424?pt=LH_DefaultDomain_0&hash=item3efe0129b0#ht_4614wt_952


Motor coupler
http://cgi.ebay.com/CNC-Stepper-Motor-Flexible-Coupling-Coupler-6x6mm-/180700376869?pt=LH_DefaultDomain_0&hash=item2a1294ef25#ht_4538wt_905

Con free shipping
http://cgi.ebay.com/3x-CNC-Stepper-Motor-Flexible-Coupling-Coupler-Shaft-/170671010420?pt=LH_DefaultDomain_0&hash=item27bcc8f274#ht_2199wt_952


Flexible Coupling Motor Shaft Coupler
http://www.ebay.com/itm/5mm-X-5mm-Flexible-Coupling-Motor-Shaft-Coupler-/250865518774?pt=LH_DefaultDomain_0&hash=item3a68c008b6#ht_1427wt_952

Pillow block bearing
http://www.ebay.com/itm/1-2-UCP201-8-PREMIUM-Pillow-Block-Bearing-/390289943324?_trksid=p4340.m1374&_trkparms=algo%3DPI.WATCH%26its%3DC%252BS%26itu%3DUCC%26otn%3D15%26ps%3D63%26clkid%3D2438999684422364687#ht_2110wt_1139

THK LINEAR BALL BEARING SLIDE TABLE WITH / BALLSCREW
http://www.ebay.com/itm/THK-LINEAR-BALL-BEARING-SLIDE-TABLE-BALLSCREW-/380364985607?_trksid=p4340.m1374&_trkparms=algo%3DPI.WATCH%26its%3DC%252BS%26itu%3DUCC%26otn%3D15%26ps%3D63%26clkid%3D2439000852926923977#ht_1540wt_1185

10 Ball Bearings DELTA 14"Band Saw Blade Guide Bandsaw
http://www.ebay.com/itm/10-Ball-Bearings-DELTA-14-Band-Saw-Blade-Guide-Bandsaw-/130343841011?_trksid=p4340.m1374&_trkparms=algo%3DPI.WATCH%26its%3DC%252BS%26itu%3DUCC%26otn%3D15%26ps%3D63%26clkid%3D2439001682456578259#ht_783wt_905

Linear Ball Bearing Rack Slides Rails, NEW $120 model!
http://www.ebay.com/itm/Linear-Ball-Bearing-Rack-Slides-Rails-NEW-120-model-/230235510593?pt=COMP_EN_Servers&hash=item359b1b1741#ht_656wt_1139


Configurar Mach 3
http://www.youtube.com/watch?v=A49gKd7g8FQ

Midi drum kit con Arduino

Ejemplo 1:

http://lusorobotica.com/index.php?topic=1237.0





Ejemplo 2:
Conexion de un piezo al arduino:
http://www.sparkfun.com/tutorials/330


Ejemplo 2:

http://www.spikenzielabs.com/SpikenzieLabs/DrumKitKit.html


Ejemplo 3:

-En los ejemplos de Fritzing: Arduino/Sound/Midi Drum Kit

-Fuente: http://todbot.com/blog/2006/10/29/spooky-arduino-projects-4-and-musical-arduino/

-Codigo:


/*
 * MIDI Drum Kit
 * -------------
 * Convert Arduino to a MIDI controller using various inputs and
 * the serial port as a MIDI output.
 *
 * This sketch is set up to send General MIDI (GM) drum notes 
 * on MIDI channel 1, but it can be easily reconfigured for other
 * notes and channels
 *
 * It uses switch inputs to send MIDI notes of a fixed velocity with
 * note on time determined by duration of keypress and it uses
 * piezo buzzer elements as inputs to send MIDI notes of a varying velocity
 * & duration, depending on forced of impulse imparted to piezo sensor.
 *
 * To send MIDI, attach a MIDI out jack (female DIN-5) to Arduino.
 * DIN-5 pinout is:                               _____ 
 *    pin 2 - Gnd                                /     \
 *    pin 4 - 220 ohm resistor to +5V           | 3   1 |  MIDI jack
 *    pin 5 - Arduino D1 (TX)                   |  5 4  |
 *    all other pins - unconnected               \__2__/
 * On my midi jack, the color of the wires for the pins are:
 *   3 = n/c 
 *   5 = black  (blue)
 *   2 = red    (red)
 *   4 = orange (yellow)
 *   1 = brown
 *
 * Based off of Tom Igoe's work at:
 *    http://itp.nyu.edu/physcomp/Labs/MIDIOutput
 *
 * Created 25 October 2006
 * copyleft 2006 Tod E. Kurt <tod@todbot.com
 * http://todbot.com/
 *
 * Updates:
 * - 2 May 2009 - fixed noteOn() and noteOff() 
 *
 */

// what midi channel we're sending on
// ranges from 0-15
#define drumchan           1

// general midi drum notes
#define note_bassdrum     35
#define note_snaredrum    38
#define note_hihatclosed  42
#define note_hihatopen    44
#define note_crash        49

// define the pins we use
#define switchAPin 7
#define switchBPin 6
#define switchCPin 5
#define piezoAPin  0
#define piezoBPin  1
#define ledPin     13  // for midi out status

// analog threshold for piezo sensing
#define PIEZOTHRESHOLD 100

int switchAState = LOW;
int switchBState = LOW;
int switchCState = LOW;
int currentSwitchState = LOW;

int val,t;

void setup() {
  pinMode(switchAPin, INPUT);
  pinMode(switchBPin, INPUT);
  pinMode(switchCPin, INPUT);
  digitalWrite(switchAPin, HIGH);  // turn on internal pullup
  digitalWrite(switchBPin, HIGH);  // turn on internal pullup
  digitalWrite(switchCPin, HIGH);  // turn on internal pullup

  pinMode(ledPin, OUTPUT);
  Serial.begin(31250);   // set MIDI baud rate
}

void loop() {
  // deal with switchA
  currentSwitchState = digitalRead(switchAPin);
  if( currentSwitchState == LOW && switchAState == HIGH ) // push
    noteOn(drumchan,  note_bassdrum, 100);
  if( currentSwitchState == HIGH && switchAState == LOW ) // release
    noteOff(drumchan, note_bassdrum, 0);
  switchAState = currentSwitchState;

  // deal with switchB
  currentSwitchState = digitalRead(switchBPin);
  if( currentSwitchState == LOW && switchBState == HIGH ) // push
    noteOn(drumchan,  note_snaredrum, 100);
  if( currentSwitchState == HIGH && switchBState == LOW ) // release
    noteOff(drumchan, note_snaredrum, 0);
  switchBState = currentSwitchState;

  // deal with switchC
  currentSwitchState = digitalRead(switchCPin);
  if( currentSwitchState == LOW && switchCState == HIGH ) // push
    noteOn(drumchan,  note_hihatclosed, 100);
  if( currentSwitchState == HIGH && switchCState == LOW ) // release
    noteOff(drumchan, note_hihatclosed, 0);
  switchCState = currentSwitchState;

  // deal with first piezo, this is kind of a hack
  val = analogRead(piezoAPin);
  if( val >= PIEZOTHRESHOLD ) {
    t=0;
    while(analogRead(piezoAPin) >= PIEZOTHRESHOLD/2) {
      t++;
    }
    noteOn(drumchan,note_hihatopen, t*2);
    delay(t);
    noteOff(drumchan,note_hihatopen,0);
  }

  // deal with second piezos, this is kind of a hack
  val = analogRead(piezoBPin);
  if( val >= PIEZOTHRESHOLD ) {
    t=0;
    while(analogRead(piezoBPin) >= PIEZOTHRESHOLD/2) {
      t++;
    }
    noteOn(drumchan,note_crash, t*2);
    delay(t);
    noteOff(drumchan,note_crash,0);
  }
}

// Send a MIDI note-on message.  Like pressing a piano key
// channel ranges from 0-15
void noteOn(byte channel, byte note, byte velocity) {
  midiMsg( (0x90 | channel), note, velocity);
}

// Send a MIDI note-off message.  Like releasing a piano key
void noteOff(byte channel, byte note, byte velocity) {
  midiMsg( (0x80 | channel), note, velocity);
}

// Send a general MIDI message
void midiMsg(byte cmd, byte data1, byte data2) {
  digitalWrite(ledPin,HIGH);  // indicate we're sending MIDI data
  Serial.print(cmd, BYTE);
  Serial.print(data1, BYTE);
  Serial.print(data2, BYTE);
  digitalWrite(ledPin,LOW);
}

Pushbuttons con arduino



1. Se configura el pin 2 como input en Arduino.
2. Para poder leer LOW en el pin 2 cuando el boton no esta presionado, se conecta a Gnd con una resistencia de 10k.
3. Cuando se presiona el boton, se cierra el circuito entre el pin 2 y +5v, y la corriente, en lugar de pasar por la resistencia hacia Gnd, toma el camino con menos resistencia, y entonces se lee HIGH en el pin 2.


Fuente: http://www.youtube.com/watch?v=XUuXq4J4u14&feature=player_detailpage

Ver esta url: http://www.ladyada.net/learn/arduino/lesson5.html

Para conectar múltiples botones:


Fuente: http://tronixstuff.wordpress.com/2011/08/15/tutorial-arduino-and-push-wheel-switches/#oogleto:http://tronixstuff.files.wordpress.com/2011/08/ex40p1_schem.jpg


Libreria OneButton:

http://www.mathertel.de/Arduino/OneButtonLibrary.aspx

Debounce: (para evitar lecturas múltiples)

http://arduino.cc/en/Tutorial/Debounce

Conectar WII nunchuck con arduino (codigo arduino y .net)

ATENCION!!
Este código funciona con la versión 0022 del IDE de Arduino!!


Arduino


/*
 * WiiChuckDemo --
 *
 * 2008 Tod E. Kurt, http://thingm.com/
 *
 */

#include <Wire.h>
#include "nunchuck_funcs.h"

int loop_cnt=0;

byte accx,accy,zbut,cbut;
int ledPin = 13;


void setup()
{
    Serial.begin(19200);
    nunchuck_setpowerpins();
    nunchuck_init(); // send the initilization handshake
   
    Serial.print("WiiChuckDemo ready\n");
}

void loop()
{
    if( loop_cnt > 100 ) { // every 100 msecs get new data
        loop_cnt = 0;

        nunchuck_get_data();


nunchuck_obtener_datos();
/*
        accx  = nunchuck_accelx(); // ranges from approx 70 - 182
        accy  = nunchuck_accely(); // ranges from approx 65 - 173
        zbut = nunchuck_zbutton();
        cbut = nunchuck_cbutton();
           
        Serial.print("accx: "); Serial.print((byte)accx,DEC);
        Serial.print("\taccy: "); Serial.print((byte)accy,DEC);
        Serial.print("\tzbut: "); Serial.print((byte)zbut,DEC);
        Serial.print("\tcbut: "); Serial.println((byte)cbut,DEC);*/
    }
    loop_cnt++;
    delay(1);
}


---------------------------------------------------------------------

.NET

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;

namespace WiiChuck
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
        }

        private void cmdComenzar_Click(object sender, EventArgs e)
        {
            SerialPort port = new SerialPort("COM7", 19200);
            int n = 0; string t;
            String[] v;

            port.Open();
            if (port.IsOpen)
            {
                while (true)
                {
                    //port.Write("a");

                    t = port.ReadLine();

                    v = t.Split(',');

                    try
                    {
                        //String s = v[3];
                        //String[] v2 = s.Split(':');

                        //pic.Left = int.Parse(v2[1]);

                        pic.Left = int.Parse(v[1]) * 4;


                        //pic.Top = this.Height - int.Parse(v[2]) - 100;

                        if (v[6] == "but:1")
                            pic.BackColor = Color.Red;
                        else
                            pic.BackColor = Color.Blue;

                    }
                    catch (Exception ex)
                    { }


                    txtDatos.Text = t;


                    System.Threading.Thread.Sleep(10);
                    Application.DoEvents();
                }
            }
        }
    }
}

Proyectos

LCD displays
Codigo: HD44780

http://arduino.cc/en/Tutorial/LiquidCrystalAutoscroll
http://www.arduinoprojects.com/node/13

Scrollsaw 

homemade scroll saw
http://www.youtube.com/watch?v=WB5klu4W-SU

Scroll saw projects:
http://www.scrollsawworkshop.blogspot.com/


LEDs
Calculadora de resistencias para leds:
ledcalc.com

Como averiguar el voltaje que requiere un led:
-Conectar un transf. con salida continua o una bateria de 9v, con una resistencia de 1k (1000 ohms) y al led.
-Con el tester, medir el voltaje entre las dos patas del led. Esto da la tensión del mismo.

El voltaje en los leds es independiente de la tension de la fuente y de la corriente que circula por él. Hay que tener cuidado de no darle mas corriente de la que soporta (usualmente unos 20mA)

Accelerometers

http://www.arduino.cc/en/Tutorial/ADXL3xx
http://roy.vanegas.org/itp/thesis/code/adxl3xx_accelerometer.html


Arduino

DIODOS, TRANSISTORES, OPTOCOUPLER EXPLICADOS!!
http://www.varesano.net/blog/fabio/diodes-transistors-and-optocouplers-what-they-are-some-theory-and-simple-usages-examples-

Knock Sensor con piezoelectrics:
http://www.arduino.cc/en/Tutorial/KnockSensor

http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/piezo.html

Fade led:
http://www.varesano.net/blog/fabio/pwm-and-arduino-fading-led-and-playing-melodies-piezo-speaker

Con transistores!!!
http://www.arduino-tutorial.com/category/advanced/

HelloWorld:
http://www.arduino.cc/en/Tutorial/BlinkingLED

Fade led:
http://arduino.cc/en/Tutorial/Fade

Stepper motor con Arduino:
http://arduino.cc/es_old/Tutoriales/PaPUnipolar

Soldadura por arco (arc welding)


CNC

CNC means Computer Numerical Control. This means a computer converts the design produced by Computer Aided Design software (CAD), into numbers. The numbers can be considered to be the coordinates of a graph and they control the movement of the cutter. In this way the computer controls the cutting and shaping of the material.

Coupling (conectar el motor con el tornillo)
http://nghiaho.com/?page_id=66


Ejemplo de CNC

LEAD SCREW STEPPER MOTOR (tornillo)


Stepper motors

http://www.doc.ic.ac.uk/~ih/doc/stepper/control2/connect.html

Encontrar common:

6 Wire Motors: With the ohmmeter, separate the wires into two groups of three (there'll be continuity among the three in a group, but no continuity between the groups) {ed: or use the method above to find the groups without a meter}
As you are testing, make sure that none of the motor wires are shorted together, other than the ones specified in the test.
Arbitrarily label the wires in one set a, b, and c.
Twist together a and c and hold them to one side of the battery while holding b to the other side. Does the motor turn easily?
  • If yes, then b is the center and a and c are the ends.
  • If not, then try again:
Twist together leads b and c and connect them to one side of the battery and lead a to the other. Motor turn easily?
  • If yes, then a is the center and b and c are the ends.
  • If not, then try again:
Twist together leads a and b and connect them to one side of the battery and c to the other. Motor turn easily?
  • If yes, then c is the center and a and b are the ends.
  • If no, then there’s an unknown problem because those are the only combinations.
Repeat the labelling and test sequence for the other set of wires. (see Stepper Motor Connection Options for all the different ways you can hook your motor up)

Phases:

With a battery, connect the common to one side, Then touch each wire to the other side of the battery until you find one that spins clockwise. Call this A. Pick another wire. If it goes clockwise too, call it B, and so on. If it doesn't, re-apply A, then pick another wire. Eventually you get A,B,C & D, and it should spin clockwise when voltage is applied in sequence. Reverse the sequence, and the motor should go backwards. {Ed:thanks to Tony Smith}

Bill Krause's 6 wire method
http://www.piclist.com/techref/io/stepper/wiresmeterbattery.htm
http://www.piclist.com/techref/io/stepper/wiresbattery.htm




CNC Prototype I

Motor 1 (horizontal):

common: blanco+rojo
secuencia: amarillo - marrón - naranja - negro



Parallel port

Ver esta url: http://malzev.tripod.com/radiodoc/printer.htm

Parallel port female pin-out:



D0 is the LSB (Least Significant Bit) and D7 is the Most Significant Bit (MSB). You can send an integer type data to the D0..D7 pin-outs. And the output will be the binary form of the integer we send. For example : If we send an integer data 15 the output will be:

D7D6D5D4D3D2D1D0
LOWLOWLOWLOWHIGHHIGHHIGHHIGH
15 (byte) = 00001111 (binary)


source: http://123codegenerator.blogspot.com/2010/07/accessing-your-pcs-parallel-port-using.html


Colores de cables DB25
================
pin 1 - marron
pin 2 - rojo
pin 3 - naranja
pin 4 - blanco oscuro
pin 5 - amarillo
pin 6 - verde
pin 7 - verde claro
pin 8 - azul
pin 9 - violeta
pin 10 - gris
pin 11 - blanco
pin 12 - negro
pin 13 - celeste
pin 14 - rojo y negro
pin 15 - blanco oscuro y negro
pin 16 - amarillo y negro
pin 18 a 25 - ground

Registro de Control (C)

Puerto: 0x379H   (889 en decimal)


inv    inv         inv
C3  C2    C1         C0
17     16      14            1

1   0     0            1     --------- (9 en decimal) queda en 0010, por lo cual pone en HIGH al pin 14
1   0     1            1     --------- (11 en decimal) queda en 0000, por lo cual pone en LOW al pin 14

(Los pines 17, 14 y 1 están invertidos (si reciben un 1 = LOW, 0 = HIGH))


Descripcion de cada pin:



Pin #NameInput/OutputBitInverted




1




nStrobe




Out




Control-0




Yes




2




Data0




In/Out




Data-0




No




3




Data1




In/Out




Data-1




No




4




Data2




In/Out




Data-2




No




5




Data3




In/Out




Data-3




No




6




Data4




In/Out




Data-4




No




7




Data5




In/Out




Data-5




No




8




Data6




In/Out




Data-6




No




9




Data7




In/Out




Data-7




No




10




nAck




In




Status-6




No




11




Busy




In




Status-7




Yes




12




Paper-Out




In




Status-5




No




13




Select




In




Status-4




No




14




Linefeed




Out




Control-1




Yes




15




nError




In




Status-3




No




16




nInitialize




Out




Control-2




No




17




nSelect-Printer




Out




Control-3




Yes




18




Ground




Out




(Control-4)




No




19




Enable Bi-Directional Port




Out




(Control-5)




No




20-25




Ground




-




-





fuentes: http://www.roborealm.com/help/Parallel_Port.php
            http://www.simprojects.nl/parallel_port_dac.htm


Sin utilizar UNL2003
Con transistores:
http://neil.fraser.name/hardware/stepper/cpu.html


circuitos "rapidos":
http://talkingelectronics.com/projects/200TrCcts/200TrCcts.html

Steppers de 4 cables
http://ryanschenk.com/2010/03/driving-a-040-stepper-with-arduino/

SGS Thompson L293D
http://www.solarbotics.com/products/l293d

----------------------------------------------------------------------------------------

Mis steppers: MINEBEA 17PM-K018-P11ST 1.8 DEG 6 -WIRE STEPPER MOTOR


17 -Motor Size  NEMA17
P -Type of Motor (42mm)
M -Step Angle (1.8 deg)
K -Type of Laminated Stator (
2 Phase Hybrid (Low Noise, Low Vibration)
O -Motor Length at Right (34mm)
18 -Electrical Variation
P -Gears & Pulleys
11 -Mechanical Variation
ST
 -Type of Flanges

PIN1= ORG = B-
PIN2= WTH = B COMMON
PIN3= BLU  = B
PIN4= RED = A
PIN5= BLK  = A COMMON
PIN6= YEL  = A-


Cableado:

negro+blanco = common (+5v)
1 - azul
2 - rojo
3 - naranja
4 - amarillo

http://www.eleccircuit.com/wp-content/uploads/2008/05/uln2003-control-stepper-motor-by-parallel-port.jpg



Es bipolar o unipolar el nema 17???
==========================
unipolar connect 6 wires or bipolar connect 4 wires and not the common.

Dear cmrv,
Hi, you can go up to 24 volts, I run them at 12 volts .8 to 1 amp. I always start at the lowest settings and work my way up to find the best run. You should be able to go up to 1.2 amps.
Thanks Tony

- tony202511Click "respond" to reply through Messages, or go to your email to reply



From: cmrv
To: tony202511
Subject: Details about item: cmrv sent a message about 5 Stepper motors- CNC ROUTER MILL ROBOT REPRAP MAKERBOT 3 #221195387833
Sent Date: Mar-04-13 03:13:01 PST

Dear tony202511,
how much voltage this motors needs to work?
Thanks.


----------------------------------------------------------------------------------------

NEMA ( National Electrical Manufacturing Association )

This is a standard of measurments that relates to many items.
You may see in reference to a servos or steppers "NEMA 23" or "NEMA 34" etc.

This is the size of the fixing plate for these motors.

Divide the NEMA number by 10 to get the approx size of flange. (23/10 = 2.3 square)

(Inches)
NEMA Flange-Size / Bolt-Spacing / Hole-Dia.
23 / 2.22 / 1.87 / 0.18 
34 / 3.41 / 2.76 / 0.21
42 / 4.22 / 3.53 / 0.27

More reference here....

http://sanyo-denki-online.com/g/23inoutw.gif
http://sanyo-denki-online.com/g/34inoutw.gif
http://sanyo-denki-online.com/g/42inoutw.gif




Servo Motor with Arduino:


Stepper Motor with Arduino:
http://www.cassianorabelo.com/_posted_images/2009-06-10-stepper-motor/circuito1.png

Guia de steppers (muy buena!)
Motor:

Driver:

Stepper con EasyDriver y Arduino:


Links eBay Steppers NEMA:


TIP: "Do NOT connect or disconnect a motor while the driver is energized. This will cause permanent damage."

Transistor chip:
uln2003