go away spammer

Author Topic: got sharp IR calibration data?  (Read 4910 times)

0 Members and 1 Guest are viewing this topic.

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
got sharp IR calibration data?
« on: July 04, 2008, 03:57:29 PM »
I'm writing up code that can calibrate sharp IR data from all the models we use into distances for microcontrollers.

If you have ADC value to distance measurement data, please upload it here!

So far I have the GP2D12 finished. I'll post the code in the coming days for everyone to use.

Offline bens

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 335
  • Helpful? 3
Re: got sharp IR calibration data?
« Reply #1 on: July 04, 2008, 05:18:08 PM »
Don't the datasheets give you a voltage vs distance curve?  Output voltage is approximately linear as a function of 1/distance.

- Ben

e.g. http://www.pololu.com/catalog/product/136
« Last Edit: July 04, 2008, 05:19:40 PM by bens »

Offline vidam

  • Supreme Robot
  • *****
  • Posts: 423
  • Helpful? 1
  • Robotronics.org
    • DC/MD/VA Robotics and Automation Team
Re: got sharp IR calibration data?
« Reply #2 on: July 04, 2008, 05:47:14 PM »
This is uncanny, but I'm working on a tutorial/writeup for the 3rd robot contest that uses the sharp ir for obstacle avoidance. I guess you will beat me to it, Admin, since I won't have it done till later this week. Maybe we can compare notes then.  ;)


Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: got sharp IR calibration data?
« Reply #3 on: July 04, 2008, 07:33:44 PM »
hmmmm good point bens . . . back in the day, Sharp didn't release this kind of useful data :P

I'll have it finished tonight.

Offline ahab

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: got sharp IR calibration data?
« Reply #5 on: July 05, 2008, 01:59:17 PM »
forgot to mention I finished it . . . look at sensors.c in my Axon source code:
http://www.societyofrobots.com/axon/downloads/Axon_Source_070408.zip

 


Get Your Ad Here

data_list