Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


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.

Reply
 
Tools
Old 27th August 2009, 03:56 PM   #1
Thumbs up On-Off control by pic lcd and relay

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?
Attached Files
File Type: doc projectcontrol.doc (28.0 KB, 35 views)

Last edited by mic5; 27th August 2009 at 03:57 PM. Reason: spell error
mic5 is offline  
Old 27th August 2009, 07:46 PM   #2
Default

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.
colin mac is offline  
Old 27th August 2009, 08:11 PM   #3
Default

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?
__________________
Mike
My website: www.ElectroBird.net

Last edited by birdman0_o; 27th August 2009 at 08:15 PM.
birdman0_o is offline  
Old 27th August 2009, 09:12 PM   #4
Default

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
__________________
Bill Naylor
www.electronworks.co.uk
Electronic Kits for Education and Fun
Electronworks is offline  
Old 28th August 2009, 01:06 PM   #5
Default

Quote:
Originally Posted by colin mac View Post
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.
thanks for the suggestions! Here i specifically using atmel series that's why i am not named as PIC . Here after i should use it.

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
mic5 is offline  
Old 28th August 2009, 06:01 PM   #6
Default

Quote:
Originally Posted by mic5 View Post

What type of switches may i use here to alter the timing that is easy to all user?
A keypad.
http://www.acroname.com/robotics/par...3X4-KEYPAD.jpg
colin mac is offline  
Reply

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



All times are GMT. The time now is 06:37 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker