icrocontroller (Arduino Uno)


Problem: you are required to implement a simple system for monitoring and controlling the temperature room.


-the temperature is monitored using a 10k ohm thermistor.

-if the temperature increases to more than 22 C then run a fan (DC motor) continuously at full speed and turn ON a red LED.

-if the temperature between 20 and 22 C then run a fan (DC motor) at half the speed (PMW value =130) and turn ON a yellow LED.

-if the temperature drops below 20 C then run a fan (DC motor) low speed (PMW value =50) and turn ON a green LED.

-the temperature value in C must be displayed on the serial monitor.

-an SPDT switch is used to enable or disable temperature monitoring and control requirements.

-if the switch value is low then the fan speed should be manually controlled using a potentiometer. You must also flash all three LEDs (green,red,yellow) at a rate of 500ms.



-Select and list all the components you need for implementation.

-Arduino pins # selected for input

-Arduino pins # selected for output

-complete the circuit digram below representing your hardware. Show all input/output connection to the Arduino Uno micro-controller and the pin numbers used. Draw any component you need but not shown below.



Write program using the Arduino IDE to monitor and control room temperature based on requirements and hardware implementation in Part1


If you are using the thermistor to measure temperature then use following subroutine that calculates the thermistor temperature and return temperature value in C


double Temperature (int Rval)


double temp;



temp=temp-273.15; return temp;

Share this :
Share on facebook
Share on twitter
Share on whatsapp
Share on pinterest

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Special Offer

Use the Coupon Code: SAVE25 to save 25% on your next order.