| Author |
Message |
khansaab21
Joined: 12 Apr 2008 Posts: 8
|
31 Oct 2009 20:32 IR COMM. without modulation |
|
|
|
|
Hello guys
My current semester project involves IR transcieving using PIC (PIC16F628).
The question is
IS IT NECESSARY TO MODULATE THE DATA (38 kHz or 40 kHz) IN ORDER TO TRANSFER IT USING "IR" OR IT CAN TRANSFERRED NORMALLY (LIKE DATA STREAM THROUGH USART TX).
SECONDLY WHAT RECEIVER SHOULD I USE (IR TRANSISTOR OR IR RECEIVING MODULE) AND HOW SHOULD IT BE CONNECTED TO THE CONTROLLER
Preferably, i dont want to modulate the data as its increasing the overall project cost. I just want some guidelines about the implementation.
Plz help
|
|
| Back to top |
|
 |
FvM
Joined: 22 Jan 2008 Posts: 5162 Helped: 767 Location: Bochum, Germany
|
31 Oct 2009 20:44 IR COMM. without modulation |
|
|
|
|
It can work with unmodulated IR if you are able to distinguish 0 and 1 state unconditionally, also in presence of ambient light. Are you?
Obviously, a project specification is necessary to decide about. Standard remote control receivers and a respective modulation have been used with success for low speed (1-2kbps) serial communications. It can't work for higher speeds anyway. You may want to check the IRDA specification and devices, that work up to 115 kbps on short distance.
|
|
| Back to top |
|
 |
khansaab21
Joined: 12 Apr 2008 Posts: 8
|
31 Oct 2009 21:26 Re: IR COMM. without modulation |
|
|
|
|
I am not really sure about the ambient conditions. But following is the block diagram of my project.
PC --> Serial Link --> MAX232 --> PIC(1) --> IR LED-------------------------------------
----------------------------------IR Receiver --> PIC(2) --> Motor drives --> Motors
Max. distance between transmitter and receiver is 1m
Any suggestions to improve the design and again the same question, looking at this block diagram of project, the data have to be modulated or a simple TX transmission will serve the purpose
And incase if ypu suggest to modulate the data, is there any way that i can generate
NAND(PWM+DATA) directly from PIC
|
|
| Back to top |
|
 |
Google AdSense

|
31 Oct 2009 21:26 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
khansaab21
Joined: 12 Apr 2008 Posts: 8
|
01 Nov 2009 11:26 IR COMM. without modulation |
|
|
|
|
| Plz any of you out there plz help as i dont have much time and have to get started
|
|
| Back to top |
|
 |
betwixt
Joined: 04 Jul 2009 Posts: 390 Helped: 64 Location: Wales, UK
|
01 Nov 2009 13:16 Re: IR COMM. without modulation |
|
|
|
|
You CAN use IR without a carrier but your range and reliability will be very much reduced. The idea of the carrier is that you can treat the signal as bursts of AC rather than DC so it become much easier to filter out unwanted frequencies the detector will pick up.
To 'nand' the signal, if that's what you really want to do, set up an output with a constant signal, this could be from a PWM module or a timer, then use the TRIS register bit for the output pin to switch the signal on or off. When set to input mode (tris bit is 1) the pin will float rather than drive the signal out.
If you are using a receiver module intended for use in IR communication, such as the ones found in domestic equipment, it already has filtering built in so you MUST use a carrier for it to work.
Brian.
|
|
| Back to top |
|
 |
bobcat1
Joined: 10 Jul 2002 Posts: 1118 Helped: 48
|
07 Nov 2009 9:10 Re: IR COMM. without modulation |
|
|
|
|
HI
Most IR detector IC use modulation in order to prevent interference from light sources
So if you plan to use IR detector IC in your project you will have to use modulation
But if you plan to build a discreet detector(using a pin photo diode and op amp) and you are transmitting from a very close distance (less the few centimeters) you can use IR without modulation
All the best
Bobi
The microcontroller specialist
|
|
| Back to top |
|
 |