Question: ( a ) Write an Arduino program that will rotate a DC motor via switching on and off that is connected to digital pin 1

(a) Write an Arduino program that will rotate a DC motor via switching on and off that is connected to digital pin 11, when pressing a pushbutton attached to pin 2.
(b) Write an Arduino program to perform the following activity:
A humidity controller which consists of a humidity sensor that will detect the surrounding humidity being used along with Arduino Uno microcontroller which is used to obtain the furnace's environmental conditions. It also contains a DC blower and a light emitting diode (LED) which is connected to digital pin 7 and 12, respectively. The code is defined totreceive the analog signal of the humidity sensor from pin A0. For humidity of the surrounding is above 65% humidity, the blower and the LED will be in the OFF state, and if the surrounding humidity drop below 65% humidity, the microcontroller will turn ON the blower and LED. The sensor will keep on sensing the humidity until it is above 65% humidity and then the blower and LED will be turn off. Write and fill in the highlighted program codes based on the instructions given below:
 (a) Write an Arduino program that will rotate a DC motor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!