Kye
09-11-2008, 11:17 AM
Hello,
I'm trying to build a reflective object sensor to be used in an array to make a line following robot.
I plan to use this circuit attached.
1.·Its operation works by pulling the BASIC stamp pin to low.
2. Then waiting for the capacitors to discharge.
(When the capacitors are charging the LED will blink once quickly and cause the transistor to ground the other capacitor, the idea is that a reflective object will reflect the light from the LED back to the transistor. The RC time command is there to measure the change is time created by the transistor controlled capacitor and not the LED one.)
3. Afterward executing the RC time command and waiting for the voltage on the capacitors to rise from 0v to 1.4v.
I'm not interested particularly in other ways to make a line following robot -· I already know them, if you have any suggestions to make this circuit better or what values I should use please give feedback. Thank you.
OH! I built this circuit using reference ideas from the parallax qti sensor and from the reference material on the rc time command. I would actually prefer to reverse logic operation and ground and power nodes on the circuit so I could watch the capacitor discharge from 5v to 1.4 but·I only have npn photo transistors so I can't reverse the circuit.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye
I'm trying to build a reflective object sensor to be used in an array to make a line following robot.
I plan to use this circuit attached.
1.·Its operation works by pulling the BASIC stamp pin to low.
2. Then waiting for the capacitors to discharge.
(When the capacitors are charging the LED will blink once quickly and cause the transistor to ground the other capacitor, the idea is that a reflective object will reflect the light from the LED back to the transistor. The RC time command is there to measure the change is time created by the transistor controlled capacitor and not the LED one.)
3. Afterward executing the RC time command and waiting for the voltage on the capacitors to rise from 0v to 1.4v.
I'm not interested particularly in other ways to make a line following robot -· I already know them, if you have any suggestions to make this circuit better or what values I should use please give feedback. Thank you.
OH! I built this circuit using reference ideas from the parallax qti sensor and from the reference material on the rc time command. I would actually prefer to reverse logic operation and ground and power nodes on the circuit so I could watch the capacitor discharge from 5v to 1.4 but·I only have npn photo transistors so I can't reverse the circuit.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye