Quiz 2 Solutions
1. W rite the base 16 (hex) number 1E in base 2 (binary) and base 10 (decimal).
Ans: 11110 (or 00011110) and 30.
2. How many bits are used to represent a char?
Ans: 8
3. Consider this
PIC32 Study Problem Solutions
PIC32 Hardware
1. Hex and binary practice.
a. 0xB15F = 1011 0001 0101 1111 (binary) = 11 x 16^3 + 1 x 16^2 + 5 x 16^1 + 15 x
16^0 = 45407.
b. 207 = 1100 1111 = 0xCF
c. 10
PIC32 Study Problems
Many of the questions on this study guide refer to the documentation on the Introduction to the
PIC32 page http:/hades.mech.northwestern.edu/index.php/Introduction_to_the_PIC32 on
1. Below is a partially filled-in data sheet for a DC motor. Using what you know about DC motors, fill in
the rest of the data sheet.
Nominal voltage (volts) .
Terminal resistance (ohms) .
Terminal in
ME 333 - Mechatronics: HW 7 Solutions
March 7, 2012
Problem 1
Motor Data Sheet
Out of the 19 entries on this table (ignoring friction), only 6 are needed to calculate the rest of the
values. The 6 ind
diode does not allow current to
flow left, so the voltage across
the capacitor can only increase,
never decrease
xxxxxx
should be "voltage across"; other answers accepted
ME 333: Introduction to Mechatronics
Assignment 4: Interrupts, Serial Communication, and PIC Programming
Electronic submission due before 11:00 AM on Thursday February 9th
All questions asked in this
ME 333: Introduction to Mechatronics
Assignment 3: Investigating the PIC C32 Tool Suite
Electronic submission due before 11:00 AM on Thursday February 2nd
All questions asked in this problem set must
ME 333: Introduction to Mechatronics
Assignment 2: Solutions
Electronic submission due before 11:00 AM on Thursday February 2nd
1. and 2. Nearly all of you were able to get your hardware up and runnin
ME 333: Introduction to Mechatronics
Solutions to Assignment 1
January 19, 2012
Questions
1) What is 33310 in binary and 10111101112 in hexadecimal? What is the maximum value, in decimal, that
a 12-bi