My
world of electronics
For the years that I spent studying
electronics, application of microcontroller interest me
most. Here I present my applications of electronics.
Expect that all of them are related to microcontroller.
I've personally tested them so there's no room for doubt
here :-] Previous
Call Monitoring
- is my college
design project. Its a microcontroller based project keeps
track of outgoing calls.
PICProg - I used this to program the
microcontrollers in my design project. It can only
program PIC16F84 and PIC16C84 18-pin microcontrollers. It
is simple to construct, I used PC201 PCB to assemble this
loader. This is perfect for newbies PIC programmers.
You'll need a software for this programmer to load your
hex file, read and write codes to PIC chips. The software
is available here by Conquest Systems.
ProPic 2
Parallel-port universal programmer - another printer port PIC programmer. Its an
improved version of the one above. Unlike PICProg, it can
program almost all PICs and 24CXX EEPROM chips as well. I
just added few components to my old PICProg to upgrade to
this one. For screen shots, click here. You can download the software for this loader here by ProPic 2.
MPLAB Integrated Development
Environment - a software that allows you to
write, debug, and optimize PIC microcontroller
applications for firmware product designs. MPLAB includes
a text editor, simulator, and project manager. The
organization of MPLAB tools by function helps make pull-down
menus and customizable quick keys easy to find and use.
MPLAB tools allow you to:
- Assemble, compile and link source code
- Debug the executable logic by watching program flow
with the simulator.
- Make timing measurements
- View variables in Watch windows
Handy
Source Code for PIC Microcontroller:
LCD 8-bit
Interface - using
MC140494 8-Stage Shift/Store Register.
These application is very useful if the i/o pins of the
microcontroller are limited. It takes only four i/o pins
of the microcontroller. Schematic diagram is available here.
Keypad
controller - for bi-directional key matrix.
Schematic diagram is available here.
Control
seven-segment display -
with MC140494 8-Stage Shift/Store Register.
These program controls 11 cascaded seven segments.
Schematic diagram is available here. The buffers supports the weak
current source of the microcontroller.
Interfacing
two-wire serial EEPROM to the PIC microcontroller - applicable for 24LC64 8K x 8-bit EEPROM.
16-bit
addition - the project files are
available here (ZIP) for MPLAB simulation.
16-Bit
subtraction - the project files are
available here (ZIP) for MPLAB simulation.
Delay
routine - one millisecond delay
configured for 10 MHz crystal. The project files are
available here (ZIP) for MPLAB simulation.
Sample
program of using data EEPROM memory of PIC
microcontroller
- the project files
are available here (ZIP) for MPLAB simulation.
Sample
program of using timer0 interupt - the project files are available here (ZIP) for MPLAB simulation.
Sample
program of using RB0 interupt - the project files are available here (ZIP) for MPLAB simulation.
Timer - some part of the routine can be use for real
time clock.
|