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
say2paul
Sat Jul 05 2008, 11:32AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
Well, finally I can now send and receive data between Hyper Terminal and 8051 using RS232. Also I can now display the data (string) I receive from Hyper Terminal to the LCD attached to the 8051.

I want to send the same data (string) from the Mobile phone to the 8051 using IR (SIR). I implemented IrSIR in Symbian Mobile phone and somehow managed to send and receive data between two mobile phones.

Please guide me on how to send the IrSIR data from mobile phone to the 8051?

Can I directly connect TSOP 1738 to the 8051 RX pin to receive data? Or can anyone please help me on the circuit for the same.

Back to top


Colin Mac
Sat Jul 05 2008, 12:17PM
 User Offline
Registered Member #4338
Joined: Wed Oct 10 2007, 05:46AM

Posts: 62
Thanked 1 time in 1 posts
This is an IR modulated UART example for a PIC but iit might give you an idea.
http://www.digital-diy.net/18F%20Examples/IR%20Modulated%20UART.aspx

[ Edited Sat Jul 05 2008, 12:22PM ]
Back to top


say2paul
Sun Jul 06 2008, 08:16AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
Thanks a lot Colin, but sorry I do not have knowledge about PICs.

Can you or someone else help me on 8051 (AT89C51) with TSOP 1738, so that I can replace the RS232 cable of my PC with TSOP 1738 and send data from mobile instead of Hyper Terminal.
Back to top


Ajay
Mon Jul 07 2008, 08:34AM
Rickey's World Admin

 User Offline

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

Posts: 4035
Thanked 751 times in 710 posts
Paul as i said.. you need a carrier of 38khz + data thats all..

in that PIC project, he used single pin for sending data + generating PWM signal of 38Khz (carrier).

so you can do with little hardware as i told...

here are the steps..

1. generate 38khz square wave on any 8051 pin.
2. and the tx pin + square wave o/p pin to get the modulated data.

transmitter is ready

for receiver:
connect TSOP1738 to rx pin of controller.
receiver is ready

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 Jul 07 2008, 08:42AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
Thanks Ajay, right now I just need receiver. I have a doubt and that is do I need to connect tx pin to a PC or something else OR can I leave tx pin free when I am receiving data from TSOP using rx pin of uController.
Back to top


say2paul
Mon Jul 07 2008, 08:53AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
I thought you are online and can help me on this now so that I can try and implement it tonight...
Back to top


Ajay
Mon Jul 07 2008, 09:04AM
Rickey's World Admin

 User Offline

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

Posts: 4035
Thanked 751 times in 710 posts
you can make use of tx pin with PC as you are not using it for IR purpose.

you read the data from IR save it and send it to PC via ur TX pin. so you can debug side by side..

I am leaving now too late.. still in office.

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 Jul 07 2008, 09:13AM
 User Offline
Registered Member #8461
Joined: Tue Jun 17 2008, 10:56AM

Posts: 123
Thanked 6 times in 6 posts
mmm... you mean its not necessary but I can make use of tx pin.

Thanks Ajay!
Back to top


Arun Kumar V
Mon Jul 07 2008, 08:05PM

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

Posts: 521
Thanked 218 times in 185 posts

hello ajay,

2. and the tx pin + square wave o/p pin to get the modulated data.


does this work ?

normally we use 555 to generate 38Khz carrier and modulate RST pin with Tx


Arun
Back to top


sashijoseph
Mon Jul 07 2008, 08:51PM

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

Posts: 647
Thanked 137 times in 130 posts
^It's the same thing....Ajay meant ANDing the tx pin with a square wave carrier,be it from a 555 or a pwm pin of the micro....

Let there be music........
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