PWM for motor control with Microchip Curiosity and MPLAB Code Configurator

October 7, 2015
The following describes how to build a simple PWM for motor control applications on the Microchip Curiosity Development board using the MPLAB X Integrated Development Environment (IDE) and MPLAB Code Configurator (MCC). We begin with basic bring up of Curiosity’s onboard PIC16F1619 8-bit MCU running a “Hello, World!” program, and continue to set up a PWM using a Timer based on an FOSC/4 clock. All of this is done using the Microchip MCC without ever writing a single line of code. Difficulty Level: Beginner Hardware Required: • Microchip Curiosity Development Board (Outfitted with PIC16(L)F161X MCUs – Used here is the PIC16F1619) • USB 2.0 A-Male to Mini-B Cable Software Required: • Microchip MPLAB X IDE version 3.05 or later (Used here is MPLAB X IDE version 3.10; Download from www.microchip.com/pagehandler/en-us/family/mplabx/) • MPLAB XC Compiler (Used here is MPLAB® XC8 Compiler version 1.35; Download from www.microchip.com/pagehandler/en-us/devtools/mplabxc/home.html) • MPLAB Code Configurator version 2.25 plugin (Download from www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en576270) Recommended Platforms: • Windows (x86/x64) • Linux 32-bit and Linux 64-bit (32-bit compatibility libraries required) • Mac (Versions 10.X) Support/Documentation: • www.microchip.com/curiosity • www.microchip.com/support Cost Estimate: • Microchip Curiosity Development Board – $20 (Before tax, shipping & handling. Available from multiple distributors.) • USB 2.0 A-Male to Mini-B Cable – $5 (Rough estimate. Available from multiple distributors.)
Previous Video
iCOP Technology - DMP
iCOP Technology - DMP

A video showing the behind the scenes of mass production, as well as a tour of ICOPs laboratory.

Next Video
Five Minutes With…Scott Hanson, CTO, Ambiq Micro
Five Minutes With…Scott Hanson, CTO, Ambiq Micro

Ambiq Micro has developed a technology they call SPOT, which stands for Subthreshold Power Optimized Techno...