No video

2/2 DIY Arduino Camera Pan/Tilt Stabilizer with Accelerometer

  Рет қаралды 56,285

Shawnee Union

Shawnee Union

Күн бұрын

Пікірлер: 73
@sradhatripathy6367
@sradhatripathy6367 5 ай бұрын
Can u plz send code link 🖇️,we really like your self calibration method,it will be helpful for us
@armbar6761
@armbar6761 4 жыл бұрын
Link to the code isn't working
@fernandosanchez8230
@fernandosanchez8230 2 жыл бұрын
could you pass me the code please ?
@whatevernext1
@whatevernext1 6 жыл бұрын
very helpful thank you.
@ShawneeUnion
@ShawneeUnion 6 жыл бұрын
Thanks!
@coemoraes8284
@coemoraes8284 9 жыл бұрын
Amazing dude, really, amazing,
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
***** Thanks!
@VictorGarcia-vk9fq
@VictorGarcia-vk9fq 7 жыл бұрын
I think the problem is that in your code you maybe have something like this servo_x_angle=gyro_x_angle where you should have something like this servo_x_angle=servo_x_angle+gyro_x_angle, cause in the first example it will confuse the program because if you for example tilt the gyro 20 degrees x when its over the servo the code will tilt the servo 20 degrees x but then it will read that the gyro is on 0 degrees so it will return the servo to 0 degrees instead of leaving it on 20 degrees, I dont know if Im explaining myself
@edilsonfb
@edilsonfb 10 жыл бұрын
Very good! Thanks 4 share
@ShawneeUnion
@ShawneeUnion 10 жыл бұрын
Thanks! Glad you liked it
@edinsonhernandez9834
@edinsonhernandez9834 10 жыл бұрын
good night this is a good project thank you for share, but I want to know how to invert the direction of rotation horizontal. thankyou
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Edinson Hernandez I think you'd just (180- degrees). I had to invert the readings a lot and it basically came down to subtracting and adding things to 0 and 180.
@SaifAli-ik6qy
@SaifAli-ik6qy 9 жыл бұрын
Hey, I don't know either it happens to me only or with everyone, but when I connect every thing with arduino and after uploading the code, after few minutes , my one servo motor stops working. And after closing the arduino IDE, my both servo doesn't respond to the motion of MPU 6050
@andreasryslett
@andreasryslett 7 жыл бұрын
When placing the accelerometer on the assembly, accelerometer reconizes real center of rotation, but are placed offset from it, therfore confution occurs i the logick of the software. So therefore values for has to be created for the offset maybe using a virtual center of rotation vith negative values? Am I way off with this, is this something to be taken in consideration ?
@robertoluizamorimjunior2547
@robertoluizamorimjunior2547 9 жыл бұрын
hello when I move the fast sensor, servo motor lock and does not follow the movement, and is making a noise (tec tec tec) in the servo motor, and then resetting it back to normal, you can say what can be ? I'm using servomotor Towerpro MG946R direct 5v power by the Arduino.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
+Roberto Luiz Amorim Junior the code I used wasn't the most efficient and the original poster of the code changed the way it was written. If you're moving it that fast the arduino may not be able to process the data fast enough or you may be hitting the limits of the servo. I'd slow down your movements and test to see if it's the sensor, arduino or servo.
@laurynas8309
@laurynas8309 9 жыл бұрын
Thanks
@laurynas8309
@laurynas8309 9 жыл бұрын
hey what is under the dug tape ?can you write full name and where did you buy it? thanks.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Laurynas Vaitkūnas Hey I'll put up a parts list later this afternoon so you can purchase it.
@laurynas8309
@laurynas8309 9 жыл бұрын
Yeah pleace
@laurynas8309
@laurynas8309 9 жыл бұрын
Shawnee Union so...
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Laurynas Vaitkūnas astore.amazon.com/shawunio-20?_encoding=UTF8&node=6
@IgnasKalnietis
@IgnasKalnietis 9 жыл бұрын
did you now what is under the dug tape ?can you write full name and where did you buy it?
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Ignas Kalnietis astore.amazon.com/shawunio-20?_encoding=UTF8&node=6
@jazt1828
@jazt1828 8 жыл бұрын
Which Accelerometer did you use. I may have missed this information if you said it in your video. Thanks
@ShawneeUnion
@ShawneeUnion 8 жыл бұрын
I got a pretty cheap 9 axis IMU off of dealextreme. This would work too www.sparkfun.com/products/13284?SparkFun+Customer+Newsletter&Aug_14thNewsletter&
@abinayas9341
@abinayas9341 9 жыл бұрын
Very very impressive!! I am trying to build a pan and tilt mount that can hold a camera weighing 250 grams. I am using arduino uno. Can you help me with the type of servos(analog/digital/micro) that would support the weight of the object ? I am having trouble choosing a servo to manage the weight and power. Thanks!
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Hey, I'm not great with that. I bought a kit with two servos like the one in the video description. If you're going to buy it in pieces get a little more than you think you need in terms of power and speed. Hope that helps
@abinayas9341
@abinayas9341 9 жыл бұрын
Thank you !
@georgemakris626
@georgemakris626 9 жыл бұрын
Hi! Don't know if someone else posted this already but if you put the accelerometer on the stable part of the project i think that you would get a better range than having it on the moving arm! Or not? :)
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Never thought about that but you'd be correct. Maybe the translations would change slightly.
@lucacamphuisen3093
@lucacamphuisen3093 8 жыл бұрын
Hello. Which Servo bracket did you use and which servo adapter did you use? I already have the servo motors. Thanks!
@ShawneeUnion
@ShawneeUnion 8 жыл бұрын
+Looka masira Can't believe I didn't put a link, I didn't really like this one in the video. This version from Adafruit will work great. Everything I have purchased from them has been legit. amzn.to/1WHjqJN
@gyakoboandy1802
@gyakoboandy1802 9 жыл бұрын
Could you please share the code in the comment please.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
+Gyakobo Andy Code is in the description and freely available from Github
@gyakoboandy1802
@gyakoboandy1802 9 жыл бұрын
Hi +Shawnee Union thanks for the code.
@gyakoboandy1802
@gyakoboandy1802 9 жыл бұрын
Hello.Are you using a 90 or 180 degree servo's.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
+Gyakobo Andy 180 degree ones. 90 isn't enough range.
@jedodd64
@jedodd64 9 жыл бұрын
How hard would it be to add joystick control.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Jeff Dodd Not much harder at all, are you thinking of just controlling the servos or having both servo control and balance?
@jedodd64
@jedodd64 9 жыл бұрын
I was thinking of doing both.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Jeff Dodd it would work. Check out this video I made to get your joystick going, kzbin.info/www/bejne/nWW2nKl4f86inJI
@jedodd64
@jedodd64 9 жыл бұрын
Thanks for the link, I have the servos working on a couple of pots. I was hoping to add your stabilizer code to it. I was guessing I would have to change what the stabilizer code calls zero or home. Joystick would say move here and stabilizer would see that new location and hold that spot.
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Jeff Dodd interesting. Adding a pause and start button would be my approach, you'd have to some passing of variables but it seems straightforward. Good luck
@jdubulator
@jdubulator 10 жыл бұрын
Inertial measurement unit, not internal.
@ShawneeUnion
@ShawneeUnion 10 жыл бұрын
Thanks
@ramayodhyagupta9947
@ramayodhyagupta9947 7 жыл бұрын
can you make it wireless
@ShawneeUnion
@ShawneeUnion 7 жыл бұрын
+RAM AYODHYA GUPTA yes you can
@ddjidol
@ddjidol 9 жыл бұрын
whice port the servo connected?
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
ido lisha any analog port on the arduino.
@AgneloLobo
@AgneloLobo 6 жыл бұрын
Hi can you help me the arduino code for this
@ShawneeUnion
@ShawneeUnion 6 жыл бұрын
Trial and error.
@edzio8069
@edzio8069 9 жыл бұрын
How to connect 3 servos?
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
It would just be another servo connected to a 5v rail and then you'd need another digital input. I'd probably get some more current too since thats could be a big current drain (1+ amps).
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
ed ed I can help you but I can't hold your hand. My code is pretty clear, if you have a analog Ouput device you would need to make two changes to my code. One to assign a third analog output and then add another line to write the angles. You'll get better by figuring it out on your own.
@edzio8069
@edzio8069 9 жыл бұрын
Shawnee Union I'm a beginner with arduino and don't know how to edit the code to run. I'll try today to change a code and see. :)
@edzio8069
@edzio8069 9 жыл бұрын
Shawnee Union Could you check the changes? github.com/edzio1/code-3-servos/blob/master/gy_521_send_serial%20-EDIT
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Great Job! That should work, I would only keep things more consistent servo 1 on pin 9 and servo 2 on pin 10 servo 3 on pin 11 to keep things straight. Good job!
@InCog2020
@InCog2020 9 жыл бұрын
What app is that on your phone? Will I be able to find it if I search for IMU?
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
gmecomber I just looked. I forgot what the app is but I searched for accelerometer and it gave the best results. You want something that gives XYZ axis readings.
@InCog2020
@InCog2020 9 жыл бұрын
Shawnee Union Thanks so much. May I also ask, do you think it would be hard to transmit the coordinates through Bluetooth to a computer or would I need to use something like Matlab?
@ShawneeUnion
@ShawneeUnion 9 жыл бұрын
Pretty easy, check out his product from adafruit. Hope this works for you www.adafruit.com/products/1588
@InCog2020
@InCog2020 9 жыл бұрын
You're a great help and an inspiration. Don't be a stranger. :)
@jakku9991
@jakku9991 8 жыл бұрын
link to code?
@ShawneeUnion
@ShawneeUnion 8 жыл бұрын
read description.
@abencomo
@abencomo 10 жыл бұрын
Very nice work! We built a similar project. However, we used an IOIO board to control the servos. Here is the preliminary result: kzbin.info/www/bejne/f6GqdWqBd7JnsKM
@laurynas8309
@laurynas8309 9 жыл бұрын
Thanks
@laurynas8309
@laurynas8309 9 жыл бұрын
Thanks
Pan Tilt Control using Servos for ESP32 Cam |  WiFi Security Camera
12:10
hash include electronics
Рет қаралды 145 М.
DIY Motorized Camera Slider with Pan and Tilt Head - Arduino Based Project
16:46
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 45 МЛН
小丑和白天使的比试。#天使 #小丑 #超人不会飞
00:51
超人不会飞
Рет қаралды 32 МЛН
Simple Pan Tilt and Roll servo gimbals
2:19
Andrew Newton
Рет қаралды 48 М.
1/2 DIY Arduino Camera Pan/Tilt Stabilizer with Accelerometer
1:52
Shawnee Union
Рет қаралды 40 М.
IMU camera control / stabilisation
1:55
SebMadgwickResearch
Рет қаралды 166 М.
Pan and Tilt bracket assembly for MG996 servo
6:23
2G_World
Рет қаралды 24 М.
DIY Gimbal | Arduino and MPU6050 Tutorial
12:53
How To Mechatronics
Рет қаралды 532 М.
Pan & Tilt Head - Homemade
6:02
sethy Jean
Рет қаралды 96 М.
DIY Motorized Pan & Tilt Camera Mounting System - Part 3
13:06
How to make a pan-tilt camera mount
12:40
Chris Mabey
Рет қаралды 53 М.
Angry Sigma Dog 🤣🤣 Aayush #momson #memes #funny #comedy
00:16
ASquare Crew
Рет қаралды 45 МЛН