go_away

Author Topic: help for my turret  (Read 366 times)

0 Members and 1 Guest are viewing this topic.

Offline nanotechopolis_grTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 1
help for my turret
« on: May 22, 2013, 06:27:26 AM »
hi
 i am working on making a turret that can detect a person  with 3 servos and 3 IRs, but the problem is that i cant make the whole system targeting the person ! any suggestions on how i can overcome this problem? please make the solution  as cheap as possible!

thanks guys

(sorry for my bad english)
"On the 29th of May, the last day of the siege, our Lord God decided, to the sorrow of the Greeks, that He was willing for the city to fall on this day into the hands of Mahomet Bey the Turk son of Mu

Offline jwatte

  • Supreme Robot
  • *****
  • Posts: 1,272
  • Helpful? 79
Re: help for my turret
« Reply #1 on: May 22, 2013, 03:15:29 PM »
What is an "IR" ? Is it an IR distance sensor? If so, what range does it have?
What are the three servos? To drive the turret, or to drive the sensor positions?

In general, what you want to do is have the three sensors point in a 30 degree fan: slight left, front, and slight right.
Then, check which sensor has the nearest distance-to-something. Turn the turret in that direction, if any. If it's straight ahead, fire!
Use a cut-off of readings beyond which you don't do anything.
Also, if you don't have any detection, you might want to scan the turrent left and right to see if you can pick something up.

Finally: IR distance sensors just pick up "what is the distance to <whatever> in front of me" which may or may not map to a person. It may map to a pillar, or an infant stroller, or a dog, or whatever.

Offline nanotechopolis_grTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 1
Re: help for my turret
« Reply #2 on: May 23, 2013, 08:10:25 AM »
oh sorry , yes distance sensor! i bought 3 of this http://grobotronics.com/distance-sensor-gp2y0d810z0f-el.html#.UZ4blcomOFg  and 3 http://grobotronics.com/servo-springrc-sm-s4303b-4kg-cm.html#.UZ4cRcomOFg
they arent good?
i cant sychronize the servos to turn all togethet to my target! you know what i mean? maybe i cant programm it right!
thanks for replying  :D


here is my project ( its quite oh my god what is this?)

the first servo rotates the whole system right or left
the second turns up or down
the third turns up or  down the 3 sensors
"On the 29th of May, the last day of the siege, our Lord God decided, to the sorrow of the Greeks, that He was willing for the city to fall on this day into the hands of Mahomet Bey the Turk son of Mu

Offline jwatte

  • Supreme Robot
  • *****
  • Posts: 1,272
  • Helpful? 79
Re: help for my turret
« Reply #3 on: May 23, 2013, 01:54:55 PM »
You can make that system work with the algorithm I described.
If you have specific problems with that suggestion, please post specific answers, including what you've tried and what happens versus what you expect to happen.

 


Get Your Ad Here