I need to make a counter which start the time when a single phase supply is connected to it, Actually i want to connect it across my generator so that i may be able to check how long my generator has been running, means i want to keep the record of my generator's running time. i prefer the use of Micro-controller for this purpose. Help me Please !
Hi Ali
Which Controller you want to use and what compiler?
Since Generator output is 220V AC. A cheap Solution would be using Light bulb used in Electric Irons with 10KΩ resistor(go to electric shop he will tell you). Plug it in generators outlet (Using proper and safe connections). It will glow when generator starts. Now you can use LDR to sense to light using comparator.
When Comparator= 1
Start counting time.
When Comparator =0.
Stop Counting Time.
You need to learn about how to use Timers in Controller.
I agree with the people above, an ac-powered relay is easiest, especially if you're only making very few of these. Otherwise you can use an opto-isolator with some high-value series resistors and a couple of diodes.
Hi Ali
Which Controller you want to use and what compiler?
Since Generator output is 220V AC. A cheap Solution would be using Light bulb used in Electric Irons with 10KΩ resistor(go to electric shop he will tell you). Plug it in generators outlet (Using proper and safe connections). It will glow when generator starts. Now you can use LDR to sense to light using comparator.
When Comparator= 1
Start counting time.
When Comparator =0.
Stop Counting Time.
You need to learn about how to use Timers in Controller.
Thanx Umair: But the problem with LDR is that in daylight it will be sensing the sun light which means counter will not work according to my requirement bcz i just want to count the generator's running time. Can you Guide me to do this using a PIC or Micro-Controller along with ADC etc
Thanx again for you interest
you have to make a 100 ms delay when reading the input port (programming code) or add a resistor and capacitor, when using relay. That is to get rid of bounces when contact changes.
But I think even a easier and cheaper way is to buy a hour meter (check for GRASSLIN TAXXO or HANYOUNG LT1)
you have to make a 100 ms delay when reading the input port (programming code) or add a resistor and capacitor, when using relay. That is to get rid of bounces when contact changes.
But I think even a easier and cheaper way is to buy a hour meter (check for GRASSLIN TAXXO or HANYOUNG LT1)
Bro (GRASSLIN TAXXO or HANYOUNG LT1) these are the switching timers i think, but i just need to note the running time of my generator, don't need to switch it after specific time.
you have to make a 100 ms delay when reading the input port (programming code) or add a resistor and capacitor, when using relay. That is to get rid of bounces when contact changes.
But I think even a easier and cheaper way is to buy a hour meter (check for GRASSLIN TAXXO or HANYOUNG LT1)
Bro (GRASSLIN TAXXO or HANYOUNG LT1) these are the switching timers i think, but i just need to note the running time of my generator, don't need to switch it after specific time.
Bro (GRASSLIN TAXXO or HANYOUNG LT1) these are the switching timers i think, but i just need to note the running time of my generator, don't need to switch it after specific time.
- - - Updated - - -
Bro (GRASSLIN TAXXO or HANYOUNG LT1) these are the switching timers i think, but i just need to note the running time of my generator, don't need to switch it after specific time.