The object sensor output is open collector transistor .
i used 470 uf with 12v , i got 7 min period
sorry guys, i forgot to till you while the object still crossing the sensor the lamp should be on
and this cant achieve with iimagine circuit and i dont know if i can do that using 555 timer
could you advice me to use microcontroller to do what i need?
Regards
Which planet are you on?I will order cmos 555 and 4060 counter ,, 30 days at least to deliver
Even better! no idle current wasted.sorry guys, i forgot to till you while the object still crossing the sensor the lamp should be on
and this cant achieve with iimagine circuit
thank you for your appreciated effort ,i test a code on arduino nano it works well.mBlock visual programming language and an Arduino Nano, Uno, even an 8
pin ATTINY85 would do, ~ 2% accurate timing.
Here is what i think are your basic requirements done in mBlock.
You drag / drop blocks, config, and the tool generates and uploads the Arduino "C" code.
View attachment 183684
The code it generates for you looks like this -
View attachment 183685
All you need is board, maybe an R in series with light sensor to make a voltage
divider to feed to the UP A/D pin and of course power.
If you use boards that have onboard xtal timing accuracy will be << 1%,
if ATTINY85 ~ 2%
Regards, Dana.
i test the circuit with 470u, i got about 9.5 Min. thank youEven better! no idle current wasted.
View attachment 183724
Since you mentioned your sensor is an open collector type:
The circuit on the left will do, but wasting a bit of power every time the object moves; could use a darlington style and reduces bias current consumptions.
The circuit on the right uses a P-Mosfet which consumes practically no current if you make that pull up resistor 10M.
Everytime the sensor senses a movement, it draws current (open collector), thus turn on the bjt / P-Mos which keeps the capacitor fully charged mean while the N_Mos conducts and turn on the lamp. The N-Mos remains on, uninterrupted till the capacitor is discharged via the 10M resistor (or 1M).
RL value depends on the supply voltage and bjt/p-mos max current draw capacity so that it wont burned up
If you don't want to program, use the CD4060 circuit.
It can be reset to restart the timing cycle.
by Jake Hertz
by Jake Hertz
by Jake Hertz
by Duane Benson