tutorbin

arduino homework help

Boost your journey with 24/7 access to skilled experts, offering unmatched arduino homework help

tutorbin

Trusted by 1.1 M+ Happy Students

Recently Asked arduino Questions

Expert help when you need it
  • Q1:Q1) What is Arduino and what you can use it for? Give examples. See Answer
  • Q2:Q5) What is the Arduino code called and what kind of programming language is it?See Answer
  • Q3:Q6) How did the developer of Arduino make it so easy to use? Give complete answer.See Answer
  • Q4:Q1) Describe the analog input pins. How many of these analog pins are in Arduino Uno?See Answer
  • Q5:Q2) What is the range of the input signal in volts that can be measured with these analog pins?See Answer
  • Q6:Q3) How many bits are used to represent the equivalent digital number for the analog pins? And what is the range (count) of the digital form of the signal? See Answer
  • Q7:Q6) Is a potentiometer an analog or a digital sensor? Give another example for the analog sensors and one example for digital sensor? See Answer
  • Q8: COURSE Project (10%) 2022-2023 Digital Signal Processing with Applications EE438 Semester: Spring 2023 Table of Contents I. Introduction ...... II. Project Description.......... III. ABET Learning Outcome IV. Project Management & Deliverables. V. Turnitin.......…... VI. APA Style.... VII. Academic Honesty and Integrity Assurance.. VIII. Copyrights........ IX. Project and team-based work.. X. Marking Scheme ......... XI. Student Assessment Rubric.. 345 6 6 6 7 7 7 8 8 I. Introduction Projects for engineering students give an edge over the race of recruitment to work hard to ensure a good career. In spite of employment practices in recent times, students are progressively taking up projects to pad up their skill-set. Engineering projects help students to learn and acquire practical knowledge. Despite of theory concept they acquire, various industries also need to know their capacity to complete projects using their specific initiatives. Thus, we recommend students to realize engineering projects in their four years of engineering and try to present as many white papers as possible. Students who give importance to their course projects are expected to learn how to: ● Work in teams including multidisciplinary teams Build a major design experience based on the knowledge and skills acquired in the course work Build a major design experience incorporates appropriate engineering standards and multiple realistic constraints Apply both analysis and synthesis in the engineering design process, resulting in designs that meet the desired needs In the design process, both creativity and criticism are essential. The followings are the seven steps that students should consider while designing their projects: Recognition of the need and identifying opportunities: Every project begins with recognition that needs improvement. These needs may be obvious or hidden to be revealed by investigation, surveys or research. Definition of the design problem: It is a major task requires gathering information about the problem. Definition of the design criteria and constraints: While the problem is being defined, the design criteria and constraints must be defined a. Design criteria are performance standards to be met by the design b. Design constraints are limitations placed on the designer, the final design or manufacturing process. Examples of possible constraints include accessibility, aesthetics, codes, constructability, cost, ergonomics, extensibility, functionality, interoperability, legal considerations, maintainability, manufacturability, marketability, policy, regulations, schedule, standards, sustainability, or usability. c. Risk analysis The design loop: design is a repetitive process of: a. Synthesis (Brainstorming - Generating new ideas) b. Analysis (Breaking ideas - find expected results) c. Decision-making (Deciding the best alternative) Optimization: Design team must ask themselves if it is the optimum design. Optimum is the best design that can be achieved at reasonable cost. The proposed design is judged against the design criteria Evaluation: Design team should hold a design review to approve drawings and specifications before they are released. If an optimum design cannot be achieved, the design team might revise the problem definition, the design criteria or the constraints in order to achieve the optimal solution or prototype. II. Project Description Digital signal processing has many real-life applications in. Students can choose one of the following suggested projects for their course project. Student must develop the design to the prototype mainly in his own time, however, some of the office hours and lab times will be set aside to enable you to seek clarification, get more details from your instructors, and receive feedback on your work. The developed system should have the following: The project MUST have a working prototype. The projects should employ, if appropriate, artificial intelligence such as deep learning algorithms to identify/authenticate users. Hardware implementation using Raspberry pi, Arduino or any microcontroller, and any other necessary components related to the selected project. Software part of the project will be developed using Python/SciLab/ MATLAB or any other programming language. Do not diverge from the project specification. If you do not conform to the project specification, you will lose a high share of the project grade. C. d. 1- Activity detection using wearables You have been hired by a company that manufactures wearable motion sensors for activity recognition, particularly tailored to assisting the elderly and recognising unusual behaviour. A wearables sensor unit commonly consists of accelerometers, gyroscopes and magnetometers, which, in combination, can measure an individual's motion. Recently the company has been interested in building wearables systems. You have been assigned the job of designing and implementing a robust wearables sensor unit that can provide tri-axial data from an accelerometer and a gyroscope. The developed prototype should address the following points: a. Construct a simple wearables sensor unit with an accelerometer and a gyroscope b. The sensed motion shall be categorised as one of four activities via a microprocessor Four different activities shall be detected and displayed on a simple display unit All circuit design details should be provided in the project report. 2- Stepper motor control You have been hired by a company that manufactures controllable DC motor systems. Recently the company has been interested in designing a range of highly controllable DC stepper motors, for use in laboratory environments. You have been assigned the job of designing and implementing a PID- controlled stepper motor system. The developed prototype should address the following points: a. A DC stepper motor shall be utilised to adjust the angular position of pointer object |||. b. Precise control of the stepper motor shall be achieved using a microprocessor-based PID controller C. d. A pot (potentiometer) shall be used to implement the desired angular setting All circuit design details should be provided in the project report. 3- Object Sorting by Colour You have been hired by a company that manufactures components having various colours. You have been assigned the job of designing and implementing an object sorting system that separates balls based on their colour. The developed prototype should address the following points: a. The coloured balls shall be contained in a cone-shaped bowl that dispenses the balls b. There shall be at least 6 differently coloured balls C. A microprocessor and appropriate sensor shall be utilised to categorise the various balls d. All circuit design details should be provided in the project report. 4- Silhouette Detection System You have been hired by a company that provide computer-vision solutions that use image processing to recognise and categorise image data. You have been assigned the job of designing and implementing a system for identifying different silhouettes, which emulate the shapes often encountered when using low-tech, low-resolution cameras for high-altitude reconnaissance tasks. The developed prototype should address the following points: a. The system shall successfully identify 6 or more greyscale or black-and-white silhouettes b. A database of allowable silhouettes will be supplied by your instructor C. A microprocessor and appropriate sensor shall be utilised to categorise the various shapes d. All circuit design details should be provided in the project report. ABET Learning Outcome The aim of this project is to make the students, who manage to fulfill the project requirements, have: i. The ability to identify, formulate, and solve complex engineering problems by applying linear transforms, and linear algebra. [1] ii. The ability to apply engineering design process steps to produce solutions that meet specified needs with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors. [2] iii. The ability to communicate effectively with the audiences of his/her design. [3] iv. The ability to work in teams, create a collaborative and inclusive environment. [5]See Answer
  • Q9:1. Report structure, submission and marking criteria The following outlines the requirements for the report and excel sheet which must be submitted for 40% of the module mark. 1. The main report document must be submitted in pdf format through canvas. 2. The MS Excel file should also be submitted in .xlsx format through canvas. 3. Each student must provide their own data. 4. The report documents will be passed through Turnitin as part of the submission process and will be subject to plagiarism analysis. This will be dealt in line with the University regulations. 5. Marks are awarded according to the criteria summarized in Table 1 with guidelines for assessment in Table 2.See Answer
  • Q10:DELIVERABLES: Instruction file is attached. Final object is temperature sensor given in fig(d); Experiment is two mugs analysing and comparing temperature change over 3 hours in one big mug and one small mug full of tea. You have to submit the report and a video/word explanation for the hardware part (what the student will have to do for the hardware part for the project) Sample report is attacehd./n EG-137 - Assignment 1 Brief – 2324 Assignment 1- Data analysis and Simulation [40%, Individual assignment] The brief for Assignment 1: You have been supplied with a microprocessor data capture system (Arduino) and a sensor. You are tasked with devising an experiment where you investigate a suitable physical phenomenon using an electronic sensor to gather data. The aim of the assignment is to demonstrate that you can: 1. Design an experiment using the knowledge you have gained in the lectures. 2. Successfully connect the computer, Arduino, and sensor. 3. Program the Arduino to capture data. 4. Analyse the data in an appropriate way. 5. Present the data and draw any suitable inference. You will be given 4 objects as part of your module kit. The first 3 objects are common, Figure 1(a) — (c). The final object a sensor which will be one of 2 types of sensor Figure (d) — (e). DIGITAL (PUIT 1 lool UNO KUONGSHU (a) Arduino Keyes TOR1 (d) Temperature AS (8 A Morgan 07/09/2023 WACH (b) USB lead (c) M-F connecting leads HOOD: 10 LOUDS JUD 211 CL HC-SR04 111111101 Bit Or (e) Distance m 3) 12 Figure 1: Objects in the module kit The means by which these can be connected and programmed are covered in the lab sessions as part of the module delivery. EG-137 - Assignment 1 Brief – 2324 1. Report structure, submission and marking criteria The following outlines the requirements for the report and excel sheet which must be submitted for 40% of the module mark. 1. The main report document must be submitted in pdf format through canvas. 2. The MS Excel file should also be submitted in .xlsx format through canvas. 3. Each student must provide their own data. 4. The report documents will be passed through Turnitin as part of the submission process and will be subject to plagiarism analysis. This will be dealt in line with the University regulations. 5. Marks are awarded according to the criteria summarized in Table 1 with guidelines for assessment in Table 2. Table 1: Marking criteria. Summary Introduction and statement of aims and objectives Description of equipment experimental design, layout and method Analysis and presentation of the results Discussion of the results, e.g. how they could be improved Overall layout, novelty, clarity, language and structure Total A Morgan 07/09/2023 Summary 1. Introduction 2. Methodology 3. Results 6. The structure of the document should be in line with those given in the course notes on writing within the module. 4. Discussion 5. Conclusions 6. References 5% 10% 25% 25% 15% 20% 100 % 7. ppendix 7. There must be front cover page consisting of a student name, student number and summary. 8. The maximum number of pages for the document (including the front cover page is 8 pages) 9. The Arduino IDE code should be placed in Appendix 1 of the report with comments added to demonstrate understanding. 10. The structure of the excel document is open. EG-137 - Assignment 1 Brief – 2324 Table 2: Marking rubric mapped to expectations. % Poor <40% Adequate Below standard 40-50% 50%-60% Poor focus, Summary Introduction 10% and statement of aims and objectives Description 25% of equipment experimental design, layout and method 5% Missing or minimal. Analysis and presentation of the results improved Overall layout, clarity, language and structure 25% Discussion of 15% the results, e.g. how they could be Missing or minimal Minimal, experiment details No definite focus on aims Basic description only, no comments in code. Lack of Data is clarity, poor presented presentation only 20% Strewn with errors, lacking structure Display of Minimal results only discussion Poor language, minimal structure Generic, missing some key points Sets aims no justification Main points covered in description Code is in appendix Simplistic presentation and analysis Some scientific inference Informal language, some structure. Good 60%-70% Most key points summarized Aims stated, minimal justification Commented code. Some details missing in description Clear presentation, one complex analysis Demonstration of some science understanding Good layout & structure, clear language A Morgan 07/09/2023 Very Good 70%-80% Only minor points missing Statement of aims, mostly clear justifications Commented appendix code. Only minor details missing in description Clear presentation, one complex analysis with inference Key science points raised and discussed Referenced, high standard of explanation, clarity of language Exceptional >80% Concise summary of work Clear statement of justifications and aims Description which allow exact replication, Well commented code in appendix Clear presentation, more than more complex analysis Discussion of core science and impact Referenced, Exemplary academic English, structured with clear layout/nSee Answer
  • Q11:Q1: What does InfraRed mean? (Hint: What is the meaning of word 'Infra' and what is the frequency of 'Red' color light?) A1:See Answer
  • Q12:Q4: For what reason does the Infra Red signal have to be modulated? A4:See Answer
  • Q13:Q5: What is the range of modulation frequencies used to turn IR transmit LED on and off? A5:See Answer
  • Q14:Topic: Data Communication between Arduino and Processing Subject: Computer Controlled System Design Need to do these: -Make a schematic diagram using the software TinkerCAD to match the Lab (under the tab Diagrams and Pictures) - Create a flow chart to match the lab - Answer the Discussion questions after doing this need to add these in lab report provided (you don't need to do lab report it's already been done you just need to add)/n Lab 4: Data Communication between Arduino and Processing Objectives 1. Become familiar with the Processing graphical environment, Java language, and reference site. 2. Understand the basics of data communication between Arduino and Processing. 3. Create a simple interactive system using Arduino and Processing. Background Processing is an open source programming language and integrated development environment (IDE) built for the electronic art, new media art, and visual design communities with the purpose of teaching the fundamentals of computer programming in a visual context, and to serve as the foundation for electronic sketchbooks. The user interface of Arduino IDE is very similar to the Processing IDE user interface. Casey Reas and Benjamin Fry, both formerly of the Aesthetics and Computation Group at the MIT Media Lab, were involved in the creation of Arduino IDE as well as Processing IDE. However, please note some major differences: • Arduino IDE allows you to program Arduino boards by using a simplified version of C/C++ language, and use and control physical objects such as sensors and motors. Whereas, Processing IDE allows you to write PC applications using a simplified version of Java language, and lets you create and control virtual objects such as circles and spheres and many other 2D and 3D graphics and shapes. One of the stated aims of Processing is to act as a tool to get non-programmers started with programming, through the instant gratification of visual feedback. The Processing language builds on the Java language, but uses a simplified syntax and graphics-programming model. Download and install Processing 1. Download Processing, if it is not installed already in your computer. Follow this link: https://www.processing.org/download/ 2. After you follow the instructions in the above webpage and select the platform you are working on (i.e., Windows, Mac, etc.), you would have downloaded a zip file. 3. Unzip the file. Make sure you know the folder location where it is unzipped. 4. There is no need for further installation. Processing runs by clicking on the Processing program or application. 5. Open and run following examples to check that everything is working. Processing IDE > File > Examples > Demos > Graphics Learn Processing The community behind Processing has done an excellent job of putting together good documentation and reference. You can find the language reference by following this link: https://www.processing.org/reference/ The structure of a Processing sketch is similar to the Arduino sketch. However, instead of a void loop() function, Processing uses a void draw() function that loops forever, just like the loop() function of Arduino. Procedure Part A (Analysis): 1. In a new Processing sketch, open the example MouseeCircle.pde code available in Lab-#.zip file. The MouseeCircle.pde code is shown on next page (inside the text box) for reference. 2. Run the code in Processing IDE. You should see a circle drawn inside a graphics window, that will follow the mouse pointer. 3. Go to Processing reference website and look for the following functions used in the code. size (255, 255); strokeWeight (10); frame Rate (16); background (100); fill (0, 121, 184); stroke (255); ellipse (X, Y, radius, radius); 4. For each of the functions shown above, copy the function description from the Reference web site and paste it inside a comment block /* */ before each function. The purpose is to thoroughly understand how the function works. ... 5. Final code for Part A of the lab should include a comment for each function used in the code, indicating what each function does. 6. Save the final modified code in a file and include it in your report. 7. Take a screenshot of the graphics window with the circle, to include in the Measurements section of the lab report. Schematic diagram for Procedure Part B (Design): R2 10k +5V www +5V A0 Arduino TX/1 RX/0 ⇒ USB < to PC /* Processing Example: MouseeCircle.pde /* Global variables ***** float radius = 50.0; int X, Y; ***** int nX, nY; int delay = 16; /* Setup the Processing drawing window *** void setup() { size (255, 255); strokeWeight(10); frameRate (16); width / 2; height / 2; X = Y = nx = X ; *** } nY = Y; /* Main draw loop void draw() { radius = radius + sin( frameCount / 4 ); // Track circle to new destination X+= (nX-X)/delay; Y+= (nY-Y)/delay; // Fill canvas grey background (100); // Set fill-color to blue fill (0, 121, 184); // Set stroke-color white stroke (255); // Draw circle ellipse (X, Y, radius, radius); } /* Set circle's next destination ** void mouseMoved () { nx = mouseX; nY = mouseY; } ** / / Procedure Part B (Design) (Interactive Circle): In the following steps you will create a new version of the previous processing sketch MouseeCircle.pde, where the size of the circle, the radius, is controlled by a potentiometer connected to an Arduino board. The readings of the potentiometer in the Arduino will be sent through serial/USB communication to the Processing sketch running on the PC. 8. To refresh your memory about Arduino, potentiometers, and serial communication, refer to the Arduino IDE example AnalogReadSerial. This example program can be used to complete the Arduino side of this lab exercise. Upload the Arduino example AnalogReadSerial to the Arduino board. 9. For the Processing program, you will need to make use of the Processing serial library. (Serial library reference: https://processing.org/reference/libraries/serial/ ) Add following lines shown inside the text box, to beginning of program before /* Global variables */ section: import processing.serial.*; // create serial port object Serial myPort; 10. Next, you will need to add the following lines shown inside the text box, in the beginning of the setup() function to activate the serial port. IMPORTANT NOTE: You will need to specify the correct USB/COM (serial) port index number in square brackets in Serial.list () [0], where Arduino USB cable is connected. The first USB/COM port on your PC is indicated by Serial. list () [0] The second USB/COM port on your PC is indicated by Serial.list() [1] The third USB/COM port on your PC is indicated by Serial.list() [2] so on and so forth. // List all the available serial ports println (Serial.list() ) ; // Change the serial/USB port index number in square // brackets in Serial.list()[0], // depending on whatever port Arduino is connected to. myPort = new Serial (this, Serial.list() [0], 9600); // Don't generate a serialEvent (), // unless you get a newline character: myPort.bufferUntil('\n'); This is how serial communication works in Processing. When it is setup as above and there is data coming through the serial port, the serial library triggers a serial event that is captured by the function shown below. 11. Add the following serialEvent( ) function shown inside the text box, to the end of your code after all the other functions. /* Get potentiometer values from Arduino via USB/COM port void serialEvent (Serial myPort) { // get the ASCII string: String inString = myPort.readStringUntil('\n'); if (inString != null) { // trim off any whitespace: inString = trim (inString); // convert to an int and map to the screen height: float inByte = float(inString); map (inByte, 0, 1023, 0, height); / inByte = radius = inByte; } } 12. Comment each line of the serialEvent () function to show that you understand how it works. 13. Run the modified Processing sketch on the PC. 14. Rotate potentiometer connected to Arduino analog input to change the size of the circle. 15. (Extra Credit) Change two other attributes of the circle by using the radius variable. For example, vary the shape of the circle to an oval, vary the fill color of the circle, etc. 16. Put a copy of final modified Processing code (sketch) for Part B in your report. 17. Take a screenshot of the graphics window, to include in the Measurements section of the lab report. Dig deeper You can further explore the power of Processing on Android and iOS devices. https://play.google.com/store/apps/details?id=com.calsignlabs.apde&hl=en https://apps.apple.com/us/app/processing-icompiler/id648955851 Critical thinking questions for Discussion section in report? Instead of the usual hardware and software discussion of Input, Data Processing, Data Communication and Output sub-systems; using your own words, submit the answers to the following questions in the Discussion section of your lab report: • What is Processing? What is the relationship between Arduino IDE and Processing IDE? How much different or similar is Java compared to C/C++? How can you use Processing for your course project? What is your opinion about APDE?See Answer
  • Q15:Instructions Project name - Traffic Light control mechanism This will be about the project I am doing. It will be using machine vision, arduino and raspberry pi to make traffic lights change colour as we approach the lights instead of the sensor in the road which will get triggered by the car going on it make sure to do all the referencing bit Note the SJR, H-index, average citations per document (in a 2-year period), and quartile ranking (Q1, Q2, Q3, Q4)/n 11:42 61 Assignment details Engineering Projects, Semester 1 2024, BRUCE [ON-CAMPUS] (... Instructions and mandatory formatting requirements: This assignment must be completed individually and should be a maximum of three (3) A4 pages, excluding up to one page of references. Your submission should be typed in 12-point Times New Roman (or similar fonts). The font must be readable. You must use 1.5- line spacing with one-inch (2.54 cm) margins on all sides. Submissions that do not comply with these mandatory formatting requirements will not be marked. Assignment description: Your submission for this assignment must include three parts: 1) systematic literature review, 2) taxonomy of literature review, and 3) professional development. 1. Systematic literature review: Write a systematic literature review that describes and compares different views relevant to your project. Your literature review should reference ten high-quality and recent research papers and should be organized into logical themes. Your review should thoroughly examine existing Submit assignment ◄ Previous Next ▸ 4 DOO Dashboard Calendar To-do Notifications Inbox 11:42 61 Assignment details Engineering Projects, Semester 1 2024, BRUCE [ON-CAMPUS] (... and should be organized into logical themes. Your review should thoroughly examine existing research, theories, and viewpoints related to your project, offering a structured summary that defines the diverse views and highlights gaps to facilitate a cohesive understanding of your chosen topic. 2. Taxonomy of literature review: Formulate and draw a taxonomy (a hierarchical classification chart) of the reviewed literature to organize and present the identified themes and reviewed papers. 3. Professional development: Begin by reflecting on your key achievements and accomplishments so far in the project, whether quantitative or qualitative. Discuss how this project milestone has contributed to your professional development and what skills you have acquired. Discuss your next steps and share your thoughts on how you plan to build upon this milestone. 1 Use the Scimago Journal Rank (www.scimagojr.com) to get the list of high-quality journals and conference proceedings in your engineering discipline. Note the SJR, H-index, average citations per document (in a 2- year period), and quartile ranking (Q1, Q2, Q3, Q4) metrics of the journals and conference proceedings. Submit assignment ◄ Previous Next ▸ 4 DOO Dashboard Calendar To-do Notifications InboxSee Answer
  • Q16:Read Lab_#.zip > Reference > FiniteStateMachine Library for Arduino.pdf Q4: What parameters are required in State () function used for state creation? A4:See Answer
  • Q17:Q5: How many parameters are required in Finite StateMachine () function used for finite state machine creation? A5:See Answer
  • Q18: Student Name: Date: Lab-9: Ultrasonic Sensor Pre-Lab Assignment (to be done before beginning the lab exercise) All information is available in the files included in Lab#.zip file in Blackboard unless otherwise noted. General question: Q1: What does ultra-sonic mean? (Hint: What are the meanings of words 'Ultra' and 'Sonic' ?) A1: Read Reference > SRF04 Technical Specs.pdf > Page 1,2 Q2: SRF04 sends out an 8-cycle burst of ultrasonic sound wave at what frequency (in kHz)? A2: Q3: What is the pulse width of Trigger Pulse that is sent from Arduino to Ultrasonic sensor module? A3: Q4: What is the range of pulse width of Echo Pulse that is sent from Ultrasonic sensor to Arduino? A4: Q5: The ultrasonic sensor sends its measurement to Arduino via the Echo Pulse. A5: What quantity is the sensor measuring, Time or Distance? Read Reference > Arduino Reference - constrain.pdf Q6: Write the Example line of code that shows how to use constrain() function. A6: Describe in one sentence, what this Example line of code does?See Answer
  • Q19: Computer Controlled System Design I Lab-9: Ultrasonic Sensor (Advanced Sensor) Objectives: • • • Learn the theory of operation of ultrasonic sensor. It is considered an advanced sensor because it has a built-in micro-controller to control its operation. Learn to interface ultrasonic sensor to a micro-controller. Display sensor data in Serial Monitor and Serial Plotter windows for analysis and debugging. Control an analog output device (LED brightness) by using the ultrasonic sensor. Pre-Lab Assignment: Read the following reference material available in Lab...zip file to complete pre-lab assignment: [1] Ultrasonic sensor technical specs and data sheet [2] Arduino Reference - Constrain function [3] Arduino Reference - Map function Equipment: Arduino board, USB cable, Ultrasonic sensor, Common Cathode RGB LED (or three different color LEDs), Jumper wires, Breadboard (or Sensor Shield) Procedure: Part 1: 1. Download the Lab...zip file from Blackboard. The zip file contains the documents and source code needed for this lab exercise. Unzip the file into a local folder. 2. Connect ultrasonic sensor to the micro-controller according to the schematic diagram. 3. Compile, upload and run the Ping_4Pin.ino program (available in zip file). This program is used to test the distance sensor. 4. Observe distance measurements in serial monitor window and verify that the sensor can measure distance in the range of 2 - 22 inches. Record (screen-shot) the minimum and maximum distance measurements and include in the Measurements section of the report. Part 2: 5. Modify the Ping_4Pin program to control the brightness of Red LED (0% to 100% duty cycle) connected to PWM output pin 9 by using the distance measurement in the range 2 to 22 inches. 6. Hint: In the modified program you will need to implement the following: ◉ ■ constrain function to limit the sensor input measurement between 2 and 22 inches. map function with appropriate input and output range of values to map sensor input range (2 to 22 inches) to analogWrite range (0 to 255) to control LED brightness from 0 to 100% duty cycle. 7. Display the graphs of distance measurements and LED brightness values in the Tools > Serial Plotter window in Arduino IDE. Include Serial Plotter screen shot in the report. Computer Controlled System Design I Part 3: (Car Parking Assistance Device) - 8. Modify the Ping_4Pin program to control three colored LEDs as follows: When distance measurement range is 2 – 8 inches, Red LED is ON When distance measurement range is 9 – 15 inches, Yellow (or Blue) LED is ON When distance measurement range is 16 – 22 inches, Green LED is ON Schematic Diagram: HC-04 +5V Vcc +5V I R3 330 Blue 11 ww R2 330 10 Green w RGB LED R1 330 (Common Cathode) Red w TX/1 RX/0 USB to PC 目 TRIG A0 Arduino A1 ECHO GND Lab circuit can be built by using three individual Red, Yellow and Green LEDs or by using a single common cathode (Red Green Blue) RGB LED, as shown in the schematic diagram. If using an RGB LED, Yellow color can be created by combining different brightness levels of Red and Green and keeping Blue LED off. Write a report with the help of lab report template available in Blackboard. Include following additional information in the Discussion and Conclusion sections of the report. In the Discussion > Input sub-system section of the report: • Describe the theory of operation of the ultrasonic distance sensor. Describe the basic specifications of the sensor such as operating voltage, operating current, operating frequency, min and max possible range of distance measurement, and the width of the area (in degrees) in front of the sensor in which an object's distance can be measured. In the Conclusion section of the report: Do online research to find and describe one practical and/or commercial use of the ultrasonic sensor when it is used in a device, product or measuring instrument.See Answer
  • Q20: ME435L Homework 10 – Bidirectional Motor Control with H-Bridge (L293D) Learning Objective: Build circuit and program L293D H-Bridge Problem: Build the circuit given below and write a program that achieves following functionality. Button on pin 2 is used for power on/off of the whole system. Button on pin 3 is used to change the direction. Potentiometer is used to control the speed of the DC motor. If motor is enabled (powered on), then motor should run in one direction until your press the button on pin 3 when it should run in opposite direction. If button on pin 2 is pressed it should disable (power off/stop) motor. You should be able to control the motor speed with potentiometer if motor is enabled. Circuit: 11 DIGITAL (PWM-) O UNO ARDUINO TX+1 RX+0 ON POWER ANALOG IN + ghij 9V 0 L293D Hints: Recall we build/program/test each individual circuit separately. Review Lab 4 and Homework 5 for button and potentiometer programming, if needed. Review the datasheet for L293D. Note the chip is enabled by making its pin 1 (pin 4 on Arduino) HIGH. You have to exclusively make pin 2 on L293D (pin 5 on Arduino) and pin 7 on L293D (pin 6 on Arduino) HIGH/LOW to change the direction of current through motor based on motor direction. Declare global variables motorEnabled, motorDirection, motorSpeed and others as needed. Use Bounce2 library (more on it at link given below) to remove button bounce. Reference: https://github.com/thomasfredericks/Bounce2 ΤΟ defghijSee Answer

TutorBin Testimonials

I found TutorBin Arduino homework help when I was struggling with complex concepts. Experts provided step-wise explanations and examples to help me understand concepts clearly.

Rick Jordon

5

TutorBin experts resolve your doubts without making you wait for long. Their experts are responsive & available 24/7 whenever you need Arduino subject guidance.

Andrea Jacobs

5

I trust TutorBin for assisting me in completing Arduino assignments with quality and 100% accuracy. Experts are polite, listen to my problems, and have extensive experience in their domain.

Lilian King

5

I got my Arduino homework done on time. My assignment is proofread and edited by professionals. Got zero plagiarism as experts developed my assignment from scratch. Feel relieved and super excited.

Joey Dip

5

TutorBin helping students around the globe

TutorBin believes that distance should never be a barrier to learning. Over 500000+ orders and 100000+ happy customers explain TutorBin has become the name that keeps learning fun in the UK, USA, Canada, Australia, Singapore, and UAE.