Notifications

Day 8: The Echoing Call of Safety

Objective:


  1. Understand the basics of using buttons and photoresistors.
  2. Learn how to connect components to the HERO R3 and breadboard.
  3. Write and upload code to control the circuit using the Arduino IDE.
  4. Develop further skills in coding and electronics.
  5. Integrate a common household fork into the circuit.


Components Needed:


  • HERO board
  • Breadboard
  • 2 LEDs (different colors)
  • 2 Buttons
  • 1 Photoresistor
  • 2x 220 ohm
  • 4x 10k ohm)
  • Jumper wires (Male to Male)
  • 1 Fork (any similar metal conductor)


Wiring Diagram:



Code: