Show Posts
Pages: [1] 2 3 ... 18
1  Using Arduino / Motors, Mechanics, and Power / Re: L293D is very hot to drive this stepper motor, HELP for Final Project on: February 26, 2013, 12:25:33 pm
So if I use L298N driver,  could I still use the same library which I use for L293?
If not how to code this motor in arduino ide using L298?
So the solution is I only need to use L298 and that motor, is there any other components?
Is it safe for my microcontroller which connect to the driver as power supply?
2  Using Arduino / Motors, Mechanics, and Power / L293D is very hot to drive this stepper motor, HELP for Final Project on: February 26, 2013, 04:23:59 am
I want to drive a unipolar stepper motor using Arduino and Motor Shield:
Here is the motor driver:

http://www.ladyada.net/make/mshield/

And this is the stepper motor:


The stepper motor consists of 5 pins, 4 to the driver, and 1 to the positive power supply

Then I supply the driver 5V from Arduino Uno microcontroller.
From another power supply I supply +6.5V to Stepper motor, with all the ground connected.

But it results very hot in the L293D IC in the driver, the motor also didnt work well even the coding has been ok.

Is there a way to solve this?
Do I need to replace the driver?
Any suggested driver so I can control the motor using Arduino code?
Is my connection right?

Thank you very much...

3  Using Arduino / Motors, Mechanics, and Power / Re: This motor code cant turn the stepper motor in one direction on: February 06, 2013, 12:35:03 am
Yes, you are right, I wire it wrong. Thank you so so much!
4  Using Arduino / Motors, Mechanics, and Power / Re: emax es08a servo has only 160 degrees of movement on: February 05, 2013, 02:13:09 pm
yes my servo with the same type with you has only 160 degree maximum.
5  Using Arduino / Motors, Mechanics, and Power / This motor code cant turn the stepper motor in one direction on: February 05, 2013, 02:06:33 pm
I just bought motor shield like this http://www.cutedigi.com/arduino-shields/motor-driver-shield-for-arduino.html
Then follow the step, till I download the example sketch:

Code:
// Adafruit Motor shield library
// copyright Adafruit Industries LLC, 2009
// this code is public domain, enjoy!

#include <AFMotor.h>

// Connect a stepper motor with 48 steps per revolution (7.5 degree)
// to motor port #2 (M3 and M4)
AF_Stepper motor(48, 2);

void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Stepper test!");

  motor.setSpeed(10);  // 10 rpm   
 
}

void loop() {
  Serial.println("Single coil steps");
  motor.step(500, FORWARD, SINGLE);
}
 

Is there anyone knows why my stepper just turn back and forth? what is wrong with the code?
6  Using Arduino / Project Guidance / Re: Shift register on: February 02, 2013, 01:27:34 am
Oh, that is such a kludge of software!
what do you mean with kludge?
7  Using Arduino / Project Guidance / Re: best way to sense someone entering a room on: February 02, 2013, 01:24:03 am
Using Kinect sensor to detect the presence of human in the room! Yeay! http://my.safaribooksonline.com/book/hardware/arduino/9781449321918/4dot-working-with-the-skeleton-data/id2894898
8  Using Arduino / Project Guidance / Re: Shift register on: February 02, 2013, 01:20:46 am
I think it is all you need: http://zugiduino.wordpress.com/2012/07/11/how-to-drive-4-seven-segments-using-ic-74hc595/
9  Using Arduino / Project Guidance / Re: Cant control servo angle via serial, why?? on: February 01, 2013, 02:35:41 pm
It works only if I give input via serial monitor but It does not work well if I use processing with serial library, what happen?

here is my processing code:
Code:
import processing.serial.*;
Serial myPort;

void setup()
{
myPort = new Serial (this, "COM106", 57600);

}

void draw()
{
 myPort.write(500);
}
10  Using Arduino / Project Guidance / Re: Cant control servo angle via serial, why?? on: January 29, 2013, 12:04:43 am
I GOT THE WAY OUT! YEAY!
11  Using Arduino / Project Guidance / Re: Cant control servo angle via serial, why?? on: January 28, 2013, 11:09:05 pm
How if in the case:
I would like to use serial to send string to control my servo, which is around 0-180 degrees, so I could only type 0-180 in serial monitor.
Is there any way to send any string to control my servo and also for example relay? what I need to type in the serial monitor?
I would like to use serial to communicate to two device, that is servo and relay, could I do that? How the serial could differentiate that this command for servo and the other one for the relay?

Thank you, sorry for my bad english.
12  Using Arduino / Project Guidance / Re: How to reset Arduino UNO without pushing reset button? on: January 28, 2013, 11:02:39 pm
I would like to reset my Arduino UNO

In most cases you can do it just by closing and reopening the serial port. But why do you want to reset it?
I just would like to take control my Arduino without touching it, it's cool if I can reset from distant afar.
13  Using Arduino / Project Guidance / Re: Cant control servo angle via serial, why?? on: January 28, 2013, 10:51:59 pm
wOW it works, I'll learn how the code works!!!
Gracias!
14  Using Arduino / Project Guidance / Cant control servo angle via serial, why?? on: January 28, 2013, 08:59:45 pm
I have bought a servo, and I would like to control its angle via serial.
here is my code
Code:
//Library for the Servo
#include <Servo.h>

Servo servo1;

void setup()
{
  Serial.begin (57600);
 servo1.attach(3);
 servo1.write(90);
}

void loop()
{
 while (Serial.available()>1)
 {int sugi = Serial.read();
 if(0<sugi<180)
 {
 servo1.write(sugi);
 }
 }
}

but when I type for example 50, then it will turn to the same certain angle if I type 80.
For the second type, it cause no respon to the servo anything I type, what is wrong here?

Thank you!
15  Using Arduino / Project Guidance / How to reset Arduino UNO without pushing reset button? on: January 28, 2013, 08:34:53 pm
Anybody, I would like to reset my Arduino UNO just via sending serial command, is it possible and safe for the chip?
Could it be done without pushing reset button?

Thank you ..
Pages: [1] 2 3 ... 18