Go Down

Topic: hi all i need a help (Read 4436 times) previous topic - next topic

justone

The TP12x series has the diode built in so no need for the external diodes.

raschemmel

Quote
The TP12x series has the diode built in so no need for the external diodes.


Quote
TP12x => TIP12x






Good. That's convenient.
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

zamir89

ops sorry robin..i didnt mean to be machonism by the way thanks for ur advice ok i wont post again..

Robin2


ops sorry robin..i didnt mean to be machonism by the way thanks for ur advice ok i wont post again..


I don't want to stop you posting. Post as much as you need to.

I just won't be offering my time.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

zamir89

im so sorry robbin before this u has helped me in many of my post im really appericiate ur efforts and all of u guys thnks so much im just a noob and newbie nothing more .....please accept my apologies....:)

raschemmel

Quote
Did you measure the resistor Mike asked you about ? Is it really 0.4 ohms ?
You never posted your code. You never posted a photo of your circuit. You never posted any measurements for the TIP122s.  


Quote
..after the connection the motor drive but the torque is not high enough as i can easily stop it using my hand....the resistor im using is 0.4ohm should i use 1Kohm as in this diagram so the motor will operate at high torque?  


The only question I have is if you have the experience and knowledge to design your own driver, why was it necessary for you to post in the first place ? It's a simple matter to measure current.
Quote
Is that a 5-wire or 6-wire stepper?

You ignored a lot of questions. If you are going to take our time with your post you could at least have the courtesy to answer our
questions.
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

zamir89

#21
May 17, 2014, 07:32 pm Last Edit: May 17, 2014, 07:49 pm by zamir89 Reason: 1
no i dont have any experienced in electric and electronic...the stepper motor im useing is unipolar 6 wires i connect the two com wire to + supply yes im sure the resistor im using is 0.4ohm..........

Code: [Select]

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

int delayTime =00.5;


void setup() {
Serial.begin(9600);
pinMode(motorPin1, OUTPUT);
pinMode(motorPin2, OUTPUT);
pinMode(motorPin3, OUTPUT);
pinMode(motorPin4, OUTPUT);
digitalWrite(motorPin1, HIGH);
digitalWrite(motorPin2, HIGH);
digitalWrite(motorPin3, HIGH);
digitalWrite(motorPin4, HIGH);
}

void loop() {
while (Serial.available() == 0);
 int val = Serial.read() - '0';
 
 Serial.flush();
 
 
if (val == 1) {
 int f;
 for(f=0;f<=50;f++){

 delay(delayTime);
digitalWrite(motorPin1, HIGH);
delay(delayTime);
digitalWrite(motorPin2, LOW);
delay(delayTime);
digitalWrite(motorPin3, LOW);
delay(delayTime);
digitalWrite(motorPin4, LOW);
delay(delayTime);
delay(15);
digitalWrite(motorPin1, LOW);
delay(delayTime);
digitalWrite(motorPin2, HIGH);
delay(delayTime);
digitalWrite(motorPin3, LOW);
delay(delayTime);
digitalWrite(motorPin4, LOW);
delay(delayTime);
delay(15);
digitalWrite(motorPin1, LOW);
delay(delayTime);
digitalWrite(motorPin2, LOW);
delay(delayTime);
digitalWrite(motorPin3, HIGH);
delay(delayTime);
digitalWrite(motorPin4, LOW);
delay(delayTime);
delay(15);
digitalWrite(motorPin1, LOW);
delay(delayTime);
digitalWrite(motorPin2, LOW);
delay(delayTime);
digitalWrite(motorPin3, LOW);
delay(delayTime);
digitalWrite(motorPin4, HIGH);
delay(delayTime);
delay(15);
Serial.flush();
}

}



yes i measure my resistor using multimeter

raschemmel

Quote
click the MODIFY button in the upper right of the post window.
Highlight all you code.
click the "#" CODE TAGS button on the toolbar above just to the left of the QUOTE button.
click SAVE (at the bottom).
When you post code on the forum, please make a habit of using the code tags "#" button. 



Quote
yes im sure the resistor im using is 0.4ohm........


Why ?
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Grumpy_Mike

Quote
supply yes im sure the resistor im using is 0.4ohm

Then for god sake stop.
If you do not want to follow advice and get your circuit working then stop posting here.
We want to help and ignoring advice is just stupid and is a waste of everyone's time, including yours.

Go Up