 |
The elab40
as a Real Time Clock Keeper |
This
project has the PIC16F877 MCU interfacing with
the Dallas DS1302, a time keeping chip. The
DS1302 chip stores the current date and time in
registers of seconds, minutes, hours, days,
months and years. The interface allows the 16F877
to read the time keeping registers, as well as
writing to any of them for changing the time. The
files available to download include a test
program and a document on interfacing the elab40 with the DS1302 chip.
Click
here to
download files.
 |
Using
the Infrared / Light Detectors on the eRacer |
This
project contains documents and test programs for
the eRacer. In particular, it
has information on using the infrared LED and LDR
on the eRacer.
Click
here to
download files.
 |
Delay's
Workshop |
This
project will describe and illustrate the reasons
for the insertion of delays in the instruction
list for the PIC628. It explains why they are
used and how to design delay subroutines that can
be tailored for very specific amounts of time. It
includes program examples and documentation with
exercises.
Click
here to
download files.
 |
I2C-24LC256
EEPROM Interface |
This
package provides subroutines that enable a
microcontroller to read and write to EEPROM
devices using the I2C bus. It includes test
programs and documentation.
Click
here to
download files.
 |
Interrupt
Clock |
This
project provides a a real-time clock using an
interrupt to count every 1/100 of a second. The
included program demonstrates a working timer
using a PIC microcontroller as well as
demonstrating how to use interrupts, such that
the program may be modified for other purposes.
Subroutines and documetation are also included.
Click
here to
download files.
 |
Pulse
Width Modulation (PWM) |
This
package explains what PWM is and how it is
generated on the PIC16F628 chip. It includes a
PWM subroutine that is used to setup the hardware
PWM output on the microchip. The documentation
will describe how to change the frequency and
duty cycle of the PWM using formulae provided in
this document.
Click
here to
download files.
 |
RS232
Communication |
This
package provides subroutines for communication
with a host computer via the RS232 protocol. It
is designed for a 4MHz clock at a baud rate of
9600bps. Documentation and sample programs are
included.
Click
here to
download files.
 |
Water
Level Sensor |
This
project involves modifying the hardware of the
standard elab628 board and
programming it to operate as a water level
sensor. A pair of metal rods placed in a water
tank is used as the sensor device and the elab628
outputs the water height to the eight LED's
onboard. Documentation and programs are provided.
Click
here to
download files.
 |
Course
Notes: Introduction to the elab628 for
first time programmers |
These
notes introduces the concepts of programming
microcontrollers and working with digital units
(instead of analog). It also outlines some
features of the elab628 board
and the possible input and output circuit
connections to the 16F628 chip.
Click
here to
download file.
|