Step and Direction commands
I am new to the world of PIC (I've been aware of PIC for decades since my Computer Science degree, but have never used one).
I am currently involved in a project where we wish to use a Stepper Motor with its own bespoke stepper drive unit which are both obtained from the same manufacturer. I have been using an Arduino Mega to send step and direction instructions to the stepper motor drive, utilising a header file called AccelStepper.h, which is designed to allow sending such instructions to a driver rather than having to think about building your own H-bridge motor drives.
What I need to know is, is it possible to use a PIC to send the same instructions? I basically ramp up the stepper, run it at a specific speed (which does not change) for a period of time (say, 5 minutes) when a momentary button is pressed or a digital High command is received from an RF receiver/decoder output, or until the button is pressed or RF digital low is received again.
Which PIC would I need to use look in to using and are there any particular instruction sets you could point me out to?
I appreciate it is possible to program in C, but it's often preferred to program in assembly code. Last time I coded in assembly (8086) it was about 18 years ago.
I was encouraged to look in to PIC rather than putting an arduino in each machine we are planning to manufacturer due to the ruggedness of the PIC, the reliability of them, and the inexpensiveness of them.