The mikroC PRO for PIC provides a library for working with 4×4 keypad. The library routines can also be used with 4×1, 4×2, or 4×3 keypad. For connections explanation see schematic at the bottom of this page. External dependencies of Keypad Library The following variable must be defined in all projects using Keypad Library: Description […]
Projects
PIC Evaluation/Development Board Implementation using pic-microcontroller
Abstract The objective of this project is to produce a PIC evaluation/development board to be used by future ECPE senior design project teams. Many project implementations call for some sort of microcontroller unit in the final product, and this need can often be met by a simple PIC microcontroller. However, the development of a PIC […]
USB Indoor/Outdoor Thermometer using PIC18F2550 microcontroller
USB Indoor/Outdoor Thermometer (or, ‘My first USB device’) This is a simple design that demonstrates the USB peripheral on the PIC 18Fs. There are a bunch of examples for the 18F4550 40 pin chips online, this design demonstrates the smaller 18F2550 28 pin version. The PCB uses surface mount parts, but all components are available […]
Connect Memory Card using PIC18F4520 Code
The Multi Media Card (MMC) is a Flash memory card standard. MMC cards are currently available in sizes up to and including 32 GB and are used in cellular phones, digital audio players, digital cameras and PDA’s. mikroC PRO for PIC provides a library for accessing data on Multi Media Card via SPI communication. This […]
Connect USB HID with PIC18F4450 Code
Universal Serial Bus (USB) provides a serial bus standard for connecting a wide variety of devices, including computers, cell phones, game consoles, PDA’s, etc. USB Library contains HID routines that support HID class devices, and also the generic routines that can be used with vendor specified drivers. USB HID Class The HID class consists primarily […]
GSM Based Versatile Robotic Vehicle Using PIC Microcontroller
This project is designed to develop as a robotic vehicle that can be controlled by a cell phones. DTMF commands from a phone send to another cell phone which is mounted on the robotic vehicle. These commands are fed to a PIC microcontroller of 8-bit architecture to operate the vehicle movement through motor interface. Conventionally […]
TechBot line following robot using PIC16F84
Design Goal: The TechBot1 is a small line following robot designed for for the 1998 Embedded Systems conference in San Jose California. It was built by Jerry Merrill and myself and was designed as a promotional robot that would follow a black line drawn on a dry erase board. Motive Power: The TechBot1 uses […]
UART Communication using PIC Code
The UART hardware module is available with a number of PIC compliant MCUs. The mikroC PRO for PIC UART Library provides comfortable work with the Asynchronous (full duplex) mode. You can easily communicate with other devices via RS-232 protocol (for example with PC, see the figure at the end of the topic – RS-232 HW […]
Connect Ethernet controller with PIC Code
The ENC28J60 is a stand-alone Ethernet controller with an industry standard Serial Peripheral Interface (SPI). It is designed to serve as an Ethernet network interface for any controller equipped with SPI. The ENC28J60 meets all of the IEEE 802.3 specifications. It incorporates a number of packet filtering schemes to limit incoming packets. It also provides […]
Create Musical Tone using PIC Code
The mikroC PRO for PIC provides a Sound Library to supply users with routines necessary for sound signalization in their applications. Sound generation needs additional hardware, such as piezo-speaker (example of piezo-speaker interface is given on the schematic at the bottom of this page). Library Routines Sound_Init Sound_Play Sound_Init Prototype void Sound_Init(char *snd_port, char snd_pin); […]