Jump to content

ffuzz

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

About ffuzz

  • Birthday 01/01/1

Profile Information

  • Gender
    Not Telling

ffuzz's Achievements

MIDIbox Newbie

MIDIbox Newbie (1/4)

0

Reputation

  1. 0v-5v at 10 bit accuracy = 0-1023 .4v - 3.1v at 10 bit accuracy ~= 81-635 81-635 = 554 discrete values for the sensor. 554 > 128 so there should be no discernable loss in quality. software should handle the ir. i still have no 10mhz chip, so i cant test this with mios yet. as soon as i can get one, i will let you all know the results. as for the distances--you could either: A: mount the ir sensors inset in the unit 3cm or B: let the software handle the values (0-81) just like a zero. -ffuzz
  2. hi everybody... i ordered 2 of these ir sensors the other day, hoping they would be something we could work with. http://rocky.digikey.com/WebLib/Sharp/Web%20Data/gp2d120.pdf they pick up objects from 4-30cm, with output voltages from ~.4V - ~3.1V. if i understand the concept of the PIC's A/D converters, this will result in a smaller range of possible values, thereby making the unit less accurate with a smaller range. im a beginner in electronics, but i have a fair amount of programming experience. is there anyone here that could lead me in the right direction on how to convert this analog signal from the (.4V-3.1V) range to (0V-5V) range? im sure this is feasible, but i dont even know where to start. if i get good results, ill be sure to share the information with the rest of the group. thanks, ffuzz
×
×
  • Create New...