Stepper Motor Driver Ic L297 L298
L297 + L298 circuit not working. Ask Question Asked 5 years. I have paired up L297 and L298 together to make a bipolar stepper driver. My schematics are: I have hooked up the step and direction pin number 4 and 5 respectively on Arduino. I am using a 5V power supply from a DC adaptor. L297 stepper motor controller clock signal question.
Hi,I'm still green if it's about electronics and I have the following question: how to control a L297 stepper motor control IC via a PIC18F2450 chip. I've attached an image of part of my circuit to this post. The plan is to sent commands from my PC via USB to the PIC18F2450 which will tell the L297 how to drive the motor. Basicaly i need to know how to connect the PIC18F2450 to the L297.
Please be gentle.:DPS. Do I understand correctly the bit where I connect HOME to a push switch so when it's pressed the IC knows its home position?Many Thanks.

Stepper Motor Controller Ic
Get the impression you are thinking that the Pic is like a PC where you can Plug and Play.The Pics are different, they have hardware features like USB on the 18Fs, but you need to provide the controlling software.USB is one of the more complex Pic functions, for which C programming is a prerequisite. Microchip even produce a demo kit for this very purposeAlso see this current and other posts on PIC / USBDon't know your reasons for doing this project - if its just for learning Pics and motor control then continuing with that but just doing pic to l297/8 control for now while you learn and add PC connectivety later via rs232, as mentioned ealier.If you are more into modelling and want pc control etc then think the Robotics forums will help you out better with slighly different programming solutions. Thanks for the posts, today I was talking to Test Development @ work when I noticed a tiny PCB with a PIC18F6(.something) which as it turned out is directly connected to the USB connector (D+/D-) and has the possibility to update firmware with no need for any additional IC's like RS232.:) I will get the circuit diagrams tomorrow and see what makes it tick;) Also I did manage to get my claws on a development board for stepper motors which has a PIC16 on it and communicates with my PC with no problems (and no additional IC’s, except motor controllers).
So what’s the big deal about USB connectivity?, everyone keeps telling me to do something simple for a starter but it seems it’s not a great deal to get it going.Sorry just read you post again:D (the part where you say it's mainly a firmware issue) which is not so bad as you can get samples from the net to get it going. Since about 2 years I’m into C Sharp programming so I guess the best option would be to learn how to program in C or C. I trying to find a compiler for C sharp what would actually make programming the PIC fun!:D but I'm not sure there is one. I'm still in the process of understanding how the whole circuit (about 7 parts, woo-hoo!) interacts witch one another and how it will interact with my PC. Something I have trouble with to understand is what is/isn't important while looking for a microcontroller, when I look at a datasheet that has 450 pages how to quickly determine if that’s the right IC for me?
Or am I suppose to study it for 3-4 months and then say. Nah, that’s not what I need:DNow a naive but very important question: is there a different (easier) way to connect the board to the PC, without hardcore C programming (I guess that’s where the RS232 comes into play)?By the way - nice board you got there!Thanks & sorry for being a pain in the ass.