|

ME 462 - Fall 2006
Microcomputer Interfacing

Course Information
Meeting Time: MWF 02:30-03:20
215 HAMMOND
Syllabus
(PDF)
Grades
(PDF)

Course Objectives
After completing ME 462, all students should be able
to:
1) analyze and design
analog DC and AC circuits using resistors, capacitors, inductors, diodes,
transistors and op-amps
2) analyze and design digital TTL circuits
3) build and trouble-shoot analog and digital circuits connected to single
chip microcontrollers using prototype wiring and printed circuit board layout
4) interface common transducers and actuators to microcontrollers
5) filter, digitize and analyze electronic signals using analog
anti-aliasing filters, A/D converters, FFT and digital filters
6) understand and connect computer peripherals using standard interfaces (RS-232,
IEEE 488, USB)
7) communicate well using verbal, written and electronic methods

Lectures
Lecture #1 Lecture
#2 Lecture
#3 Lecture
#4 Lecture
#5
Lecture #6 Lecture
#7 Lecture
#8 Lecture
#9 Lecture
#10
Lecture #11 Lecture
#12 Lecture
#13 Lecture
#14 Lecture
#15
Lecture #16 Lecture
#17 Lecture
#18 Lecture
#19 Lecture
#20
Lecture #21 Lecture
#22 Lecture
#23 Lecture
#24 Lecture
#25
Lecture #26 Lecture
#27 Lecture
#28 Lecture
#29 Lecture
#30
Lecture #31 Lecture
#32 Lecture
#33 Lecture
#34 Lecture
#35

Homework
Homework 0
Homework 1
Homework 1 Solution
Homework 2
Homework 2 Solution
Homework 3
Homework 3 Solution
Homework 4
myst.m
Homework 4 Solution

Practice Problems
Practice 1
Practice 2
Practice 3
Practice 4

Quizzes
Quiz #1 Solution
Quiz
#2 Solution
Quiz
#3 Solution
Quiz
#4 Solution

Labs
General lab report requirements
Tips for successful computer interfacing (courtesy of
JSL)
MBASIC Programming Example
Lab 1
MATLAB
code to sample 2 channels on PMD1208FS/USB1208FS
PMD1208FS/USB1208FS - users guide - specs - notes
Lab 2
Lab 3
Lab 4
Gains for
Fig. 4.6 & 4.7, p. 179 H&H
Lab 5
Stepper
motor notes (courtesy of JSL)
Stepper motor tutorial
(University of Iowa)
Lab 6

Software
Mathworks
Matlab tutorial (UM and CMU)
Harmonics
of a square wave - HAR_SQW.M
Aliasing due
to undersampling - ALIAS.M
512 point Hanning
window - hann512.m
Electronics Workbench
Multisim
Demo User's Manual
CircuitMaker 2000 (Free Student
Version)

VCVS Filters
Second-order
VCVS LP analysis - VCVS_2LP.DOC
Second-
and fourth-order filters - VCVS_24.M
Filter
types - VCVS_TYP.M
Effects
of component tolerance - VCVS_TOL.M

CAD Symbols and Resistor Codes
Electronics
symbols - ELEC_SYM.DOC
4 bit
J-K F/F counter - 4B_CNTR.DOC
Resistor
codes (courtesy of JSL)

BASIC ATOM

BASIC Stamp II
Parallax (BASIC Stamp)
BS2
layout - BS2CSCHE.GIF
BS2
schematic - BS2_FIG2.GIF

Other Microcontrollers
Microchip Technology (PIC CPU and EEPROM)
Bytecraft (C compiler for
Scenix SX)
microEngineering Labs (PicBasic Pro compiler)
AVR Sprint (single chip
microcontroller with A/D and floating point)

Chips and Boards
PDF reader
Analog
Devices AD595 thermocouple amplifier (PDF)
National
Semiconductor ADC0831 serial 8 bit A/D (PDF)
International
Rectifier PVD13N solid-state relay (PDF)
Allegro
Microsystems UDN2916 dual H-bridge (PDF)
Simple
schematic to use UDN2916B - UDN2916B.DOC
Intersil
CDP68HC68W1 serial load PWM (PDF)
Dallas
Semiconductor DS1620 digital temperature
Questlink Technology (semiconductor crosslist
and manufacturers)
Chip Directory (selected
pinouts)
Allegro Microsystems (stepper and
H-bridge drivers)
Analog Devices (op-amp, A/D, accelerometers)
Texas Instruments
(op-amp, nonlinear analog and A/D)
Crossbow
Technology (accelerometers, tilt)
Dallas Semiconductor - merged with Maxim
(temperature)
C&D Technologies Power Electronics
Division (DC to DC, DPM, A/D)
Epson
Europe (real time clock)
Fairchild Semiconductor (analog switch)
Information
Storage Devices - Winbond (voice record/playback)
International
Rectifier (opto-isolators)
Intersil (serial PWM)
Linear Technology (LTC1298 A/D)
Lumex
(7 segment LED)
Maxim - merged with Dallas (hybrid and power
monitors)
Microchip Technology (PIC CPU and EEPROM)
Motorola (MC68HC11, pressure/inertial/smoke
sensors)
National Semiconductor (analog, A/D)
Opto22 (optically isolated I/O)
Ramtron (nonvolatile FRAM)
Texas
Instruments (DSP, A/D)
B&B Electronics (serial/parallel A/D)
Measurement Computing - formerly
ComputerBoards (A/D boards)
Allied Electronics (electronics vendor)
Arrow
Electronics (electronics vendor)
Digikey (electronics vendor)
Future Electronics (electronics vendor)
Herbach & Rademan (misc. vendor)
Jameco
Electronics (electronics vendor)
JDR
Microdevices (electronics vendor)
Newark
Electronics (electronics vendor)

Circuit Fabrication
Tips for making
printed circuit boards (courtesy of ExpressPCB)
How to solder (this is
much harder than you think!)
ExpressPCB (shareware PCB layout package
and PCB fabricator)
Advanced
Circuits (PCB fabricator from Gerber files)
Pulsar (PCB fabricator)
AP Circuits (PCB fabricator)
PacTec (circuit boxes and enclosures)
ExpressPCB file to fit PacTec HML and HML-9VB
HM.PDF

Application Notes
Dual
H-bridge Allegro UDN2916B - UDN2916B.DOC
556 200
mA motor driver - 556MOTOR.DOC
Reflective
phototransistor Omron EE-SMR1 - EE_SMR1.DOC

Motion Control
BS2
motor control (Johns Hopkins University)
Analectro (sensor vendor)
Arrick Robotics (modular
components and source list)
Herbach & Rademan (misc. vendor)
J.R. Kerr (PIC-Servo motor controller)
Vantec (dual axis motor controller)
Velmex
Unislide (screw driven slides)
W.M. Berg (mechanical components)
McMaster-Carr (mechanical components)
Nordex (mechanical components)
PIC Design (mechanical components)
Small Parts Inc. (mechanical components)
Stock Drive Products / Sterling Instruments
(mechanical components)
80/20
Inc. (mechanical components)
Plastruct (plastic components)

FAQ
What's a servo?
Hacking RC servos
RC servos
Sharp
IR distance sensors
RS-422/485
serial FAQ (PDF)
RC servos
IR remote
IR
Remote Controls - How They Work
IR Receiver for
Sony Remotes
USB
Thermistors (RTI
Electronics)
Thermistors
(Advanced Thermal Products)
Thermistors (Thermometrics)
NTC
thermistors tutorial

Other Links
ME 462 - H. J. Sommer
ME 462 - J.S.
Lamancusa
ME 597D Advanced
Mechatronics – S. Brennan
Mechatronics at San
Jose State - B.J. Furman
How Stuff Works -
Electronics
Circuit Cellar Magazine
Nuts
and Volts Magazine
Sensors Magazine
NASA cool
robot of the week
Urban Tactical
Mobile Robot
Kronos Robotics
IRobot
Foster-Miller Robotics

E-Mail - Please report missing or incorrect links
cdrahn@psu.edu
, C. D. Rahn
vvg102@psu.edu
, Vishisht
Gupta, TA

|