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 3
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
say2paul
Fri Jun 20 2008, 10:19AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
How to make Infrared as an interface to the AT89C51 so that if I send some data to the Infrared sensor, the AT89C51 should process it accordingly.

I don't have any idea how to start. If some one from you guide me through it


Back to top


Arun Kumar V
Fri Jun 20 2008, 06:08PM

 User Offline
Registered Member #426
Joined: Sun Jan 28 2007, 11:50PM

Posts: 304
Thanked 117 times in 95 posts
Hello say2paul,

you can start by streamlining what your project intends to do, when you say data should be processed accordingly by micro - do to you mean to control some device remotely?

second you have to choose which format you'll be using to decode IR signals - RC5, NEC, Sony etc.

RC5 or philips format is easy to deal with, try to understand how this protocol works, just search on google.

once you are familiar with the subject, then comes the interfacing part to the micro...............



Arun
Back to top



This post has been thanked 1 time
 say2paul 
sashijoseph
Fri Jun 20 2008, 08:07PM

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

Posts: 471
Thanked 106 times in 101 posts
@say2paul
It isn't clear whether you need infrared data communications or appliance control.
If the latter you need to do as Arun says.
If the former then you must use an Irda protocol.Or better still use Rf for communication instead of IR.

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


say2paul
Fri Jun 20 2008, 11:09PM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
I'll explain you in brief. The main objective of the project is to control several devices/appliances through a mobile phone's infrared signal.

I am trying to make a design in such a way where:

1. Mobile phone will send the IR signal.
2. An IR detector connected to microcontroller will get the signal.
3. The microcontroller then process the signal accordingly and control (turn on/off) devices/applicances.

Please not that right now I don't have any idea of RC5 or NEC protocols but if you want me to understand them prior designing the above project then I will definetely study them.

Can you please guide me the way!

[ Edited Fri Jun 20 2008, 11:11PM ]
Back to top


sashijoseph
Fri Jun 20 2008, 11:59PM

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

Posts: 471
Thanked 106 times in 101 posts
Well afaik mobiles use an IRDA protocol to implement IR communications.
So first of all you need to make your 8051 IRDA ready.
Secondly the communication will be like normal serial communication using AT commands.
The controller will send AT commands to the mobile and the mobile will respond with appropriate messages.
So at first sight this doesn't seem to fit the scheme of things you desire.

Are you sure you need a mobile for it.You can easily do the same thing with another micro or an RC5 remote sending commands to your master micro to control appliances.

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



This post has been thanked 1 time
 say2paul 
say2paul
Sat Jun 21 2008, 12:39AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
Thanks sashijoseph,

But I really need a mobile device as I need to develop a logic in mobile device where the mobile device will authenticate the user input and will send some information over SMS and GPRS and then pass some kind of IR signal to the IR detector connected to the 8051 device.

I hope you got some idea what exactly I want to built.

[ Edited Sat Jun 21 2008, 01:05AM ]
Back to top


say2paul
Mon Jun 23 2008, 05:22AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
What kind of data should I send from Mobile phone IR to the IR connected to the micro-controller.

Is there any particular format for it? Or I can send any date over it?
Back to top


Ajay
Mon Jun 23 2008, 08:52AM
Rickey's World Admin

 User Offline

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

Posts: 3375
Thanked 616 times in 583 posts
Mobile communication over IR is same like FBUS in some mobiles. you need to send data in packet format. Search in google for more information

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


say2paul
Mon Jun 23 2008, 09:04AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
Ajay wrote ...

Mobile communication over IR is same like FBUS in some mobiles. you need to send data in packet format. Search in google for more information


Thanks Ajay, but this is a very vague answer. I am googling for past 3 days but unable to find the solution as I do not have expertise in this field.

But you or other electronic experts can help me providing in detail information for IR data transfer from a mobile phone to IR (TSOP) device connected to micrcontroller so that I can control appliances from mobile phone.
Back to top


Ajay
Tue Jun 24 2008, 08:00AM
Rickey's World Admin

 User Offline

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

Posts: 3375
Thanked 616 times in 583 posts
Sorry Paul i wrote that in hurry.. i thought you'll be able to find it..

So.. Phone when talks on IR, it works on IRDA protocol, it not just a simple protocol. IRDA has full stack of its own. You have to start yourself with IRDA implementation first before going into mobile communication over IR.

For obvious reasons, its preferred to use wired UART instead.

For IR packet format Please refer to gnokii.org
Packet format is almost same like FBUS with little modifications.

the only problem comes when you have to deal with IRDA protocol. Even the IRDA official website ask for payment to give details about its protocol.

May i know why are you interested in IRDA?

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


Go to page  [1] 2 3  

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