Notifications

Day 6: The Guardians of Cogsworth

Objective:


Use photoresistors to detect changes in light and control LEDs. Integrate buttons to manually override the system. Develop further skills in coding and circuit design, preparing for more advanced projects.


Components Needed:


  1. HERO board
  2. Breadboard
  3. 2 × LEDs (any color)
  4. 2 × Photoresistors (5516)
  5. 4 × 10k Resistors
  6. 2 × 220 ohm resistors
  7. 2 × Buttons
  8. Jumper wires (Male to Male)


Wiring Diagram:



Code: