Question: ELEC 1 0 0 Introduction to Electrical and Electronics Engineering Fall 2 0 2 3 Date: January 5 , 2 0 2 4 Due Date:
ELEC Introduction to Electrical and Electronics Engineering
Fall
Date: January
Due Date: January : PMLate submissions are NOT allowed
Please complete all circuit implementations and code writing on Tinkercad, and submit the pictures of the circuits you implemented and all the Arduino codes in a pdf file on Blackboard.
ARDUINO HOMEWORK
Question pts:
Dsign a project using an Arduino, a photoresistor sensor two LEDs green and red two resistors, and one resistor in Tinkercad. The project should function as follows:
a If the luminosity detected by the photoresistor is over the threshold of the red LED will be illuminated. Otherwise, the green LED will be illuminated.
Include your circuit design and code
b Additionally, add a code for serial printing to display the readings of sensor in the serial monitoring screen.
Include the code and a screenshot of the serial monitoring output
Question pts:
Create an Arduino program that utilizes ultrasonic sensors to measure distance. If the measured distance is less than turn on a red LED and print "Too close." If the distance falls within the range of to turn on a yellow LED and print "Warning." If the distance exceeds turn on a green LED and print "Safe."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
