Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

PIC Microcontroller Tutorials & Projects

PIC Microcontroller Projects: Learn to work with PIC Microcontroller and interface various peripheral devices. Explained with the help of circuit diagrams, source codes, and working videos, this section of EG Labs has interesting Microcontroller Projects based on PIC Microcontroller. These PIC Projects can serve as a good reference for final year electronics engineering projects and hobby purposes.

The purpose of this article is to explain how to interface a PIC microcontroller to a PC via the USB port.Although the concepts are universal, the examples are specifically for use with MikroElektronika’s ‘MikroC Pro for PIC’. PIC18F2550 and PIC18f4550 are famous for their USB Module. To stay ahead you can start with their datasheets.

The most difficult part of this project is exactly what is required to get the PIC microcontroller to communicate with the USB port. The two most important things that absolutely have to be correct are the microcontroller configuration, and the USB device descriptor. If even the smallest thing is incorrect about either of these, communication will not occur.

 

Want to know how fast your car's going? It's easy—just glance at the speedometer!

Speed is a handy measurement that tells you how quickly you can get from one place to another. A car's top speed is generally a good indication of how powerful an engine it has, but assuming everyone stays within the speed limit, maximum speeds are just numbers on paper—little or no use to anyone.

 

Microcontrollers are purely digital devices which work on logic0 and logic1 voltages; still they are widely used for analog signal processing. There are specialized signal processors chips available which are custom made for particular applications; however a general purpose microcontroller is more than enough for small kind of signal processing applications like audio signal input and output. The microcontroller can read the analog input voltage by sampling it and converting it to their digital values. The Analog to Digital Converter (ADC) available in almost all the microcontrollers help in this task.  

A timer can be used to generate the sampling time period. The sampled values can then read and modify by the microcontroller. The modified signal is then output by the microcontroller in the form of Pulse Width Modulated (PWM) waves. Most of the microcontrollers have the PWM module which helps them in generating analog voltage output at an external device.

 



H

S