I hope I got the logic on these correct. Somebody please check my work.
Attachments
-
21 KB Views: 45
Does it work? What do you use comparators model and transistors?I hope I got the logic on these correct. Somebody please check my work.
You should probably add a non-zero offset voltage on the inverting input of the circuit in the first post.it works bad because I'm getting non-zero volt when is night.
So you want to squeeze the range from dark to full sun into the voltage range of 0 to 3.3V, right? If so, then forget the comparator.I would like to measure solar intensity but I want to get result between this voltage interval.
Yes, you are right. Thank's for your help I think I did it and it's works a well. If you intersting I can add the video how to work.So you want to squeeze the range from dark to full sun into the voltage range of 0 to 3.3V, right? If so, then forget the comparator.
You might want to look at an op-amp circuit known as an "instrumentation amplifier". It's commonly used to provide offset and scaling, zero and span, for a sensor. It's more complicated than your simple circuit, which should work for you, but does offer advantages.
Do you can draw the schematic where you spoke about it with all component name and all nominals? I really interesting it and I will be grateful for it.I'd recommend a transimpedance amp followed by a comparator. You can make a comparator with an opamp without feedback, so you can use a dual (or quad) opamp IC to build both the TIA and comparator. The current generated by a photodetector (not an LED, by the way) is proportional to the incident light intensity. With a TIA and comparator you can set the threshold very accurately. The threshold of your voltage mode circuit with the photodiode going to the + input of the opamp will vary with the offset voltage and current of the opamp, and so with temperature and supply voltage, etc.
The OP wants a proportional response, not a digital output. No comparator.I'd recommend a transimpedance amp followed by a comparator.