Hello this is one of my projects in robotics design and coding. I added the question and a photo of my build on tinkercad but I am having a problem of coding. Can anyone help with coding this project? #RoboticsDesign&Coding #Physics #Programing
Hello this is one of my projects in robotics design and coding. I added the question and a photo of my build on tinkercad but I am having a problem of coding. Can anyone help with coding this project? #RoboticsDesign&Coding #Physics #Programing
Related questions
Question
Hello this is one of my projects in robotics design and coding.
I added the question and a photo of my build on tinkercad but I am having a problem of coding.
Can anyone help with coding this project?
#RoboticsDesign&Coding
#Physics
#Programing
![build the circuit and and write the suitable code to do the following:
we want to build a multi-mode system with three modes, the user Enter from 0 to 2 through Serial monitor to select the mode.
mode 0: off, nothing to do, or turn off mode 2 or 3.
mode 1: thermometer mode, three LEDS and a temp. sensor, the first led will light if temp < 30.
second led will light if 30 <= temp <= 60
third led will light if temp > 60
mode 2: buzzer with photoresistor, the buzzer will tone from 500 to 1000 HZ depends on the input of photoresistor (54 to 974)
hint: (use map function on mode 3, to map 54~974 to 500~1000)
connect:
LED1 to 2
LED2 to 3
LED3 to 4
Buzzer to 5
temp. sensor to A0
photoresistor to A1](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4238a28c-1602-468c-b0e9-285612d77cff%2Fd270b387-af2d-42f8-9d5d-d4bed9fa3833%2Fgutztt_processed.png&w=3840&q=75)
Transcribed Image Text:build the circuit and and write the suitable code to do the following:
we want to build a multi-mode system with three modes, the user Enter from 0 to 2 through Serial monitor to select the mode.
mode 0: off, nothing to do, or turn off mode 2 or 3.
mode 1: thermometer mode, three LEDS and a temp. sensor, the first led will light if temp < 30.
second led will light if 30 <= temp <= 60
third led will light if temp > 60
mode 2: buzzer with photoresistor, the buzzer will tone from 500 to 1000 HZ depends on the input of photoresistor (54 to 974)
hint: (use map function on mode 3, to map 54~974 to 500~1000)
connect:
LED1 to 2
LED2 to 3
LED3 to 4
Buzzer to 5
temp. sensor to A0
photoresistor to A1
![下 雲
TMP
DIGITAL (PWM-)
CO UNO
TX
ON
ARD UINO
RX
ANALOG IN
POWER
apɔ qe
AREF
12
11
T+XI
0+X|](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4238a28c-1602-468c-b0e9-285612d77cff%2Fd270b387-af2d-42f8-9d5d-d4bed9fa3833%2F4d6equi_processed.png&w=3840&q=75)
Transcribed Image Text:下 雲
TMP
DIGITAL (PWM-)
CO UNO
TX
ON
ARD UINO
RX
ANALOG IN
POWER
apɔ qe
AREF
12
11
T+XI
0+X|
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)