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

PROBLEM SETS

(Last update: 4/27/2011 11:53 pm)
PS
#  
Assigned Due Returned Problems Assigned
10

4/26 4/28 ---   Read notes from class about position encoding
  including relative vs. absolute, two sensors,
  binary vs. grey code, single-track codes,
  v-scan, u-scan.
 
  Optional related links:
  Details on a particular relative encoder
  Wikipedia article: "Rotary encoder"
  Detail of a 13-bit grey code absolute encoder.
  V-scan and U-scan encoding
 
  Topics not covered this semester:
  LCD Displays
  Digital-to-Analog and Analog-to-Digital
  View "55 Minute Alias" from You Tube.
  Try this Java Applet, "Demonstration of Aliasing"
  Try this Java Applet, "Sigma-Delta ADC Tutorial"
  (Above links may require Internet Explorer.)
 
  Optional: See this "multimedia article" from
  IEEE Spectrum Online: "the Future of Music"
  The IEEE link gives a perspective on the
  dynamic range in the master mix. For an
  opposing point of view see this article which
  claims compression, "can make pop recordings or
  live sound mixes sound musically better. . ."
9

4/14 4/21 ---   Read this tutorial on thyristors.
  Also read this application note on triacs (and
  some other thyristors).
8

4/05 4/14 4/28   Look over this DC Motor Tutorial and
  read Control of Stepping Motors and
  read about Microstepping Myths
  (A slightly differrent version of the same article.)
 
  Do this problem:
  Modify this H-bridge circuit to so that the
  two bits of input to the driver are D for
  direction and E for energize. These will
  replace the existing inputs W1 and W2.
  If E = 1 then the motor should be powered.
  If E = 0 then the motor should freewheel.
  The uC may then use pulse-width modulation on
  E to control the motor's speed.
 
  Hints: All the resistors and transistors will
  remain interconnected exactly as shown in the
  given schematic. The changes pertain to the
  intput signals and the logic gates.
 
  As given in Figure 1.a. . .
  A logic-1 at pin 1 of U3 will turn Q5 on.
  A logic-0 at pin 8 of U1 will turn Q6 on.
7

3/10 3/31 4/11   Read the "Memories" Chapter in the
  ATmega196V data book. (Pages 15–22.)
  The Architectural Overview (pages 7, 8) may
  also be helpful. Also to help you understand
  what you are reading refer to these articles:
 
  Wikipedea on Static RAM, and ROM,
  and EPROM, and EEPROM, and FLASH memory,
  and DRAM, and the first 24 slides (Through
  "DRAM Evolution" and up to "Outline") of this
  DRAM Tutorial (Hint: save the PDF to your
  drive. Then open it in Acrobat Reader and use
  "View | Rotate View. . ." from the top menu bar.
  Also, Using Flash Memory in Embedded Apps.
 
  Do problems on memories in the ATmega169.
6

3/03 3/10 4/11   Read this overview on interrupts
  Also read Smiley's Workshop Part 8
  Do these problems on interrupts
5

2/03 2/10 2/15   Browse the USB Standard version 2.0 on reserve
  in the library (Select "books" on the library's
  web page, then enter "Universal Serial Bus" in
  the search box) or available from USB.org.
 
  Do these short essays on USB.
  Optional: You may turn the assignment in
  electronically via courses@dordt.
 
  Optional Reading: USB article in Wikipedia
4

2/01 2/03 2/03   Read this Ethernet Tutorial.
 
  Take this twenty-question quiz.
  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: Books in Dordt's Library
  Optional: Wikipedia article Ethernet
3

1/20 --- ---   Read about Memory-Mapped vs. Isolated I/O
  Read about the IBM-PC Parallel Port
  Read about the IEEE-488 interface bus
 
2

1/13 1/20 2/08   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.
 
  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
1

1/11 1/13 1/18   Read "Embedded system" from Wikipeadia
  Read "Integrated development environment"
  Read "AVR Butterfly Evaluation Kit: User Guide"
  Do the introductory problems
  Turn this problem set in electronically via
  courses@dordt. (Maximum file size is 1 MB)
 
  (This assignment was origianally posted with incorrect
  "assigned" and "due" dates. They were corrected at
  about 3:30 PM on Thursday, 1/13.)

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.