Projects Page

Here users can view project made by users of our compilers. Users can also post their project in order to share experince and knowledge using mikroElektronika compilers.

Latest Projects:

Adc Display by Natan

Date: 08-03-2010
Simple project where you may observe library behavior ADC decimal form and displayed in 3 display 7-segment. [more]

SMS type keypad and usart data receiver by Yanderson

Date: 08-03-2010
Write a message in a LCD display using 4x3 keypad, writing the message just like in a cellphone keypad, an send it via USART, to be printed in a second LCD display. Connection diagram with LCD and keypad available in the zip file. PIC16F877A. [more]

Serial Communication by Natan Jimenez

Date: 23-02-2010
This project is a simple task PIC_MASTER increases the value shown by the PORTB this value at a time is sent by the serial port and displays and the PORTB the pIC_SLAVE. I hope you learn and understand programming logic. [more]

TFTP Server Fat32 by Dany

Date: 19-02-2010
Same as "TFTP Server", but for Fat 32 cards. Supports sub directories and long file names. More details can be found in "Tftp_Server_Fat32.htm" in the zip file. Uses the Ethernet ENC library v3_5 from Yo2Lio. [more]

TFtp Server, Fat16, Long filenames by Dany

Date: 19-02-2010
Same as the "TFTP Server" for Fat16 but for long file names. Still no subdirs! Uses the Ethernet ENC library v3_5 from Yo2Lio. [more]

TFTP Server (Fat16, short filenames) by Dany

Date: 19-02-2010
This is a small TFTP file server for Fat16 (short file names, no subdirs), using an mmc/sd card for file storage. "Small" means the software does not have an error/retry/timeout mechanism. More Details can be found in "Tftp_Server.htm" inside the zip file. Uses the Ethernet ENC library v3_5 from Yo2Lio. [more]

Telnet to RS232 interface by Dany

Date: 19-02-2010
This device (hard and software) can be used to control up to 6 RS232 devices via Telnet (Ethernet). Uses the Ethernet ENC library v3_5 from Yo2Lio. [more]

PIC command line editor by Dany

Date: 19-02-2010
Capable of, like a modem, receiving, editing and executing one (command) line of input. The code in this example project shows a command line editor that can be used in servers (big word) you build, based on PICs. [more]

Small Telephone Exchange by Dany

Date: 19-02-2010
Small private telephone exchange, initially meant to make 2 modems (one connected to a "client", the other to a "server") communicate with each other to test a server/client system before e.g. putting the server on the web. Warning: It is not the intended to connect this device to the public telephone network! [more]

StringUtils (Unit) by Dany

Date: 19-02-2010
A small string utility library: trim, bcd, hex, binary, delete, copy, insert, stuff, pad and safe string concatenation, insertion, copy, stuff, pad, compare etc.. functions. Functions working with constant strings are also available. Can be configured to work with the Janni/Yo2lio string replacement library. [more]

PascalFunctions (Unit) by Dany

Date: 19-02-2010
Unit with a number of "standard" Pascal functions: odd, succ, pred, abs, sqr, trunc, round, frac, ceil, floor and int. Additionally it provides the constant "nill" as a replacement for "nil". Also the type "Sett" (replacement for Pascals "Set" type) is present together with its functions to be used in mikroPascal. [more]

RTC2_DS1307 (Unit) by Dany

Date: 19-02-2010
Basic routines to control mEs Real Time Clock (RTC2) with the DS1307. An example project can be found in the zip file: "RTC_DS1307_USART_PRO". [more]

RTC_PCF8583P (Unit) by Dany

Date: 19-02-2010
Basic routines to control mEs Real Time Clock (RTC) with the PCF8583P. An example project can be found in "I2C_RTC_UART_AD_PRO.zip" in the zip file. [more]

Asserts (Unit) by Dany

Date: 19-02-2010
Provides "Assert" procedures. See the .htm file in the zipfile for more details. [more]

Debug (Unit) by Dany

Date: 19-02-2010
Permits usage of the Uart as a simple debugging data output tool, using Uart1 as output device. A usage example can be found in project "TestDebugUnit" in the zip file. [more]

EepromVariable (Unit) by Dany

Date: 19-02-2010
Procedures that write and read the content of any type of variable to/from the internal PIC Eeprom. [more]

BitUtils (Unit) by Dany

Date: 19-02-2010
Functions that returns "Bit" (0 or 1) values, plus functions that return "bit masks" for bytes, words and Dwords. Additionally, procedures are provided to set, get, clear and stuff bit groups inside a byte. Routines to mimick bit arrays and boolean arrays using only one bit per boolean (see "TestBoolArray" example program in the zip file). [more]

Fat32 (Unit) by Dany

Date: 19-02-2010
Fat32 file system implementation, only for P18 PICs. Can be configured for SPI (SD/MMC cards), CF (Compact flash cards) and IDE (Hard disk). [more]

IDE (Unit) by Dany

Date: 19-02-2010
Simple interface to access hards disks. Usage template (ignore the Fat32 part...). Example of usage can be found in the zipfile. [more]

Fat16DirLFN (unit) by Dany

Date: 19-02-2010
This unit Provides "directory" functions for MMC/SD cards formatted in FAT16 in addition to long filenames. Makes traversing possible through the root directory (routines "FindFirst" and "FindNext") and also routines are provided to make a file "Dir.txt" and/or a "Dir.htm" on the MMC/SD card containing the directory listing. [more]

Fat16Dir (Unit) by Dany

Date: 19-02-2010
This unit Provides "directory" functions for MMC/SD cards formatted in FAT16. Makes traversing possible through the root directory (routines "FindFirst" and "FindNext") and also routines are provided to make a file "Dir.txt" and/or a "Dir.htm" on the MMC/SD card containing the directory listing. [more]

COS - Cooperative Operating System by Dany

Date: 19-02-2010
A cooperative operating system is the simplest one imaginable. The tasks running under this type of OS are not interrupted by the OS to give execution time to another task (as with the preemptive Real Time OS), no, tasks always run to completion before the OS gives execution to another task. So, simple enough. This means however that each single task must finish execution in an acceptable time. If a task is too time consuming then it has to be split up in several sub tasks, each with an acceptable execution time. Hence the term cooperative: the tasks have to cooperate to make things work well. [more]

MemManager (unit) by Dany

Date: 19-02-2010
Simple memory manager making dynamic variables possible in mikroPascal (procedures GetMem and FreeMem available). More info and 2 example projects can be found in the zip file. [more]

Rc6_Decoder (unit) by Dany

Date: 19-02-2010
RC6 (Philips IR remote control system) decoder, decodes the Rc6 toggle, Rc6 System and Rc6 command. For the moment only RC6 "mode 0" (most used) can be decoded. Made for 36 Khz IR receivers with inverse output (= output active low), like the TSOP1736. The decoder is interrupt based (the external interrupt is used) and uses timer 0. [more]

Rc5_Decoder (unit) by Dany

Date: 19-02-2010
RC5 (Philips IR remote control system) decoder, decodes the Rc5 toggle, Rc5 System and Rc5 command. Made for 36 Khz IR receivers with inverse output (= output active low), like the TSOP1736. The decoder is interrupt based (the external interrupt is used) and uses timer 0. [more]

DS1820 (unit) by Dany

Date: 19-02-2010
The basic functions for the DS1820 (digital temperature sensor), including string output, ready to display. A routine to convert a temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. An example of its usage (with more than one DS1820 on the same OW bus) can be found in the example project in the zip file. [more]

LCD_4Bits (16/20 chars, 2/4 rows) by Dany

Date: 19-02-2010
Same as LCD1602_4bits.mpas, but more generic. Capable of handling up to 4 rows of characters, and 16 or 20 columns per row. The init routine has now 1 parameter more: the number of columns. Connection diagram and Connection diagram with LCD reset available in the zipfile. [more]

UsartReceiver by Dany

Date: 19-02-2010
Uart Receiver routine(s) with circular receive buffer, interrupt driven. Usage example: "MainUsartReceiver.mpas"in zipfile. [more]

USB_CDC(unit) by Dany

Date: 19-02-2010
Permits to read data from and write data to USB devices using the CDC protocol (makes the USB device look like a serial port). Intended for the PIC18F2455/2550/4455 and 4550 PICs or PICs with the same USB SIE. See the section "Interface" in file "USB_CDC_Library.ppas" or "USB_CDC_Library.mpas" and the demo project ("USB_CDC_Example_Project" in the zipfile) for the operation details. [more]

USB_HID (Unit) by Dany

Date: 19-02-2010
Permits to read data from and write data to USB devices using the "HID" protocol (no driver at PC side required). Intended for the PIC18F2455/2550/4455 and 4550 PICs or PICs with the same USB SIE. See the section "Interface" in file "USB_HID_Library.mpas" and the demo project (in "USB_HID_Example_Project") for the operation details. [more]

PIC24 DTMF Decoder by Norbert

Date: 08-02-2010
This is my DTMF decoder version for a PIC24 MCU. The code is tailored for the PIC24FJ128GA080. In this version I am using timer and RA15 interrupts. The chip has no lower PORTA, therefore the DTMF nibble is relocated to PORTB low. The LCD is connected to PORTD. Also implemented is a data transfer to the HOST computer via UART1 at 9600 Baud after expired delay. The chip is clocked at 32 MHz. [more]

DTMF decoder with character storage in RAM by Norbert

Date: 08-02-2010
DTMF decoder with character storage in RAM and readback from RAM. This project is essentially the same as my previous posts except this version does not use the EEPROM for storage, instead it uses RAM to temporarily store the character string. This is the preferred way to do it since it does not wear out the EEPROM cluster over time. [more]

DTMF with EEPROM Storage by Norbert

Date: 08-02-2010
This is an slightly advanced version of the DTMF decoder. Works similar, however stores decoded DTMF in EEPROM and can retrieve the stored ASCII by sending "*" to the application. The last n numbers of stored (<0x0F) DTMF will be displayed in the second LCD row. [more]

DTMF DECODER by Norbert

Date: 08-02-2010
This project uses an HT8870 DTMF decoder chip. A 16 x 2 LCD will display the decoded DTMF character and its ASCII equivalent. The STD line from the chip will cause an interrupt on PORTB.0 and is handled within the interrupt service routine to initiate the decode process. External hardware is required to run this project. I have included a schematic diagram for the HT8870 for prototype board wiring. The external hardware was interfaced with an EasyPic3 Board and works quiet fast at 16MHz. [more]

RS232 Baudrate timer by Roman Black

Date: 19-01-2010
This project measures the baud rate (period) of an incoming 0x00 byte on USART1. This period is displayed on the Graphic LCD in 0.1uS resolution, and the PIC also converts this to actual "baud" and the Graphic LCD displays the measured baud to a 0.1 baud resolution. [more]

LCDLED by Natan Jimenez

Date: 23-11-2009
This simple project is to send an example to my students that can use it as a starting point in their project and achieve maximize range of applications that can be achieved with the microcontroller LCD and various peripherals that can function as input and output elements also includes the electronic chart in Proteus so they can see the simulation and more thoroughly understand its operation. [more]

Joystick Conversion by Roy Seifert

Date: 23-11-2009
How to convert a game controller with an older joystick interface into a game controller with a USB interface. I have also included a .pdf file with a short article on the process with schematics. [more]

RS485 complete library for PIC18 family by Bytex

Date: 23-11-2009
Complete RS485 communication library allow you to send(receive) big quantity of data from(to) slave devices. [more]

5 Axis 32 Button Joystick Controller by Roy Seifert

Date: 23-11-2009
This program creates a 5 axis, 32 button joystick controller that communicates with the PC via USB. When a switch is pressed, or a toggle switch is flipped, a pulse is sent to the PC. The length of the switch pulse is adjustable via one of the analog inputs to the PIC. [more]

Simple Game Die - With Sound by Graham Owens

Date: 23-11-2009
This is a simulated Die/Dice running on an 8 Pin 12F675 Device. It generates a random number between 1 and 6 and displays it on LEDs in a standard die pattern. Sound is included. This is a very simple project suited for beginners, and was created to prevent our board game pieces being knocked off the table by the dice. [more]

12f683_3wrd_viMeter by vijaya

Date: 23-11-2009
3wr lcd 16x 2(hd44780) display using 12f683 & volt & current measurement (up to 5v_) modifiable & current through 1-ohm gives current at gnd point in series . I want any body still modify please send me details thank you. [more]

Digital Security Lock by Haseeb Ahmed Khan

Date: 23-11-2009
This is a Digital Security Lock which can take input a code and unlock a door or anything interface as *2345# 2345 is default code. LCD is interface to show result. [more]

Temperature RF Link by Lluis Nadal

Date: 23-11-2009
This project sends temperature readings by an RF link and displays it on LCD. [more]

Timer0 Example Simple 1 by Greg Cummines

Date: 23-11-2009
A code example of how to use TIMER0 on the PIC18 series. This is the first in a series as I learn the timer. This demonstrates booting up the PIC, and the code starts counting seconds and displaying them only as the display needs to as format HH:MM:SS. [more]

Stepper Motor Control GUI by Dr. Can Ulas Dogruer

Date: 23-11-2009
In this project an embedded GUI is designed to control the position of a stepper motor. GUI is created by using LCD and Keypad. User can enter the position of the stepper motor via Keypad and LCD provides visual feedback to the user. [more]

AC voltage, corrient, watt, angle fase on lcd by Alcides

Date: 23-11-2009
This project show on lcd according the button press, the voltage rms, the current, the watt and the power factor and angle the phase. [more]

Ultrasonic distance to voltage converter by Alcides

Date: 23-11-2009
This project convert to ultrasonic project descrip priorto voltage converter with DAC for motor control. [more]

trf2.4 rf communication by Alcides

Date: 23-11-2009
This project tx and rx Information via rf with trf modules via spi. [more]

Ac regulator voltage by Alcides

Date: 23-11-2009
This project analyze the ac 110V line and show in 3 led if the voltage is high, low or normal. [more]

I2c slave and master Communication by Alcides

Date: 23-11-2009
This Communication between 3 micro via i2c. 1 master 16f677. 1 slave receiver 16f619. 1 slave transmitter 16f819. The slave procedure are implemented in the micro. [more]

Lotery baloto random number by Alcides

Date: 23-11-2009
This wait to press switch 6 time and each time generates random number for lottery on lcd display. The program clear the display the sixth time. [more]

Ultrasonic distance to voltage converter by Alcides

Date: 23-11-2009
This project show in 2 display the distance in centimeters the object to the sensors. [more]

8 Serial servo-controller by Julio Montagut

Date: 15-05-2009
8 servo controller via RS232, source code and example files to assembly pcb. RS232 Speed: 9600, 19200, 38400 and 57600, Switch Configuration / Reset logic power to 20V, reverse polarity protection to logic power and data Rx LED indicator [more]

Lcd 8-bit by Filip Jankovic

Date: 12-05-2009
This project provides communication with Lcds (with HD44780 compliant controllers) through the 8-bit interface. Included in this project is __Lib_Lcd8.mcl (binary distribution of Lcd 8-bit library) that can be used in other projects. [more]

Lcd 8-bit by Filip Jankovic

Date: 12-05-2009
This project provides communication with Lcds (with HD44780 compliant controllers) through the 8-bit interface. Included in this project is __Lib_Lcd8.mcl (binary distribution of Lcd 8-bit library) that can be used in other projects. [more]

Lcd 8-bit by Filip Jankovic

Date: 12-05-2009
This project provides communication with Lcds (with HD44780 compliant controllers) through the 8-bit interface. Included in this project is __Lib_Lcd8.mcl (binary distribution of Lcd 8-bit library) that can be used in other projects. [more]

GLCD GPS Decoder by Umut Erkal

Date: 16-04-2009
GLCD GPS Decoder application parses the NMEA sentence to extract essential fix data which provide 3D location and accuracy data, then shows on GLCD 128x64 display. It uses SmartGPS board attached to EasyPIC5. MCU: 18F4550 Osc: 8Mhz Env: mikroC PRO for PIC 2009 [more]

GPS Decoder by Umut Erkal

Date: 09-04-2009
GPS Decoder application parses the NMEA sentence to extract essential fix data which provide 3D location and accuracy data. It uses SmartGPS board attached to EasyPIC5. MCU: 18F4550 Osc: 8Mhz Env: mikroC PRO for PIC 2009 [more]

jBoxAlert by Fabrice Engel

Date: 20-02-2009
jBoxAlert is a small voltmeter for alerting when the 12V battery is empty in you starting box. It is used in RC airplane to start turbine or exploding motor. The pic 12F675 check the voltage, under a first level the led blink, under low voltage the led blink and the buzzer make noise. A bip is also sending in an cycled time to indicate that the box is on. You will found in the archive the schema, board (eagle format), an nc file for milling, a picture of the schema, and the source code in MikroBasic for Pic 12F675. [more]

Serial Communication using USART by wbadry

Date: 09-02-2009
This project simply demonstrates how to send commands from one PIC 16F877 (Master) to another PIC 16F877 (Slave) to run or stop Motor or Flashing LED. It is accompanied by Proteus VSM model for simulation. Slave PIC is also connected to 16X2 LCD fro displaying LAST Command Processed. [more]

Home Automation System Using User Interface by Razi Raslan

Date: 02-02-2009
This is very basic Home Automation System using user interface (accessible options menu). This project is able to control up to 4 devices connected to port C through navigation key connected to port A. Connect button Up to PortA.0 Connect button down to PortA.2 Connect Options toggle button to PortA.3 Connect Saving button to PortA.5 GLCD is connected to Port B (for the control bus) and Port D (for the Data bus) [more]

Custom LCD Lib by Peter Andersson

Date: 30-01-2009
This is a LCD lib with support for font creation it supports 4 & 8 bit mode all defined in the header file. Note.. LCD RW pin needed if font and high speed update of display, check cCustom_LCD.h for commands and functions Not fully tested i use 4bit and RW enabled works for me! [more]

Thermostat with P16F628A by Dany

Date: 09-09-2008
Usage of the Ds1820 (one wire temp sensor) to control a heating system. Provides 2 different temp settings (e.g. day and night settings).Proportional control of the heater (which is basically on/off controlled) using PWM like method with a 1 minute timebase (x minutes on, y minutes off). Settings and current values are displayed on an LCD screen. Both circuit diagram and code is provided. [more]

PIC based timer by Dany

Date: 09-09-2008
Another example of using the 12F629 in a very small project. Switches off electrical appliances after a number of hours. Time indication via LEDs. Both circuit diagram and code is provided. [more]

Touchdimmer by Dany

Date: 22-07-2008
A small lamp operated by "touching" by hand its metal body. After each touch the lamp is starting to "burn" harder (3 intensity steps), with wrap around. Both schematic and sourcecode are available. [more]

LCD 4-bits (unit) by Dany

Date: 22-07-2008
A possible alternative for the MicroPascal "LCD Library" (4-bits interface). It provides a different type of interface than the one built in into mP. Additionally, the source code is provided and free to modify/enhance. [more]

LCD3wr_mikroC coded by vijaya

Date: 04-06-2008
this is project actuall coded using asm by hobbyst i have reloaded LCD serially interface (3 wired) with hct164 for 16x2 lcd display with c code still can simply & librarized also i than mr Mikro heartly shared to all so i request to upgrade & use all i may commetted some for adc project delting (// ) my enable that also for testing purpose [more]

Alarm ctl with ethernet, gsm modem, onewire by fauconnier

Date: 02-04-2008
Ex of ethernet ENC26J60, GSM modem,One Wire to ctl Alarm Ethernet adapted from the MB ex for ENC26J60, GSM modem Wavecom WM0D2 to receive and send SMS, One Wire with 4 x Ds1820 for temp DS2408 , DS2450 to ctl the alarm sys [more]

PS2 Laser Mouse Interface by Sylvain Liepchitz

Date: 02-04-2008
This is a demonstration program which gives the relative displacement on X and Y of a laser mouse. This demonstration could be useful for everyone which are looking after unexpensive solution of position sensor. [more]

Using Interupts to Display Time by Neil

Date: 27-07-2007
By using Interrupts to create a real time clock, The Analogue time is displayed on the GLCD using EasyPIC4 Development board. May be of assistance to someone struggling with interrupts or with GLCD Functions. [more]

1-Wire Library by Marcio Nassorri

Date: 27-07-2007
This program uses the Ow_romcmd_lib to communicate with single and multidrop devices. The program seeks and finds all devices coupled to the 1-wire line and reports them. Later on, these parts data is filtered and processed to show the results in a RS232 terminal window. The devices can be of 9 or 12 bit resolution and will be recognized by the applied filter. For this example, the families 10h, 22h and 28h can be addressed, for others, the filter will have to be modified. [more]

LCD4 OPTIMUM for mikroBasic, mikroPascal, and mikroC by Warren Schroeder

Date: 17-05-07
LCD4 is a stand-alone program that writes optimized 4-bit Mode Character LCD functions for mikroBasic, mikroPascal, & mikroC. Supports PIC16 and PIC18 MCUs. RS & E lines can be located anywhere. LCD Dataline connections can be the upper or lower half of any Port. Features selectable powerup timings to fit a users LCD model. 4 simple functions and easy to add to your existing code project. [more]

PIC REAL TIME CLOCK by Warren Schroeder

Date: 17-05-07
Using PIC Timers to achieve the same accuracy as dedicated RTC ICs and also be able take advantage of other MCU IO and processing features is a challenge for any programmer. This is a compilation of 4 unique coding methods in mikroBasic to ease the pain of adding precision RTC features to your project. Each example outputs a 24-Hour Time Clock to a 2-Line LCD. All examples are PIC18 and will compile using the free demo version of mikroBasic. [more]

Soft Uart for P12 by Warren Schroeder

Date: 12-03-2007
This is intended to help the average programmer get a fundamental idea of how to develop accurate UART code. The example below is interrupt based as I highly recommend, which frees the programmer somewhat to do other code. It is recommended that a deeper RX buffer be created in code which will take some of the pressure off of the code to retrieve received data. This example shows how to achieve 19200 baud using a 4MHz oscillator. [more]

dsPIC30F6014 and accelerometer card Example by Djordje Saponjic

Date: 09-03-2007
The example shows how the signal from the sensor is sampled and how the information on the accelerations along the X and Y axes are used for controlling the cursor on a GLCD. The example also covers the calibration of the sensor (determination of the offset voltages along the X and Y axes and setting the pin PORTD.0. [more]

UDP Bootloader for P18 MCU with ENC28J60 by Medrea Florin Andrei - YO2LIO -

Date: 02-03-07
This program is only for P18 MCU. Tested with EasyPIC4 Board, MCU PIC18F452, clock 40 MHz ( 10x4 ) and Serial Ethernet Board ( ENC28J60 ). Program use INT pin from ENC28J60. See the source code. You have source code, hex file for PIC18F452, Pic18F252, and exe file for WINDOWS. Default IP is 192.168.1.250. Program have 6.2 Kb in size, is located at the end of MCU memory. [more]

I2C LCD by Jonas Andersson

Date: 20-02-2007
This is two libraries that makes it possible to use a parallel HD44780 compatible LCD over I2C with the help of a MCP23008 port expander from Microchip. One library is for hardware I2C and one is for software I2C. Same functions as mikroC's regular 4-bit LCD library, just renamed to I2C_* and Soft_I2C_*. Hope it can come in handy! [more]

Playstation 2 Controller with Mikrobasic by Isaac Hayes

Date: 06-02-2007
This project uses Mikrobasic and a PIC 16F88 to interface with a Playstation 2 game controller and grab the state of all controller buttons. The program them outputs the state of the "X" and "O" buttons on ports RA0 and RA1. [more]

One Wire NetWork by Marcio Nassorri

Date: 09-01-2007
This program, searchs for devices 1-Wire on the One Wire Bus and returns the code and serial number of the attached devices. [more]

4D µLCD demo + library by Julien Lebot

Date: 09-01-2007
The project is a simple library to handle the 4D µLCD. The demo programme use an external 1MHz clock input to determine the PIC frequency and then display it on the screen. [more]

Midi Controller PIC16F877A by Rich Irace

Date: 09-01-2007
Simple MIDI Controller, use to monitor. MIDI bytes, generate MIDI patch changes, and MIDI Volume messages. Schematics and Source Code included. [more]

GLCD Midi Controller P18F452 by Rich Irace

Date: 09-01-2007
Simple Midi Patch Controller with Midi Input data on 128x64 Graphic LCD Display. Source Code written in MikroC and schematic included. Enjoy! Website http://home.epix.net/~otisrci/pic.html [more]

Accurate Extended Event Timer (48MHz) project by Warren Schroeder

Date: 24-11-2006
There are times when we might need to create an event that is beyond the normal interrupt cycle of the internaltimers. Also, PIC's are getting faster and the real time range of the timers are somewhat shortened as a result. [more]

PRINT_DEC FUNCTION project by Warren Schroeder

Date: 25-09-2006
Now it is possible to easily format a number and send directly via USART and to an LCD. PRINT_DEC() (or Print Decimal) is a very useful and powerful function which converts any unsigned number to an ascii string of parsed decimal digits. [more]

Print filenames on GLCD project by Krunoslav Kanjuh

Date: 25-09-2006
This project reads all filenames from MMC/SD memory card and prints it on Graphic LCD. Tested with BigPIC3 development tool, PIC18F8722 and Graphic LCD 128x64 (KS0108B). [more]

Manchester signals decoding project by zristic

Date: 14-09-2006
Manchester code carries information about bit rate and this is very useful to make transmitter and receiver synchronized. However, two levels per each bit require double the bandwith for transmition. [more]

Manchester signals decoding project by zristic

Date: 14-09-2006
Manchester code carries information about bit rate and this is very useful to make transmitter and receiver synchronized. However, two levels per each bit require double the bandwith for transmition. [more]

LCD Format LongInt by Marcio Nassorri alias "MAN"

Date: 05-09-2006
This program, format a long Integer in the exit of LCD starting from a mask previously maid. Here go the module program and program test. He was tested with 16F877A and 18F8520. [more]

Gear Display Project by Robert Halvarsson

Date: 02-08-06
The ideas with this is too show what gear is in use at the moment. In the El_schema2.PNG is the yellow wire go too 5 magnetic switch and a axle is glue too the gear axle on the gearbox in the car. [more]

18F2550 USB-HID 8- 50Hz PWM SERVO CONTROLLER project by Warren Schroeder

Date: 10-07-2006
This a Windows PC/PIC based graphical controller capable of managing 8 individual 50Hz servo motors with high resolution positioning connected to the USB capable PIC18F2550. Included is a free Windows program written in Visual Basic that has 8 separate servo positioning controls, including linking capability for any or all servos to move in unison. The mikroBASIC USB_HID library and program examples helped make this project possible. [more]

Serial Stepper Controller project by Charlie Moore

Date: 28-06-2006
PIC Code is designed for a 16F877a. Output is PortD. Connect PortD to the EDE1220 as Follows in directions below. This is tested on a easypic3 using RC6 and RC7 for the Tx and Rx.I also tested it with a USB to serial adapter.Select Comport First then Connect. Com port can be 1 - 5. Please Report Bugs or problems via PM at the ME forum. [more]

Tachometer project by Ad Anderson

Date: 23-05-2006
Program measures the rotation period based on a pulse input and calculates RPM NOTE: Interrupt Procedure is NOT used as the CCP2 interrupt flag is set regardless of whether interrupt is enabled. Since the CCP2IF is checked in the Main repeat loop, there is no need for the MP3 Interrupt Procedure. Determines rotation period time based on Timer TMR1. Note: this works for an 18F452 with a 4 Mhz crystal. [more]

Serial LCD project by Anton Rieckert

Date: 23-05-2006
This project can be used with a standard Hitachi HD44780 (or compatible) controller chip to control it through only 2 wires. There is a variety of shapes and sizes available. Line lengths of 8, 16, 20, 24, 32 and 40 characters are all standard, in one, two or four-line versions. The problem was that these LCDs required at least 4 data wires and 2 control wires. With this project you can communicate with the LCD through only 2 wires. [more]

Dual Pwm by jpc

Date: 22-05-2006
This program demosntrates 2 ccp pwm signals 2 khz rate 180 degree out of phase tested on EP3 , 8 mHz , 16F877a , 18F242 , 18F452, 18F4520 and 18F4620. this unit uses Timer1 , CCP1 and CCP2 modules and installs interrupt-services for these . principle : use CCP-module in compare-mode setup timer1 for interrupt every 0.5 ms clear CCP1 output , set CCP2 output setup both CCP-modules to generate interrupt on compare match. [more]

8 DECADE COUNTER by xor

Date: 21-05-2006
This is a demonstration program for the Character LCD that can be adapted for real-world applications such as a KWh Meter, BTU Meter, Liquid Flow Meter, etc. The visual effect of an older mechanical odometer is possible by using the LCD controller's user-RAM area, where the user can place up to 8 custom characters of 8 bytes each. [more]

Ultrabright flashlight project by Ascomm

Date: 20-05-2006
Microcontroller controlled ultrabright white-LED flashlight PIC18F452 @ 8MHz XT osc four operating modes bright light, power saving, pulsating and SOS-signal modes MCLR is used to power off the device (OFF-button). [more]

Bi Directional DC motor Control project by Raghu Nandan Ravi

Date: 19-05-2006
This code is for PWM generation without using mikroC functions. This code was developed using PIC16F684. U can use the required MCU frequency, prescalar, and PWM frequency and dutycycle by just replacing the values in #define at the begining of the program. [more]

Time And Temperature project using Dallas DS1629 by Dab

Date: 18-05-2006
Example using the Dallas DS1629 chip on a 18F8720 PIC. code used is standard mikroBasic so should work on most PICs. On the smaller PIC's you would be advised to select only the routines required.This is a 2-wire (I2c) Digital Thermometer and real Time Clock with 32 byte ROM and programmable external oscillator output and alarm output (for time and hi / low temperature). [more]