Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The voltage measured across the LDR is given by: V=R+47005R, where R is the resistance of the LDR. Rearranging for R gives: R=5V4700V. Modify your
The voltage measured across the LDR is given by: V=R+47005R, where R is the resistance of the LDR. Rearranging for R gives: R=5V4700V. Modify your code to display the LDR resistance on the serial monitor. Note: you will need to convert from the sensor reading (01023) to voltage before evaluating the resistan Task 3 Add one of the PCB push button switches in series with the white LED so that when the button is pressed, the LED illuminates the LDR. In this case, your circuit will look as follows: Task 4 Add the GRN2, AMB, and RED2 LEDs to your project such that: - Pitch: 50 - 1000 GRN2 off, AMB off, RED2 off. - Pitch: 1001 - 2000 GRN2 on, AMB off, RED2 off. - Pitch: 2001 - 3000 GRN2 on, AMB on, RED2 off. - Pitch: 3001 - 4000 GRN2 on, AMB on, RED2 on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started