/PIC32-Projects

Bare Metal Projects in C/C++ with 32-bit MIPS based PIC32 Microcontroller (PIC32MX270F256D)

Primary LanguageC

PIC32-Projects

Projects with 32-bit MIPS based PIC Microcontroller (PIC32MX270F256D). Here I have listed all the projects I have done with the PIC32MX1/2xx series of microcontrollers from Microchip Technology. Each project/library is tested with the XC32 compiler without any frameworks or HAL and only one project is dependent on the legacy PLIB library. These projects will be easily ported to your application.

If you need to adapt to your own project simply copy the project files into your project.

Current Libraries:

  1. 00_Documents - Contains all the documents needed including datasheets and errata
  2. 01_Blink - blink LED project
  3. 02_Switch - use a pushbutton
  4. 03_External Interrupts - use external interrupts
  5. 04_Timer1 - use of onboard Timer1 module
  6. 05_Counter - use the counter module
  7. 06_UART - use UART
  8. 07_ADC - use ADC module
  9. 08_Output Compare - use output compare module
  10. 09_Input Capture - use input capture module
  11. 10_SPI - use SPI module
  12. 11_I2C - use I2C module
  13. 12_Comparator - use onboard comparator
  14. 13_Idle Sleep - use sleep mode
  15. 14_WDT - use watchdog timer
  16. 16_DMA - use the Direct Memory Access Controller
  17. 17_SD_Card_FatFS - use SD card with FatFS module (plib version)
  18. 21_RTCC - use the onboard RTCC module
  19. 24_SSD1306 - use the SSD1306 OLED
  20. 25_MPU6050 - use the MPU6050 accelerometer and gyroscope, includes use case with magdwick filter
  21. 28_ST7735 - use the ST7735 LCD module
  22. 47_State_Machines- use State Machines with PIC32