SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 5 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 30 Oct 2017 My Price 10.00

Explain three main parts of the Arduino sketch program.

Please help with Assignment. Follow all directions. See attachment.

Designing a 24VDC Motor Control Circuit

 

Design an Arduino Uno based 24VDC motor control circuit.  The motor should start with the presence of a 5V signal, however it will have its own power supply.  The circuit will be designed and simulated with MultiSIM.  Include the following:

•Engineering calculations to justify component selection..

•Screenshot of the circuit constructed with MultiSIM (or equivalent circuit simulator).

•Screenshot of the circuit simulation running and the measurements of the input voltage and voltage on each lead of the DC motor..

•Include a discussion of the importance of electrical isolation when interfacing microcontrollers to higher voltage inductive circuits (motors).  Include detail of how electrical isolation can be achieved to protect the microcontroller and motor..

 

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. Please include your Grantham ID number in the video to show your work..

 

Midterm

Question 1

Microcontrollers contain which of the following circuits within their IC:

A.      Microprocessor

B.      Flash and RAM

C.      I/O interfacing

D.      All of the above

Question 2

The ATmega328P microcontrollers contain the following memory:

A.      Flash memory

B.      EEPROM

C.      RAM

D.      Flash and RAM

E.       All of the above

 

 

 

Question 3

Generating a simulated analog output is achieved by the digital output of the Arduino Uno board through the process of:

A.      Analog output

B.      AREF

C.      Pulse width modulation (PWM)

D.      SDA

Question 4

The analog inputs from sensors, potentiometers, and buttons are processed first through which type of circuit in the microcontroller:

A.      Peripheral Interface circuit

B.      USART circuit

C.      ADC circuit

D.      PWM circuit

Question 5

The If and IF else are a pair of commands in the Arduino Processing language that handle:

A.      Settings given by the user

B.      Conditions from the input circuits

C.      Output results of the processor

D.      All of the above

Question 7

The USB port serves 2 potential tasks on the Arduino Uno:?

Question 8

When the reset button on the Arduino board is pressed, what memory is erased?

A.      All variables and results (RAM)

B.      Sketches (flash memory)

C.      EEPROM

D.      RAM and flash memory

E.       All memory

Question 9

If the 9V battery is needed to power the dc motor in Week 4 lab, why is it connected to Vcc2 on the 54410 H-Bridge IC directly?

Question 10

Explain three main parts of the Arduino sketch program.  Detail what role each part of the programs play?

Attachments:

Answers

(5)
Status NEW Posted 30 Oct 2017 07:10 AM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)