Go Down

Topic: Code modification for switch from Big Easy Driver to a Gecko G201 driver (Read 3801 times) previous topic - next topic

geologist

I am currently running stepper motors with an Arduino and Big Easy Drivers (BED)  [https://www.sparkfun.com/products/11699].  I use a joystick to control movements.  I am coming to the realization that the BED does not provide enough power for one of my motors as it lifts a pretty heavy load.  I would like to use my Geckodrive G201 [http://www.geckodrive.com/g201.html], however I have no experience with the coding techniques for the Gecko.  My current code uses the AccelStepper library and the standard Stepper library that comes with the Arduino. 

My first question would be, can the AccelStepper library be used with the Geckodrive?  This would be very helpful, as most of my code should be useful as is.  If it does not, could someone provide an simple example of how the coding for the Geckodrive would look so I can start thinking about re-coding my controls.  Or if someone wants to make some money, I could use help getting the re-coding completed before next Monday.

I appreciate any feedback you all might have.

thanks

wildbill

The interfaces to the two devices look similar (step and direction pins) so unless you're using micro-stepping, I'd expect them to behave the same. There's a subtle difference in that the Gecko device takes V+ or GND from the arduino, not both as the BED does. Once the wiring is set up though, the libraries should be unaffected.

geologist

wildbill,

The Geckodrive G201 is a 10 microstep driver, whereas the BED can be set to a variety of step modes.

I have not seen any definitive statement that the AccelStepper library will work.  Some references that is "should"

I just learned that the Geckodrive G201 takes the +5v to Pin 10 (http://www.geckodrive.com/g201-rev-16), which is called "common"   I have always thought of common as a ground, which is obviously wrong.  I can't wait to get home and see if correcting this works.

I will report my results!




geologist

I'm happy to report that I was able to swap out the big easy driver and replace with the gecko driver.  So far the joystick controls function without a hitch.  So, the arduino, accelstepper library, and gecko driver is an excellent combination for heavier duty motors.

Thanks for the help...!

Hey Geologist,
I am in the process of getting the G251X stepper driver and the NEMA23 (G723-280-4). I am just curious what power source you are using??
I spoke with the tech in gecko and he recommended a 10 amp source from Antek. You have any experience with them?

Thanks in advance
Leo

Go Up