This is collection of documents from a variety of sources for use by the
students in EE 459Lx. Some of the
documents may not be relevant to the current semester's project but are left
here for reference purposes.
Some of the following documents are in PDF format. You will need a PDF
reader like
Acrobat Reader
to view and print the documents.
Questions, corrections and comments about the content of this page should be
sent to Allan Weber
(
).
Course Topics
- EE 459Lx Lab Notes - A collection
of topics related to constructing the class project (soldering, wire-wrapping,
debugging, etc.)
- Sample Schematic - This is a
sample of a neatly drawn schematic of something unrelated to the class
projects. This is similar to the types of schematics that should be produced
for your project.
Microcontrollers
- Freescale MC908JL16
- MC908JL16 Notes - Notes on the Freescale MC908JL16 microcontroller hardware and software issues
- To go to Freescale's web page for the MC908JL16 microcontroller, click here
- MC908JL16 Datasheet - Freescale's full datasheet on the MC908JL16 (also known as MC68HC908JL16) microcontroller (1.6MB)
- CPU08 Programming Reference Manual - Programming manual for the MC68HC08 microcontroller family (2.7mb)
- TIM08 Reference Manual - Manual for the internal timers in the MC68HC08 microcontroller family (1 mb)
- Baud rate calculator for the JL16 microcontroller
- ICS08JLKL Jumper Settings - Diagram of the proper jumper settings on the MC68ISC08JLJK development boards.
- The following documents relate to the CodeWarrior software
- Sample MC908JL16 C and assembly language programs. Programs are for the
CodeWarrior development system. Some of these are extremely simple, with the
idea that if you can't get these to run on your project board, there is no
sense trying anything more complicated. Each program requires a linker
parameter (.prm) file. Use CWJL16.prm for
all of them except number 3 which uses
CWJL16-3.prm
- CWJL.c - CodeWarrior C
template program. Empty program to add code to.
- CWJL-0.c - Toggles an
I/O port bit on and off rapidly. Output can be confirmed with an
oscilloscope.
- CWJL-1.c - Controls an
LED with a switch.
- CWJL-2a.c and
CWJL-2b.c - Displays a
sequence of hexadecimal numbers on a seven-segment display using loops for
delays. CWJL-2a.c and CWJL-2b.c differ in that 2b shows how to get variables
allocated into the zero page of RAM.
- CWJL-3.c - Displays a
sequence of hexadecimal numbers on a seven-segment display using an internal
timer and interrupts for delays.
- CWJL-4.c and
CWJL-5.c - Prints a short
message on a parallel interface two line LCD display in 8-bit and 4-bit modes.
- CWJL-6.c - Controls a
serial interface LCD display over an RS-232 link.
- CWJL-7.c - Transfers
data to and from a serial EEPROM over an I2C link.
- CWJL-8.c - Stores and
retrieves data in the JL16 FLASH memory.
- FREJL16.asm - Assembly language
template program. Empty program to add code to.
- FREJL16-0.asm - Toggles an I/O port
bit on and off rapidly.
- FREJL16-1.asm - Controls an LED with
a switch.
- FREJL16-2.asm - Displays a sequence
of hexadecimal numbers on a seven-segent display using loops for delay.
- FREJL16-3.asm - Displays a sequence
of hexadecimal numbers on a seven-segent display using internal timer.
- FREJL16-4.asm and
FREJL16-5.asm - Prints a short message
on a parallel interface two line LCD display in 8-bit and 4-bit modes.
- Freescale MC908QT4
- MC908QT4 Datasheet - Freescale's full datasheet on the MC908QT4 (also known as MC68HC908QT4) microcontroller (1.2MB)
- Sample MC908QT4 programs. Programs are for CodeWarrior (C or
assembler.) Similar to the samples above for the JL16 but for the QT4
that comes in an 8-pin package. Each program requires a linker parameter (.prm) file
CWQT4.prm.
- FREQT4-0.asm - Toggles an I/O port
bit on and off rapidly.
- FREQT4-1.asm - Toggles an I/O port
bit on and off at a 1Hz. rate.
- FREQT4-2.asm - Toggles an I/O port
bit on and off at a rate determined by a switch. Used to control the clock
on the PLD demo board.
- Atmel ATmega168A
- ATmega168A Notes - Notes on the Atmel ATmega168A microcontroller
- To go to Atmels's web page for the ATmega168A microcontroller, click here
- ATmega168A Datasheet - Atmels's full datasheet on the ATmega168A microcontroller (22MB)
- AVR-gcc - Notes on using the AVR-gcc toolset
to program the Atmel microcontrollers.
- Sample Atmel ATmega168A C programs. Programs are for the avr-gcc toolset and
will compile on Linux or Mac OSX. The programs do the same things as the ones
above for the Freescale JL16 processor.
For all of these this Makefile can be used but the OBJECTS parameter
needs to be changed to reflect the name of the object file being created.
- AT168-1.c - Controls
an LED with a switch.
- AT168-2.c - Displays
a sequence of hexadecimal numbers on a seven-segment display using a library
function for delays.
- AT168-3.c - Displays
a sequence of hexadecimal numbers on a seven-segment display using an
internal timer and interrupts for delays.
- AT168-4.c - Prints a
short message on a parallel interface two line LCD display in 8-bit mode.
- AT168-5.c - Prints a
short message on a parallel interface two line LCD display in 4-bit mode and
shows how to store strings in ROM.
- AT168-6.c - Controls
a serial interface LCD display over an RS-232 link.
- AT168-7.c -
Transfers data to and from a serial EEPROM over an I2C link.
- Other microcontroller documents
- IIC Notes - Using the IIC interface on the MC908JL16
and ATmega168A microcontrollers
PLDs
- PALCE22V10 Notes - Using the PALCE22V10 for programmable logic.
- CUPL Manual - This is a rough
translation into PDF format of the online documentation on the CUPL language
that comes with the Atmel WinCUPL program. Many figures didn't survive the
translation too well or are missing entirely. These will be fixed someday,
maybe.
- Sample PAL programs: These are CUPL programs that show some of the concepts
in using PAL. Most are designed to test PALs on a demo board in the lab.
- PALSamp1.pld - A sample CUPL file for
implementing a 3-bit counter and a 3-input AND gate in a PALCE22V10.
- PALSamp1.si - Simulator input file for testing the PAL defined in PALSamp1.pld.
- PALSamp2.pld - CUPL file for
demonstrating and testing 22V10 PALs on the lab demo board. Implements
a 3-bit up-down binary counter with binary outputs and seven-segment display
outputs.
- PALSamp2.si - Simulator input file for
testing the PAL defined in PALSamp2.pld.
- PALSamp3.pld - CUPL file for
demonstrating and testing 16V8 PALs on the lab demo board. Implements
a modulo 5 up-down counter with binary outputs and decoded 1-of-5 outputs.
- PALSamp4.pld - CUPL file for
demonstrating and testing 22V10 PALs on the lab demo board. Implements
a 3-bit up-down Gray code counter with binary outputs and the seven-segment
display outputs the message "EE 459L".
- PLD Programmer - Notes on how to use the
GALEP-4 PLD programmer in the lab.
Video
Images
LCD Panels
GPS
- GPS Interface - Wiring diagram
for interfacing to the Garmin GPS modules.
Stepper Motors
Test Equipment
Datasheets
The datasheets listed below have been obtained from various places on the
Internet. They are all copyrighted by someone but we're not going to worry
about that. Datasheets for the newer parts were mostly obtained from the
manufacturers or from Jameco and Digi-Key where we order most of our
parts. Others were snagged from web sites wherever we could find them.
For older 74LS TTL parts, most came from vendors like T.I., Motorola and
Fairchild that used to sell these things. If you are looking for TTL
datasheets, try the links below.
Fairchild
Semiconductor - They used to have a good collection of very presentable
datasheets but it looks like most of the 74LS ones have been removed. Most are
not scanned images so if you can find these, it will be easier to read and
print out.
On Semiconductor - I think they are mainly a distributer of ICs, not a
manufacturer. They may have absorbed Motorola's TTL product line, or at least
their tech library. Either way, they have a large collection of datasheets
online and they are good quality.
Texas
Instruments - TI has a large collection of datasheets online, both for
current chips and for many obsolete ones. Many of their files are scans of
pages from their printed databooks and the images come out looking pretty bad.
If you can't find a non-scanned copy somewhere else, get it from here. However
they do have a PDF of a pocket version of their
logic data
book.
None of these sites are particulary easy to use if you don't know what part
you are looking for. If looking for 74 series TTL chips, do a search for
"74LSxxxN" where xxx the rest of the part number. The "74LS" will find it in
one of the more common logic family, and the "N" says to find a standard
plastic package.
Video ICs
A/D and D/A converters
Analog and Interface ICs
Optoelectronics
Discrete components
- LM3940 3.3V low dropout voltage regulator, 1A, TO-220
- LE33CZ 3.3V low dropout voltage regulator, 100mA, TO-92
- TPS7150 5V low dropout voltage regulator
- LM7805 5V voltage regulator, 1A, TO-220
- 1N4148 diode (similar to 1N914)
- 1N4732 4.7V Zener diode
- 2N2222 NPN transistor
- 2N3904 NPN transistor
- 2N3906 PNP transistor
- 2N6071 triac, TO-225, 200V, 4A
- L201E5 triac, TO-92, 200V, 1A
- L2004L3 triac, TO-220, 200V, 4A
Miscellaneous pin-out diagrams
Relays
Stepper motors and associated components
Real-Time Clocks
Miscellaneous Digital ICs
Sensors
Wireless Modules
Memory
Keyboards and Buttons
PALs
TTL 74LS digital ICs
Older TTL ICs. These parts are not normally used in current
EE459Lx projects. Some are non-74LS parts that are logically compatible with
74LSxx parts, but may have problems electrically due to different fan-in and
fan-out. Other parts have have power and ground at non-standard positions or
are listed as obsolete by the manufacturers and are no longer being produced.
However they are still present in the our stock of parts so if you want to use
them you can.
Where to Find Stuff
If you are interested in purchasing electronic components for building
projects, here are some links to places we buy parts form.
- Jameco Electronics - We used to buy most
of our stuff from Jameco before they "improved" their web site. It's now more
difficult to find stuff on the web site so you may be better off requesting a
printed catalog. It's usually easier to find parts in the printed catalog than
online. It will also get you on their mailing list for future catalogs.
- Digi-Key - This is our other primary
supplier. They send out a printed catalog of over 1000 pages. However
the size of the catalog sometimes make it hard to find things.
- SparkFun Electronics - This company
sells a lot of interesting items for the hobbiest/experimenter. Their
inventory changes a lot so you might not be able to buy the same things six
months from now.
- Modern Device - They seem to have a
interesting variety of components including many sensors and related components.
- All Electronics - This is
basically a surplus store with both new and used components.
Their prices on some stuff is very good, provided you can find what you need.
You can also visit their store at 14928 Oxnard St., Van Nuys.
- B.G. Micro - They sell a wide variety of
interesting stuff. Download their PDF format catalog.
- Apex Electronics, This is a large
electronics surplus store in an industrial area of the San Fernando Valley
(8909 San Fernando Road, Sun Valley). If they have something you need, you can
probably get it at a good price. It's sometimes hard to find things, but it's
worth at least one trip there just to see the place, and its storage area
outside in the back.