View previous topic :: View next topic |
Author |
Message |
znses
Joined: 15 Apr 2011 Posts: 9
|
I need help No.2 on srf08 sensors |
Posted: Sun Apr 24, 2011 9:24 am |
|
|
I have 3 srf08 sensors and I will place them: one pointing forward.
One on the right and one on the left.
The forward sensor will check if the range is between 1.5 and 2 meters.
Then It will give an audio command.
Then if the range is below 1.5, it will check the right and left sensors
And will give the command to the one that has the largest distance in order to avoid obstacle if any. |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Sun Apr 24, 2011 10:51 am |
|
|
This sounds like some kind of mobile robot device. Are you looking for suggestions on how to do parts of it? Give us specific questions and we may be able to give specific answers.
If you know what PIC you are using, please tell us. Also is this a single hobby project, or are you designing 100,000 toys for sale at Christmas, or is it an emergency robot to pull firefighters out of burning buildings and if it fails people will die. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Sun Apr 24, 2011 12:48 pm |
|
|
First problem you have, according to the mfr. is to reprogram 2 of them to new I2C addresses if on the same buss.
The rest is simple read the datasheet, cut code, try it, see what happens and repeat as requirde to get your program to do what you want. |
|
|
|