QRD1114 - not successful
ALIBE
Posts: 299
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
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
··
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://fstop.crosscity.com/
http://icar.crosscity.com/
·
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
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
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/
·
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.
James