Projects

Right left scrolling LEDs

Right-left scrolling LEDs

Project description:  In this project, 8 LEDs are connected to PORT B of a PIC microcontroller. Also a push-button switch is connected to bit 0 of PORT A using a pull-up resistor.. When the switch is pressed the LEDs scroll to the right. Hardware: The circuit diagram of the project is shown in Figure 1. […]

Right-left scrolling LEDs Read More »

Servomotor based mobile robot control

Servomotor-based mobile robot control

Project description:  Mobile robots are used in many industrial, commercial, research, and hobby applications. This project is about the control of a mobile robot using servomotors. The robot used in this project is the base of a popular mobile robot known as Boe Bot, developed by Parallax (www.parallax.com and www.stampinclass.com). The basic robot is controlled

Servomotor-based mobile robot control Read More »

Door lock opener

Door lock opener

description This circuit can be used to operate an electric strike or an electromagnetic lock on a door. It is not the door being opened/closed, but a small electromagnetic strike which unlocks the door. The opener has the following features currently programmed in software: automatic operation when a guest pushes the doorbell, the strike is

Door lock opener Read More »

Connect ADC with PIC16F877

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 ADC with PIC16F877 Read More »

Connect ADC with PIC16F877

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 ADC with PIC16F877 Read More »

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 Protocol with PIC Read More »

Connect CAN SPI with PIC Controller

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

Connect CAN-SPI with PIC Controller Read More »