7. Input & Output device¶
In our seventh week, we focused mainly on input and output devices so that we get more prepared for our final project. We worked on different challenges at different levels. Level 4, 5 and 6 and each level had three stages, beginner, intermediate and dvanced. Before presenting the challenges, I will present a brief description of input and output devices.
Input devices¶
Definition¶
Input devices are any hardware component or sensor that allows a physical system like a microcontroller to receive data from the real world. They send signals to a microcontroller which then processes that data and can respond to it.
Example of input devices¶
- Buttons
- Sensors (temperature sensor, light sensor, motion sensor and ultrasonic sensors)
- Switches
Applications of input devices in real life¶
- Motion sensors in smart homes which turn lights on when someone enters a room.
- Ultrasonic sensors in cars which help with parking (distance detection).
- Temperature sensors which are used in digital thermometers
- Touch buttons for dashboard controls or unlocking the car.
Output devices¶
Definition¶
Output devices are components that receive signals from a microcontroller and perform an action.
Example of output devices¶
- LED
- Buzzer
- Servo motor
- LCD screen
Applications of output devices in real life¶
- Smart door lock whicch uses a servo motor to unlock the door.
- Alarm system which uses a buzzer to sound when motion is detected.
- Smartwatch which uses vibration and an LED screen for notifications.
Challenges¶
List of components needed¶
- Microcontroller
-
USB type C cable
-
Connecting wire
-
Input and output devices