GarryBoi
Posts: 7
Joined: Thu Sep 17, 2015 10:01 pm

Gertbot Motor Wiring

Fri Sep 18, 2015 11:05 pm

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]

User avatar
Gert van Loo
Posts: 2478
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot Motor Wiring

Sat Sep 19, 2015 12:49 pm

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)
Attachments
six_wire_stepper.jpg
six_wire_stepper.jpg (14.2 KiB) Viewed 2367 times

GarryBoi
Posts: 7
Joined: Thu Sep 17, 2015 10:01 pm

Re: Gertbot Motor Wiring

Sun Sep 20, 2015 5:21 am

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

User avatar
Gert van Loo
Posts: 2478
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot Motor Wiring

Sun Sep 20, 2015 12:54 pm

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

GarryBoi
Posts: 7
Joined: Thu Sep 17, 2015 10:01 pm

Re: Gertbot Motor Wiring

Mon Sep 21, 2015 11:28 pm

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

User avatar
Gert van Loo
Posts: 2478
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Gertbot Motor Wiring

Tue Sep 22, 2015 1:15 pm

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.

GarryBoi
Posts: 7
Joined: Thu Sep 17, 2015 10:01 pm

Re: Gertbot Motor Wiring

Wed Oct 14, 2015 5:09 pm

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++.

Return to “HATs and other add-ons”