Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« on: June 21, 2011, 11:47:38 pm » |
Hi,
I would like to know how to make my Arduino follow a given object. I want to put some sort of sensor (maybe a pinger) on a mtor and have it pan back and forth. When it finds an object, I need it to follow the object. Does anyone have any idea on how to do this?
Thanks!
Cheers,
Charles
|
|
|
|
|
Logged
|
|
|
|
|
Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #1 on: June 22, 2011, 12:23:00 am » |
Hello,
I would be trying to track a walking person.
- Charles
|
|
|
|
|
Logged
|
|
|
|
|
Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #2 on: June 22, 2011, 12:55:10 am » |
You are not very helpful.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 143
Posts: 19380
I don't think you connected the grounds, Dave.
|
 |
« Reply #3 on: June 22, 2011, 01:46:50 am » |
You are not very helpful. And you're not helping us to help you. What is doing the object detection (you have to detect or segment an object from its background before you can track it). What range? What scene clutter? Is the object aware that it is being tracked, and is it compliant?
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
London, GB
Offline
Sr. Member
Karma: 7
Posts: 332
Nothing works.
|
 |
« Reply #4 on: June 22, 2011, 02:00:49 am » |
If you tie it to the object using a piece of string, it will follow the object.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 143
Posts: 19380
I don't think you connected the grounds, Dave.
|
 |
« Reply #5 on: June 22, 2011, 02:04:07 am » |
Mate, you're a genius. This solution also has the added benefit that it requires no programming skills whatsoever, though Boy Scout knotting skills may come in handy.
[ + ]
|
|
|
|
« Last Edit: June 22, 2011, 02:09:42 am by AWOL »
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
London, GB
Offline
Sr. Member
Karma: 7
Posts: 332
Nothing works.
|
 |
« Reply #6 on: June 22, 2011, 02:07:57 am » |
As will the string library.
|
|
|
|
|
Logged
|
|
|
|
|
Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #7 on: June 22, 2011, 02:40:40 am » |
Sorry, I didn't realize it wasn't very clear. Thanks for the tips, though. I think this project is a bit to advanced for me. I'm a beginner. Thanks!
- Charles
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 299
Posts: 26031
Solder is electric glue
|
 |
« Reply #8 on: June 22, 2011, 03:10:19 am » |
So what the project was we will never know 
|
|
|
|
|
Logged
|
|
|
|
|
Pakistan
Offline
Sr. Member
Karma: 5
Posts: 318
Arduino rocks
|
 |
« Reply #9 on: June 22, 2011, 08:58:12 am » |
Hahaha.. You guys are really sick  very humorous...
|
|
|
|
|
Logged
|
|
|
|
|
Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #10 on: June 22, 2011, 10:34:52 am » |
Well, basically what I wanted to make was a sentry gun. I wanted to have the Arduino control a paintball gun, which would be on a stand. When someone came by, the paintball gun would aim at them and fire. It would also follow them, or track them. I was hoping I could use some sort of Ping sensor to track them and use servos to control the paintball gun. One servo for up and down and one for left and right. I would also have one for the trigger, to pull it. To answer #2's question, the scenery would be a paintball field and the sentry would track people.
- Charles
|
|
|
|
|
Logged
|
|
|
|
|
Sacramento, CA
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #11 on: June 22, 2011, 11:21:08 am » |
Thank you!!!!!!!!!
- Charles
|
|
|
|
|
Logged
|
|
|
|
|
|