Wireless smart parking sensor for vehicles detection