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

5th Mar 2017, 4:10 PM
Momen Hany
Momen Hany - avatar
6 Antworten
+ 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.
5th Mar 2017, 7:40 PM
seamiki
seamiki - avatar
+ 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?
5th Mar 2017, 4:19 PM
Jason Hoffman
Jason Hoffman - avatar
+ 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!
5th Mar 2017, 4:45 PM
Jason Hoffman
Jason Hoffman - avatar
+ 1
@seamiki thank you for your answer its very helpful 😊
5th Mar 2017, 9:15 PM
Momen Hany
Momen Hany - avatar
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?
5th Mar 2017, 4:26 PM
Momen Hany
Momen Hany - avatar
0
thank you a lot and i will learn c++ and arduino c and thank you for encouraging me😊
5th Mar 2017, 4:50 PM
Momen Hany
Momen Hany - avatar