Added: 2 years ago
From: Halo2maniaccc
Views: 56,120
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (60)

Sign In or Sign Up now to post a comment!
  • ciao,

    è normale che se non mando step e dir dall'arduino lui giri comunque???

    grazie

  • it sounds much more silent than in your other videos.. is there a difference on the motor or circuits?

  • what's the torque of this motor?

    would it be capable of opening/closing some roller blinds?

  • Looks like the waveform you have isn't doing the micro steps accurately. Every 8th click of the 1-micro-step movements seems to make a cycle of faster and slower movement - which makes perfect sense given a stepper motor that has 200 native micro steps. Are you using a sine/cosine waveform?

  • The box is only fit onto the shaft via friction so it does slip at high speeds and causes it to look strange. Check out my other videos where I made a plastic adapter. Now the arduino doesn't use a waveform it uses two 5v ttl logic lines. One either high or low controls direction and the other when pulsed on/off controls the step. The chip on the easy driver uses some waveform to actually drive the motor but I'm not sure you would have to read the datasheet for the chip used on that driver.

  • Nice! Thank you!

  • thanks

  • what's a controller? what's the difference between controller and driver? is there a board that contains all circuits require to drive the motor?

  • The controller is the device that tells the driver when to step the motor, how fast, and what direction it should spin. The difference is that one simply says what to do while the other actually carries out the task. There are boards out there that do it all but you must find one yourself. Look on ebay or other websites for stepper motor controllers they include everything. I cannot help with this, I have not worked with them so you must do everything yourself.

    I hope this helps!

  • @Halo2maniaccc Would it be easy to program the arduino to rotate "x" times when powered on, and rotate "x" times backwards when it is put into sleep mode? - thinking of doing a DIY projector screen that is motorized. I'm too cheap to pay the price of the commercial stuff.

  • Yes it would be very easy there are some super simple tutorials out there showing basic operation just like you would want.

    Just make sure to keep these motors at a low rpm because as you go faster they lose torque. If your screen is heavy that could pose a problem.

    Keep it as light as possible and you should be good.

  • @Halo2maniaccc Thanks for answering.

    Can a single arduino control more than one set of stepper motors? - i have a single arduino duemalinove (don't know the spelling). I was thinking of using 2 statements of analogread(x). If one of them reads 12V, one set of motors kick in and if the other reads 12V, another set of motors are running.

  • Yea the easy drivers only need 2 I/O pins per motor (one for direction, one for step) unless you want to control power or something else then you need more. So the regular arduino has 13 i/o pins meaning that you could hook up 6 motors or 5 motors (if you want to use serial i/o pin 0 and 1). Its just difficult to control the motors simultaneously. They can be controlled individually with very simple code.

    Hope this helps!

  • @Halo2maniaccc Would it be easy to program the arduino to rotate "x" times when powered on, and rotate "x" times backwards when it is put into sleep mode? - thinking of doing a DIY projector screen that is motorized. I'm too cheap to pay the price of the commercial stuff.

    Can the arduino control more than one stepper motor?

  • what's the difference between driver and controller and is the ardrino in the controller or driver?

  • The driver is a chip that takes the very low power signals from the arduino controller and turns them into high power pulses to control the stepper motor coils. Simply put the driver handles the high power and the arduino tells it what to do. This motor can draw up to 750ma at 15v which is a lot of power much much more than the arduino can provide so that is why the driver is needed to control it.

  • what is artdrino?

  • Just google what is arduino and you will find out.

  • @Halo2maniaccc i have one and how torun it ?

  • What are you talking about? If you have the motor, driver, and arduino then run my setup to get the motor to "run".

    I really don't know what you asked so if I didn't answer your question that post back with a more detailed question.

  • Well done!

  • Hi excellent video! Quick question, did you change the length of the shaft of the motor? I ask because the shaft of your motor looks longer than the standard on the sparkfun website. If you did change it, can you tell me how. Thanks!

  • The shaft on this motor is longer, Sparkfun now carries a different motor. They got rid of this model because it needed 15 volts and replaced it with one that only needed 12 volts to run. The new motor has integrated wires, a shorter shaft, and the motor is flatter / more compact. The torque output and speed is the same on both models.

    I hope this helps!

  • i have the same configuration motor and controller... can you please publish somewhere a step by step guide with images to wire everything up ?

  • I just updated the video descriptions on all stepper motor videos with a link at the bottom. It will take you to a blog where there is a nice image showing the utmost basic configuration of the driver. The newest drivers are slightly different and include more pins but unless you need those pins just connect it as you see in the video and your off.

  • Hi, you sould use unsigned long instead of int, so you could get maxium number of 4,294,967,295 steps =)

  • Its true that using an unsigned long would allow a ridiculous amounts of steps but that amount of steps would take (at the fastest step speed) about 186.5 hours to execute at 240rpm or about 7.75 days!

    This setup was made to execute quick precision movements under 1 revolution but it is capable of running for up to 41 full revolutions. Obviously you could run longer with an unsigned long integer but this works.

    Thanks for the suggestion!

  • @Halo2maniaccc yeah no problem, thanks for replying.

    I found some unipolar stepper motors from electric trash and running those with SLA7062M controller(30€ with shipment!). Fastest speed that i have got with 12v is about 1500rpm, but then torque is getting low. With 1200 rpm there is so much torq that i cannot get motor to stop by fingers =)

  • Comment removed

  • tnx for reply

    i have a project my stepper motor looks like your motor,,i have a project sir i use a lot of circuit but it failed again..my stepper motor have 6 wire it is a unipolar or a bipolar??i have a robotics project i think it is failed bec. of that motor..i lose hope...

    thanks for reply sir...wer you from??

  • No problem, I am from America.

  • can you help me my stepper motor is a unipolar model 42d230 shinano kenshi model

    tnx

  • Unfortunately I cannot because the Easy Driver can only drive BIPOLAR motors not UNIPOLAR motors. I do not know how to use any other drivers so again I cannot help in this situation.

  • OK. Thanks.I would want to buy a USB elktronic that manipulated the 4 step motors.U much to be had in the offer appeared.Thanks.

  • I want to make one small CNC drilling, which will have 4 step motors and me interested in whether we can make electricity for 4 outputs that will be managed from the program via USB izlaza.Koliko like to me that we stood novca.Hvala. You intensity step motors recommended that the VOLT would .Masin used for drilling aluminum

  • They could be used for a CNC drill but only to move the axis NOT for drilling. Google "desk top cnc mill" and click on the 4th link.

    Hooking up more than one motor to the easy driver is not possible so I would get a real stepper motor driver for more than one which should run about a hundred dollars.

  • arduino mega

  • please give me you can send e-mail source code of your program so I tried to test your foru.Hvala advance.

  • The source code is on google code, its in the video description on the right. >>>>>>

  • Can the easydriver be used without the arduino e.g. with switches and potentiometers?

  • Yes and no, the driver has 2 input pins 1 for direction and the other for stepping. Its nothing more than setting the direction pin high or low (forward or backward) and then toggling the stepping pin on/off every quarter millisecond or so.

    Now unless you can manually switch them around 4000 times per second it won't work. The only way you may be able to do it is with a 555 timer but it will not have precise control just speed. Get an arduino they are dirt cheap and easy to use!

  • See thats almost what I need, I recently purchased a Vector Ligtbar, but the electronics are fried, all 7 revolving lights are controlled by a unipolar steppermotor, so im looking for a cheap, simple way to make them "revolve". Precision is not the issue, just to make them spin :)

  • I am not sure that a 555 timer can do this operation simply. Because it has to toggle on/off really quickly no more than a few microseconds and then delay for around 200 microseconds. This is probably going to be really tricky because it will need very precise resistors and capacitors (online stores like mouser, no radioshack) . In this case an arduino is your best bet. Easy to program and very cheap (check out my breadboard tutorial) for $15 you can have your own DIY arduino board!

  • Hmm, can you programme the arduino and then use it without the pc, it looks kind off silly with a laptop on the roof of my car :)

  • Yes you can, simply program it and make sure it works then disconnect it and put a 10k resistor between the RX & TX pin. Now it will run without a computer and execute the code on it. I would recommend getting the USB board its like $30 but it has all of the components already built in. Keep in mind the easy driver can only drive 1 motor at a time so for each motor you need a driver, but you only need 1 arduino because you could connect all the cables together and it could driver all of them.

  • THANKS, I´ ve already ordered it and some other stuff too (its really cheap) A stepper motor driver is only 7$ (changed to my curruncy) so my project can begin :) :) :) Thanks again

  • No problem, if you have any questions about getting it to work when you get it just send me a pm I would be glad to help you.

  • @Halo2maniaccc

    Hey, the Visual Studio 2008 code is in C++, right? I would like to learn how to send data to the USB by C++ programming, can you help me? I already programm in C++.

  • The program is in C#, look at the basic format of how I wrote the program and then do the same in C++. Some things will be different, you have to set up a serial connection in C++ which should be just as easy in Visual Studio.

    The program pretty much uses basic things like variables, simple math, string operations, ect.... Then it outputs the formatted data through the serial port. If you have a serial connection working then its just a matter of coding the simple stuff.

  • @Halo2maniaccc

    Thanks, where can I grab the code?

  • Wow I forgot to put the link to my google code page sorry about that. I just put the link to the google code page with downloads for lots of different code that I have written in the VIDEO DESCRIPTION on the right. Click view more info and at the bottom there is the link.

    I hope this helps!

    I hope this helps!

  • thank you ;)

  • No problem, anytime!

    If you have any other questions just post or if its a big question pm me and I would be glad to help.

  • Neat little drives but I'd never use anything w/o automatic current reduction.

  • This drive has a current on/off pin inside the ic except the easy driver V3 doesn't allow you to access the pin to control it . The new V4 driver will be out soon and it has this pin. As for controlling the motor current on this its done with a potentiometer on the circuit you have to to use a little screw driver to adjust it. I would use an industrial driver but I just don't feel like paying a lot for them when this works just fine for small applications.

  • Good points - I missed the part about V4. How much was the drive? Sorry if you mentioned that already in the vid.

  • The drive was about $15 which is not bad for a nice little drive for small motors. I did mention it in the video at about 0:55 but its all good

  • If you look at the code where the motor steps the delaymicroseconds(200); line of code controls how fast the microcontroller steps the easy driver. The lower the value the faster the motor spins the higher the slower. I have gone down to 150 before but any lower and you risk the motor stalling. I am adding this into the code right now!

  • Can you set a rotation speed (microsteps per second) rather then repeating steps with delays which looks kind of jerky?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more