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.
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 !
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...
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.
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.
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
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:
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.