DORDT COLLEGE ENGINEERING DEPARTMENT
EMBEDDED MICROCOMPUTER SYSTEMS--EGR 304
(Spring 2015)

PROBLEM SETS

(Last update: 5/03/2015 5:39 pm)
PS
#  
Assigned Due Returned Assignment
9

4/28 --- nothing
to
return
  Topic: Position sensing. Relative and absolute
  Read the lecture notes.
  There is nothing to turn in, but this topic
  is fair for the exam.
8

4/21 4/28 5/02   Read Freescale's tutorial on motors.
  Click on the "launch" tab (if present), then
  "Motor Principles" and then use the navigation
  buttons provided on the bottom of each page.)
  A few caveats about the above tutorial. . .
  In the illustration of the "Switched Reluctance"
  motor, the rotor will assume an induced
  magnetic field to oppose the applied magnetic
  field. This is not illustrated, probably
  because it might imply that the rotor is
  permanently magnetized, which it is not. It is
  just iron (or a steel alloy).
  In the illustration of the "AC Induction Motor"
  the coloration of the induced magnetic field
  in the rotor is backwards. According to Lens'
  Law, the induced field will oppose the applied
  magnetic field from the stator. Thus the red
  (north) pole of the stator will face a green
  (south) pole on the rotor, just as in any other
  motor.
 
  Also read this motor tutorial and
  also read Jones on Stepping Motors and
  optionally this control tutorial from
  "Process Automation Control." Much of what is
  described in the control tutorial is done via
  microcontrollers and relays, etc.
 
  Do these problems on motors
  Helpful link: Lin model 211-13-01 and note
  the "Torque Curves" tab.
7

3/26 4/02 4/07   Read Chapter 7 on "AVR Memories" in this
  datasheet. Note that the Arduino uses the
  "328P" microcontroller.
  Note, the above link only works on computers that have
  a connection to the Dordt College network and have
  the F: drive mounted. It also does not work in some
  browsers. If it does not work for you then download
  it directly from Atmel but this will be slower.
 
  Note errata in Ch. 7 on page 21. Register EEARH
  should show bit numbers labeled from 7 donwn
  to 0, not from 15 down to 8. Once that change
  is made, then bit 1 should be labeled as as
  "EEAR9" (not "–"). This is a read/write
  bit, "R/W" (not "R") which returns the stored
  data, "X" or "–", (not "0"). A corrected
  illustration is shown here.
  Do these problems on uC memory systems
6

3/03 3/26 4/02   Topic: Interrupts
  Read this overview on interrupts
  and this on Arduino interrupt programming
 
  Do these problems on interrupts
  Errata: On problem 3.17 part (d) note that the
  only way for Tpi to be an average and a maximum
  at the same time is that the ISR takes exactly
  Tpi to execute every time it runs. This was the
  author's intent. (As opposed to allowing
  actual execution times to sometimes exceed Tpi.)
5

2/05 3/03 3/17   Read this handout on transmission lines.
  (This copy might print better on your printer.)
 
  Scan over these application notes from Texas
  Instruments on transmission lines. Read
  The section in AN-807 on the "tabular method."
  AN-806, and AN-807, and AN-808.
 
  Do 2.1 and 2.6 in the handout linked above.
 
  Optional: A transmission line theory tutorial
  Optional: TI has purchased National Semi
  The application notes linked above were
  origianlly developed by National Semiconductor.
  There is more on National Semi in Wikipedia.
  Optional: Animation of VSWR on a T-line
  If the above java app will not run, look here.
 
  On Tuesday, 2/10, Due to the "Big Tour" class on
  Thursday, 2/12, was canceled. Also, the due date
  for this assignment was changed from 2/17 to 2/24.
  On 2/19 The due date was again extended until 3/03
  to give the class more time to work on EGR 323
  and to provide more lecture time on T-lines.
4

1/29 2/05 2/10   Read this Ethernet Tutorial.
  Also browse the USB Standard version 2.0 on
  Reserve in the library (Ask a librarian for
  it by name, "Universal Serial Bus Revision
  2.0 Specification." Also available from USB.org.
  If you download it from USB.org be sure to
  read the 2.0 version. (The 2.0 version
  superceeds the 1.0 version which is now
  withdrawn. However the 3.0 version is an
  addendum to the 2.0 version. It cannot stand
  on its own.)
 
  Take this twenty-question quiz on Ethernet.
  E-mail your quiz grade to Prof. De Boer.
  You are encouraged to repeat the quiz until
  you get a perfect grade. Turn in only your
  best grade. Also. . .
  do these short essays on USB.
 
  Optional: Browse Chapters 10-12 in Simon Monk's
  Programming Arduino Next Steps: Going
  Further with Sketches
on 2 hour reserve
  at the Hulst Library.
  Optional: Books in Dordt's Library
  Optional: Wikipedia article Ethernet
  Optional Reading: USB article in Wikipedia
3

1/22 1/29 2/03   Read RS-232 in Wikipedia
 
  Do this problem:
  Plot voltage vs. time of the Tx line in RS-232
  for sending this text: "Z#" (without the
  quotation marks, with a capital "Z"). Assume
  ±12 V signal voltages, 53 kbaud, eight data
  bits, and one stop bit. Be sure to label your
  axes properly. An ASCII table can be found in
  many places, e.g. http://www.asciitable.com
  Note that the illustration in the Wikipedia
  reading does not have properly labeled axes.
  Specifically the the independent axis lacks
  scale and units.
 
  Optional: Listen to a Teletype machine.
  And see a Teletype machine connected to a
  Digital Equipment Corporation (DEC, a brand)
  model PDP-8/e computer. This computer could be
  booted "manually" via a bank of switches that
  allows the direct entry of machine code word-by
  word, executing each instruction as fast as the
  operator can enter the code. Wow, that's fast!
 
  Optional: Read about teleprinters.
 
  Optional: The entire RS-232 standard is
  available from Dordt's library. Interface
  Between Data Terminal Equipment And Data
  Circuit-Terminating Equipment Employing Serial
  Binary Data Interchange
TK7887.5 .I57 1997
2

1/15 1/22 1/27   Topics: Parallel interfacing, I/O Drivers
  Read about multiplexing LED's and also
  multiplexing a keypad. Also read about
  Debouncing a switch or keyboard (don't miss p2)
 
  Draw a schematic showing how to connect a two-
  digit common cathode 7-segment LED display
  and a 4x4 keypad to an Arduino Uno. There are
  many valid correct methods. You may be able
  to share rows or columns between the 7-seg.
  display and the keypad. You may ignore the
  matter of key bounce. You may search the
  Web for additional help on this assignment.
 
  Optional: "epic" guide to keyboard internals.
1

1/13 1/15 1/20   Read "Embedded system" from Wikipeadia
  Browse "Getting Started with Arduino"
  Browse this datasheet.
  Do the introductory problems
  Note the chip number of the uC on the Arduino
  Uno is "ATMEGA328P-PV."
 
  Turn this problem set in electronically via e-mail
  Save as doc or docx format.
  Subject: EGR 304 PS#1

Note 1) Homework solutions are usually available one or two class periods after the due date. Click the "returned date" on this page to access the solutions. If the "Returned" date is not a link (is black, not gold) then the solution is not yet posted. Check back later. If you click the link and get a login screen instead of the solutions, log in using your usual courses@dordt username and password. Then use the back icon (or alt-left-arrow on the keyboard) twice to get back to the link on this page and click the link again. The link only works when you are logged in to courses@dordt.

Note 2) Problems sets shown above with no "assigned" date are tentative. More problems might be added, expected due dates might change, but problems shown will eventually be assigned.

Note 3) If you are having difficulty reading the latest version of this page it may have to do with your browser's cached memory. Read this note on cached pages to solve the problem.