Microchip PIC & AVR Examples's repositories
pic24-dspic33-freertos-demo
PIC24 DSPIC33 FreeRTOS Demo
avr16eb32-bldc-pmsm-motor-control-demo
Example for a BLDC Motor Control application, using the new AVR-EB family of devices. Trapezoidal drive-motor synchronisation with sensored or sensorless feedback, start ramp and multiple fault sources.
pic18f16q40-clc-switch-debouncing
This project demonstrates 3 ways to debounce a switch using the on-board peripherals, including Configurable Logic Cells (CLC) and TMR2.
avr128da48-cnano-rnbd-rn487x-gettingstarted-mplab-mcc
This code example demonstrates how to transfer Data between mobile APP and to the PC Terminal for rnbd-rn487x ble devices using AVRmicrocontroller. Compatible MCUs are: AVR128D48
avr64du32-cnano-usb-hid-keyboard-mplab-mcc
This code example demonstrates the HID Keyboard class using the USB 2.0 device peripheral on the AVR DU family of MCUs.
avr64du32-serial-bridge-mplab-mcc
Create a USB to SPI/I2C bridge using AVR64DU32
dspic33a-curiosity-oob
dsPIC33A Curiosity Out of Box Demos
dspic33ck512mpt608-provision-prototyping
The dsPIC33CK512MPT608 Provision Prototyping code example shows how to configure the Crypto Authentication Library to provision prototypes using the Trust Platform Design Suite (TPDS). TPDS uses Kit Protocol on device to provision the prototypes.
pic16f17146-pir-sensor-node-with-ble-mplab-mcc
This code example demonstrates how to interface a passive infrared (PIR) sensor with BLE connectivity using ADCC, OPA, DAC and Timer Peripherals of PIC microcontroller. Some compatible PIC16F17146 family of MCUs are: PIC16F17146, PIC16F17125
pic18f47q10-cnano-eusart-commands-bare
This example shows how to implement a command line interface. This way, the microcontroller can receive control commands via the EUSART. In this use case, an LED is controlled using commands sent from the MPLAB Data Visualizer.
pic18f56q71-lw-memory-card-mplab-mcc
Implementation of Petit FatFs on a PIC18F56Q71 microcontroller with a memory card.
avr128da48-cnano-8bit-mdfu-client-mplab-mcc
GitHub Example for the 8bit MDFU Client Library using AVR128DA48 with a CNANO board.
avr128da48-getting-started-with-ccl-mplab-mcc
This repository contains 3 MCC generated code examples that show how to use the CCL peripheral of the AVR128DA48 device in different modes. It is a companion to the TB3218-Getting Started with Configurable Custom Logic (CCL).
avr64du32-cnano-usb-cdc-to-usart-bridge-mplab-mcc
This code example demonstrates using the Communication Device Class (CDC) as a bridge to USART using the USB 2.0 device peripheral on the AVR DU family of MCUs.
avr64du32-cnano-usb-cdc-virtual-serial-port-mplab-mcc
This code example demonstrates the Virtual Serial functionality of the Communication Device Class (CDC) using the USB 2.0 device peripheral on the AVR DU family of MCUs.
dspic33ak128mc106-dppim-demo
This is a small demo program highlighting adc and pwm channels of the dp-pim
dspic33ck-mchv3-sensorless-singlephase-bldc-drive
This drive is created to control the Single Phase BLDC Motor Control with fan blade in sensorless fashion.
pic16f13145-clb-dice-mplab-mcc
Implement electronic dice using the CLB on the PIC16F13145 family of microcontrollers while the CPU is idle.
pic16f13145-cnano-ultrasonic-distance-sensor-mplab-mcc
This code example demonstrates how to get results from the HC-SR04 with zero software written by the user. This is done using the pic16f13145, with the CLB and MCC.
pic16f13145-quadrature-decoder-timers-mplab-mcc
This repository provides an MPLAB® X project that implements a quadrature decoder circuit using the CLB peripheral and device timers.
pic16f13145-quadrature-decoder-up-down-mplab-mcc
This repository provides an MPLAB® X project that implements a quadrature decoder circuit using the CLB peripheral.
pic16f18446-cnano-8bit-mdfu-client-mplab-mcc
GitHub Example for the 8bit MDFU Client Library using PIC16F18446 with a CNANO board.
pic18f47q10-adc-dc-motor-with-touch-interface-mplab
This demo is developed using PIC18-Q10 family MCU and Curiosity Nano development board. The demo demonstrates the usage of ADCC with hardware CVD technique and PWM peripherals of PIC18F47Q10 MCU to control DC motor through capacitive touch interface.
pic18f47q10-cnano-eusart-commands-mcc
This example shows how to implement a command line interface. This way, the microcontroller can receive control commands via the EUSART. In this use case, an LED is controlled using commands sent from the MPLAB Data Visualizer.
pic18f56q24-cnano-8bit-mdfu-client-mplab-mcc
GitHub Example for the 8bit MDFU Client Library using PIC18F56Q24 with a CNANO board.
pic18f56q24-phase-sequence-detection-of-ac-supply-mplab-mcc
This application demo highlights usage of ZCD and ADCC peripherals of 8-bit PIC MCUs in the applications that require phase sequence and phase loss detection on a three phase AC supply. Compatible PIC18-Q24 family of MCUs are:PIC18F56/55/46/45/26/25/24Q24
pic18f56q71-basic-uart-comms-mcc
In this project, Melody will be used to configure the PIC18F56Q71 Curiosity Nano (Cnano) board to receive and output single ASCII characters over the integrated Serial/CDC port.
pic18f56q71-full-memory-card-mplab-mcc
Implementation of FatFs on a PIC18F56Q71 microcontroller with a memory card.
pic18f56q71-rlc-meter-mplab-mcc
This repository contains a MPLAB® X project, a LCR meter implementation using the internal resources of PIC18F56Q71 microcontroller.
Sensored_SPBLDC_MCHV3_LVMC
This drive is created to control the Single Phase Brushless DC (BLDC) Motor Driver using Microchip's dsPIC33CK DSC in a sensored fashion (Hall Effect sensor).