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

PROBLEM SETS

(Last update: 4/30/2016 1:32 pm)
PS
#  
Assigned Due Returned Assignment
10

4/26 4/28 4/30   Topics: Stepper motors, position sensing
  Read: Class notes on position sensing
  including relative vs. absolute position,
  issues with vibration, quadrature sensing,
  V-scan and U-scan techniques.
 
  Write up a design for a rotary relative
  posistion encoder than has one degree (or
  or better) of resolution, and can keep track
  of the diretion of rotation. Specify the
  number of teeth and the location of sensors.
  Make an illustrative drawing showing any
  important details. (You may abbreviate
  repetitious elements of the situation.)
 
  Optional related links:
  Details on a particular relative encoder
  Wikipedia article: "Rotary encoder"
  Detail of a 13-bit grey code absolute encoder.
  Wikipedia on Single-track grey code
9

4/19 4/28 4/30   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.
  NOTE: ERRATA in Problem #1. Change
  ". . .locked rotor current is 5 A." to
  ". . .locked rotor current is 32.5 A.
 
  (On 4/19 the due date was changed from 4/21 to 4/28)
8

4/07 4/14 4/19

nothing
to
hand
back

no
sol'n
set

students
have
access
to the
repo
  Topic: Version Control Management systems, git
  Read the Wikipedia article, Version Control
 
  Create a gitHub account for yourself.
  Email your gitHub username to Prof. DDB.
  Prof. will add you as a collaborator to the
  EGR 304 repository. (The repo)
  Find a computer that has git installed or. . .
  Download and install git on some computer you
  have access too. A Dordt College-owned lab
  computer is recommended at least for your first
  installation so that if you mess up there will
  be no inconvenience to your normal computing.
 
  Clone Prof. De Boer's "EGR304" repository (repo)
  to local storage. The URL is. . .
  https://github.com/dfdeboer/EGR304.git
 
  Create a text file that has your name in the
  file name and in the body text of the file.
 
  Add the file to the local repo.
 
  Find the file "youAreHere.txt" in the repo
  Edit the file to add your name in the body text.
 
  Commit the changes to the repo.
 
  Push your local repo to the central repo.
7

3/17 3/24 3/29   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 is requested
  exactly every Tpi. This was the author's intent.
  (As opposed to allowing actual request
  intervals to sometimes exceed Tpi.)
6

2/25 3/03 3/15   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.)
 
  Do these short essays on USB.
  Optional Reading: USB article in Wikipedia
5

2/11 2/25 3/15   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 first handout linked above.
 
  Optional: A transmission line theory tutorial
  The application notes linked above were
  origianlly developed by National Semiconductor.
  There is more on National Semi in Wikipedia.
  Optional: TI has purchased National Semi
  Optional: Animation of VSWR on a T-line
  If the above java app will not run, look here.
  Note: In class on Thursday, 2/11, the due date for this
  assignment was delayed from 2/23 to 2/25.
4

2/09 2/11 2/11   Read this Ethernet Tutorial.
 
  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.
 
  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/21 2/04 ex-
pect-
ed
2/16
  Read A Guide to Debouncing
  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: 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
 
  Optional: Read about teleprinters.
 
  Very 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!
 
  (On 1/26 at the end of class Prof. De Boer delayed the
  due date for this assignment from 1/28 to 2/04.)
2

1/14 1/21 1/26   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/12 1/14 1/21   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 your answers as doc or docx format.
  Send attachment to Douglas.DeBoer@Dordt.edu
  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.