Page 1 of 1
Gertbot Motor Wiring
Posted: Fri Sep 18, 2015 11:05 pm
by GarryBoi
Hello,
Please help to wiring this motor to Gertbot. It sims my motor 2phase 6wires stepper motor is not capable to wire in gertbot.
If it can wire please tell me how...
Thanks a lot
[img]
[IMG]http://i847.photobucket.com/albums/ab39 ... 161517.jpg[/img][/img]
[img]
[IMG]http://i847.photobucket.com/albums/ab39 ... 163035.jpg[/img][/img]
I believe that the raspberry pi can read my gertbot because this is what it shows.
[img]
[IMG]http://i847.photobucket.com/albums/ab39 ... 163014.jpg[/img][/img]
Re: Gertbot Motor Wiring
Posted: Sat Sep 19, 2015 12:49 pm
by Gert van Loo
See the Gertbot manual section about Stepper motors.
In revision 2.6 this is paragraph 14.5.1 which has a picture of a 6-wire stepper motor as
it should be connected to an H-bridge. (The last picture of the six-wire stepper motor diagram)
Basically you leave the center taps unconnected (White & Yellow)
Re: Gertbot Motor Wiring
Posted: Sun Sep 20, 2015 5:21 am
by GarryBoi
Hello Gert. I actually did that before i post here. But i tried it again. I also try to switch the wirea trying to figure if i have a bad wiring.
By the way i also add to the picture that my stepper motor also have their own controller. And the controller is powered by 24v dc.
Now as my plan B, do you think that it is possible to connect the gertbot to my controller? Raspberry to gertbot to controller?
But i still want to focus on how to control my motor via gertbot.
Im so new to raspberry and python language since im always using PLC ladder diagram to make my motor work.
http://i847.photobucket.com/albums/ab39 ... 132031.jpg
Re: Gertbot Motor Wiring
Posted: Sun Sep 20, 2015 12:54 pm
by Gert van Loo
You might have to use series resistors to limit the current!
I use 5 Ohm 10W resistors.
You can not connect the gertbot to your own controller.
It does not have SW to control other controllers.
I am working on SW which let you control servos from the Gertbot
Re: Gertbot Motor Wiring
Posted: Mon Sep 21, 2015 11:28 pm
by GarryBoi
Thank you so much gert! My stepper motor works now.
But i still have question hehe
When i run the sample program from gertbot.com and press D or U the stepper motor will work but when it stop the gertbot board will show error. Blinking red light, but i an still use my motor even when blinking led.
This is the error.
http://i847.photobucket.com/albums/ab39 ... 194635.jpg
Re: Gertbot Motor Wiring
Posted: Tue Sep 22, 2015 1:15 pm
by Gert van Loo
That means your short-circuit protection was enabled, thus the current is exceeding the 2.5A of the channel.
You must use series resistors, or if you are using them already you must increases their value.
Re: Gertbot Motor Wiring
Posted: Wed Oct 14, 2015 5:09 pm
by GarryBoi
Thanks for the help gert.
Sorry for this super late reply to say thank you for the help since im too BC on my work studying siemens PLC.
I also search to the internet that C++ is faster than Python so that i have to switch from studying python to C++.
I noticed that if I force my stepper motor to move using my hand, the gertbot dont know that it move so that I will have a problem in my program in homing my machine.
But still, thanks for the help. I guess I have to study first the C++.