![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
I am doing a project which has automatic on- off system for a bulb of 60watts using atmel 89c51 .. The main thing is to switch on and off the bulb for the time set by user. The time setting is made using two switches that interacting with lcd(16 cross 2). I have one idea that to set time, programming is enough and switch control to the bulb is done with the help of a relay. Is it work without any problem or easy way to construct this project? Last edited by mic5; 27th August 2009 at 03:57 PM. Reason: spell error | |
| |
| | #2 |
|
Read the input from the user. Turn on the light. Delay the MCU for the time that was inputted. Turn off the light. It's a relatively easy project. | |
| |
| | #3 |
|
Time as in hour of the day time? Or for instance 40 minutes. Or both? P.S. Not to be anal, but why did you say PIC if your using Atmel? Last edited by birdman0_o; 27th August 2009 at 08:15 PM. | |
| |
| | #4 |
|
If you are using a micro, for a simple improvement to the circuit that will add a whole ton of functionality, use a Real Time Clock (RTC). Many of them have an I2C interface, but you can get some with an SPI interfaces that are easier to program. The RTC will give you time (hours, mins, secs), day, date, year. Pump it out to an LCD interface and you have a clock. (have a look on my website to see how it is done) Remember to put a diode across the relay coil to stop the back emf. Good luck | |
| |
| | #5 | |
| Quote:
I know little about interfacing cards. Is there any easy way to learn about the cards with their related applications? What type of switches may i use here to alter the timing that is easy to all user? Last edited by mic5; 28th August 2009 at 01:07 PM. Reason: spell error | ||
| |
| | #6 | |
| Quote:
http://www.acroname.com/robotics/par...3X4-KEYPAD.jpg | ||
| |
|
| Tags |
| control, lcd, onoff, pic, relay |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| 8051 to control a relay | abuza8nuqina | Electronic Projects Design/Ideas/Reviews | 12 | 14th April 2009 05:18 AM |
| LCD backlight control during PIC "sleep" | Andy_123 | Micro Controllers | 9 | 21st March 2008 04:21 AM |
| Relay control | GForce2010 | Micro Controllers | 3 | 6th September 2007 01:08 AM |
| relay control | sarz_17 | Micro Controllers | 3 | 5th March 2007 04:07 PM |
| LCD-control with PIC | Electronics4you | Micro Controllers | 1 | 12th December 2005 02:09 PM |