Enhance Your Projects with Bottango: Using Servo Control with Arduino Mega & PCA9685 Servo Driver

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ค. 2024
  • See how to enhance your animation project with Bottango using servo control with Arduino Mega and the PCA9685 servo driver.
    🔔🔔 SUBSCRIBE 🔔🔔 don't forget to subscribe and click the bell!
    / @bmonsterlaboratory
    Facebook: / bmonster-laboratory-10...
    **find the code on our Facebook page - check in the comment section**
    Twitter: / b_monsterlab
    check out our Arduino play list! We try to make it easy 👍
    • Easy Arduino projects ...
    download Bottango here - www.bottango.com/
    Chapter:
    0:00 intro
    0:10 Item in this video
    0:40 download Bottango
    0:51 build your Bottango model project
    12:16 Animate in Bottango
    13:58 Add key frames to your Animation
    16:46 setup your servo motors in Bottango
    18:28 add on/off trigger (LED custom event) to your animation
    20:50 upload Bottango sketch to your Arduino board
    23:16 wiring diagram
    23:23 setup your driver to go live
    25:23 hardware status - turn everything on!
    26:10 demo - real-time animate from Bottango software
    26:21 add a delay to your loop
    27:15 start real-time animate demo
    28:06 export code for Arduino
    30:01 config sketch to work without computer connection
    31:00 run animation from the code you uploaded
    31:54 some helpful troubleshooting tips
    3d printed pit droid came from files purchased here (no affiliation) - www.etsy.com/listing/73809685...
    Dive into the fascinating world of animatronics and robotics with our latest tutorial, "Enhance Your Projects with Bottango: Using Servo Control with Arduino Mega & PCA9685 Servo Driver". In this engaging and informative video, I'll guide you through every step of setting up Bottango to bring your creative ideas to life. From the basics of servo control using the robust Arduino Mega and the versatile PCA9685 servo driver to advanced techniques for crafting your own animations, this tutorial covers it all. You'll learn not just to animate your projects but to make them portable and mobile, taking your animatronics anywhere you go. I'll walk you through the process of exporting code from Bottango and implementing it on your Arduino, ensuring you have all the tools and knowledge to make your animation projects stand out. Whether you're a seasoned robotics enthusiast or just starting out, this video will inspire you to explore the limits of your creativity with Arduino. Join me as we unlock the potential of these powerful technologies to create something truly unique and captivating.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 37

  • @Bottango
    @Bottango 3 หลายเดือนก่อน +4

    Bottango Developer here, great video and great job! Awesome to see you make such great tutorials and content with Bottango!
    A few tips, if you don't mind my throwing out there:
    1)While animating, you can add tracks manually, and add keyframes using the add keyframe button. But also, just select a joint in the animate view, even if you haven't added a track for that joint yet, and start moving it. It'll add the track for you automatically, as well as add and modify the keyframe based on where you rotate the joint. You can keep adding and modifying keyframes that way, by moving the joint in the 3d scene where you want it, and the keyframes will get added / changed.
    2) At 17:45, you're trying to use only a portion of the servo's range of motion, but you changed the visual of the simulation of the servo in the 3d scene, not the pwm that's sent out. To send a smaller amount of range of motion signal to the real world servo, modify the PWM values at the bottom center of the screen with a servo selected.
    3) At 23:45, you're referencing the default driver. That's the Mega you're connected to, not the animations in your animation view. You can have multiple Arduinos all connected to Bottango at once, and assign different motors to different Arduinos. So default driver is the first Arduino set up by default in the project, but you can add more. The Default animation is just the first animation in the project. The two aren't connected.
    Great stuff, and keep up the good work!

    • @BMonsterLaboratory
      @BMonsterLaboratory  3 หลายเดือนก่อน +1

      Awesome stuff. I appreciate your comments and will remember this going forward. Great job on the software!

  • @SummersideDiver
    @SummersideDiver หลายเดือนก่อน +1

    Thank you for making this video. I was curious about Bottango and if it would create animations for our own projects. So happy it does!

    • @BMonsterLaboratory
      @BMonsterLaboratory  หลายเดือนก่อน +1

      hey there! I really like the software. It has a user-friendly interface, clear navigation, and logical workflow which makes this a great option for a lot of the 3d printing world. Thanks for leaving a comment and good luck making your animated projects! 👍💪

    • @SummersideDiver
      @SummersideDiver หลายเดือนก่อน +1

      @@BMonsterLaboratoryyour tutorial was very helpful. And I rewatched several portions while working through my first project.
      Here’s a link to those, if you’re interested. th-cam.com/play/PLzQgsed_IwhiD1LH09ofZVkr5hAdAkEkF.html&si=BS2BH7Hu5kixu1Ie

    • @BMonsterLaboratory
      @BMonsterLaboratory  หลายเดือนก่อน

      @@SummersideDiver that's great! Did you post your animation anywhere online? I'm back to finishing mine up this weekend

  • @jurrasicbrick3256
    @jurrasicbrick3256 2 หลายเดือนก่อน +1

    Bro, your video is very good👍. I don't know if you can make a tutorial on how to control a pap motor.

    • @BMonsterLaboratory
      @BMonsterLaboratory  2 หลายเดือนก่อน

      hey, thanks! Do you have a specific motor and controller in mind?

    • @jurrasicbrick3256
      @jurrasicbrick3256 2 หลายเดือนก่อน

      @@BMonsterLaboratory I think a basic or economical pap motor controller

  • @pablotrujillo2394
    @pablotrujillo2394 25 วันที่ผ่านมา +1

    hi nice tutorial can u explain how u controller the neopixel ring in the eye I know u put a custom event but I need to make some modification to the code. and another questions u try to play without the pc but trigger the animation with some kind of motion sensor or push button. Thanks

    • @BMonsterLaboratory
      @BMonsterLaboratory  25 วันที่ผ่านมา

      Hey there!
      I went simple with the LED ring. You can put your own LED code in the Arduino sketch but this WS2812B LED ring comes with a mini RGB controller, and that is what I use. I can control blink speed, color, and pattern by pressing 3 buttons. All I do for the LED ring is provide 5v power...It's the easiest way.
      I am posting one more video with this pit droid head motion this weekend. It will have a basic HC-SR501 motion sensor to to activate motion. I will be including the code I added to he exported sketch and a number of diagrams in case someone else wants to do the same thing.
      If you would rather have a bush button, that's doable too. The goal is to post the video Saturday morning ....10 or 11 am EST.

    • @pablotrujillo2394
      @pablotrujillo2394 24 วันที่ผ่านมา +1

      @@BMonsterLaboratory thanks I wait until Saturday to follow your tutorials.

  • @menukagamage5073
    @menukagamage5073 หลายเดือนก่อน +1

    Thank you so much for this video … is there any way u can trigger 3 different file with 3 buttons?

    • @BMonsterLaboratory
      @BMonsterLaboratory  หลายเดือนก่อน

      hey there! Would each file go through a different animation ? For example, button 1 would make it talk and look up, button 2 would make his light blink, and button 3 would make it look around while talking and flashing lights.
      Am I on the right track here? You can do that...or should be able to do that. Can you explain a bit about what you want to achieve?
      thanks for the comment and good luck with your animations! 👍💪

    • @menukagamage5073
      @menukagamage5073 หลายเดือนก่อน +1

      I have 3 different motion profile (2 servos and 5 on/off events ) I would like to assign 3 buttons for each motions .. hope u get it and thanks for quick replay

    • @BMonsterLaboratory
      @BMonsterLaboratory  หลายเดือนก่อน

      I haven't done anything like that yet. It sounds doable though.

    • @menukagamage5073
      @menukagamage5073 หลายเดือนก่อน

      I appreciate your reply.. can I least connect one switch to play one motion profile

  • @jakubmalicki4643
    @jakubmalicki4643 2 หลายเดือนก่อน +1

    what pins on arduino uno i need to use? (i dont have mega)

    • @BMonsterLaboratory
      @BMonsterLaboratory  2 หลายเดือนก่อน

      HI, The SCL and SDA pins are on the digital pin side next to the AREF pin. You can see it in the diagram on the Arduino site docs.arduino.cc/retired/boards/arduino-uno-rev3-with-long-pins/ If you have the Minima, the pins are in the same position. You can see the Minima diagram here docs.arduino.cc/tutorials/uno-r4-minima/shield-guide/

    • @Sammyrobotics-bv1x
      @Sammyrobotics-bv1x หลายเดือนก่อน +1

      How do add the pin to your servo motor

    • @BMonsterLaboratory
      @BMonsterLaboratory  28 วันที่ผ่านมา

      Hey Sammyrobotics! sorry for the late replay.... You add the pins in the "build" tab at the top. You'll see a parts list on the left. Click a motor or join and the "parts setup" list will come up on the right. Under "connection", change from "pin" to "I2C and pin" if you're using this servo breakout board. Make sure the I2C address is correct and you select a pin for your breakout board. enjoy!

    • @Sammyrobotics-bv1x
      @Sammyrobotics-bv1x 28 วันที่ผ่านมา

      @@BMonsterLaboratory I meant what pin do I add to the servo?

  • @menukagamage5073
    @menukagamage5073 2 หลายเดือนก่อน +1

    Can u control 2 servo and 4 output with one arduino?I tried this but getting error msg cannot set live saying "it has the same driver and config

    • @BMonsterLaboratory
      @BMonsterLaboratory  2 หลายเดือนก่อน

      You should be able to. I haven't tried that yet, but i'll give it a shot. Are you using direct servo control with your Arduino or are you going through a servo driver board?

    • @nanopuppet289
      @nanopuppet289 2 หลายเดือนก่อน

      I’m using direct control from arduino

    • @nanopuppet289
      @nanopuppet289 2 หลายเดือนก่อน +1

      I’ve managed to get everything to work fine … thank you for quick reply .. like I mentioned can u make audio track visible while you edit the graph .. this we’ll make voice synchronization much easier… unless there’s a way to do this ? Keep up the amazing work

    • @BMonsterLaboratory
      @BMonsterLaboratory  2 หลายเดือนก่อน

      @@nanopuppet289 I'll play around with audio. I haven't done that yet because i'm pretty new to this software. I was going to use a sparkfun mp3 player shield with it. I will play around with it more soon and see what I can get to happen. Thanks for adding to the conversation.
      By the way, I like the animatronic videos you have on your channel - very cool!

    • @nanopuppet289
      @nanopuppet289 2 หลายเดือนก่อน +1

      Thank you so much 🙏🏼

  • @Sammyrobotics-bv1x
    @Sammyrobotics-bv1x 20 วันที่ผ่านมา +1

    Every time I try to export code to Arduino it doesn’t let me I’ve been stuck on that part. Can you help me? I tried to refresh it every time I try to open the file that you told me it doesn’t go Arduino software export the code

    • @BMonsterLaboratory
      @BMonsterLaboratory  19 วันที่ผ่านมา

      interesting. do you get any error messages? Where is the exact point of failure? I can make a TH-cam short on how I do it...if that helps.

    • @Sammyrobotics-bv1x
      @Sammyrobotics-bv1x 19 วันที่ผ่านมา +1

      It doesn’t say any error messages I just don’t let me export it from bottango to Arduino

    • @BMonsterLaboratory
      @BMonsterLaboratory  19 วันที่ผ่านมา

      @@Sammyrobotics-bv1x Hmm... I'm not sure what the problem could be. In the animate tab on the left, look right and click export to code under the animations. From there you just follow the prompts and select a folder. I'll keep playing around with it but I haven't seen a problem so far.

    • @BMonsterLaboratory
      @BMonsterLaboratory  19 วันที่ผ่านมา

      I was able to open a brand new project and go straight to export. It says I have no motors or effectors in selected animation clips. make sure project is saved and try again. If it doesn't work, remove and reinstall Bottango....

  • @Sammyrobotics-bv1x
    @Sammyrobotics-bv1x 26 วันที่ผ่านมา +1

    How did you upload the bott tango file to Arduino also I am on Mac book

    • @BMonsterLaboratory
      @BMonsterLaboratory  26 วันที่ผ่านมา

      Hi Sammy,
      I'm on a pc, so I could tell you how I did it for pc....not sure how it translates to mac. Export from the Bottango software, open the file and drag 2 files (GeneratedCommandStreams.cpp, GeneratedCommandStreams.h) to the Bottango Arduino driver folder. From this file, open the Bottango Arduino sketch, go to BottangoArduinoConfig.h tab and uncomment #define USE_COMMAND_STREAM line. If you are using the servo driver board, uncomment the #define USE_ADAFRUIT_PWM_LIBRARY line. I am currently using 2 servos and not using the servo breakout board and it's working fine. If you're not using the driver board, leave the line as it is "// #define USE_ADAFRUIT_PWM_LIBRARY "
      From here you should be able to upload and start your animation without the computer. Upload the file from Arduino IDE. If you connect back to the computer, be sure to comment the command stream line "//#define USE_COMMAND_STREAM"
      👍

  • @ZenHulk
    @ZenHulk 3 หลายเดือนก่อน +1

    that motor driver sucks, most servos out there now need more than 6v the max of that board, plus every driver for it is horrible, got 10 of them sitting in a box under desk.

    • @BMonsterLaboratory
      @BMonsterLaboratory  3 หลายเดือนก่อน

      Hey there! great to hear from ya. I haven't had any issues with these servos or driver board yet but I guess that depends on what you need them to do. I don't have any higher voltage servo motors yet but may need a few in the near future