Internet of Things
Sensors & Actuators
Abdallah El Ghamry
IoT Applications
Things
Internet of Things
Internet of Things
▪ The Internet of Things (IoT) represents the network of physical objects
“Things” that are integrated with sensors, software and other technologies
for the purpose of exchanging data with other devices on the Internet.
Sensors
▪ A sensor is a device that detects some type of input from the physical
environment.
▪ The input can be light, heat, motion, pressure or any number of other
environmental phenomena.
Sensors
Temperature
and Humidity
PIR Motion
Detection
Microphone
Sound Detection
Gas/Smoke
Sensor
Photoresistor
CdS Sensor
Ultrasonic
Sensor
IR Obstacle
Avoidance
Heart Rate
Sensor (ECG)
Actuators
▪ Sensors turn a physical input into an electrical output, while
actuators do the opposite.
▪ Actuators take electrical signals from control modules and turn them
into physical outputs.
LEDs Buzzer DC Fan Servo Motor
Actuators: Servo Motor
▪ A servo motor is an electrical device which can push or rotate an
object with great precision.
Actuators: Servo Motor
▪ The HBE-ROBONOVA AI 3 is an intelligent robot with an MR-C3024
controller board capable of controlling 32 servo motors simultaneously.
Processing
Arduino Raspberry Pi
Arduino
▪ Arduino is open-source hardware that can be used to develop
embedded systems with open-source software.
▪ Arduino has gained massive popularity among students for making a
working model.
▪ The reasons behind the popularity of Arduino are its low cost,
availability of software, and easy- to-interface possibility.
▪ The Arduino environment has been designed to be easy to use for
beginners who have no software or electronics experience.
Arduino
▪ Arduino is used in many educational programs around the world,
particularly by designers who want to easily create prototypes but do
not need a deep understanding of the technical details.
▪ Because it is designed to be used by nontechnical people, the
software includes plenty of example code to demonstrate how to use
the Arduino board.
▪ People already working with microcontrollers are also attracted to
Arduino because of its facility for quick implementation of ideas.
Arduino Uno Board
Arduino Mega Board
Connecting Arduino to Power
Connecting Arduino to Power
Power Supply Pins
▪ The Arduino Uno provides both a 5V, and a 3.3V power supply.
Arduino IDE
▪ The Arduino IDE enables you to write and edit code and convert this code
into instructions that Arduino hardware understands.
Downloading Arduino IDE
▪ Go to https://www.arduino.cc/en/software website.
Downloading Arduino IDE
▪ Click the “Just Download” option.
Installing Arduino IDE
Installing Arduino IDE
Installing Arduino IDE
Installing Arduino IDE
Arduino Sketches
▪ A sketch is the name that Arduino uses for a program.
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Arduino Sketches
▪ There are two special functions that are a part of every Arduino
sketch: setup() and loop().
▪ The setup() is called once, when the sketch starts.
▪ It’s a good place to do setup tasks like setting pin modes.
▪ The loop() function is called over and over and is heart of most
sketches.
▪ You need to include both functions in your sketch, even if you don’t
need them for anything.
Turning on an LED
Turning on an LED
Turning on an LED: Steps
1. Connect breadboard power (+) and ground (-) rails to Arduino 5V
and ground (GND), respectively.
Turning on an LED: Steps
2. Plug the LED into two different breadboard rows.
Turning on an LED: Steps
3. The cathode (shorter leg) connects to one leg of a resistor of 330Ω,
and the other resistor leg to the ground.
Turning on an LED: Steps
4. Wire up the LED anode (longer leg) to the power.
Your First Arduino Project: Blinking an LED
▪ Turn an LED on and off every second.
Your First Arduino Project: Circuit
▪ Turn an LED on and off every second.
Your First Arduino Project: Steps
1. Connect breadboard power (+) and ground (-) rails to Arduino 5V
and ground (GND), respectively.
Your First Arduino Project: Steps
2. Plug the LED into two different breadboard rows.
Your First Arduino Project: Steps
3. The cathode (shorter leg) connects to one leg of a resistor of 330Ω,
and the other resistor leg to the ground.
Your First Arduino Project: Steps
4. Wire up the LED anode (longer leg) to Arduino pin 13.
Your First Arduino Project: Schematic
Your First Arduino Project: Blink
You may also load it from File → Examples → 01.Basics → Blink
Your First Arduino Project: Code
// Turns an LED on for one second, then off for one second, repeatedly.
// The setup function runs once when you press reset or power the board
void setup() {
// Initialize digital pin LED_BUILTIN (13) as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// The loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
Your First Arduino Project: Arduino AVR Boards
Go to Tools → Board, and select your board.
Your First Arduino Project: Port
Go to Tools → Port, and select the port of the Arduino board.
Your First Arduino Project: Verify a Sketch
Click the Verify button to try compiling the sketch and check for errors.
Your First Arduino Project: Upload a Sketch
Click the Upload button to program the board with the sketch.
Your First Arduino Project: Discussion
▪ The first thing you do is to initialize LED_BUILTIN pin as an output pin
with the line:
pinMode(LED_BUILTIN, OUTPUT);
▪ In the main loop, you turn the LED on with the line:
digitalWrite(LED_BUILTIN, HIGH);
▪ Then you turn it off with the line:
digitalWrite(LED_BUILTIN, LOW);
Your First Arduino Project: Discussion
▪ The delay() causes the Arduino to wait for the specified number of
milliseconds before continuing on to the next line.
▪ There are 1000 milliseconds in a second, so the following line creates a
delay of one second.
delay(1000);
▪ Constants are used to make the programs easier to read.
▪ The constant LED_BUILTIN is the number of the pin to which the on-
board LED is connected.
▪ Most boards have this LED connected to digital pin 13.
Your First Arduino Project: Alternative Code
// Turns an LED on for one second, then off for one second, repeatedly.
// The setup function runs once when you press reset or power the board
void setup() {
// Initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// The loop function runs over and over again forever
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
Photoresistor (Light Sensor)
▪ The photoresistor is a lightsensitive, variable resistor.
Photoresistor (Light Sensor)
▪ Photoresistors are perfect for making light controlled switches.
Photoresistor: Circuit
Photoresistor: Circuit
Photoresistor: Components
▪ You need
• Arduino
• LED
• Photoresistor
• 330Ω Resistor
• 10KΩ Resistor
• Jumpers
• Breadboard
Photoresistor: Steps
1. Connect breadboard power (+) and ground (-) rails to Arduino 5V
and ground (GND), respectively.
Photoresistor: Steps
2. Drag a photoresistor to your breadboard, so its legs plug into two
different rows.
Photoresistor: Steps
3. Create a wire connecting one photoresistor leg to power.
Photoresistor: Steps
4. Drag a 10KΩ resistor to connect the other photoresistor leg to the
ground.
Photoresistor: Steps
5. Connect the photoresistor leg that is connected with the ground to
the Arduino A0 pin.
Photoresistor: Steps
6. Plug the LED into two different breadboard rows.
Photoresistor: Steps
7. The cathode (shorter leg) connects to one leg of a resistor of 330Ω,
and the other resistor leg to the ground.
Photoresistor: Steps
8. Wire up the LED anode (longer leg) to Arduino pin 13.
Photoresistor: Code
int photoresistor = 0; // A variable holds the value of photoresistor
int threshold = 750; //
void setup()
{
Serial.begin(9600); // Start a serial connection with the computer
pinMode(13, OUTPUT); // Set pin 13 as an output pin
}
void loop()
{
photoresistor = analogRead(A0); // Read the brightness of the LED
Serial.println(photoresistor); // Print the value of photoresistor
// If the photoresistor value < threshold turn the light on, otherwise turn it off
if (photoresistor < threshold)
digitalWrite(13, HIGH); // Turn on the LED
else
digitalWrite(13, LOW); // Turn off the LED
delay(100); // Short delay
}
ADC vs. DAC
Read Analog Voltage
▪ The microcontroller of the board has a circuit inside called an
analog-to-digital converter (ADC) that reads this changing voltage
and converts it to a number between 0 and 1023.
▪ The ADC in Arduino is 10-bit.
0 0 0 0 0 0 0 0 0 0 0V
1 1 1 1 1 1 1 1 1 1 5V
Read Analog Voltage
▪ The analogRead() returns a number between 0 and 1023 that is
proportional to the amount of voltage being applied to the pin.
▪ To scale the numbers between 0 and 5, divide 5 by 1023 and multiply that
by sensorValue :
voltage = sensorValue * (5.0 / 1023.0);
Closed-Loop vs. Open-Loop Control Systems
▪ An open-loop control system does not monitor the output to determine
what adjustments to make to the input.
▪ For example, when using a clothes dryer, you might set the timer on the
dryer to run the drying cycle for one hour.
▪ At the end of the hour, the dryer will stop.
▪ The level of dryness of the clothes will vary depending upon their level of
wetness at the beginning of the cycle.
Controller Process
Input Output
Closed-Loop vs. Open-Loop Control Systems
▪ In a closed-loop control system, the output is measured to determine
whether it is the desired output and adjust the input as appropriate.
▪ For example, if the clothes dryer is equipped with moisture sensors, the
input may be a level of dryness that adjusts the cycle by extending the
drying time until the sensors indicate the clothes are dried.
Controller Process
Sensor
Input Output
Error
Appendix 1: SparkFun Inventor's Kit (SIK)
▪ Go to https://www.sparkfun.com/sikcode and download the examples.
Appendix 2: Arduino Reference
▪ Go to https://www.arduino.cc/reference/en/ to learn Arduino basics.

More Related Content

PPTX
IoT applications With Arduino coding and real life examples
PDF
Lab2ppt
PPTX
Basic arduino components and more things about arduino
PPTX
Arduino Workshop (3).pptx
PPT
Intro to Arduino
PPTX
Arduino Slides With Neopixels
PPTX
Introduction to Arduino focuses on how arduino can be learned easily
IoT applications With Arduino coding and real life examples
Lab2ppt
Basic arduino components and more things about arduino
Arduino Workshop (3).pptx
Intro to Arduino
Arduino Slides With Neopixels
Introduction to Arduino focuses on how arduino can be learned easily

Similar to 02 Sensors and Actuators Understand .pdf (20)

PDF
Arduino Comic-Jody Culkin-2011
PDF
Arduino comic v0004
PPTX
Shriram Vidyasdzsbhhflay School (4).pptx
PPTX
Arduino Workshop Slides
PPTX
Arduino slides
PPTX
Arduino Introduction PPT for school students
PPTX
Arduino basics & programming skill development
PDF
Arduino Programming for Basic Robotics - University of Moratuwa
PPTX
arduino and its introduction deep dive ppt.pptx
PPTX
Intro_to_Arduino_-_v30.pptx
PPTX
B1_25Jan21.pptx
PPTX
Embedded system application
PPTX
IoT Platform
PPTX
IoT Platform
PPTX
Fun with arduino
PPTX
Introduction to Arduino IDE Software-1.pptx
PPTX
Introduction to Arduino IDE Software-1 (1).pptx
PPTX
Mom presentation_monday_arduino in the physics lab
PDF
Arduino electronics cookbook
PPT
IoT Basics with few Embedded System Connections for sensors
Arduino Comic-Jody Culkin-2011
Arduino comic v0004
Shriram Vidyasdzsbhhflay School (4).pptx
Arduino Workshop Slides
Arduino slides
Arduino Introduction PPT for school students
Arduino basics & programming skill development
Arduino Programming for Basic Robotics - University of Moratuwa
arduino and its introduction deep dive ppt.pptx
Intro_to_Arduino_-_v30.pptx
B1_25Jan21.pptx
Embedded system application
IoT Platform
IoT Platform
Fun with arduino
Introduction to Arduino IDE Software-1.pptx
Introduction to Arduino IDE Software-1 (1).pptx
Mom presentation_monday_arduino in the physics lab
Arduino electronics cookbook
IoT Basics with few Embedded System Connections for sensors
Ad

Recently uploaded (20)

PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
Feature types and data preprocessing steps
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
737-MAX_SRG.pdf student reference guides
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PPTX
Fundamentals of Mechanical Engineering.pptx
PPT
Total quality management ppt for engineering students
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Software Engineering and software moduleing
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
III.4.1.2_The_Space_Environment.p pdffdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Amdahl’s law is explained in the above power point presentations
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Exploratory_Data_Analysis_Fundamentals.pdf
Feature types and data preprocessing steps
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
737-MAX_SRG.pdf student reference guides
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Information Storage and Retrieval Techniques Unit III
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Fundamentals of Mechanical Engineering.pptx
Total quality management ppt for engineering students
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Software Engineering and software moduleing
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
III.4.1.2_The_Space_Environment.p pdffdf
Ad

02 Sensors and Actuators Understand .pdf

  • 1. Internet of Things Sensors & Actuators Abdallah El Ghamry
  • 5. Internet of Things ▪ The Internet of Things (IoT) represents the network of physical objects “Things” that are integrated with sensors, software and other technologies for the purpose of exchanging data with other devices on the Internet.
  • 6. Sensors ▪ A sensor is a device that detects some type of input from the physical environment. ▪ The input can be light, heat, motion, pressure or any number of other environmental phenomena.
  • 7. Sensors Temperature and Humidity PIR Motion Detection Microphone Sound Detection Gas/Smoke Sensor Photoresistor CdS Sensor Ultrasonic Sensor IR Obstacle Avoidance Heart Rate Sensor (ECG)
  • 8. Actuators ▪ Sensors turn a physical input into an electrical output, while actuators do the opposite. ▪ Actuators take electrical signals from control modules and turn them into physical outputs. LEDs Buzzer DC Fan Servo Motor
  • 9. Actuators: Servo Motor ▪ A servo motor is an electrical device which can push or rotate an object with great precision.
  • 10. Actuators: Servo Motor ▪ The HBE-ROBONOVA AI 3 is an intelligent robot with an MR-C3024 controller board capable of controlling 32 servo motors simultaneously.
  • 12. Arduino ▪ Arduino is open-source hardware that can be used to develop embedded systems with open-source software. ▪ Arduino has gained massive popularity among students for making a working model. ▪ The reasons behind the popularity of Arduino are its low cost, availability of software, and easy- to-interface possibility. ▪ The Arduino environment has been designed to be easy to use for beginners who have no software or electronics experience.
  • 13. Arduino ▪ Arduino is used in many educational programs around the world, particularly by designers who want to easily create prototypes but do not need a deep understanding of the technical details. ▪ Because it is designed to be used by nontechnical people, the software includes plenty of example code to demonstrate how to use the Arduino board. ▪ People already working with microcontrollers are also attracted to Arduino because of its facility for quick implementation of ideas.
  • 18. Power Supply Pins ▪ The Arduino Uno provides both a 5V, and a 3.3V power supply.
  • 19. Arduino IDE ▪ The Arduino IDE enables you to write and edit code and convert this code into instructions that Arduino hardware understands.
  • 20. Downloading Arduino IDE ▪ Go to https://www.arduino.cc/en/software website.
  • 21. Downloading Arduino IDE ▪ Click the “Just Download” option.
  • 26. Arduino Sketches ▪ A sketch is the name that Arduino uses for a program. void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: }
  • 27. Arduino Sketches ▪ There are two special functions that are a part of every Arduino sketch: setup() and loop(). ▪ The setup() is called once, when the sketch starts. ▪ It’s a good place to do setup tasks like setting pin modes. ▪ The loop() function is called over and over and is heart of most sketches. ▪ You need to include both functions in your sketch, even if you don’t need them for anything.
  • 30. Turning on an LED: Steps 1. Connect breadboard power (+) and ground (-) rails to Arduino 5V and ground (GND), respectively.
  • 31. Turning on an LED: Steps 2. Plug the LED into two different breadboard rows.
  • 32. Turning on an LED: Steps 3. The cathode (shorter leg) connects to one leg of a resistor of 330Ω, and the other resistor leg to the ground.
  • 33. Turning on an LED: Steps 4. Wire up the LED anode (longer leg) to the power.
  • 34. Your First Arduino Project: Blinking an LED ▪ Turn an LED on and off every second.
  • 35. Your First Arduino Project: Circuit ▪ Turn an LED on and off every second.
  • 36. Your First Arduino Project: Steps 1. Connect breadboard power (+) and ground (-) rails to Arduino 5V and ground (GND), respectively.
  • 37. Your First Arduino Project: Steps 2. Plug the LED into two different breadboard rows.
  • 38. Your First Arduino Project: Steps 3. The cathode (shorter leg) connects to one leg of a resistor of 330Ω, and the other resistor leg to the ground.
  • 39. Your First Arduino Project: Steps 4. Wire up the LED anode (longer leg) to Arduino pin 13.
  • 40. Your First Arduino Project: Schematic
  • 41. Your First Arduino Project: Blink You may also load it from File → Examples → 01.Basics → Blink
  • 42. Your First Arduino Project: Code // Turns an LED on for one second, then off for one second, repeatedly. // The setup function runs once when you press reset or power the board void setup() { // Initialize digital pin LED_BUILTIN (13) as an output. pinMode(LED_BUILTIN, OUTPUT); } // The loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on delay(1000); // Wait for a second digitalWrite(LED_BUILTIN, LOW); // Turn the LED off delay(1000); // Wait for a second }
  • 43. Your First Arduino Project: Arduino AVR Boards Go to Tools → Board, and select your board.
  • 44. Your First Arduino Project: Port Go to Tools → Port, and select the port of the Arduino board.
  • 45. Your First Arduino Project: Verify a Sketch Click the Verify button to try compiling the sketch and check for errors.
  • 46. Your First Arduino Project: Upload a Sketch Click the Upload button to program the board with the sketch.
  • 47. Your First Arduino Project: Discussion ▪ The first thing you do is to initialize LED_BUILTIN pin as an output pin with the line: pinMode(LED_BUILTIN, OUTPUT); ▪ In the main loop, you turn the LED on with the line: digitalWrite(LED_BUILTIN, HIGH); ▪ Then you turn it off with the line: digitalWrite(LED_BUILTIN, LOW);
  • 48. Your First Arduino Project: Discussion ▪ The delay() causes the Arduino to wait for the specified number of milliseconds before continuing on to the next line. ▪ There are 1000 milliseconds in a second, so the following line creates a delay of one second. delay(1000); ▪ Constants are used to make the programs easier to read. ▪ The constant LED_BUILTIN is the number of the pin to which the on- board LED is connected. ▪ Most boards have this LED connected to digital pin 13.
  • 49. Your First Arduino Project: Alternative Code // Turns an LED on for one second, then off for one second, repeatedly. // The setup function runs once when you press reset or power the board void setup() { // Initialize digital pin 13 as an output. pinMode(13, OUTPUT); } // The loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // Turn the LED on delay(1000); // Wait for a second digitalWrite(13, LOW); // Turn the LED off delay(1000); // Wait for a second }
  • 50. Photoresistor (Light Sensor) ▪ The photoresistor is a lightsensitive, variable resistor.
  • 51. Photoresistor (Light Sensor) ▪ Photoresistors are perfect for making light controlled switches.
  • 54. Photoresistor: Components ▪ You need • Arduino • LED • Photoresistor • 330Ω Resistor • 10KΩ Resistor • Jumpers • Breadboard
  • 55. Photoresistor: Steps 1. Connect breadboard power (+) and ground (-) rails to Arduino 5V and ground (GND), respectively.
  • 56. Photoresistor: Steps 2. Drag a photoresistor to your breadboard, so its legs plug into two different rows.
  • 57. Photoresistor: Steps 3. Create a wire connecting one photoresistor leg to power.
  • 58. Photoresistor: Steps 4. Drag a 10KΩ resistor to connect the other photoresistor leg to the ground.
  • 59. Photoresistor: Steps 5. Connect the photoresistor leg that is connected with the ground to the Arduino A0 pin.
  • 60. Photoresistor: Steps 6. Plug the LED into two different breadboard rows.
  • 61. Photoresistor: Steps 7. The cathode (shorter leg) connects to one leg of a resistor of 330Ω, and the other resistor leg to the ground.
  • 62. Photoresistor: Steps 8. Wire up the LED anode (longer leg) to Arduino pin 13.
  • 63. Photoresistor: Code int photoresistor = 0; // A variable holds the value of photoresistor int threshold = 750; // void setup() { Serial.begin(9600); // Start a serial connection with the computer pinMode(13, OUTPUT); // Set pin 13 as an output pin } void loop() { photoresistor = analogRead(A0); // Read the brightness of the LED Serial.println(photoresistor); // Print the value of photoresistor // If the photoresistor value < threshold turn the light on, otherwise turn it off if (photoresistor < threshold) digitalWrite(13, HIGH); // Turn on the LED else digitalWrite(13, LOW); // Turn off the LED delay(100); // Short delay }
  • 65. Read Analog Voltage ▪ The microcontroller of the board has a circuit inside called an analog-to-digital converter (ADC) that reads this changing voltage and converts it to a number between 0 and 1023. ▪ The ADC in Arduino is 10-bit. 0 0 0 0 0 0 0 0 0 0 0V 1 1 1 1 1 1 1 1 1 1 5V
  • 66. Read Analog Voltage ▪ The analogRead() returns a number between 0 and 1023 that is proportional to the amount of voltage being applied to the pin. ▪ To scale the numbers between 0 and 5, divide 5 by 1023 and multiply that by sensorValue : voltage = sensorValue * (5.0 / 1023.0);
  • 67. Closed-Loop vs. Open-Loop Control Systems ▪ An open-loop control system does not monitor the output to determine what adjustments to make to the input. ▪ For example, when using a clothes dryer, you might set the timer on the dryer to run the drying cycle for one hour. ▪ At the end of the hour, the dryer will stop. ▪ The level of dryness of the clothes will vary depending upon their level of wetness at the beginning of the cycle. Controller Process Input Output
  • 68. Closed-Loop vs. Open-Loop Control Systems ▪ In a closed-loop control system, the output is measured to determine whether it is the desired output and adjust the input as appropriate. ▪ For example, if the clothes dryer is equipped with moisture sensors, the input may be a level of dryness that adjusts the cycle by extending the drying time until the sensors indicate the clothes are dried. Controller Process Sensor Input Output Error
  • 69. Appendix 1: SparkFun Inventor's Kit (SIK) ▪ Go to https://www.sparkfun.com/sikcode and download the examples.
  • 70. Appendix 2: Arduino Reference ▪ Go to https://www.arduino.cc/reference/en/ to learn Arduino basics.