Pinned Repositories
16f15325
Microchip 16F15325
16F1824
Microchip 16F1824
180348-DIY-Soldering-Station
180348 / 150500 DIY Soldering Station
18f2455bstrap
Software for a usb bootstrapper for the Microchip 18f2455
22085_IOT7_Masters2018
demo and content development for Masters2018 IOT7 class
32-bit-input-capture-on-PIC24
Implementing 32-bit input capture on PIC24 and family of MCUs
48-leds-with-pic16f877a
Code samples for microcontrollers
freeRTOS-PIC24-dsPIC-PIC32MM
This repository contains the freeRTOS demos for Microchip device families like PIC24, dsPIC33E, dsPIC33F , dsPIC33C and PIC32MM.
Microchip-1
Microchip PIC templates & examples
sdcc
SDCC is a retargettable, optimizing standard C (ANSI C89, ISO C99, ISO C11) compiler that targets a growing list of processors including the Intel 8051, Maxim 80DS390, Zilog Z80, Z180, Rabbit 2000, gbz80, Motorola 68HC08, S08 and STMicroelectronics STM8 targets. There also is incomplete support for the Microchip PIC16 and PIC18. Fork of https://svn.code.sf.net/p/sdcc/code/trunk
PICdew's Repositories
PICdew/avr128da48-cnano-bootloader-mplabx
This repo provides two MPLAB X projects, represent a basic implementation of a Bootloader and a Host Application example for the AVR-DA family
PICdew/avr128da48-gpio-debouncing-example
AVR128DA48 GPIO Debouncing Example
PICdew/pic16f1779-picdemlab2-cip-volt-window-detect
This example presents an alternative method of implementing a voltage window detection (without software core supervision), using a single comparator and the Core Independent Peripherals (CIPs) of a PIC16F176X. The method is used to implement an Undervoltage and overvoltage protection in a SMPS application.
PICdew/pic16f18446-cnano-driving-metronome
Driving a Metronome using a PIC Microcontroller This repository contains the source code for a metronome application. This was developed using PIC16F18446 microcontroller, along with a Switec Stepper motor, a potentiometer, a LED and a buzzer.
PICdew/pic16f18446-curiosity-lpc-ambient-light-to-sound
In this demo, the ADCC of the The PIC16F18446 is used to read the Ambient Light Click Board™, then this value is used with an Numerically Controlled Oscillator (NCO) to generate a tone with variable pitch according to the light intensity.
PICdew/pic16f18446-curiosity-lpc-board-matrix-rgb
Display scrolling text message on 32x32 RGB matrix with PIC16F18446, using UART to update the text shown.
PICdew/pic16f18446-curiosity-lpc-pass-thru-audio
In this demo, the ADCC of the The PIC16F18446 is used to read the MIC Click Board™, then this value is adjusted and passed thru CCP1 as PWM audio output.
PICdew/pic16f18446-curiosity-nano-board-gas-leak-detector
In this application, the PIC16F18446 device is used to read the output from three gas sensors that detect the CO, CH4 and LPG gases. The Analog-to-Digital Converter with Computation (ADCC) is used to convert the data. A piezoelectric transducer (buzzer) is used to notify the user that a gas was detected, using a different frequency for each gas.
PICdew/pic16f18446-curiosity-snake-on-4x4-rgb-click
This is an example of a simple snake game running on a PIC16F18446, using 4X4 RGB Click Board from MikroElektronika™ to display the game.
PICdew/pic16f18446-sensor-board-pressure-measurement
This project shows the reading of an analog pressure sensor using the ADCC. The PIC reads the sensor, and displays the current pressure in Pascal units. Two graphs will display the variations of the 12-bit and 10-bit pressure values in real time.
PICdew/pic16f18446-sensor-board-proximity-measurement
Code example for Sensor Board Proximity Measurement with PIC16F1844
PICdew/pic16f18855-xpress-dc-motor-pwm
This example shows how easy it is to use the MPLAB® Xpress Evaluation Board and MCC to read the onboard potentiometer using the ADCC and generate a PWM signal to drive a DC motor in both directions.
PICdew/pic18f47q10-cnano-eusart-hello-world-fs
This example shows how to send a string to the PC and see it in the MPLAB Data Visualizer Terminal.
PICdew/pic18f47q10-cnano-eusart-hello-world-mcc
This example shows how to send a string to the PC and see it in the MPLAB Data Visualizer Terminal.
PICdew/pic18f47q10-cnano-i2c-read-write-int-bare
Bare metal code for i2c read and write operations with interrupts.
PICdew/pic18f47q10-cnano-i2c-write-mcc
MCC generated code for i2c write operation
PICdew/pic18f47q10-cnano-tmr1-button-press-count-bare
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse mode.
PICdew/pic18f47q10-cnano-tmr1-button-press-count-mcc
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse mode.
PICdew/pic18f47q10-cnano-tmr1-frequency-measuring-bare
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse and toggle combined mode.
PICdew/pic18f47q10-cnano-tmr1-frequency-measuring-mcc
Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse and toggle combined mode.
PICdew/pic18f47q10-cnano-tmr1-special-event-trigger-bare
Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
PICdew/pic18f47q10-cnano-tmr1-special-event-trigger-mcc
Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
PICdew/pic18f47q10-cnano-tmr2-adc-trigger-bare
This repository provides a bare-metal code example for using TMR2 peripheral to trigger the ADCC to make conversions at a fixed frequency rate, that can be adjusted with the period of TMR2.
PICdew/pic18f47q10-cnano-tmr2-adc-trigger-mcc
The PIC18F47Q10 provides multiple PORT modules. In this demo, a PORT pin is configured as input and connected to a button. The Interrupt-on-Change is enabled on the negative edge. Another pin is used as an output and connected to an LED.
PICdew/pic18f47q10-cnano-tmr2-hlt-interrupt-bare
This repository provides a bare-metal code example for using TMR4 peripheral as a Hardware Limit Timer in order to generate an interrupt and stop TMR2 that also stops the ADCC auto-conversion.
PICdew/pic18f47q10-cnano-tmr2-one-shot-reset-bare
This repository provides a bare-metal code example for using TMR4 peripheral in One-Shot to stop TMR2 if an external pin is pulled to GND for more than a desired period.
PICdew/pic18f47q10-cnano-tmr2-one-shot-reset-mcc
This repository provides a MCC generated code example that uses TMR4 peripheral in One-Shot to stop TMR2 if an external pin is pulled to GND for more than a desired period.
PICdew/pic18f47q10-cnano-tmr2-spi-clock-bare
This repository provides a bare-metal code example for using TMR2 as 10kHz clock for SPI, configured as master with 2 slaves (RC6 pin ->SS1 and RC7 pin ->SS2).
PICdew/pic18f47q10-cnano-tmr2-spi-clock-mcc
This repository provides a MCC generated code example that uses the TMR2 as 10kHz clock for SPI, configured as master with 2 slaves (RC6 pin ->SS1 and RC7 pin ->SS2).
PICdew/pic18f47q10-hlvd-monitoring-voltage
This example demonstrates using an HLVD module to quickly detect when the supply voltage of the microcontroller has decreased below the specified trip point or increased above the specified trip point