The Mindstorms EV3 kit contains sensors (ultrasonic, color/light, gyro, and touch). It allows us to add or remove these sensors. In class, we learned how to add the sensors and investigate the coding block. Also, we have had practice small tasks.
Color Sensor
First, we added the color sensor and investigated the block and then we practiced two tasks detect the colors and follow the line. To detect the colors, we had the robot to go over a board with a different color the robot detected the color and say the colors name. For the other task, we calibrate the color sensor to use it in reflected light mode and then we practiced follow the line.
Programming that calibrates EV3 Color Sensors for black and white
Ultrasonic Sensor
Next, we added the ultrasonic sensor to the front and then we investigated the program block and what ultrasonic sensor does is measuring the distance to an object in front of it. We had the robot to detect an obstacle and back up and had the robot move to the next obstacle, back up and stop. Actually, in the ultrasonic sensor wait block. there are two options compare is when the sensor detects the obstacle in centimeters or inches and the change option is when the robot back up and increase the obstacle.
Tuch Sensor
We added 2 touch sensors to the EV3 brick one facing up and the other one out front. We practiced starting and stopping in touch. Ther are two options for the touch sensor one is released and the other one is press. When we chose the touch sensor from the wait block, we can choose between compare or change. So, compare has one option which is a state and it means wait until whatever I'm looking for release, press or bump. Also, we added the lop to the program and basically, the lop will run the robot until what I set it to have happened. So, this is a basic programming for the touch sensor.
Gyro Sensor
We practiced the Gyro Sensor which is a digital sensor that detects rotational motion on a single axis. It can detect the rate of rotation in degrees per second and keeps track of the total rotation angle in degrees. You can use this rotation angle to detect how far your robot has turned. We were able to program turns with accuracy degrees for a 90-degree turn.
Note: This sensor must be completely motionless while being plugged into the EV3 Brick. If the Gyro Sensor is attached to a robot, the robot should be held motionless in its starting position as the Gyro Sensor is plugged into the EV3 Brick.
Color Sensor
First, we added the color sensor and investigated the block and then we practiced two tasks detect the colors and follow the line. To detect the colors, we had the robot to go over a board with a different color the robot detected the color and say the colors name. For the other task, we calibrate the color sensor to use it in reflected light mode and then we practiced follow the line.
Programming that calibrates EV3 Color Sensors for black and white

https://drive.google.com/open?id=1WKP3Ig7in64gJhNubFfQAHI4IqBsWSxe
Ultrasonic Sensor
Next, we added the ultrasonic sensor to the front and then we investigated the program block and what ultrasonic sensor does is measuring the distance to an object in front of it. We had the robot to detect an obstacle and back up and had the robot move to the next obstacle, back up and stop. Actually, in the ultrasonic sensor wait block. there are two options compare is when the sensor detects the obstacle in centimeters or inches and the change option is when the robot back up and increase the obstacle.
We added 2 touch sensors to the EV3 brick one facing up and the other one out front. We practiced starting and stopping in touch. Ther are two options for the touch sensor one is released and the other one is press. When we chose the touch sensor from the wait block, we can choose between compare or change. So, compare has one option which is a state and it means wait until whatever I'm looking for release, press or bump. Also, we added the lop to the program and basically, the lop will run the robot until what I set it to have happened. So, this is a basic programming for the touch sensor.
https://drive.google.com/open?id=1PcLPRLtXCJr1d4BDdj49dB4LtSIqQliK
We practiced the Gyro Sensor which is a digital sensor that detects rotational motion on a single axis. It can detect the rate of rotation in degrees per second and keeps track of the total rotation angle in degrees. You can use this rotation angle to detect how far your robot has turned. We were able to program turns with accuracy degrees for a 90-degree turn.
Note: This sensor must be completely motionless while being plugged into the EV3 Brick. If the Gyro Sensor is attached to a robot, the robot should be held motionless in its starting position as the Gyro Sensor is plugged into the EV3 Brick.




No comments:
Post a Comment