Submitted by shutterdrone on Tue, 03/23/2010 - 00:51
Posted in
For those that have asked, here is the current schematic for how I'm using 0.82 (default pin wirings).
I use the NTE3086 dual opto-coupler, you can of course use any OK you like, but I prefer it as it takes less room than two single OKs.
Note, the wiring really is that simple. For my test device, I'm running via MIDI (5pin, 180' DIN cable) cables to easydrivers. You would connect Mx_STP, Mx_DIR, GND, and M_SLP (if used) to the respective connectors for that driver. Note that M_SLP and GND are shared between all drivers (you can only make them all sleep, or not - I presume you'd add a switch to override at the driver if you'd rather it that way).

!c

This schematic appears to
This schematic appears to show 4 steppers attached. I was under the impression that you were only using 3. What are you using the fourth motor for?
I want to use the fourth for
I want to use the fourth for an aperture drive! ;-)
The new version of the engine
The new version of the engine that's currently in development (v. 0.82) supports four axes. You can use the fourth to run a second dolly to do angular dollies, run a focus or aperture drive, or maybe work out some sweet three-dimensional moves =)
!c
You guys think of
You guys think of everything!
I have a question. I am
I have a question. I am currently working on getting a board together and noticed on the 0.82 schematic that there is no resistors on the optocoupler in from the arduino is that something I still need to add? Also are the diodes on the S/D pin outs still needed? Thy are not included on this schematic but were on the last ver. I am not good at electronic design but I can wield a mean soldering iron!
Another thought, to run a
Another thought, to run a pair of cameras for stereo photography can I just add another optocoupler to the same pins? That way I can have 2 separate outs for the cameras.
Thanks
Ok, when it comes to the OK's
Ok, when it comes to the OK's (opto-couplers =) you'll need to look at the datasheet for the OK you are using. On the datasheet, you'll see a line item usually called 'Forward Current' listed for the LED component of the OK. I use the dual NTE3086 OK (http://www.ecgproducts.com/specs/3000to3099/pdf/nte3086.pdf), which not only takes less room than two single OKs, but it also has a max sustained forward current of 60mA. As the arduino pins can only source 40mA, it's safe to use with no resistor. Of course, this can present issues for the arduino in some rare cases, but I've yet to have any issue with doing this. If the LED in your OKs can handle less than 40mA of forward current, you need to put the right resistor in. Basically, I = V/R, so if it says it can take 20mA forward current, you know you're pushing 5V through the arduino pin, so I = 5 / R, and if your target for I is 0.02, then R must be 250. Because .02 = 5 / 250.
Yes, you can definitely tie two OK's into the same arduino pins to trigger two OKs at the same time. However, remember that how you wire them either makes them wired in parallel or series. (If in series, the anode of the second one would connect to the cathode of the first, and only the first one connects directly to the pin. In parallel, both would connect their anodes to the arduino pin directly.) The way you wire it will change what value resistor you use, if you use one at all.
Diodes are no longer used at all, because the voltage drop they result in has been problematic for me in some configurations. The protection they provide is minimal as well.
!c
Thanks Church! I have
Thanks Church! I have NTE3086s as well. The only OKs (new buzz words, gotta love them) I could get locally. I had just planed to connect them in parallel, that just made sense. This also makes the assembly simpler. I also picked up a Pololu stepper driver since they handle a bit more current than the Easydriver board.
Thanks
Hello, first of
Hello,
first of all thank the efforts made to develop this project.
I am interested in writing for a project of motorized slider with two engines. I woulduse it to timelapse (at different speeds), panoramic photography and HDR video,continuous video, 3D, etc. ..
Could you use your project for this purpose?Is it possible to pan having an object centered?In the event that only use 2 engines, can give error.
I guess you need a driver for each motor, what do you recommend?
I really appreciate your help and if you can put a link where to download the wiringdiagram and how to use the software.
Thank you very much,
Greetings.
Motor shield and LCD shield
Motor shield and LCD shield with UNO 3
I am using your system and code for my camera slider. I am going to use the Adafruit driver shield to power a 3.5 V Sanyo Denki Step-Syn stepper motor to move the camera sled on an 8 ft rail. I have a couple of questions.
I want to have DFRobot LCD Shield for Arduino so that I can set programs in the field. How can I ad this shield to the Arduino and the motor shield? I have been told I need to mount the LCD shield to the Arduino and connect the motor shield with jumpers and a separate power supply. Is this the best way or can you suggest a better method?
I also have a question about mounting the jack for the output to a Canon T3i camera. Do I have a separate board with the jack and octocouplers, or is the mounting for this done some other way? Also, can a 560 ohm resistor be used instead of 510 ohm?
Thanks for your help.