Let's Make Robots!

Mr. Tidy

OddBot's picture

AttachmentSize
Mr_Tidy_MkII_Sample_Code_V3.zip19.94 KB
IRremote5.zip23.24 KB
Vendor's Description: 


It's been a long time coming but Mr. Tidy is finally here! He is Arduino compatible using the ATmega1280 MCU and can be programmed via the pre-loaded Arduino bootloader or via the on board ISP socket using AVR software. This small robot is packed with features making it a great learning tool as well as being loads of fun! He has:

Quality aluminium chassis.
Strong nickel plated steel framework for the arm.
Heavy duty double gear trains for the arm and gripper.
2DOF arm with large steel gripper and silicone rubber grip pads.
Skid steering assisted by double omni-wheels at the front.
128K of flash memory, 8K of SRAM and 4K of EEPROM.
DC charging socket for battery trickle charge.
Battery voltage monitoring.
4x FET "H" bridges with current sensing.
4x pulse encoders.
4x digital IR sensors for collision avoidance.
4x analog IR sensors for object detection and gripper alignment.
1x RGB colour sensor to determine object colour.
1x IR receiver for beacon navigation or receiving commands via TV remote.
1x socket for optional line following PCB or IR compound eye.
1x I²C socket.
1x expansion socket for access to unused analog, PWM, comms and digital I/O pins.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

//Demo code for Mr.tidy MkII

#include <IRremote5.h>                                                  //IRremote Library originally written by Ken Shirriff (2009) - http://arcfn.com
#include <IRremoteInt5.h>                                               //IRremote5 modified by RobotFreak to use timer5 instead of timer2 (2011)

It is possible where to download IRremoteInt5.h and IRremote5.h?

OddBot's picture

I've attached the library here and I will also post it on my support site.

 

Hi, i got sent here from dagu site, please re direct me if I'm in the wrong place!

I bought a Mr tidy a few months ago now and despite my best efforts,have yet to get him to function as intended.

I should make clear that I'm way under qualified to have bought this, I thought it was a beginners kinda thing!

perhaps I'm not looking in the right places but I cant seem to find many who have this robot on forums etc.

Apart from a limit switch not being connected, The battery holder being so tight that the terminals didn't contact (took a while to figure that one!) and several wires being inserted in their holders/plugs the wrong way round!!, I have come across a frustrating problem with the encoders!

The problem is that they don't work as configured! I note from the manual that if the encoders don't work, there is the suggestion, that they need to be closer!!   Having run the code and squeezing the encoder whilst the motor runs, I can see feedback from the encoders. Having tried every kinda brute force and ignorance approach available i have failed to get consistent results.

So a couple of questions: can the sensitivity of the encoder be changed in the code, or does the robot have to be rebuilt with the encoder's  closer to the sprockets. (arm and grip encoders both not preforming!).

And please excuse my ignorance in my second question but what would the code look like and how would it preform without the encoders at all. I am not intending to try mapping but have very very little experience with robots and or code!

This is my first electronics/robot/code project and I was hoping to learn on my own, but frustration and inexperience are plaguing my dreams!!  I am sure this could be easily fixed with some amendments to the code or perhaps another trick unknown to the uninitiated.

if you can assist/advise both Mr tidy and I would very much apreciate it. cheers in advance

OddBot's picture

My site re-directed you here so that you can get help from others as well as myself here on LMR.

OK, yes you are right that this robot is not a good choice for beginners but now that you have it we will try and help you out. To begin with, the shoulder encoder can be a problem because the distance between the PCB and the encoder disc is greater than with the other encoders.

The wheel encoders should be easy enough as the gear with the sticker is press fitted on the shaft and can be moved in and out slightly using a flat blade screwdriver.

I have written new code recently that uses a timer and the limit switches on the arm as a secondary backup. It also allows you to use a TV remote to manually control the robot. This is useful for debugging any code you write or modify. I will attach that file today.

hi thanks for your reply, It took a couple of weeks to be notified and in the interim I got the encoders working.

When you mentioned that the wheel encoders were press fitted to the shafts, I checked the arm and gripper sprockets and they too are just press fitted. The whole setup is just held captive by rubber friction fit washer thingys! A little manipulation with some long nose pliers and the sprockets can be extracted with little effort and no frame disassembly. a bit of modding with some sandpaper and a file and the encoder surfaces are now closer and work fine.

As much as it is disappointing to have to do this to get a new product to function correctly, it was no where as hard as I had imagined it would be, I would recommend this fix to anyone else having difficulty with the encoders.

IF YOU WANT THIS ROBOT:

I have mixed feelings about this product, despite all the problems I have had, I still think its possibly a great introductory robot platform and has great potential for additional functionality and comes at a very reasonable price. I purchased it along with an Arduino inventors set from sparkfun. And as my first foray into electronics and microprocessors I was confident being Arduino and having arduino type support I would just have to watch the forums and learn..........Unfortunately the jump from basic intro Arduino stuff to Mr Tidy s level is quite a big one....and the documentation via forums is non existent (try google Mr Tidy and pickup some tips). Without noob level guidance and active forums on the subject with beginners sharing their solutions its almost impossible to pick it up as you go.

A little more quality control and some more step by step documentation and this robot could be the benchmark in affordable introductory robotics. There is not a comparable (at this price) product on the market, but this is also the least well documented arduino project I have found. Beyond the original posts where Mr Tidy was created there is almost no follow up, no mods, no one else seems to have bought one!

If you have not played with arduino or similar , and are not prepared for a challenge, do not buy this bot! That being said If you do have some arduino experience and can overcome the encoder and other quality issues then this has a lot of functionality for less bucks than anything else I could find.

Anyways thats my tupence worth on the subject, if I figure out how to do some more stuff that might assist others, I will try and post here in LMR.

on a slightly different note;

The speed of the robot seems to be set a little high for my environment. I live in a mobile home and with not much available, I intend to try amending the program to see if i can slow him down a bit, any pointers on how best to achieve this would be appreciated.

lastly, thank you for including the IR control sketch, to be honest I cant really figure out exactly what I have to do to implement the  IR control.

If im guessing correctly, I require an old IR remote, which I map the output of using one of the sketches and the receiver on the robot and display the output to a serial monitor. Then..........I start getting a little lost!..........I think I record this output to somewhere?........then include this value somewhere in one of the other sketches which one and how I have no Idea.......I think I then reboot the robot into another of the sketches....and eventually the robot should be able to respond in some way to IR commands. exactly how it responds presumably requires to be programed or selected or is there some default actions........And at this point I realize how in over my head I am and how it is not your job to give me a step by step robotics course ;)

I guess if I beat my head off the Internet enough times I might eventually figure out how to do this myself!

If/when I figure it out, I will attempt to document and explain how its done and post in LMR. If anyone can help with the speed and IR implementation in the meantime they are more than welcome to beat me to it!!

 

 

OddBot's picture

Thanks IG!

At this point I cannot post prices as this will be up to the distributors. I will update this post with links to the distributors as they become available.

 

ignoblegnome's picture

Wow, another great OddBot design implemented by DAGU. You must be very happy to see this as a kit. The board looks very nicely done.

I didn't see a link to buy it or any pricing. When will it be available?