Notifications

Day 4: Movement in the Shadows

Objective:


  1. Understand the basics of using photoresistors to detect light changes.
  2. Learn how to connect photoresistors to the HERO board and breadboard.
  3. Write and upload code to alert when light changes are detected using the Arduino IDE.
  4. Develop further skills in coding and electronics.


Components Needed:


  1. HERO board
  2.  USB cable
  3. Breadboard
  4. LED
  5. Resistors (220 ohm and 10k ohm)
  6. Photoresistor
  7. Jumper wires (Male to Male)


Wiring Diagram:




Code: (Buzzer is optional)