Week 5 and 6 Sensors and Embedded Systems
Sensors and Embedded Systems
Introduction
Welcome to our journey into the world of servo motors! In this project, we're discovering how these special motors can help machines react to changes in their environment. Imagine a world where machines can move or adjust by themselves based on what they 'see' or 'feel'—that's exactly what we're exploring with servo motors.
Our Project Kit
We got our hands on some cool stuff for this project:
- Sensors: We used sensors like photoresistors to see how bright it is and thermistors to measure temperature changes.
- Transducers: These are like the translators in our project. They help the sensors talk to the servo motor by converting their signals.
- Servo Motor: This is the star of our show! The servo motor is like a little robot arm that can move in precise ways.

Types of Output
Our project mainly focused on the servo motor. It's the part that moves based on what the sensors tell it. So, when the light changes or the temperature goes up, the servo motor responds by moving in a certain way. It's like magic!
Code Stuff
To make all this happen, we used something called the Arduino IDE. It's like a special tool that lets us write instructions for the Arduino board. We wrote simple commands in a language called Arduino, which is like a simplified version of C/C++. These commands told the Arduino board how to read the sensor data and control the servo motor.
Use of Input and Output
In our project, we used input from the sensors to trigger actions by the servo motor. For instance, when the light sensor detected darkness, it sent a signal to the servo motor to turn on a light. This demonstrates how sensors provide input to the system, which then produces output through the servo motor's movement.
Analog vs. Digital
The signals from our sensors can be either analog or digital. Analog signals are like a smooth wave, providing continuous data about things like light intensity or temperature. Digital signals, on the other hand, are like simple on/off switches, providing discrete information. We used both types of signals in our project to detect changes in the environment and control the servo motor's movement accordingly.

Comments
Post a Comment