ADC (Analog to Digital Converter) module is available with a number of PIC MCU modules. ADC is an electronic circuit that converts continuous signals to discrete digital numbers. ADC Library provides you a comfortable work with the module. Library Routines ADC_Init ADC_Get_Sample ADC_Read ADC_Init Prototype void ADC_Init(); Returns Nothing. Description This routine initializes PIC’s internal […]
Projects
Connect ADC with PIC16F877
ADC (Analog to Digital Converter) module is available with a number of PIC MCU modules. ADC is an electronic circuit that converts continuous signals to discrete digital numbers. ADC Library provides you a comfortable work with the module. Library Routines ADC_Init ADC_Get_Sample ADC_Read ADC_Init Prototype void ADC_Init(); Returns Nothing. Description This routine initializes PIC’s internal […]
Connect CAN Protocol with PIC
The mikroC PRO for PIC provides a library (driver) for working with the CAN module. The CAN is a very robust protocol that has error detection and signalization, self–checking and fault confinement. Faulty CAN data and remote frames are re-transmitted automatically, similar to the Ethernet. Data transfer rates depends on the distance. For example, 1 […]
Connect CAN-SPI with PIC Controller
The SPI module is available with a number of the PIC compliant MCUs. The mikroC PRO for PIC provides a library (driver) for working with mikroElektronika’s CANSPI Add-on boards (with MCP2515 or MCP2510) via SPI interface. The CAN is a very robust protocol that has error detection and signalization, self–checking and fault confinement. Faulty CAN […]
Real Time Clock Circuit using Mircocontroller
Here I am going to teach you a simple circuit of 24 hour digital clock display that can also be used in 12 hour format by simply loading the corresponding clock program. You can download the hex files for both 12 hour format and 24 hour time system from the link given in this article. […]
USB Stepper Motor Driver using pic microcontoller
USB Stepper Motor Driver In this project we are going to drive a unipolar Stepper motor (5 wire) using USB interface from a PC Computer. This project is an application of the USB Interface Board PIC18F4550 which was published here in the past. You can run other stepper motors too. It is simple and easy […]
C-52EVB Robot Controller
Use a C-52 EVB for simple robot experiments. Build a simple two wheels robot with L293D H-Bridge driver and IR sensors. Write a C program controls robot tracked with black tape. Fun with Ving-Peaw Competition 2543, course layout, day-by-day changed rule and scoring also included! Introduction One of my student has made a disgraceful robot […]
Rainbow LED Chaser
I was bored this past sunday, and needed something to ease my racing brain … so I picked an easy project with lots of flash. The parts list: Eight Tri-Color or RGB leds … each led package contains three LEDs Three 74HC595 Shift Registers … serial load, latching. other varieties would probably work too. One […]
NJM2035 – HI-FI Stereo Encoder / Multiplexer using pic microcontoller
Part’s List: 2x 47K 1x 10K 1x 82K 1x 50K POT 1x 33uF 1x 10uF 3x 100nF (104) 1x 100pF (101) 1x 10pF (10) 1x NJM2035 IC 1x 38 KHz Crystal Technical Specifications: Voltage Supply: 1.2V – 3.6V MAX Current Draw: >3mA Channel Separation: < 25dB Signal to Noise Ratio: 67 dB Operation Temperature: -20 […]
Countdown Timer using PIC16F690 microcontroller
This is a simple countdown-timer-on-a-chip project – you program the PIC, attach some buttons and a pair of 2-segment LEDs, and you are done. I used this timer for one of my projects, but I tried to make that timer as generic as possible, so it can have other applications. On this site I describe […]