using a Raspberry Pi 3 B+ board along with the Grove Pi IoT starter kit so you can order this board or any other compatible RPi boardadd an LED light to the system that will be used to indicate when certain sounds or events have occurred.
Question Description
You will begin the first part of your prototype embedded system by adding a sound sensor that can be used to listen for certain events or sounds. Forthis milestone, you will add an LED light of your choosing that will be used to indicate when certain sounds or events have occurred. This is very useful in thistype of system, because systems do not need to be constantly checked if they convey some type of visual indication of their current state. Your phone operatesin the same way: You can easily look down at your phone and see some type of indicator light (or hear a sound) that alerts you to an incoming email, call, ormessage. You do not have to physically open your phone every time you want to check things—the system conveys information through a visual indicator, andthe system you are designing for your final project will do the same thing. Review the CS 350 Milestone One video before completing your milestone assignment.
Overview: You will begin the first part of your prototype embedded system by adding a sound sensor that can be used to listen for certain events or sounds. Forthis milestone, you will add an LED light of your choosing that will be used to indicate when certain sounds or events have occurred. This is very useful in thistype of system, because systems do not need to be constantly checked if they convey some type of visual indication of their current state. Your phone operatesin the same way: You can easily look down at your phone and see some type of indicator light (or hear a sound) that alerts you to an incoming email, call, ormessage. You do not have to physically open your phone every time you want to check things—the system conveys information through a visual indicator, andthe system you are designing for your final project will do the same thing. Review the CS 350 Milestone One video before completing your milestone assignment.Prompt: For this milestone, complete the following steps:1. Attach the sound sensor and LED of your choosing from your GrovePi+ kit.2. Run the code provided. This is an important first step because you can familiarize yourself with the code and how it works before you start modifying it.a. This Grove file on GitHub contains the code and sensor connection instructions necessary to complete the milestone.b. Note: The sample code uses a “grovepi” package. Follow these GrovePi+ setup instructions to set the grovepi modules in the path.3. Modify your hardware and code in the following ways:a. Change the pin location of the LED light. (Hint: Hardware and code actions are required.) This GrovePi+ diagram will be helpful. Feel free to playaround until it works!b. Change the threshold value for the sound sensor. (Hint: Code action is required.)c. Be sure to comment the code where you are changing it.4. Run your code again!5. Save your modified code file and make a short video showing the LED light turning on and off with sound triggers. Think about playing music, snapping,or clapping to trigger the sound sensor. Or be as creative as you like!6. Create a ZIP for your code file and video file, and submit your assignment.Specifically, the following critical elements must be addressed:I. Modified Code: Modify code to change LED pin location and sound sensor threshold value.II. Code Comments: Comment your code to explain what you changed and why.III. Visual Confirmation: Include a short video of the working prototype.These critical elements will help you prepare for your final project: This milestone will build your skills in prototyping, connecting sensors, and modifying code,but it does not represent a draft of any critical elements in your final project. (Note: After completing Milestone One, proceed to Milestone Two. You do nothave to wait for your feedback from Milestone One before moving forward.)RubricGuidelines for Submission: Submit your assignment as a ZIP folder containing your modified PY file and your short recorded video.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."