One of the final challenges from Crunchlabs is to add a gyroscope and accelerometer to the IR Turret so you can control it from like a hat or glasses. We'll walk through how to create this but adding some finesse will be left to you.
Github with Example Code: github.com/AmishThunder/TKMak...
Small Breadboards: amzn.to/4cldQGa
The one I have is no longer available but this is similar.
MPU6050 Accelerometer and Gyroscope: amzn.to/3VGYEMw
Long Dupont Wires: amzn.to/45WXJfK
0:00 Intro
0:45 Wiring MPU6050
1:20 Library And Example
2:36 Merge Example And IR Turret
5:12 Add Gyro Controls
8:22 Wire A Fire Button
8:43 Code The Button
Негізгі бет Ғылым және технология Add Accelerometer and Gyroscope to the HackPack IR Turret
Пікірлер