QRD1114 Optical Detector - QTI Sensor Code
JBWolf
Posts: 405
I built one of these from scratch with the exast same sensor...
http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/ProductID/100/txtSearch/qti/List/1/Default.aspx
I was planning to follow the phototransistor lesson in the PEKit book, but found the WTI sensor uses less components and seems much simpler... But the OBEX link is dead.
I simply need to get this working for basic object detection within 5mm, I need to identify when something is directly infront of the sensor.
Here is the sensor I purchased:
https://www.sparkfun.com/products/246
If there is an obex available for this I would love to work with that rather than starting at scratch.
I am using the propeller, not basic stamp.
Can anyone find a link to this obex for the prop?
If it does exist, maybe someone can update the webstore link.
Thanks
http://www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/ProductID/100/txtSearch/qti/List/1/Default.aspx
I was planning to follow the phototransistor lesson in the PEKit book, but found the WTI sensor uses less components and seems much simpler... But the OBEX link is dead.
I simply need to get this working for basic object detection within 5mm, I need to identify when something is directly infront of the sensor.
Here is the sensor I purchased:
https://www.sparkfun.com/products/246
If there is an obex available for this I would love to work with that rather than starting at scratch.
I am using the propeller, not basic stamp.
Can anyone find a link to this obex for the prop?
If it does exist, maybe someone can update the webstore link.
Thanks
Comments
Two ways to find objects in the new OBEX that have broken links mapped to the old OBEX:
1) A site restricted google search: add "site:obex.parallax.com" to a google search
2) In the OBEX, click "ALL" in the upper left and then change the projects per to "ALL". This will give you one web page with all objects and you can use Control-F to find text on the page.
Right afterwards I went back to the PEkit book and got it working within 20 minutes lol.
I used the TestRcDecay.spin object from chapter 7: "Counter Modules and Circuit Applications Lab". Page 126 & 133
See those two pages for the schematics & wiring diagrams.
Set it up exactly as in the book and viola! works great!
Also have a potentiometer going with it.
Modified the code a lil to get rid of the extra stuff spamming on the PST screen... now it just refreshes each value on one line each so it is much easier to read.
Here is the code useful for the QRD1114 'Optical Detector' from sparkfun.