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:
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]
