Optical Detector / Phototransistor
kenwtn
Posts: 250
Hi All,
···· I was given a couple of Optical Detector / Phototransistors and I understand they can be used to detect changes between a white and black surface. What I was hoping was to use 1 to detect wheel movement on my robot, but I can not find any examples of using them. There is 2 leads to the E and 2 lead to S. Does anyone have a example of connecting them to a BS2 and code to read them?
···· I was given a couple of Optical Detector / Phototransistors and I understand they can be used to detect changes between a white and black surface. What I was hoping was to use 1 to detect wheel movement on my robot, but I can not find any examples of using them. There is 2 leads to the E and 2 lead to S. Does anyone have a example of connecting them to a BS2 and code to read them?
Comments
www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/List/1/ProductID/80/Default.aspx?txtSearch=wheel+encoder&SortField=ProductName%2cProductName
Post Edited (Mike Green) : 6/18/2008 3:19:55 PM GMT