Tom's Physics 123/223 Page


April 18, 2014

Class mu3 notes (handwritten): bit operations, CALL, Thu., Apr. 17

April 15, 2014

Class mu2 notes (handwritten): I/O, ass'y language, Tues., Apr. 15

Apr. 14, 2014

HW D4, due Monday, Apr. 21, 5 p.m.

April 10, 2014

Class mu1 notes (handwritten): , Thu., Apr. 10
Class D6 notes (handwritten): PLL,project (reaction timer), Tues., Apr. 8
Class micro1 notes (typed)
Note on the two microcontroller paths ("...A Fork in the Road")

Labs: Big Board
Lab micro1: Big Board (Dallas branch)
Lab micro2: Big Board (Dallas branch)
Lab micro 3: Big Board (Dallas branch)
Labs: SiLabs
Lab C1: startup (SiLabs branch)
Lab C2: byte in, out (SiLabs branch)
Lab C3: timers (SiLabs branch)

Here's a large block of reference materials, re 8051 in its two versions, and the RIDE assembler & simulator

We don't expect you to read through this great blob of stuff. It's here for occasional reference.

8051 References

8051Instruction Set Reference (Phillips) We will give you this in xeroxed form, as well.
8051 tutorial,from Web


Interrupt Vectors File (for both SiLabs and Dallas)

".inc" file listing addresses of interrupt vectors This file, vectors320.inc, is "included" in many of the templates and sample programs that we have posted. It tells the assembler where to place the interrupt response routines. It allows you to write "int0vector" and have the assembler look up what that address is (03h, it turns out).

Data sheets and info for the two versions of the 8051

Data sheet for SiLabs C8051F410 controller
Data sheet for Dallas DS89C420/30 controller, used in 'Big Board' version of labs
Dallas high speed microcontroller User's Guide
Index to selected topics in Dallas User's guide

Raison 8051 assembler and simulator

Here is the excellent free program (free for code size under4K) that I use to assemble and simulate code. kit51_747_.exe: zipped Raisonance assembler, compiler & simulator. (18.5M, expands to 50M)

References for Raisonance RIDE assembler/C-compiler/simulator

And here--long before you'll need it--is a file of vector names--an".INC" file that zealots will want to include in the INC directory oftheir Raisonance/Ride installation! (I realize I may be speaking to no one atall.) Here it is: a table of symbolic names for the80C320's vector addresses (for use with a program that relies oninterrupts). These vector addresses are the same for the DS89C420 and DS89C430, incidentally.

Link to RIDE documentation: detailed user's guide


I expect this is much more than you want; but here it is, anyway, for thezealot who wants the full story about the Raisonance assembler, compiler &simulator.
Part I
Part II

It's a zipped file (about 37M),and includes instructions.
When we ask you to do some coding, Ride will help a lot, though it is notessential (you can use the programmer's reference, in the posted set ofsources, to see the instruction set. You may not need even that: some preferjust steal code from the lab programs!). The file: ShortNote on how to use the RIDE Assembler & Simulator

Sample Programs

SiLabs Programs

Note that your "path" that tells the assembler/compiler where to find files, which is "$INCLUDE (C:\MICRO\8051\RAISON\INC\c8051f410.inc)", for example, in one of our .a51 source files, may differ on a particular computer which has stored it elsewhere. We've tried to place these files in the same paths on the lab machines, but may have failed on a particular machine.
Sampleprograms (some of those used in the SiLabs micro labs)

Dallas Programs

Sampleprograms (some of those used in the 'Big Board' Dallas micro labs)


Apr. 7, 2014

HW D3, due Monday, Apr. 14, 5 p.m.
Verilog template file, hw_adr_decode_MT.v, for HWD3
Verilog template file, two_bit_simplest_ctr.v, for HWD3
Verilog testbench file, three_bit_sync_clear_tb.v, for HWD3, for HWD3
Verilog template file, reaction_timer_april2011_MT.v, for HWD3
Verilog testbench file, reaction_timer_april2011_tb.v, for HWD3

April 4, 2014

Class D5 notes (handwritten): adc, Thu., Apr. 3

April 1, 2014

Class D4 notes (handwritten): memory, Tues., Apr. 1

Mar. 31, 2014

HW D2, due Monday, Apr. 7, 5 p.m.
Verilog template file, stepglue_MT_nov12.v, for HWD2
Verilog testbench file, stepglue_MT_nov12_tb.v
Lab d4: memory
Lab 18/D5: Analog<-> Digital
Lab 18P: digital project lab You will need these notes in order to choose project for this week's HW (and April 8 lab).

A Logic Compiler

Verilog download, free from a PLD manufacturer, Xilinx. The download is very large. You'll find the program here: Xilinx Verilog download (restricted to Xilinx parts); download ISE, NOT VORNADO. Click on ISE WebPACK, register, and download version 14, any sub-revision. You do not need the ModelSim simulator, and when you create a project should choose the ISE simulator, not the Modelsim simulator.
PLDs_and_logic_compilers
Note on Xilinx ISE, more generally: Verilog and ABEL

Mar. 28, 2014

Class D3 notes (handwritten): counters, Thu., Mar. 27
Class D2 notes (handwritten): flip-flops, Tues., Mar. 25

Mar. 24, 2014

HW D1, due Monday, Mar. 31, 5 p.m.
excerpt from AoE 2d ed., re heat sinking, for use in HW D1.
Note on address decoding, for use in HW D1.

Midterm makeup test offer

Lab 14/Digital I: Gates
Lab 15/Digital II: Flip-Flops
Lab 16: Digital 3: counters

Mar. 13, 2014

Class D1 notes (handwritten): logic gates, Thu., Mar. 13

Mar. 9, 2014

Review session notes (handwritten): Sunday, Mar. 9
Analog review notes (typed), Fall '13 Just a list of some topics, and collected jargon.

Mar. 7, 2014

Class 12 notes (handwritten): MOSFETs, Thu., Mar. 6
Note that instead of the usual Sunday help session, on Mar. 9 we'll do an informal review, from 3 till 4 or so. After that, Tom and Jeffrey will be around for one-on-one questions, if you like.

Mar. 5, 2014

Class 11 notes (handwritten): Voltage regulators, Tues., Mar. 4

Feb. 28, 2014

Class 10 notes (handwritten): PID loop, Thu., Feb. 27

Feb. 26, 2014

Class 9 notes (handwritten): op amps IV, nasty oscillators, Tues., Feb. 25

Labs
Lab 13: group audio project
Lab 12: MOSFET's
Lab 11: voltage regulators
Lab 10: op amps 5, PID loop
Lab 9: op amps 4, Nasty Oscillators

Feb. 17, 2014

HW 4, due Monday, Mar. 4, 5 p.m.

Feb. 21, 2014

Class 8 notes (handwritten): op amps III, Thu., Feb. 20

Feb. 18, 2014

Class 7 notes (handwritten): op amps II, Tues., Feb. 18
Millivoltmeter worked example (typed)--an elaborate, fuller solution to today's quiz.

Feb. 17, 2014

HW 3, due Monday, Feb. 24, 5 p.m.
Lab 7: op amps II
Lab 8:op amps III

Feb. 14, 2014

Class 6 notes (handwritten): op amps I, Thurs., Feb. 13
Class 5 notes (handwritten): transistors 2, Tues., Feb. 11

Feb. 10, 2014

HW 2, due Monday, Feb. 17, 5 p.m.
Lab 5: transistors II
Lab 6:op amps I

Feb. 7, 2014

Class 4 notes (handwritten): transistors 1, Thu., Feb. 6

Feb. 5, 2014

Class 3 notes (handwritten): diode Circuits, Tues., Feb. 4

Feb. 1, 2014

HW 1, due Monday, Feb. 10, 5 p.m.
Lab 3: diode circuits
Lab 4: transistors I

January 31, 2014

Class 2 notes (handwritten): RC Circuits

January 29, 2014

Class 1 notes (handwritten): DC Circuits
Class 2 notes (typed): RC Circuits

Spring INFORMATION: January 9, 2014

Course Information: intro and schedule Spring 2014
We will hold a normal class and lab on the very first day, Tues., January 28: Please read class and lab notes for Day 1 before you come in.
The course meets in Science Center 206 (I just discovered how difficult it is to glean this information from the Dept's and Registrar's sites!).
You should have read through Lab 1, and the posted notes for Class 1.
1st-day Signup Form
Class 1 notes (typed): DC Circuits
Lab 1: DC Circuits
Lab 2: RC Circuits



Hints and Tips, illustrated An excellent introduction to lab setups, by Summer School and SEAS instructor David Abrams

Link to Text problem solutions, and old exams (some with solutions)


Click here to hop to old Finals, and Text-problem solutions


Files are in Acrobat (PDF) Format, Download Acrobat Reader

Most recent entries at top of page