Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 16th November 2004, 02:30 AM   (permalink)
Default Photodiode lights a LED Lightbar

My class project is to build a battery operated light detector circuit using a photodiode and a LED light bar to register the light intensity. The photo diode output is connected to a single-supply 5 volt Op Amp (battery operated). The Op Amp feeds a national semi LM3914 IC light bar driver, which powers the lightbars.
When the photodiode detects light, the light bars illuminate according to the light intensity; and works fine. Unfortunetly, I need the reverse; I need the light bars to illuminate when the photodiode is in the dark and extingush when the photodiode detects light. What can I put between the Op Amp out put and the lightbar driver to inverse the driver signal? The OP Amp is battery operated and is powered by +5v, so inverting the Op amp connection will not work.
The LM3914 LED lightbar driver input single is 0 to 2.5vdc for full off or full on respectfully.

Any help or discussion would be a big help.
Thanks all.
Uman is offline  
Reply With Quote
Old 16th November 2004, 03:03 AM   (permalink)
Default

If you were to add a power supply inverter chip like ICL7662 from Maxim, then you could use the inverting function of your op-amp. Basically, the ICL7662 chip gives a negative output for a positive input (+5vdc in = -5vdc out), use it's output as the negative supply for your op-amp. The chips are real easy to use; you just need the chip and 2 capacitors. Here's a pdf datasheet link:http://pdfserv.maxim-ic.com/en/ds/ICL7662-Si7661.pdf
JB
__________________
Nothing is impossible for the man who doesn't have to do it himself - Weiler's Law
jbeng is offline  
Reply With Quote
Old 16th November 2004, 04:00 PM   (permalink)
Default

Post a schematic, or at least a detailed description, of your photodiode and op amp connections.
Roff is online now  
Reply With Quote
Old 16th November 2004, 06:28 PM   (permalink)
Default

Without adding anything, you can reverse the opamp connection.
Probably your photodiode is reverse-biased with its anode at ground and its cathode connected to a pull-up resistor to +5V.
Your opamp is probably an inverting circuit so that without light, the photodiode doesn't conduct and its output voltage is high. Therefore the opamp inverter gives a low to the LM3914. Light makes the photodiode leak current, so its output voltage falls, and the inverting opamp gives an increasing voltage to the LM3914.

With the opamp wired as a non-inverting circuit, its output voltage follows the photodiode's voltage.

Depending on the light intensity on the photodiode, it may have enough current to drive the LM3914 directly, without an opamp follower.
audioguru is offline  
Reply With Quote
Old 16th November 2004, 08:43 PM   (permalink)
Default

Just reverse the inverting and non-inverting inputs it's comparing. Or swap the positions of the photodiode and pullup as audioguru suggests.
Oznog is offline  
Reply With Quote
Old 17th November 2004, 03:12 AM   (permalink)
Default

Here is the photodiode lightbar circuit.
Attached Images
File Type: jpg photodiode_circuit.jpg (127.5 KB, 227 views)
Uman is offline  
Reply With Quote
Old 17th November 2004, 04:34 AM   (permalink)
Default

This should start at 2.5V in total darkness, and go low as the light intensity increases.
Attached Images
File Type: gif photodiode_circuit.gif (10.9 KB, 217 views)
Roff is online now  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:14 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.