Microprocessor
Systems Engineering – Week # 4 Lab 1
Lab 4a:
Procedure:
Watch the video:
·
Tutorial 05 for Arduino: Motors and Transistors (https://www.youtube.com/watch?v=5bHPKU4ybHY)
·
Construct the breadboard circuit and implement the program
presented in the video and Chapter 4 (pp. 65-69) of your textbook to control a
DC motor via a distance controller
Lab 4b:
Procedure:
·
Design a circuit and Arduino program that accomplishes the
following:
o
An IR distance sensor will detect the presence (through waving of
a hand)
o
A H-Bridge circuit with 9V battery power will control the direction
of the DC motor as described in Chapter 4 (pp. 70-79) of your textbook.
o
When a hand is waved over the IR sensor, the motor moves in one
direction (simulating opening a door). There is a 2 second pause, and then the
motor moves in the opposite direction (simulating closing the door).
o
The motor stops until another hand is waved over the IR sensor
again.
·
Please video record demonstrating the operations of the circuit
with a hand motion near the sensor. Show the motion of the motor in both
directions along with the pause in between. Take a screenshot of the program
and the circuit board.
·
Send your code file (.ino) of the
lab completed and operational as well for credit.
Analysis/Discussion:
·
Explain the process you used in this lab to arrive at the final
design of both the hardware and the software portions to achieve the design
objectives.
·
What aspects of the data sheets were critical in order
to properly interface the Arduino to the H-Bridge and the DC motor?
·
Although not required in this lab, describe how you might expand
on this lab to minimize any possible false openings of the door.
·
Submit your answers with your video of your circuit in operation,
the code, and any computer screenshots during its operation.
Rules for lab submissions:
1.
The lab document must be a Word document. PDF files are NOT accepted.
2.
All screenshots must be included.
3.
All Multisim screenshots must include the date/time stamp. See
TOOLS AND TEMPLATES for the procedure to display the date and time.
4.
Any and all Multisim files must be submitted.
5.
Any equations used must be typed in Word. Copy and paste of equations from outside
sources is prohibited.
6.
No graphics are allowed in the Word document other than screenshots
of circuits from Multisim and hardware if applicable, with the date/time stamp.
7.
The lab template should be used.
Specifically, it is brought to your attention that a summary MUST be
provided explaining the results of the labs, the relationship of the results to
expected results, and any challenges encountered.
8.
Hardware portion of labs should include screenshots of the
assembled circuit with your name and student GID number written on paper next
to the circuit. There should be screenshots of the instrument readings with the
date and time stamp on lower right corner clearly shown.
Any
violation of the submission rules above will result in a grade of 1.
Grading Criteria |
Maximum Points |
Meets or exceeds
established assignment criteria |
40 |
Demonstrates an understanding
of lesson concepts |
20 |
Clearly presents
well-reasoned ideas and concepts |
30 |
Uses proper
mechanics, punctuation, sentence structure, spelling and APA structure |
10 |
Total |
100 |