Lab#4
- Using Motors with the Arduino
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:
- An IR distance sensor will detect the presence (through waving of a hand)
- 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.
- 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).
- 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.
10 years ago
25
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- ros.zip
Bids(1)
other Questions(10)
- A4
- 15 Law Questions. Need them all correct. $10 Marwa96 only
- Reflection Journal 5
- Assignment
- Eng 3
- Childhood obesity In this Project, you will develop an appealing and informative handout for parents offering developmentally appropriate tips for dealing with health and safety issues in children from
- Islam Part two
- I post two files: the first one for instruction and the other for question and my instructor warming
- Assignment
- CIS 408 Week 8 Technical Paper Planning an Application Server Migration
