Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

sumo robot ( i need ur help )

Status
Not open for further replies.

rania1996

New Member
hi I have registered in sumo robot competition but I don't know what is the sensors that they allow to me to use ...

if anyone know how to control it Autonomous plz tell me :)
 
Hi,

Most sumo robots use IR reflectance sensors or SHARP triangulation sensors to see the opponent.

Sharp sensors:
https://www.active-robots.com/sharp-gp2d120-mounting-hardware-kit.html
https://www.active-robots.com/sharp-gp2y0a21yk-mounting-hardware-kit.html

You should be able to buy these from your countries local robotics store. They give you a voltage out which is proportional to the distance. You would need two of them to detect whether there is an opponent in front of you, and if so whether he is to the left or the right of you.

Just be careful, due to the short range non linearity of these sensors if an object is too close it will appear as if it is far away !

Some people use IR LEDs and IR detectors like the TAOS TSL262,which is described here (for micromouse) https://www.micromouseonline.com/2007/08/01/sensor-test/#axzz1tkkHMUmB

Algorithm wise you could do the following:
Upon pressing a button, wait 10 seconds (the start time)
Drive forwards for a set distance (try and push the opponent off quickly!)
Forever:
Turn on the spot until you see an obstacle, once you find one drive towards it for a set time OR drive towards the nearest obstacle...

Hope that helps :)
 
Last edited:
Most people start with servos modified for continuous rotation. They are cheap, easily obtainable and easy to control.

If you want to be really competitive you should try to balance torque and rotational speed. No point having lots of torque but it moves like a tortoise. Not only will moving so slow be a disadvantage, but it may be possible that you have more force at the contact point of your wheel than you can apply to the floor via friction anyway. Also going too quick can also be too disadvantageous as with such little gearing down, you will not have enough torque to push your opponent.

This site has a great little excel file in regard to this : https://www.er-online.co.uk/minisumo/mechanics.php

It helps you estimate how your sumo will perform with certain setups of motors, wheels, wedge sizes, weight etc. I would well recommend having a good browse and a read there.
 
I am reading .. and yes it helps a lot ^_^

I use c++ language with picf16877a ... how to start with the codes ?? I am not very good at software part :(
 
You will probably be using Hi Tech C with the 877A - I do not know of a C++ compiler for it. Seeing how limited an 877 is, using C++ would not be very wise imo :p

I would advise you get a pickit 2 - it will allow you to debug and program pretty much mid range PIC ( and 18F parts, and allow programming of the 16/32 bit parts).

When I first started learning embedded systems and robotics I found these sites very handy:

http://www.audiodesignguide.com/Robot/PIC_Robot.html
http://www.microchipc.com/
 
so , should I use C language ?
with pic 18f ?

okaaay I will

but .. how to get pickit 2 ? is this available in local shop ?
 
for the little bit extra pickit3 is better as it can do the new chips and isnt that more money or get a pikit3 clone on ebay for same money as pikit2 but i dont like pikit3 clone
lg
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top