i wanna answer

i wanna to know how can i use the mouse as a feedback position and the contact circuit with it and the hard ware of the circuit

Welcome to CD! I looked at your post list, and saw that all your posts relate to the same topic. Unfortunately, I think the other members of CD will need more information about what you’re trying to do in order to help you. If you could post some more specific information, I’m sure that someone will help you out (I’m not electrical or programming, so…)

if I can add to what was previously said by saying patience is important when looking for answers… bugging and bugging will not get you answers any faster.

Secondly, why would you want to use a optical mouse for position, as oppose to encoders and gyros? You do realize that it will pretty much have to be touching the ground the whole time to work effectively?

More details on what you are doing is required.

Are you going to attempt to interface a PS2 mouse with the robot controller? If so, check out this thread:

TTL Serial and PS2 Mouse Interface

Even if you solve the interface issues, you need to consider how mouse resolution (100’s of counts per inch) and robot speed (>100 inch/sec) affects your design.

Bottom line: There are much simpler and reliable means to encode your robot’s motion.

BTW, your thread title “i wanna answer” reads like a demand. The members of CD will assist almost everyone, but there are more gracious ways to ask for help…and maybe you’ll get more responses.

I’ve used a pair of optical mouse chips to track a robot before. The bot moved about as quickly as some of this year’s sprint bots move. The key is changing out the lens so you get a longer focal depth.

It is very possible to do, and I hope that we see them in FRC soon.

However, it is not a project to take on lightly. It took my team of 6 many many hours of banging our heads against the wall.

first thanks every one for your replies second i want to make arobot with a mecanum wheel and i want use the mouse to detect the positin of the robot and ididn’t use the encoder to avoid the sliping of the wheel

Team 383 made something similar to what you’re trying to do, but they used the idea of a ball mouse with an over-sized ball instead of an optical sensor.

Here are some pics if you’re interested in maybe doing something like this

http://www.chiefdelphi.com/media/photos/30740
http://www.chiefdelphi.com/media/photos/30741

Amazingly, those are also referred to as “Trackballs”!

seriously? Thats pretty amazing (or coincidental) D:

Well, I don’t know about here, but in Brazil those are called billiard balls! :wink:

I was referring to the mice that have the ball on top. See: Trackball - Wikipedia

Anyhow, the 383 solution is very cool - especially for robots with omni or mecanum wheels where shaft encoders won’t do the job.

wow, that’s a lot easier than encoders on every wheel to decipher the movement data. i should try that next year for a closed-loop linkage system…hmm…