go away spammer

Author Topic: Need Help About Sharp GP2D15 IR  (Read 2762 times)

0 Members and 1 Guest are viewing this topic.

Offline er1ckTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Need Help About Sharp GP2D15 IR
« on: July 10, 2009, 05:23:51 PM »
I got the digital GP2D15 IR, but I dont know how to program it, i wanna use it for Walk sensor to my mobile robot, i use 1 servo on top to control 1 GP2D15, Look like $50 robots. Please Help me how to program it using codevisonAVR?

Offline silo_xtreme

  • Robot Overlord
  • ****
  • Posts: 173
  • Helpful? 0
  • I really love robots, they keep me awake at night.
Re: Need Help About Sharp GP2D15 IR
« Reply #1 on: July 11, 2009, 10:18:08 AM »
Hey Er1ck,

The GP2D15 Sharp IR is close or the same as the one used in the tutorial.  http://www.societyofrobots.com/robot_50_robot_sharpIR.shtml

In fact, you can just use that source code and adjust for your needs or if you have different values.

Hope this helps,

Mike

Offline er1ckTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Re: Need Help About Sharp GP2D15 IR
« Reply #2 on: July 11, 2009, 04:56:47 PM »
Thanks for replay Mike.

so, no problem if i use GP2D15 or GP2D12? i just dont know how to read data from this sensor if i using CodevisionAVR and my Micr is AtMega8535. can you help me with simple code?

 


Get Your Ad Here