HUB Tilt Sensor
The basic principle of the program is to measure the movement of the HUB as the momentum for the direction and use it as the input value of the motor.
(4) and (5) connect the Gyro Tilt angle value to the motor. If you want to increase the sensitivity according to the movement of the HUB, you can modify the multiplier to a higher number. The wheel will move faster.
Sensor Calibration
If there is no motion in the HUB but the wheels move, there is a sensor error. Or in the opposite case, execute.
When the HUB button turns red, do not move it and wait until it turns green. can then be used. Red indicates that calibration is required and is performed for approximately 3 seconds.
(2) If the sensor is not calibrated, the angle value is output as 0. That is, the wheels do not move.
(7) Calibration proceeds automatically for 3 seconds when the angular velocity becomes 0. At this time, the HUB must not be moved.
'LEGO Technic : 레고 공학' 카테고리의 다른 글
Which way is North? (0) | 2023.02.26 |
---|---|
Door Closing Alarm (0) | 2023.02.20 |
Play Spinning Top ! : 玩陀螺! (0) | 2023.02.12 |
그냥 따라해! 쉬운 로봇 : Copy me! Easy Robot (0) | 2023.02.05 |
Robot Bring It Cherry! Snack! Yummy! : 로봇이 직접 주는 체리! 과자! (0) | 2023.02.01 |