Asked — Edited

Video Of Ez-B Controlling The Waist Rotation Of My B9

Hi all,

I've been struggling and working on learning scripting in ARC. With the help of a couple members here (Gunner and Putt Putt) giving me some pointers and code examples I was able to bake a break through on one of the most important animations on "Blinky" I'm building (my full sized B9-Robot frOM Lost in Space).

The waist rotation motor is a 24vdc gear motor running through a Pololu VNH5019 Motor H-bridge. I'm a Multi turn pot for encoder feedback running in-line on the waist gear next to the motor. The script is setup to listen for a call from another script stating the $adcSpecified values received from the pot. The values tell the script where I want the waist to stop rotating. Right now I have this call script set up to send different $adcSpecified values, one at a time after a little Sleep period so the motor has time to move there. I also have different PWM levels set for each move so the speed will ramp up as it starts up and down as it reached the stop point. The torso of my B9 Robot is very heavy (I think around 70 lbs) and I don't want it jerking to a start or stop. Works great thanks to the EZ-B!

Here's the vid. Enjoy:


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

#9  

Thanks for the positive and encouraging comments. It's been a lot of work but a labor of love. Just think, this time last year before I even knew about EZB, I knew nothing at all about robotics. Didn't even know how to start to write a script. EZ Robot is really responsible for all this!

R2D2, I posted info on this in your thread about encoders. Hope it helped. let me know if you need more.