free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  [1] 2
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
HackersParadise
Wed Apr 16 2008, 10:02PM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
Hello Ajay Sir..
Thanks again for ur gr8 help for this project.
Sir i had gathered many much information that was provided by you every where on the net.
Well i have some doubts that are to be cleared by .

1) the switch provided in the circuit diagram.
Sir is the switch used here is the on/off switch or the reset switch, please specify.

2)how can i connect real Ac devices such as a bulb,fan,tube etc by replacing the led's.

3)What is the concept of the negative logic used by you in this project and where should be it applied.

4)Most important.
Sir i want to access this project over the world wide web.
hence if my pc is connected to a lan and also to a broadband connection. my pc ip address is 192.168.1.9, and i am able to communicate it on lan, but on the same lan how can i communicate over the internet by a dns server. It would be great help to me if u provide the real time method instead of the name of any website.(dyndns.com)

Well sir please provide me with these details as fast as possible

Back to top


Ajay
Thu Apr 17 2008, 05:21AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3687
Thanked 685 times in 647 posts
the above things has been explained many times on forum Please just take a look once..

only thing point i am gonna explain now is #3

Negative Logic means
1 - Off
0 - On

so when you make port pin low, the device connected on that pin turns on.

The reason for choosing -ve logic is when you powerup your board all your controller pins are at logic high so devices connected to controller will be off by default. Thats the basic reason for using -ve logic.

For using haserver over internet you need DNS server (www.dyndns.com)

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


HackersParadise
Sat Apr 19 2008, 11:58PM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
I thank u Ajay Sir for ur humble support.
Well sir there is a problem, u said that answers to the queries are available in one or another post for home automation, but sir, i have very little time for accesing all the posts so it would be just very thanks to u if u just provide me some answers,

1) the switch provided in the circuit diagram.
Sir is the switch used here is the on/off switch or the reset switch, please specify.

2)how can i connect real Ac devices such as a bulb,fan,tube etc by replacing the led's.

3) sir for connecting on the internet u specified the url dyndns.com, well iregistered my self on that, but every thing that they offer is either charged in dollars or is outof my knowledge. Sir u gave some answers to sunitha of how to connect through the internet, plz provide me with the same details.

I am surely waiting for ur reply, plz answer me sir, as it would take hardly 10 mins to provide me with these details.
Thanks Again
Good Bye


Back to top


sashijoseph
Sun Apr 20 2008, 01:53AM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 524
Thanked 124 times in 117 posts
Go through the fol. threads.You'll find all your answers...
http://www.8051projects.net/forum-t183.html
http://www.8051projects.net/forum-t1192.html
http://www.8051projects.net/forum-t5071-30.html



Let there be music........
Back to top


HackersParadise
Mon Apr 21 2008, 04:06AM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
Ajay sir, u have mentioned opto couplers or relay drivers like ULN2003A for switching of relays. well can u plz provide a rough circuit diag for how to connect it.
i.e. MC>>(Optocoupler/ULN)>>RELAY>>220v Device.
Is it possible that we replace only one led with this comonents and all the remaining leds are not disturbed.
Well i have added the transistor 2N3904 and diode , now what kind of load is to applied
Also is there any change to be done in the program code.
Thanks agian, goodbye..
Back to top


HackersParadise
Thu Apr 24 2008, 03:44AM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
Thanks Sashi for ur humble support, well maybe ajay sir is busy.
Anyways,sashi i would be very thankful to u if u answered my doubts explained in the reply above this.
Also i have completely build the project, nut there are some problems to be taken care of,
1) The circuit some times doesnt react after being connected. i.e. after the connected message displayed if we type the stat command, simply it would be recieved at the haserver prog. but if some delay is done in entering the command then it works fine.

2) the leds are glowing but, all of them are not showing up, if for the first time we switch the tube on by off command then the command gets swaped and the next time we have to make it on by ON command itself

3) on switching the swch led or typing any message two to three leds glowup after successful execution of command.

4) LCD is not working, only lcd backlight glows, no other thing happens

Plz answer my query as my project submission is very near.
Thnaks again. goodbye.
Back to top


Ajay
Thu Apr 24 2008, 08:31AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3687
Thanked 685 times in 647 posts
wrote ...
1) The circuit some times doesnt react after being connected. i.e. after the connected message displayed if we type the stat command, simply it would be recieved at the haserver prog. but if some delay is done in entering the command then it works fine.

strange problem.. must be something wrong with connections or loose or something..

wrote ...
2) the leds are glowing but, all of them are not showing up, if for the first time we switch the tube on by off command then the command gets swaped and the next time we have to make it on by ON command itself

Command get swapped? what that means?
it looks like something is wrong with your hardware, both problem number 1 and 2 sound strange and normally there is no point, they will occur if data sent and received is correct. Try to check on serial port monitor software if data being sent/received is correct

wrote ...
3) on switching the swch led or typing any message two to three leds glowup after successful execution of command.

Again seems a case of faulty hardware...
if you are using updated version of this project then while sending message one LED will glow to indicate new message received.

wrote ...
4) LCD is not working, only lcd backlight glows, no other thing happens

check contrast first.. otherwise some serious problem with hardware, coz if LCD is not working then your hardware will not work at all.
where as in ur case hardware is working..

Please carefully check your hardware. look for short/loose connections.
make sure you did not burn anything while soldering.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


HackersParadise
Mon Apr 28 2008, 05:26PM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
Thanks Again Ajay Sir..
Well i had replaced my LCD with a new one.
Also installed the serial port analyzer. But still the problem described by me continues...
I am showing u a screenshot image of serial port.
Also when i try to write the hex file again in the IC P89c51rd2. It continously displays a message that try to connect using low Buad rate.
Here are the screen shot images..






The LCD that is newly attached now also when switched on displays only the upper Line i.e 1*16 bit line displayed, but the lower line is not displayed. But the LCD backlight works properly.
Plz help Me out.

[ Edited Mon Apr 28 2008, 05:36PM ]
Back to top


sashijoseph
Thu May 01 2008, 11:54PM

 User Offline
Registered Member #5870
Joined: Mon Feb 04 2008, 06:26PM

Posts: 524
Thanked 124 times in 117 posts
Sorry for the late reply......
So you're using a P89C51.If I'm not mistaken it's a 6-clock uc as opposed to a standard 12-clock 8051.
So that could be the source of your errors.The HA program was written with a 12-clk cpu in mind.So all timings could go haywire.For eg. serial baud rate for a standard 8051 would be 9600 but the same program in a 6-clk uc would yield a 19200 baudrate.
Dunno how much this would affect the program though.The author,Ajay could answer better...
As for the P89C51's programming error..try with a lower baudrate.If it doesn't work check your serial connection and associated components thoroughly.

Let there be music........
Back to top


HackersParadise
Fri May 02 2008, 12:45AM
 User Offline
Registered Member #5889
Joined: Tue Feb 05 2008, 06:05PM

Posts: 14
Thanked 2 times in 1 posts
Thanks SashiJoseph for ur kind help. Well i would certainly reduce the baud rate but the flash magic software is continously displaying the error specified by in above screenshot image..(2nd image).
So plz help...
Back to top


Go to page  [1] 2  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems