You should write the codes in C language and you need to
create a circuit in TinkerCad.
MTE 192 - Project 1 Build a system where two photoresistors and a tilt switch act as inputs and some LEDs and an active buzzer act as outputs. Active buzzer should "blink", as in it should go on and off periodically. One of the photoresistors (P1) should alter the frequency of the sound emitted from the active buzzer in a continuous manner (NOT HIGH and LOW) whereas the other one (P2) should alter the frequency (speed) of the active buzzer "blink” as well as the LEDs. LEDs should sweep from one side to another (not back) in a continuous manner. You should use as many LEDs as possible (you will be limited by the number of available pins on the Arduino board). The sweeping speed should be controlled by P2, and the number of LEDs being lit should be controlled by P1. The tilt switch should make the photoresistors switch jobs (P1 should do P2's job and vice versa) as well as reversing the LED sweep. Rest is your imagination.
MTE 192 - Project 1 Build a system where two photoresistors and a tilt switch act as inputs and some LEDs and an active
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
MTE 192 - Project 1 Build a system where two photoresistors and a tilt switch act as inputs and some LEDs and an active
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!