zidanfadi
Newbie level 5
- Joined
- Nov 19, 2012
- Messages
- 9
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,354
can i be able to generate a total of 10 mins delay using 8051
i have to made 5 leds on,,,,
4 leds depends upon the no of times switch made on and off said to be as "counter".....
While the 5th one depend upon the remaing time left ........
if the switch have been made on and off for 3 time than the first led will be on while remaining off ,,, and if again 3 time ,, total of 6 times than the 2nd led will be on while other three off ... and so on
4th led will take a total 12 times swith on off and it will remain on ,,,,,,,,,
suppose this all takes 8 minutes then the fifth led wii be made on for 2 minutes and if 4 leds take a total of 6 min then the 5th led be made on for 4 minutes ..........!!! and the ckt reset.........
and if the four leds take a total of 10 minutes to glow then the fifth one remain off and the ckt reset.....................
can i do this project through the microcontroller 89c51 using c language ...!!!!
i have been able to achieve target upto 4th bulb .... i have not been able to achieve a time of 10 minutes and to made the 5th bulb on..!!! the code and design is provided...!!!
i have to made 5 leds on,,,,
4 leds depends upon the no of times switch made on and off said to be as "counter".....
While the 5th one depend upon the remaing time left ........
if the switch have been made on and off for 3 time than the first led will be on while remaining off ,,, and if again 3 time ,, total of 6 times than the 2nd led will be on while other three off ... and so on
4th led will take a total 12 times swith on off and it will remain on ,,,,,,,,,
suppose this all takes 8 minutes then the fifth led wii be made on for 2 minutes and if 4 leds take a total of 6 min then the 5th led be made on for 4 minutes ..........!!! and the ckt reset.........
and if the four leds take a total of 10 minutes to glow then the fifth one remain off and the ckt reset.....................
can i do this project through the microcontroller 89c51 using c language ...!!!!
i have been able to achieve target upto 4th bulb .... i have not been able to achieve a time of 10 minutes and to made the 5th bulb on..!!! the code and design is provided...!!!
Attachments
Last edited: