Week 5 Assignment

Create a circuit to light up a LED or control a Processing sketch using both a photocell sensor and an ultrasonic sensor.

  • If the environment is bright, the LED won’t light up.
  • If the environment is dark but the distance is far away, the LED won’t light up.
  • If the environment is dark and the distance is close, the LED will light up.

Leave a Reply

Your email address will not be published. Required fields are marked *