![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
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 | |
| |
| | #2 |
|
Check my PIC tutorials, modulation is VERY recommended, and doesn't cost anything to do - it's just software.
| |
| |
| | #3 |
|
The IRDA protocol would disagree with you Nigel, as I've stated in several dozen posts over the last couple years. The base discovery protocol works at 9600 baud, 50% duty cycle, directly modulated IR, no carrier frequency, no modulation, no encoding. Pulse shaping is used at higher baud rates, and there are some techniques for much higher data transmission that are outside the scope of the question. All that is required with transmitting IR data baseband without modulation is using packets with good error detection/correction data. So the software end of things is more important that the transmitter/receiver in such cases.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." Last edited by Sceadwian; 1st November 2009 at 09:57 PM. | |
| |
| | #4 | |
| Quote:
| ||
| |
| | #5 |
|
I only want to clear this thing out as IR receivers currently available to me doesnt have anything to indicate their receiving frequency (in case of modulated data is used) So I just wanted to know that whether data could be transmitted without modulation or not. Since I have now got the answer, so thank you very much to both of you. | |
| |
| | #6 |
|
Just out of curiosity How am I going to determine the operating frequency of those IR receiving modules. And following is the block diagram of my project. Any tips to improve the design PC --> Serial Link --> MAX232 --> PIC(1) --> IR LED------------------------------------- ----------------------------------IR Receiver --> PIC(2) --> Motor drives --> Motors | |
| |
| | #7 | |
| Quote:
The frequency is in the datasheets, if you need more accuracy. | ||
| |
| | #8 |
|
surely without modulation you would be looking at a much MUCH reduced operating range? (a couple of inches)
Last edited by UTMonkey; 2nd November 2009 at 12:47 PM. | |
| |
| | #9 |
| No, but you have to build your own IR receiver, which isn't a trivial project, and they don't work as well as the IC ones.
| |
| |
| | #10 |
|
You could always send Manchester encoded data, a 19kbaud datastream would be nominally 38khz or so I think? There's really no limit to the range except for as Nigel said on how well the receiver can sort out the modulated data from all the other IR noise that's there, which can be quiet strong.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | #11 |
| Manchester coding is commonly used, but on top of the 38KHz modulation (such as Philips RC5).
| |
| |
| | #12 |
|
Yes I could use Manchester encoding but my projects requirement states that the data to the target vehicle must be sent wireless via PC. Thus I came up with project block diagram as I have posted earlier. Since it is common all over the web to use 38kHz carrier in IR communications (although IrDA protocol doesnt have anything such), can any body plz help me to implement NAND(PWM+DATA) directly from PIC and without any use of other IC'S. I am using PIC 16F628 (18 pin, 1 CCP, 1 USART) And if I dont use a carrier, will a IR diode-transistor (transmitter-receiver) pair is good enough to serve the purpose or I still have to use a receiving module for receiving the information on vehicle. | |
| |
| | #13 |
|
As in post #2, check my PIC tutorials that do what you want - NAND is neither required, nor advisible.
| |
| |
|
| Tags |
| comm, modulation |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| mobile comm | kgowtham | Homework Help | 9 | 26th August 2009 06:04 PM |
| Rf comm | sushanth_pai | Electronic Projects Design/Ideas/Reviews | 2 | 18th August 2009 06:17 PM |
| Frequency modulation? Amplitude modulation? | bananasiong | Electronic Projects Design/Ideas/Reviews | 12 | 3rd February 2007 03:03 AM |
| comm between 2 pics | TKS | Micro Controllers | 15 | 8th March 2006 09:17 PM |
| Wireless Comm | tussi | General Electronics Chat | 2 | 9th September 2004 01:25 PM |