The PIC isn't clocking. It either doesn't support that clock speed, isn't getting logic power and ground, is stuck in MCLR, or isn't actually programmed... or the xtal is bad...
Open source firmware and board layout freely available
Low parts-count and cost for home building
Low kit price to get running on a budget
Smooth / low resonance modes for better performance
Faster / more reliable operation w/ low cost surplus motors
The PIC isn't clocking. It either doesn't support that clock speed, isn't getting logic power and ground, is stuck in MCLR, or isn't actually programmed... or the xtal is bad...
Can I have a working .hex firmware file for linistepper v2??? Where can I find it?
Well, it needs +5volts from somewhere! ;0) I'm not sure about that specific adapter... you typically want /regulated/ 5 volt power and most AC adapter don't regulate their output... so a "5VDC" adapter may put out anything from 5 to 10 volts. PIC's fry at 6 or 7 volts if I remember correctly.
Just my very tiny 2 cents, some of the 5VDC cell phone adaptors are in fact regulated. I use them all the time in the devices I make....
Now back to your regular programming.
Is USB vdc output 5 V regulated?
my PminMO 5 axis interface board has a 7805 voltage regulator. Problem solved.
I built a linistepper V2 board again, but I soldered 1N4007 diodes instead of 1N4148:
-When PIC is programmed it works, when PIC isn't programmed it doesn't (Well)
-Motor just runs clockwise.
-when DIP switch is set to ON-ON, motor runs this wayne little step counterclockwise and three steps clockwise. Motor is able to do a 360 degrees revolution, untill it overheats (so I decided to apply 1.5Volt to motor).
-when DIP switch is set to On-off, off-on and off-off, motor shaft vibrates (one step clockwise and one counterclockwise, it's unable to do a 360 degrees revolution).
I checked PIC16F628A:
port|Volt | port|Volts
1 |0.00 | 18 | 1.42
2 |5.07 | 17 | 1.42
3 |5.07 | 16 | 0.98
4 |5.08 | 15 | 1.83
5 |0.00 | 14 | 5.08
6 |5.01 | 13 | 4.41
7 |0.00 | 12 | 4.90
8 |5.01 | 11 | 0.00
9 |0.00 | 10 | 0.02
I attach my 5 wire stepper motor specifications
P.S. The software is KCAM
Engine runs only clockwise just on X axis (interface board has some problems), but problems on steps still persist!
The wiring of the stepper motor to the driver needs to be changed. The order of the coils is wrong.
I fixed X axis problem, it was just due to a bad soldering. X axis spin both clockwise and counterclockwise now. When I'll came back home, I'll let you know about the wiring. I'd like to know what's the difference between 1N4007 and 1N4148 diodes. My board works since I soldered 1n4007. Why?
For anyone who was looking at my previous posts.
This is the completed boards that I'm currently building, will have pix soon.
The older posts had some errors so please use this one.
Includes PCB's, Schematics, Eagle files, parts lists, etc..
I finally made my linistepper working: the problems were:
- bad wiring
- wrong time constant in Kcam.
Thanks to everyone! You are great! :-D