Hi Guys,
another basic MIAC question,
I'm hooking up a small stepper to the motor outputs A,B,C,D
So I set the connections in the stepper properties as;
Coil1 PortD.4
Coil2 PortD.5
Coil3 PortD.6
Coil4 PortD.7
and have called the stepper enable at the start of the FC
This sims OK. But I get nothing on the actual hardware.
Are these the correct ports for the motor outputs?
thanks, J.
MIAC dsPIC - Stepper Motor
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: MIAC dsPIC - Stepper Motor
Hello,
Yes those are the right pins for the transistor outputs.
As well as enabling the stepper motor you will also need to enable the transistor outputs by writing a logic 1 to pins F0 (A/B) and F1 (C/D).
This usually happens behind the scenes when you call the Output on or Output off commands.
Yes those are the right pins for the transistor outputs.
As well as enabling the stepper motor you will also need to enable the transistor outputs by writing a logic 1 to pins F0 (A/B) and F1 (C/D).
This usually happens behind the scenes when you call the Output on or Output off commands.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: MIAC dsPIC - Stepper Motor
Thanks Ben,
Ah, I see those pins now. Motors1 RF0 & Motors2 RF1.
I note that the later generation MIACs have a few more features on the outputs, such as the half bridges.
Is there any more info on these?
Ah, I see those pins now. Motors1 RF0 & Motors2 RF1.
I note that the later generation MIACs have a few more features on the outputs, such as the half bridges.
Is there any more info on these?
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: MIAC dsPIC - Stepper Motor
Hi,
The downloadable PDF datasheet is quite comprehensive.
Don't know if you have it?
See the MIAC resource page if not.
Suggestions for additional info welcome.
Leigh
The downloadable PDF datasheet is quite comprehensive.
Don't know if you have it?
See the MIAC resource page if not.
Suggestions for additional info welcome.

Leigh