![]() | ![]() | ![]() |
| | |||||||
| 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. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I need a simple circuit to give a 0-1 volt output for changing light levels from darkness to bright daylight. The ORP12 I'm using is very sensitive to light (too sensitive to be useful?). I have on-board regulated 2.5 and 5 volt supplies. (I've converted a chart recorder to read light levels instead of temperature). Thanks | |
| |
| | (permalink) | |
| Quote:
However, for your application I would suggest using an opamp to scale your output to the range you require. Something like this should work, adjust P1 for zero volts on the output with the LDR in total darkness (it should have the same resistance as the LDR). Select the two resistors to give 1V output under bright light conditions - the values also need selecting to give a high enough input impedance, depending on the resistance of the LDR. The opamp is used in inverting mode so you can set the gain as less then one, it's probably a good idea to replace R1 with a preset and fixed resistor in series, so you can vary the gain. It's probably also a good idea to put a fixed resistor in series with P1, to limit it's range. | ||
| |
| | (permalink) |
| Thanks Nigel. Circuit looks exactly what I want. Is the output linear and is the opamp a 741?I don't have -ve rails to use, only ground and either +2.5V 0r +5V both regulated. Can I use a single rail supply in this circuit? I think the CA3130 and CA3140 are useful in this case - am I right? | |
| |
| | (permalink) | |
| Quote:
The LDR is used in a simple potential divider circuit, I can't say I'm sure if that would be linear or not?, but an LDR isn't very linear itself either. Here's a quick plot of the output voltage from a potential divider, does this help at all?. | ||
| |
| | (permalink) |
| The output graph is fine - I guess I can't get more of a linear response than that. I'm not sure about the 7660 to generate a -5V rail though. I've never used one of these before, but do have one from a while back. Why is a -ve rail needed? What would happen if I connected op amp pins 3 and 4 together at the 0v rail? I checked out your tutorial page to see how it was being used. Any chance of a schematic with a 7660 integrated into the first circuit you sent? Thanks again. | |
| |
| | (permalink) | |||
| Quote:
Quote:
Quote:
For initially testing the design you could feed the opamp from a couple of 9V batteries, this would prove that it works OK. | ||||
| |
| | (permalink) |
| Photodiodes should give you a linear response. There are tons of photodoide amplifier schematics on the web. A trick to get dual supply op amps to work on a single supply is to use half of your supply voltage as the ground for the op amp. Dual supply opamps won't operate if the input voltages are to close to ground or supply voltage or in inverting mode(they can't output a negative voltage). Say you are using a 5V supply you create a 2.5V voltage using resistors and or Zeners and use that as the ground signal in the dual supply schematic (there are specialized ICs that do this called rail-splitters that also provide a buffer on the output voltage). The real ground becomes V- and the supply voltage becomes V+. The output will swing around 2.5V instead of 0V. | |
| |
| | (permalink) |
| Have you considered photovoltaic (solar) cells, as opposed to photoresistive cells? They usually put out about 1/2 vdc per cell. Just put several in series and use a pot to calibrate the output in bright sunlight. (I used a battery symbol to represent the PV cells in the image). I don't have much experience with PV cells, but I believe they have a fairly linear output (Vout vs. Illumination). (Someone who has more experience with them, please correct me if necessary...) JB | |
| |
| | (permalink) |
| Solar cells are just big photodiodes. Photodiodes are cheaper and faster. For them to be linear you need to use them in the photoconductive mode -as a current source rather than a voltage source. | |
| |
| | (permalink) |
| Here's a single-supply way to do it with the ORP12. You will need an op amp whose output can reach the negative rail (GND). | |
| |
| | (permalink) |
| Thanks for the schematic. I think U1 - U3 could be CA3130, which if I recall can go to 0v. I'll wire it up on breadboard. | |
| |