Adc Display

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

Download Now [271.86KB]

SMS type keypad and usart data receiver

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.

Download Now [62.89KB]

Serial Communication

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.

Download Now [45.27KB]

LCDLED

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.

Download Now [78.35KB]

Joystick Conversion

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.

Download Now [381.69KB]

RS485 complete library for PIC18 family

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

Download Now [113.78KB]

5 Axis 32 Button Joystick Controller

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.

Download Now [123.48KB]

Simple Game Die - With Sound

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.

Download Now [24.65KB]

Temperature RF Link

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

Download Now [40.27KB]

8 Serial servo-controller

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

Download Now [238.50KB]

Lcd 8-bit

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.

Download Now [32.25KB]

jBoxAlert

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.

Download Now [80.88KB]

Serial Communication using USART

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.

Download Now [97.73KB]

Home Automation System Using User Interface

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)

Download Now [84.79KB]

Alarm ctl with ethernet, gsm modem, onewire

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

Download Now [403.16KB]

PS2 Laser Mouse Interface

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.

Download Now [69.13KB]

1-Wire Library

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.

Download Now [348.91KB]

LCD4 OPTIMUM for mikroBasic, mikroPascal, and mikroC

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.

Download Now [30.54KB]

PIC REAL TIME CLOCK

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.

Download Now [120.43KB]

Soft Uart for P12

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.

Download Now [3.26KB]

Playstation 2 Controller with Mikrobasic

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.

Download Now [210.80KB]

One Wire NetWork

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.

Download Now [8.05KB]

Accurate Extended Event Timer (48MHz) project

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.

Download Now [31.27KB]

PRINT_DEC FUNCTION project

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.

Download Now [5.35KB]

Manchester signals decoding project

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.

Download Now [74.29KB]

LCD Format LongInt

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.

Download Now [74.38KB]

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

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.

Download Now [91.30KB]

Serial Stepper Controller project

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.

Download Now [1.08MB]

Serial LCD project

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.

Download Now [99.22KB]

Dual Pwm

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.

Download Now [17.95KB]

8 DECADE COUNTER

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.

Download Now [211.80KB]

Bi Directional DC motor Control project

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.

Download Now [13.28KB]

Time And Temperature project using Dallas DS1629

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).

Download Now [35.85KB]