srf04 ultrsonic sensor for obstacle avoidance

i have remove the other post i created , cuz i found this sensor category more relevant to my problem