Queen Posted April 11, 2006 Report Posted April 11, 2006 Hi,I will design a circuit that includes parallel port and three stepper motor+obstacle circuit <I will attach the circuits for them>My question is how I can connect the parallel port via these circuits please, I know I must use a decoder but I cant know how that will occur.the circuit for the stepper motor will be used three times.please help me in a quick time. Quote
Tony_Stoynov Posted April 12, 2006 Report Posted April 12, 2006 Hi,look at this topic :http://www.electronics-lab.com/forum/index.php?topic=6246.0 Quote
Queen Posted April 13, 2006 Author Report Posted April 13, 2006 ok, thank youbut I think the topic didnt help me :'( Quote
EdwardM Posted April 13, 2006 Report Posted April 13, 2006 Hidon't know if it will help but I'd consider using 3 of the parallel port lines to clock 3, 4-bit serial/parallel converters, each of which would be attached to a motor driver chip. This will leave you a minimum of 5 parallel port lines available for your obstacle circuit (which could also be serialised in the other direction). The software requirements shouldn't be too onerous as the stepper motors require on/off times to be in the millisecond range whilst the parallel port is capable of considerably higher speeds.EdActually, you only need one parallel port line for serial data if the serial/parallel devices are cascaded, together with one clock line. Quote
gogo2520 Posted April 14, 2006 Report Posted April 14, 2006 Hello QueenTry this site maybe it will help You.http://pminmo.com/3axis/3axis.htm gogo Quote
Queen Posted April 14, 2006 Author Report Posted April 14, 2006 Hi all,thanx for your replies and am sorry for my questions, but really I need the answers soon.I have another question now, how I can build a driver for five wire stepper motor has 12 voltage and 3 Ampere, can I use l298 and l297, please?? ??? Quote
MP Posted April 15, 2006 Report Posted April 15, 2006 Queen,Yes, you can use L298 and L297 for stepper control. These chips are usually used when you have substantial current needs. The ULN device you have posted will provide enough current for most smaller steppers. I have discussed steppers in a few different threads on this site in the past. Please try a search for them.Here are a few of them:http://www.electronics-lab.com/forum/index.php?topic=2949.0http://www.electronics-lab.com/forum/index.php?topic=484.0http://www.electronics-lab.com/forum/index.php?topic=530.0Please also find the links in these posts for additional resources on the web.MP Quote
Queen Posted April 16, 2006 Author Report Posted April 16, 2006 HiPlease, I need to connect a motor with 6 wires to a L298 and L297, how that can done??Also, I need to connect a motor with 4 wires to a L298 and L297, how can done?? :o Quote
MP Posted April 16, 2006 Report Posted April 16, 2006 The only difference between connection of 4 wire and 6 wire is that you do not connect the center tap on the coils of a 6 wire stepper. This makes a 6 wire stepper a 4 wire stepper.There are schematics all over the internet for the L297 and L298 combinations.Here are links to a few of them:http://pminmo.com/l297-8/l297-8.htmhttp://www.fromorbit.com/projects/xyz/xyz.phphttp://www-users.rwth-aachen.de/thorsten.ostermann/e_download.htmhttp://www.tecel.com/st200/http://www.st.com/stonline/books/pdf/docs/1734.pdfMP Quote
Queen Posted April 20, 2006 Author Report Posted April 20, 2006 Hi again,can I use this one for 6 wires and 4 wires Quote
MP Posted April 21, 2006 Report Posted April 21, 2006 Yes, I have added lines to your drawing to show the six wire motor and how it would apply. See the center tap on the coils.MP Quote
Queen Posted April 21, 2006 Author Report Posted April 21, 2006 Hi Thanx MP, but can you tell me the pin 2, 3, 13 and 14 for L298 what correspond to the motor's wires, I mean the the arrangment of the motors wires ??Hope my question is understood :-\ Quote
MP Posted April 21, 2006 Report Posted April 21, 2006 There is probably some literature that can be found for your motor, but the best way I have found is to measure the resistance between the wires or terminals on the motors. The windings are all going to have the same resistance. This will tell you which ones are the windings and which ones are the center tap. As far as deciding which is the left and which is the right, this will determine direction. Without a diagram, you might have to perform a little bench checking to determine that you are on the right track. If you have a diagram for the motor with some markings such as a and b, you just match up the numbers and/or letters to know you are not wiring one coil backwards. You cannot hurt the motor. Just swap the wires if needed. On most motors that I have bench tested, the connectors are pretty much in order. In other words, the left pin for the first winding is on the same direction as the left pin for the second winding. This might help you with direction. This probably does not sound like much help, but without literature on the motor, this is really the easiest way to solve the problem of matching the winding direction on both coils.MP Quote
Queen Posted April 21, 2006 Author Report Posted April 21, 2006 Hi againI have some questions on the circuit:1- SYNC, HOME, Vref and Control pins >> where I must connect them to a microcontroller or where ?? :-\2- Enable, RESET, Half/Full, Clock and CW/CCW are will connected to a microcontroller to be controlled there, can I know what are the sequences that I must write for them by the microcontrolller to make the motor rotate forward or backward??3- In l298, what is the value for Vs, is it 9V??4- In l298, pair of diodes>> one will connected to a 9V, the other to a ground while they connected together?? Quote
MP Posted April 22, 2006 Report Posted April 22, 2006 The L297 and L298 combination takes care of the sequence to the stepper. The address below gives a good description of how to do this with a pic micro controller.http://mech.vub.ac.be/teaching/info/mechatronica/finished_projects_2005/PICROCK/Electronic.htmMP Quote
Queen Posted April 23, 2006 Author Report Posted April 23, 2006 Thank you Map, am so happy with this link, but I have a little question ;D1- please tell me how I can connect a motor with 6 wires to this design?? and what is the arrangment of 2,3,13,14 (output pins for L298) that give me the true connected via wires of the 6 or 4 wires motor??Hope that my question is clearly :-\ Quote
MP Posted April 24, 2006 Report Posted April 24, 2006 I really cannot answer this question clearly. Please look at my previous responses that will help you determine this.For example, if you take ohm readings between all of the pins on your motor, You will have two different values. Let's use 5 ohms and 10 ohms as an example since I do not know what they are on your motor. Any 2 wires that read 5 ohms are measuring one coil. It is a measurement of center tap to the end of the coil. Any wire that measures 10 ohms, would be the two coils which are connected together by a center tap.A drawing below.This is the best I can do with a motor that I have no data sheet.Hope it is helpful. Have you looked for your motor in a web search to see if there is a data sheet for it?MP Quote
Queen Posted April 25, 2006 Author Report Posted April 25, 2006 Thanks for your replying MPBut please, How I can know the value for the capacitors and resistors that exist in the circuit Quote
MP Posted April 27, 2006 Report Posted April 27, 2006 Can you give some information on the steppers you use? Perhaps there is some information on the internet. What is the make and model name on the motor? We really need to find the specs on your motors before answering the questions about power supply rating, etc.MP Quote
Queen Posted April 27, 2006 Author Report Posted April 27, 2006 Am searching on the internet but I didnt get any information about the motors.So I check them by running them and am using for that 12V and 2Amp to run each motor. :D Quote
MP Posted April 27, 2006 Report Posted April 27, 2006 The diagram you have posted from the data sheet will provide current up to 2 Amp. I recommend that you go with that one. The data sheet also has a suggested circuit board diagram. (The ST MicroElectronics Data Sheet.)MP Quote
Queen Posted May 7, 2006 Author Report Posted May 7, 2006 Hi againplease I will use the circuit below:http://home.att.net/~wzmicro/l298.htmlbut I dont know if I can replace 74ls244 instead of 74HTC244??? ??? Quote
MP Posted May 8, 2006 Report Posted May 8, 2006 You should go to: http://www.alldatasheet.com/and download the free data sheets for these devices and compare the specifications. You should always refer to the datasheets whenever you wish to make a substitution.MP Quote
Queen Posted May 8, 2006 Author Report Posted May 8, 2006 ok, am looking at them but what is the important things must I look to find the differences ??please I want the answer quicly since I will build the circuit ::) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.