Ok, I have my stepper driver hooked up, a stepper motor hooked up.
Right now stepper is 200 steps per rev and so set up in the controller.
If I try and jog the motor, I get a message that pops up and says "LOCKED".
Documentation does not give any reference to that term.
What might that mean?
(When I do try and advance, I can feel the stepper seem to advance a step)
Thanks in advance.
Marty
Hello,
I'm needing some help on ordering the componants on the PC board. I just don't have the knowledge to identify the parts when I search for them at Mousers. There are so darn many kinds of these parts.
Has anyone perhaps made up a list of the parts that even a guy like me can order up the necessary parts to make this project up.
Thanks,
Lee
Yes, and we are still dead in the water. After a few emails back and forth with Steve, it appears that they are limit inputs on pins 7&8 of the pic. Locked comes up when both pins are low. Though when measured, both pins are high. We build two controllers at the same time BOTH are exhibiting the same problem. Time hasn't permitted more in depth exploration.
We have rolled back a version of the firmware and reflashed the pics. After erasing them of course. It is a bit of a bummer. WE do have a member of our metalworking club that is pretty sharp with electronics and pic programming who has offered to take a look. IF/WHEN we figure out what we did, we'll post.
Marty
It is a most perplexing problem...
If the pins are high and the display still reads locked the only really logical explanation is the PIC programming. However I've studied the data sheet and can't see anything that could be done that would explain it.
The fact that both behave the same way says that something is wrong, but I don't know what it could be.
Shame I'm in the U.K, I'd love to have a look and see what is wrong. I've come across this issue before, but the guy who did it had a short circuit and the pins where being pulled low.
Marty,
I am still reading this subject, but I also do not have an answer.
The only problem I had was with software version 2.12, I am using 2.11 without any problems. Also the word Locked is not in the first Kwackers version C files, the latest versions I do not have the source.
Hans
It looks like the pic was constant resetting. I went back to .11 and the problem was gone.
Maybe my failure or a programming fault, I am using the controller now for cutting gears (still 10 to go) but when I am ready with this I'll load 2.12 and let you know what I see.
Thanks , Hans
I had the same issue but worked through by going back through all the old posts etc.
I'll try to help. I ordered mostly from Digikey so I'll post some of their numbers so that you will get an idea of what to order. These worked for me but I ordered some parts from Newark also.
4.7KQBK-ND resistor
300-8487-ND crystal
10KQBK-ND resistor
CF1/282JRCT-ND resistor
BC1154CT-ND cap
399-4172-ND cap
3386X-103LF-ND pot
P5168-ND cap
MC7805CT-BPMS-ND voltage regulator
BC33725TACT-ND transistor
These are not the only choices and may not be the best but they worked. Ask if you need more help.
I learned a lot in the making of this controller including making the circuit board.
Regards,
Dick K.
One of you bought a board and a PIC from Beevo. There is a strong possibility it is the incorrect pic. Please PM me if you were the one that bought it so we can make it right for you.
Marty
Kwackers,
Is there any issues if a faster than 10MHz xtal is used with the PIC, as per original design?
Just asking since I can use either a 16 MHz or 40 MHz xtal.
Thanks
groov
I wouldn't...
The PIC is designed for a maximum clock speed of 10Mhz and is internally running at 4x that (so in this case 40Mhz).
It's highly unlikely it can run with a 16Mhz crystal (and definitely won't with a 40mhz), if it did then you may get sporadic crashes and other 'strangeness'.
It would be possible to clock it slower than 10Mhz, it would simply means the motor runs slower for the same settings.