Help! DFRobotshop Rover (Newbie)

Hi! I bought a new DF Robotshop Rover and IR (Sharp GP2D12) mounted in a servo and I was impressed with the obstacle avoidance robot…is there any sample program for this to study? I have an experience in C programming 5 yrs ago and I need to refresh it. I just can’t wait to assemble and run the DFRobotshop Rover.

I need anyone’s help!!!

Thank you!!!

ok i’ll do that…actually, I was very for the past few days that’s why until now I did not finish it but I will post the code and video of my robot as long as I finish.

cheers!!!

I made it!!! I managed to program my DF Rover and it needs only fine tuning on my codes. I will post the codes here as long as I finish finalizing everything.

Cheers!!!

Hi! Sorry for delaying the sample codes because I was very busy with my job. How to attach a video clip here? I think I miss something on my code.

hey im a software engineering student and i bought the DFRobotshop Rover (Basic Kit) along with a servo, and a parallax ping sensor. Can you please help me out with a sample source code.

Hi arispal,

Welcome to the RobotShop Forum. There is no sample code using an IR sensor and the DFRobotShop Rover, though you can use the sample code found within the DFRobotShop Rover Manual as well as sample code for analog sensors, and the Arduino Servo Library to get all three working together. Once you get them all working together, we encourage you to post the code here for others to use as reference. We hope you also post images and video of your creation.

We are happy it works well. There is always a bit of fine tuning, especially getting the motors to operate at the same speed to go in a straight line. We hope you can also post some videos.

You would need to upload the video to a video hosting website such as Youtube (easily create an account if you don’t already have one) and when writing the reply, use the “Insert Video” tab. Compatible websites include: Hulu, YouTube, Vimeo, Dailymotion, Metacafe, Google, and facebook.

Hi chwalford,

Welcome to the RobotShop Forum. One of the challenges with custom robotics is integration. We do not have sampe code because there is an infinite number of possible combinations with different products and third party manufacturers. You would need to add to / edit the code available in the DFRobotShop Rover user guide (which provides for motion), then perhaps incorporate the servo library (available from the Arduino website) and adapt the Parallax Ping code to the Arduino. There is no right or wrong way to go about this, but subroutines may help.

Sincerely,