I have SANYO DENKI type 103-770-3210

I am from SerbiIa ,have SANYO DENKI type 103-770-3210 ....I have mega 2560 and ramps 1.4,,,DRV8825 .....I can not move the engine anyway,,,,youtuba examples I'm trying to do is not working...
i want to make cnc machine is making PCB...

Thank you...

Post a link to the datasheet for your stepper motor.

Tell us what stepper motor power supply you are using - volts and amps.

Have a look at these links
Stepper Motor Basics
Simple Stepper Code

...R

I tried it...(( Stepper Motor Basics, Simple Stepper Code ))
I think the gbrl is not ok to ramps 1.4,,, I tried more gbrl 0.82.....0.845,, and verify not ok

maho:
I tried it...(( Stepper Motor Basics, Simple Stepper Code ))

And what happened?

Where are the answers to the questions in Reply #1?

I think the gbrl is not ok to ramps 1.4,,, I tried more gbrl 0.82.....0.845,, and verify not ok

You did not mention GRBL in your Original Post.

How about taking 10 or 20 lines to give us a complete idea of what you are doing, what exactly you have tried and what were the results.

Help us to help you.

...R

I apologize for the bad English

answers to the questions:
1-And what happened? ( nothing )
upload GBRL different version and Grbl Controller
( some of them do not connected )
(Someone is connected to COM3 on the arrows stepper motor can not be started )

2-Post a link to the datasheet for your stepper motor. ( I can not find )

3-Tell us what stepper motor power supply you are using - volts and amps
models SANYO DENKI type 103-770-3210 ( I got the SANYO DENKI )
DC 1.6v
3.2 A
1.8 DEG/STEP
6 wires ( transferred to 4 wires )
4-complete idea to build Mini CNC

  1. PCB Laserprinter
  2. PCB printing ( drill )
    5-programs
  3. Arduino 1.8.5
  4. XLoader
  5. Grbl Controller 3.6.1
  6. Universal Gcode sender version ( 1.v and 2.v)

steps.png

steps.png

Images from Reply #4 so we don't have to download them. See this Simple Image Guide

steps.png

steps.png

...R

Referring to Reply #4 ...

1-And what happened? ( nothing )
upload GBRL different version and Grbl Controller

I still have no idea what exactly you did.

Did you upload either of the programs from my Simple Stepper Code? If so, which one did you try?

I reckon you should stick with that program and leave GRBL to one side until you get your motor working with that simple program.

Post the actual code that YOU uploaded to your Arduino and make a simple pencil drawing showing how everything is connected when you try that program. Post a photo of the drawing.

Your Point #3 gives me the info I wanted from Point #2 (the datasheet) - the 3.9amp current required by the motor.

However what I really wanted from you is information about the power supply you are connecting to the stepper motor driver - and you have not told us that even though it is the start of your Point #3.

At the bottom of Point #3 you say "6 wires ( transferred to 4 wires )". How exactly have you done that?

Regarding your Point #5 I suggest (as mentioned already) that you stick with the very simple program until you have the motor working properly.

...R

Robin2 thank you...

I do not understand this text
"and make a simple pencil drawing showing how everything is connected when you try that program. Post a photo of the drawing"

mega , ramps 1.4( in 12v 2.5A ), 3 steps
It looks like this


Simple Stepper Code I tried ( upload ) Nothing happens
This is how I set the wires

I want to do this

maho:
I do not understand this text
"and make a simple pencil drawing showing how everything is connected when you try that program. Post a photo of the drawing"

It is very easy for us to make a mistake when trying to understand wiring connections from a photograph. If you make a drawing of the connections by hand on a piece of paper and post a photo of your drawing it will be very much clearer.

maho:
Simple Stepper Code I tried ( upload ) Nothing happens

Please post the program that YOU uploaded to your Arduino.

I need to see YOUR program code as well as YOUR drawing of the wiring connections. Remember, I cannot see your workbench from here.

This is how I set the wires

Two things about the connection diagram ...

  • Am I correct to think that you have made connections from your driver the the coloured wires and have no connections to the non-coloured center wires? If so, that is correct, but please confirm.
  • Am I correct to assume the diagram does not relate to your 3.9 amp motor because the resistance readings seem to be much too high

...R

Your code is a test ... Simple Stepper Code
and the other on the youtube I found

link from picture
....

If you won't answer my questions I can't help.

I did NOT ask you post a link to my code.

...R

Robin2:
If you won't answer my questions I can't help.

I did NOT ask you post a link to my code.

...R

The wires on the engines are ok, the middle wires are separated (isolated white and black)

// testing a stepper motor with a Pololu A4988 driver board or equivalent
// on an Uno the onboard led will flash with each step
// this version uses delay() to manage timing

byte directionPin = 9;
byte stepPin = 8;
int numberOfSteps = 100;
byte ledPin = 13;
int pulseWidthMicros = 20;  // microseconds
int millisbetweenSteps = 250; // milliseconds - or try 1000 for slower steps


void setup() { 

  Serial.begin(9600);
  Serial.println("Starting StepperTest");
  digitalWrite(ledPin, LOW);
  
  delay(2000);

  pinMode(directionPin, OUTPUT);
  pinMode(stepPin, OUTPUT);
  pinMode(ledPin, OUTPUT);
  
 
  digitalWrite(directionPin, HIGH);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidthMicros); // this line is probably unnecessary
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
  
  delay(3000);
  

  digitalWrite(directionPin, LOW);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    // delayMicroseconds(pulseWidthMicros); // probably not needed
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
}

void loop() { 
}

That's a step in the right direction. Now please read back through the whole of this Thread and respond to all of my other questions.

...R

datasheet SANYO DENKI type 103-770-3210

103-770-3210_A.pdf (80.8 KB)

It's well over a week since your last post and I have now forgotten what your problem is.

You posted a program in Reply #12. But as far as I can see you have not provided the wiring diagram that goes with it.

If you were using that program with a RAMPS shield then I don't believe it will work. On my RAMPS shield pins 9 and 8 are not used to control any of the motors.

...R

Thanks anyway.

maho:
Thanks anyway.

That seems a strange response.

Have you tried my program with the correct pin references for your RAMPS shield? It will work.

...R