<br> <b> <font size="5"> Input devices </font> </b> <font size="4"> <br> Today's assignment was to use input devices (aka sensors) to measure something. We built our own sensor and also got to using an off-the-shelf gyroscope. <br> For the DIY-sensor I decided to build something useful for our final project, a sensor that can determine when the rocket takes off. To do so I 3D modeled a tweezer that relies on a compliant mechanism to stay open. When pressure is applied the two copper ends touch and the circuit is closed. The 3D model looks like this: <img src="Screenshot 2023-07-30 at 13.57.25.png" width="600"> <br> you can download the .stl file <a href="compliant sensor touch v1.stl" download>here</a> and the .step file <a href="compliant sensor touch v1.step" download>here.</a> <br> <br> This is how the sensor works: <video width="600" height="380" controls> <source src="IMG_6411 2.MOV" type="video/mp4"> </video> For the second part of the assignment I decided to use a sensor that would be useful for the final project. To control our rocket we need to know where it is located and which direction it is pointing. For this we will use a 6-axis Gyroscope, the MPU6050. It can measure acceleration in all 3 spatial axis as well as yaw, pitch and roll. <br> This is the sensor we used: <br> <img src="mpu-6050-6-dof-gyro-accelerometer-imu-3_1_243a42b8-726d-4420-986e-e1fb02d20b7a_1024x.jpg.webp" width="600"> <br> <br> The MPU always knows its relative rotation. This makes it easy to output an accurate measurement to the serial monitor in degrees. To ensure that all measurements are accurate, we used an anglefinder and set it multiple values. This is a table showing the actual angle vs the measured angle. <br> <br> <img src="Screenshot 2023-08-06 at 21.37.42.png" width="600">