Reflective Object Sensor for Propeller Chip
idbruce
Posts: 6,197
Hello All
It has been a long time since I have been here, I hope everyone is well. Anyhow I am trying to adapt a Basic Stamp example to the Propeller. One of the examples given in the Process Control text, is an example of using a QRB1114 Reflective Object Sensor. In succeeding Errata to Process Control, it is recommended to change both the emitter and sensor resistors to 1K ohms and to place a 220 ohm resistor before the input pin. In the Process Contol example, VDD would have been 5VDC, so it is my intention to feed both the emitter and the sensor with a regulated 5VDC from the Propeller Proto board. I have been told that since I am returning 5VDC instead 3.3VDC to the Propeller IO pin, I should substitute the 220 ohm resistor for a 10K ohm resistor to bring down the current and protect the IO diode. Is this correct and does the schematic look like it would work like it should? I have attached the proposed schematic and the necessary datasheet. Any input will be greatly appreciated.
Bruce
It has been a long time since I have been here, I hope everyone is well. Anyhow I am trying to adapt a Basic Stamp example to the Propeller. One of the examples given in the Process Control text, is an example of using a QRB1114 Reflective Object Sensor. In succeeding Errata to Process Control, it is recommended to change both the emitter and sensor resistors to 1K ohms and to place a 220 ohm resistor before the input pin. In the Process Contol example, VDD would have been 5VDC, so it is my intention to feed both the emitter and the sensor with a regulated 5VDC from the Propeller Proto board. I have been told that since I am returning 5VDC instead 3.3VDC to the Propeller IO pin, I should substitute the 220 ohm resistor for a 10K ohm resistor to bring down the current and protect the IO diode. Is this correct and does the schematic look like it would work like it should? I have attached the proposed schematic and the necessary datasheet. Any input will be greatly appreciated.
Bruce
Comments
Rich H
There's really no reason that I could not use 3.3VDC, except for the current layout that I have on the proto board, however it is still adaptable. I truly just want a dependable circuit. I have a working 5VDC circuit, but it was arranged with hit and miss resistor values. I am much better at programming than electronics, and since I am working on a new proto board, I am just seeking guidance for dependable circuitry.
Bruce
I apologize, I am currently feeding that circuit with 3.3V. SORRY