BS2+Seperate Bipolar Driver Board
frank02189
Posts: 8
Hi All
I just got a BS2 and I think this is a great product and am having alot of fun with it.
I also have a bipolar driver board for stepper motors.
On the bipolar board their is a hookup
Enable,Step,Direction,Grd
Would I be able to use BS2 to send signals to the bipolar board?
If so what connections would have to be made on the BS2 Homework breadboard?
And is there PBasic code that would enable me to turn the stepper motor.
This is a low amp bipolar board rated 185 to 750ma.
Thanks
Frank02189
I just got a BS2 and I think this is a great product and am having alot of fun with it.
I also have a bipolar driver board for stepper motors.
On the bipolar board their is a hookup
Enable,Step,Direction,Grd
Would I be able to use BS2 to send signals to the bipolar board?
If so what connections would have to be made on the BS2 Homework breadboard?
And is there PBasic code that would enable me to turn the stepper motor.
This is a low amp bipolar board rated 185 to 750ma.
Thanks
Frank02189
Comments
If we had a link to a web site, a schematic or a wiring diagram for this stepper board, we'd be a lot more able to help you out.
The answer to your question about whether the Stamp can do it is an emphatic YES!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Thanks for the good news
This is the board
http://www.interinar.com/stepper driver BSD-01v2.htm
I also got the motor too as a combo deal.
Thanks
Frank02189
Before I delve into this with you, I trust you dowloaded the instruction manual, or they provided a copy with the combo deal? This way we will be "on the same page"!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Yes sir I have all the info.
you can contact me at
frank02189@yahoo.com
or
AIM s/n frank02189
or
yahoo IM s/n frank02189
Thanks a bunch
Frank02189
Although this board has dozens of options, to start, you only need to deal with the connections at J3 and J4, and bring external power to the board. Don't forget to bring the Stamp ground to the ground connection on this stepper board.
The J3 wires are the phase wires which go to the stepper motor. J4 contains the control wires coming from the Stamp. I have opted to speak about J3 and J4, but J2 could be used equally well. Since J3 and J4 help to separate the various functions, it's a bit less confusing.
The three control lines of interest are ENA, STEP and DIR. As noted in the documentation, here are their basic functions:
ENA - Active low - bring low to enable the all outputs. Stamp command: LOW pin port #
STEP - Low to high transistion advances the motor. Stamp commands: LOW pin port # then HIGH pin port #
DIR - Low = CCW, High = CW. Stamp commands: LOW pin port # or HIGH pin port #
Other than hooking up the stepper phase wires to their appropriate pins, there really isn't much more to it than that. If you have specific questions or problems, just post them.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Thanks for the help.
But i need to see how it is set up on the homework board
how to make connectoins to ENA STEP DIR
as far as the motor and pw i have those connections ok
im using a 9v battery as power on the driver board.
but still need sample code to make the motor turn.
im a rookie at all this.
Thanks again for your help
frank02189
I been able to get some info on how to set up this driver
with BS2.
Would someone be able to write code for this setup
and show me what connections to make.
- Enable - use any available I/O of that port and define it as Output
and set it Low to Enable the driver. Driver has pull-up resistor to disable the driver as default.
- Direction - use any available I/O of BasicStamp and define it as Output, set it Low to switch direction of the rotation
Driver has pull-up resistor to define direction of the rotation.
- Step - use any available I/O of BasicStamp and define it as Output, Low-to-High transition will advance motor one step,
the frequency on this pin will define speed of the rotation
- GND - connect GND of the BasicStamp with GND of the driver.
Thanks
Frank02189
Why do you seem so scared to write a program? Thousands and thousands of us have done it with no ill effects
No one here will laugh or put you down for trying, but if you DON'T TRY, you probably won't get much help. If you haven't downloaded the PBASIC Stamp Manual, and the educational text "What's A Microcontroller" may I suggest you do so tonight and read them both cover to cover. If you need link to the downloads, just say so.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
LOL don't spank me for not knowing PBasic code I have only had BS2 for 3 days and everytime i touch the breadboard im afraid i'll get a shock. Ya and I was up reading half the night trying to understand all this. But im slowly building confidence and will be
a wizard in no time.
Why don't u be a nice guy and help me out I bet you can't write a simple code to get my driver board working you got all the info
lets see what you can do smarty pants.
Thanks
Frank
GIVE ME A BREAK pal! I gave you every instruction you needed in the detailed message I sent. My time for APPLICATIONS PROGRAMMING comes in at $75.00 per hour if I'm not busy. My TECHNICAL ABILITIES and CUSTOMER SERVICE I give away for FREE on the Stamp List! Otherwise it costs $150.00 per hour PLUS travel. Most computer/micro-procesor problems I can either solve or get a handle on in 20 minutes of less. Give me a try.
"The Lord helps those who help themselves". Give it a SHOT!
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Yup the checks in the mail. Ya I seen this before bait n switch but you did offer help I won't deny you that but no thanks kindly.
Frank
ROFL! Especially after I gave him ALL of the necesary instructions!
Bruce
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
I found out a little more info about this driver.
http://www.allegromicro.com/sf/3967
Maybe it will make it easier to program with PBasic.
Im still stuck alot of PBasic code that I find has alot to do with
unipolar drivers and stepper motors I think what this driver offers
is an easier way to program it compared to other drivers.
Maybe some example code would at least set me in the right direction.
Thanks
Frank