I am an absolute beginner in the field of Arduino and am attempting to create a device capable of steering a small boat to a preset heading… just that. Press a button and the current course is maintained.
Using an Arduino Uno, MPU6050 and a single servo I can get the servo to respond accurately to the sensor movements using the excellent code provided by Nevit Dilmen (thank you very much) on his blog here;
Sorry, not sure how to post the code into a window here.
At the moment a movement of -90deg to +90deg of the sensor gives a corresponding movement of -90deg to +90deg of the servo.
My aim is to achieve full -90 to +90 servo movement with only -10deg to +10deg sensor movement
Some guidance would be greatly appreciated.