Fantastic!!! Thxhi john,
Just ordered 10 off LDR's of that type, due for delivery this weekend.
I will do some Temperature and Lux tests, let you know the results.
E
J
Fantastic!!! Thxhi john,
Just ordered 10 off LDR's of that type, due for delivery this weekend.
I will do some Temperature and Lux tests, let you know the results.
E
R5 doesn't look to be a pull-down resistor. Can you post a schematic of the whole circuit?I had neglected to add the 1k resistor that was shown on the circuit that was provided to me on this thread (pins 5,6 & 7). It was on my schematic, but not on my board. It is actually R5 (not R10). I have also connected pin 6 to pin 2 on the LM393 (not shown on this PCB)
View attachment 361661View attachment 361660
Will do!!R5 doesn't look to be a pull-down resistor. Can you post a schematic of the whole circuit?
Thank you very much. I'll look it over and let you know if I have any questions. I plan to add the PD from dim to gnd on my current board to see if the bright flash goes away. I can simply solder a 1k from pin 5 on the attiny to gnd, right?Some suggestions shown in circle(s) with comments. I redrew the schematic so I could follow easier.
View attachment 361699
I didn't review all the posts so some of these might already be addressed.
I want the two low powered LEDs to be at approximately half brightness when steady ON. When motion is sensed, they flash at 255 several times, alerting the observer that the light has been triggered by motion.hi john,
Why have you used a Tiny to drive PWM two, low powered RED LED's?
Also, what is the PIR specification, type number?
E
View attachment 361720
You must disconnect the LM393 pin 7 (or R5) from the ATiny pin 5 first, so it doesn't interfere with operation of the new pull-down resistor. Then add the new pull-down to ATiny pin 5 to gnd, and test.Thank you very much. I'll look it over and let you know if I have any questions. I plan to add the PD from dim to gnd on my current board to see if the bright flash goes away. I can simply solder a 1k from pin 5 on the attiny to gnd, right?
Can't that be set up in the ATiny logic?I want the two low powered LEDs to be at approximately half brightness when steady ON. When motion is sensed, they flash at 255 several times, alerting the observer that the light has been triggered by motion.
I'll send the PIR spec shortly....
I suppose I could have used a resistor for the half brightness steady on from that pin and used another pin thru a transistor to send a HIGH digital signal for the brighter flashes....
Yes, I'm aware of that.ThxHere is a datasheet for the SR501
Notice that it has connections to add an LDR to the board.
Les.
Yes, that is what I'm doing and it's working great. I control all LEDs using pwm from the attiny.Can't that be set up in the ATiny logic?
When you want the LED's half-bright steady on, change to high-freq/low duty cycle.
When you want the LED's to flash full-bright, change to low-freq/high duty cycle.
This part of the circuit is not being tested yet, so I plan to simply add the 1k PD and see what happens.You must disconnect the LM393 pin 7 (or R5) from the ATiny pin 5 first, so it doesn't interfere with operation of the new pull-down resistor. Then add the new pull-down to ATiny pin 5 to gnd, and test.
I added the 1k PD between pin 5 and gnd and the bright flash is gone!!!! Thank you!!!This part of the circuit is not being tested yet, so I plan to simply add the 1k PD and see what happens.