0
I need a code for a project which is a 3 axis gimbal with arduino uno and mpu 6050 ?
i want to make a 3 axis gimbal for cameras which work with arduino uno and mpu 6050 and with joystick control... please help
6 odpowiedzi
+ 3
separate your project in steps:
1)reading analog input (joystick)
example available in the arduino IDE
https://www.arduino.cc/en/Reference/AnalogRead
2)I2C interfacing (mpu-6050 gyroscope)
https://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/
3)Motor contol (Servo/stepper according to what you use in your gimbal: google it- plenty info around)
once you are familiar with each step, join them together in you final project.
+ 1
Arduino is basically C language (almost, it has quite a few addons to make it easier to code. How are you driving the gimbals?
+ 1
learn Arduino C there are lots if resources out there, you can actually program an Arduio with all C++ if you include the right libraries. Arduino is really a practical learning thing, lots of trial and error and messing around with wiring and other ekectrical components to achieve your outcome. It is also very rewarding and alot of fun!
+ 1
@seamiki thank you for your answer its very helpful 😊
0
i dont know what do u mean cuz i am still learning about arduino and still dont know from where to start? and should i learn c++ or c language?
0
thank you a lot and i will learn c++ and arduino c and thank you for encouraging me😊