Shop OBEX P1 Docs P2 Docs Learn Events
QRD1114 - not successful — Parallax Forums

QRD1114 - not successful

ALIBEALIBE Posts: 299
edited 2006-09-24 17:14 in Propeller 1
Hello all,
I have been trying to get my QRD1114 to work w/ prop - I can't get it to work. Not sure what I'm missing. Any help is greatly appreciated

I am using some guidance on this thread:
http://forums.parallax.com/showthread.php?p=593855
http://forums.parallax.com/attachment.php?attachmentid=0
http://www.parallax.com/dl/docs/prod/robo/sumobotman.pdf#search=%22qrd1114%20%2Bparallax%22

QRD114 datasheet:
http://forums.parallax.com/showthread.php?p=570699

- Thanks, Nagi

Here's the circuit I'm using
attachment.php?attachmentid=0

note that for parts, I'm actually using 220r for 470r. And, for 0.01uf, I'm using 103 cap.

The "w" is hooked up to Pin 5 on my demo board.

Here's the code I'm using:
Note that the Sensor and React behaviors are running on 2 separate COGs in a repeat block

[b]'// Sense IR[/b]
[b]if (Flag_EnableIR == 1) 
[/b]  '// Get IR value via RCTime 
  DIRA[noparse][[/noparse]Pin_IR] := 1 
  wait(230) 
  OutA[noparse][[/noparse]Pin_IR] := 1 
  wait(0) 
  DIRA[noparse][[/noparse]Pin_IR] := 0 
  wait(230) 
  [b]SensoryData[noparse][[/noparse]Data_IRIndex][/b] := [b]BS2.RCTime(Pin_IR,1) [/b]


··
[b]'// Display IR result[/b][b]if (Flag_EnableIR == 1) 
[/b]  LCDDisplay(11,1, string("I:")) 
  LCDDisplay(13,1, (num.decf([b]SensoryData[noparse][[/noparse]Data_IRIndex][/b],2))) 





▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot

http://fstop.crosscity.com/
http://icar.crosscity.com/
·

Comments

  • ALIBEALIBE Posts: 299
    edited 2006-09-24 15:51
    Reposting due to no response

    not sure why - Either 1) I must be completely dumb or stupid (which is quite possible) w/ this question [noparse]:)[/noparse]
    2) Nobody else has a need to work w/ or interest in this device [noparse]:)[/noparse]

    I will try this one more time - If I don't hear back, that is fine. I will drop it and look for other avenues to find answers to this question and post it here.

    thanks in advance guys!
    Nagi

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot

    http://fstop.crosscity.com/
    http://icar.crosscity.com/
    ·
  • James LongJames Long Posts: 1,181
    edited 2006-09-24 17:14
    Alibe,

    I'm sure noone is actually using the device. That is what I found to be true with the MAX 1202.

    You are lucky....you will be a pioneer. burger.gif



    James
Sign In or Register to comment.