Sumobot
Hi guys im new in robotics and i bought parallax sumobot yesterday from online store ,i just want to ask if can i replace the IR sensor by Ultrasonic sensor and what do i need to change about the codes about the changes of sensor.
Comments
What wrong with IR sensors that you need to replace them?
IR sensors are simple, small, cheap, and don't consume much power.
Something like a Ping is a lot more expensive, bulkier, and takes a lot more power.
https://parallax.com/downloads/ping-ultrasonic-distance-sensor-bs2-example-code
Our professor require us to use Ping sensor.
Anyway Thank you for response
Thank you for that, it will help me more
Thank you for that, much appreciated
Here is the Basic code for the PING.