Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do You Use Assembly Mplab To Control Servo Motor?

0
10 Posted

How Do You Use Assembly Mplab To Control Servo Motor?

0
10

That’s a tall order. A full servo control algorithm, known as a PID Loop (among other names), is rather complex to impliment using assembly. You’d have better luck with the “C” language. Also, as anotyher answerer notes, there is much good information about this and other applications available on the Microship web site. If you’re not locked into Microchip’s PIC series yet, I would strongly recommend looking into Texas Instruments’ MSP430 series of chips. You can get a development kit for $20 (yes twenty bucks!), and that includes a USB-based in-circuit programmer/debugger, and a fully-functional C-compiler from IAR (whose only limitation is a code-size limit of 4KB, which is plenty for microcontrollers). Google TI MSP430 to find info. Unlike the PIC’s, the MSP430 is a true 16-bit processor, one clock per instruction cycle (16Mhz max speed), which needs no external crystal – and it has a 16×16 bit hardware single-cycle nultiplier, which is crucial for impolimenting servo PID loops… G

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.