Asked
— Edited
This is a video to show you guys how good the Kangaroo/Sabertooth motor controller combo is!
Dave, this video starts by showing the ramp-up - full speed - ramp-down algorithm that I coded on the PIC microcontroller, you will see how GET_POS is read and controls the ramping up/down. The ramp-up and ramp down rates can easily be change via a variable. When I get my V4, I will port the algorithm over to an EZ-B script for those that want it.
The second part is to show you folks how important encoders are, here you can see the incredible synchronising that the Kangaroo's auto-tune PID has. I have sent it precision movement (distance) commands for hours with barely no loss of motor synchronisation which means that you can build a robot that will accurately move in a straight line and move/turn to the exact distances that they have been previously programmed/taught. I use this for accurate room mapping and having pre-learnt routines which enable my robots to move from one room to another or to a particular room location.

I haven't worked on the two way serial thing a lot yet with my V4 EZB. I've been busy retrofitting them into my B9 and getting them to work on him system by system. I was able to get my waist motor to move by sending a serial command through UART 0 but that was about all I tried.
On the I2C to serial converters, I have never used these, but I think the idea might work.
As for the converter, I didn't realize it will be coming from china so my v4 may arrive before the converter does. I just ordered my v4 a few weeks back so i'm way at the back of the line. I'd like to get this v3 going as it is the only robot project I have right now. I understand that you make robots professionally from your forum posts. Do you sell a pic board that may accomplish this feature with the V3 per chance?
I finally received my USB-to-TTL serial converter so hopefully I can at least upgrade my kangaroo firmware.
Appreciate all of the information you have provided.
warm regards
Matt
You could improve resolution by cutting say a larger disc and gluing as many small magnets as you can around the discs edge making sure there is enough magnetic separation so that moving the disc across the hall effect sensor gets a stream of clean pulses. If you put the magnets too close to each other then the hall effect will just see a continuous signal.
A more simple homemade encoder would be a disc with many holes precisely drilled around the edge then use a photo-interrupter circuit (LED with LDR, photdiode etc) to read the click count.
Hope this helps
I'm considering the US Digital E2 or E3 encoders. They make several models but they aren't giving them away so I'd like to keep potential cost as low as I can. These are easy to mount and fit my shaft (5mm) under the brake cap.
E2
E2 encoder
E3
E3 encoder
I'm not sure what to put for CPR and want to get the right part since they are relatively expensive.
Thanks in advance
Matt
Edit: I'm going to ask this of anyone who has used the kangaroo because I've had three emails into dimension with no responses this week. My dip pins on the sabertooth are 1&2 off all else on. On the kangaroo I have 124 off 3 on. I had a different setting 1,3,6 on the s tooth when it was running alone but I think these settings are what I need to perform as in your video. Problem is, I am not getting the software to see a sabertooth/kangaroo. Are my dip switches wrong or is it necessary to have the encoders attached for describe to recognize the kangaroo? I have the wiring from the kangaroo to usb correct and the sabertooth is powered up and connected to the kangaroo.
Matt
For the Kangaroo to work you need a feedback device like a pot or encoder attached to both the motor shaft and the Roo and also have had a successful tune. That may also extend to being able to use the setup software but not sure.
Dip Switches;
You have dip1 set to Analog. To use it with EZB you need to set it On. This will pit it into digital mode.
You have dip set to analog feedback. This is for use with a pot feedback.If you are going to use an encoder you need to set it to On.
You have dip set on now and that is for position. Off if for speed like when you are turning an axel of a car.
Roo's dips shouldn't keep you from accessing the setup software. Your Sabertooth dips are set properly.
encoders
more than I wanted to spend but I need them to work like Tony's video. I am now looking into a way to make the converter board I posted about or a similar pic type board work to make the robot perform send and receive serial. The waiting is the hard part. One of those things where you can't complete one thing because you're waiting on another. I only have a limited window to complete my project so i'm hoping to have a win soon.
I'm not sure when my v4 will ship but i'm a little concerned i'm going to have to buy another component since i'm using two 12v batteries in parallel connected to the sabertooth/kangaroo combo.
I guess there isn't much of a question here, i'm just checking in while I wait and wondering if anyone has had more luck with their projects.
best
Matt
Also what is the shaft hole size and how and where do you plan to mount these?
Thanks for any info you are willing to offer.
Dave
uk.mouser.com/ProductDetail/Avago-Technologies/HEDS-5545A14/?qs=RuhU64sK2%252bvm%252b6S8JdyXfw==
You can get them already installed on a very high quality and high torque motor from Zagros for around 129 bucks.
www.zagrosrobotics.com/shop/item.aspx?itemid=639
For high resolution they must be mechanically connected to the motor shaft itself, if you connect the encoder after the gear train (where you would attach the wheels) then the resolution will obviously be much lower.
Hope this helps
Tony
Hopefully my usb-delink will arrive tomorrow and i'll be able to update firmware or something on the kangaroo. I've asked a friend to see if he can make the i2c board I bought work to communicate bi-directionally with the v3. I'll keep you posted if anything comes of it. Waiting is the pits.
Matt
PS: I bought the encoders directly from us digital, you can choose your options on each encoder and they make several, some cheaper, most more expensive. Just email them and they will email an order sheet. I got mine very fast and they were very responsive to all emails.
Above is the new system
Here is the older system
Matt, the DEScribe software from Dimension Engineering is really good, you should find it very helpful.
Mel, Happy Birthday for the eleventh! I reach 58 this month too, we have seen some great robot developments in our time, but I think EZ-Robot (and DJ) are the very best thing that has ever happened in personal robotics!
Tony
I'm hoping that if the USB-delink arrives today that I'll be able to at least set up the kangaroo/sabertooth &encoder side of things despite not having bidirectional com yet. I'd like to see how these encoders work.
I have a big birthday (for me) coming at the end of the month too. I've sold my wife on this robot build until then and hoped to have it completed for the most part by then,that's where the urgency comes from. I know I can make something here and not just another garage built project but I fear I'm all over the board with what little I know.
I'll keep you all posted and appreciate the encouragement.
Matt
I'm not even going to bother testing the pot as the shaft where I have the gear attached even feels loose. I'm going to bite the bullet and go ahead and replace the entire motor with the one Tony AKA @Toymaker suggests and shows in the first vid of this thread. I've decided to get the X2 speed model with the high resolution encoder already attached to the bottom. It has less Rated Torque(in.oz.) at 150 so I hope it will be strong enough. My waist spins real easy so I'm not really too worried. The one Tony points to only is 45 rpm and I don't think it will be fast enough for some of the animation I have planned.
Here's the link and a pic as suggested by Tony but the faster motor:
REX Drive Motor w/ Optical Encoder 2X Speed Item #: MR200
I only have one question; I ordered an encoder cable from the same place. In fact it's the only one they sell. I hope it's the right one. If not could I get a suggestion where it get the proper one that will fit:
HEDS 5500 Encoder Cable Item #: 146
Thanks! Dave
I now have the fantastic V4, and I am well impressed! I am currently on a big project for my Toy Invention Company so I have not had a lot of time to play with the V4 yet, but I will be able to in a couple of weeks, so will then be able to do those Kangaroo scripts for you.
Welcome James to the forum who I believe is part of the Dimension Engineering tech team.
Tony
Tony