![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I've got a some questions about PIC input using PHOTOTRANSISTOR OPTOCOUPLER of type CNY-17 Data sheet file address: http://www.tranzistoare.ro/datasheets/270/101963_DS.pdf' In the attached circuit, how much is the required input voltage ( Pin 1 & 2 ) to the transistor to conduct the required voltage to make RTCC reads logic 1
__________________ Its what your friend in Your mind, what you in your friends mind Last edited by aljamri; 3rd October 2007 at 05:14 PM. | |
| |
| | (permalink) |
| Sorry this is the circuit
__________________ Its what your friend in Your mind, what you in your friends mind Last edited by aljamri; 3rd October 2007 at 05:19 PM. | |
| |
| | (permalink) |
| hi, This is for +5V supply to Rs.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 12:22 PM. | |
| |
| | (permalink) |
| It's in the datasheet, typical 1.35V Don't forget to add a current limiting resistor or you can damage the LED. | |
| |
| | (permalink) |
| Thanks for replys, if my Supply voltage is 2V ac as i measured it ( I am not sure i have to check again if it is ac or dc ), so: - is that enough ?, - is (ac dc) makes any differents Note: I'll be able to measure it again and check for ac ro dc. thanks
__________________ Its what your friend in Your mind, what you in your friends mind | |
| |
| | (permalink) | |
| Quote:
__________________ Its what your friend in Your mind, what you in your friends mind | ||
| |
| | (permalink) | |
| Quote:
>>> But it is written as Emitter Input Forwarding Voltage, and my voltage will be applied across the photodiod. The opto emitter is a LED device, which when driven by the correct voltage/current it emits 'light'. Its the photo detector diode [or transistor] in the opto which detects and amplifies the 'light', then it goes to the PIC input. A opto emitter will work from a range of 'dc' voltages, BUT it must be connected to the voltage via a resistor, else it will be damaged. Use the simple formula to calculate the value of the series resistor. If the emitter requires say 30mA and it has a forward voltage drop of 1.2V at this current and its connected to a +2Vdc supply, then........... Series Resistor = [2-1.2]/.03 = 27R IF its 2Vac then check the datasheet to see if the emitter diode can accept a 2Vac reverse voltage. Is this clear.?
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th October 2007 at 08:11 AM. | ||
| |
| | (permalink) |
| For AC operation, it is good practice to connect a reverse polarity diode across the emitter LED, to take care of any possibility of voltage spikes coming from the AC mains.
__________________ L.Chung | |
| |
| | (permalink) | ||
| Quote:
Quote:
__________________ Its what your friend in Your mind, what you in your friends mind Last edited by aljamri; 5th October 2007 at 01:38 AM. | |||
| |
| | (permalink) | |
| Quote:
If its 2Vac and you have a 27R resistor is series with diode emitter and the emitter spec sheet says the nominal forward voltage drop is 1.2V, you should have 1.2V across the emitter. You must take into consideration that the emitter is only passing current for the positive half cycle of the 'ac' input and blocking on negative half cycle. How did you measure the 0.8V, was the meter on 'dc' or 'ac', its best to use an oscilloscope this will give a 'true' indication of whats across the emitter diode. I hope you didn't connect the emitter without a series resistor, if you did, the emitter may be damaged. Do you get any pulses out of the detector output?
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) | ||||
| Quote:
Quote:
Quote:
Quote:
Thanks
__________________ Its what your friend in Your mind, what you in your friends mind | |||||
| |
| | (permalink) |
| hi, >> meter was on ac (as i remember) Across the emitter diode the waveform will not be sinusoidal therefore you will not get a true 'ac' voltage reading.. It will swing below ground by 2Vrms and above ground by 1.2Vdc.
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Using Oscilloscopes | mechie | Electronic Theory | 9 | 29th November 2007 10:49 PM |
| Four PIC with One LCD.. | meera83 | Micro Controllers | 13 | 20th September 2007 07:40 AM |
| 4-20mA & 1-5V PIC input | mikesmixes | Micro Controllers | 12 | 13th September 2007 02:24 PM |
| Output = Input - Problems | adamthole | Micro Controllers | 20 | 24th April 2007 05:09 AM |
| Measure DC offset, Hum, DBs gain, Oscillation | walters | General Electronics Chat | 21 | 7th June 2005 04:01 AM |