Question 4 You have the Arduino circuit in Fig. 3. You must design a system that executes the following tasks: • Read the signal from the potentiometer and convert it to %. The conversion results from mapping the input range 0-1023 to 0-100. This value is stored in a variable named set point. • Read the signal from the thermistor circuit and convert it to degrees Fahrenheit Then, the value in Fahrenheit is converted to %. The conversion results from mapping the input range 50-100°F to 0-100. This value is stored in a variable named current temperature. • Compare current temperature and set point. If (current_temperature < set point), the Heater must start operating with a duty cycle of 75% If (current_temperature 2 set_point), the Heater will stop operating Remember, the Heater is controlled via PWM. • When the Heater is in operation, LED Dz is ON and LED Di is OFF. • When the Heater is not in operation, LED D2 is OFF and LED D. is ON. Your solution must provide the following information: a. A table listing the INPUT and OUTPUTS used in your solution. This table must show the classification (INPUT/OUTPUT), the signal type (DIGITAL/ANALOG) and a brief description, at least. Provide this answer in separate page(s) named Answer 4A. b. The Arduino SKETCH required to implement your solution. In addition, provide a flow diagram for your solution. Provide this answer in separate page(s) named Answer 4B. c. A clear description of how the system works. Provide this answer in separate page(s) named Answer 4C.
Figure 3. Problems 3 and 4 RH M M H DONE DUT R ARE ( WW 02 04 w Arduino UNO DI AM RT S, $ Esto 01 PWWMO OM w Rpor NO R RS ww R 5V www 4 Thermistor w KW D D, * GND
Question 4 You have the Arduino circuit in Fig. 3. You must design a system that executes the following tasks: • Read th
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 4 You have the Arduino circuit in Fig. 3. You must design a system that executes the following tasks: • Read th
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!